py-nacl doesn't compile

Trying to figure out how I can compile security/py-pynacl.
I Can't find it
Code:
[vagrant@freebsd14 ~/servo]$ pkg search py-nacl
[vagrant@freebsd14 ~/servo]$

When trying to use pip
Code:
pip install pynacl
This shows

Code:
subprocess.CalledProcessError: Command '['make']' returned non-zero exit status 1.
      [end of output]
 
  note: This error originates from a subprocess, and is likely not a problem with pip.
  ERROR: Failed building wheel for pynacl
Failed to build pynacl

With the erroring looking like
Code:
ning: duplicate script for target "(no,yes)" ignored
      make[2]: "Makefile" line 2961: warning: using previous script for "(no,yes)" defined here
      make[2]: "/tmp/pip-install-c1e_9t3e/pynacl_361ae30138274ac1bf11e2af11f96b0e/build/temp.freebsd-14.0-RELEASE-amd64-cpython-311/test/default/Makefile" line 2990: Invalid line type
      make[2]: "/tmp/pip-install-c1e_9t3e/pynacl_361ae30138274ac1bf11e2af11f96b0e/build/temp.freebsd-14.0-RELEASE-amd64-cpython-311/test/default/Makefile" line 2992: Invalid line type
      make[2]: "/tmp/pip-install-c1e_9t3e/pynacl_361ae30138274ac1bf11e2af11f96b0e/build/temp.freebsd-14.0-RELEASE-amd64-cpython-311/test/default/Makefile" line 2993: Invalid line type
      make[2]: "/tmp/pip-install-c1e_9t3e/pynacl_361ae30138274ac1bf11e2af11f96b0e/build/temp.freebsd-14.0-RELEASE-amd64-cpython-311/test/default/Makefile" line 2995: Invalid line type
      make[2]: Fatal errors encountered -- cannot continue
      make[2]: stopped in /tmp/pip-install-c1e_9t3e/pynacl_361ae30138274ac1bf11e2af11f96b0e/build/temp.freebsd-14.0-RELEASE-amd64-cpython-311/test/default
      *** Error code 1
I'm suspecting a gmake/make issue in that Makefile. Is there a way for me to tell pip to use gmake instead of make?
Should I file an issue upstream or in FreeBSD (but the port seems to have been orphaned/removed) ?

Ludo
 
I think I have the anwser
.. [#many] `manylinux1 wheels <https://www.python.org/dev/peps/pep-0513/>`_
are built on a baseline linux environment based on Centos 5.11
and should work on most x86 and x86_64 glibc based linux environments.

GNU Make (gmake) may be required for newer versions of PyNaCl. You can
set the binary to use by setting the ``MAKE`` environment variable:

.. code-block:: console

$ MAKE=gmake pip install pynacl
 
I Can't find it
Code:
[vagrant@freebsd14 ~/servo]$ pkg search py-nacl
Rich (BB code):
% pkg search  -x pynacl
py311-pynacl-1.5.0_2           Python binding to the Networking and Cryptography library

ports/security/py-pynacl %  make package-name
py311-pynacl-1.5.0_2

% pkg  search  py311-pynacl
py311-pynacl-1.5.0_2           Python binding to the Networking and Cryptography library
 
Back
Top