I haven't really looked at this yet, but it seems that the build is running a not-yet-installed python that is incorrectly loading content from the installed site-packages. This is netbsd-9, pkgsrc head, mostly up to date, but this is the first failure in pkg_rr. (It seem obvious that it's not ok for us to have a situation where you can't build with things already installed, so I'm not considering "don't have setuptools installed" as a solution.) With any luck it's something else... LD_LIBRARY_PATH=/tmp/work/lang/python39/work/Python-3.9.9 CC='gcc -pthread' LDSHARED='gcc -pthread -shared -L. -L/usr/lib -Wl,-R/usr/lib -L/usr/pkg/lib -Wl,-R/usr/pkg/lib -L/usr/X11R7/lib -Wl,-R/usr/X11R7/lib -L/usr/lib -Wl,-R/usr/lib -L/usr/pkg/lib -Wl,-R/usr/pkg/lib -L/usr/X11R7/lib -Wl,-R/usr/X11R7/lib ' OPT='-DNDEBUG -O2 -fPIC -D_FORTIFY_SOURCE=2 -I/usr/include -I/usr/pkg/include' _TCLTK_INCLUDES='' _TCLTK_LIBS='' ./python -E ./setup.py build Traceback (most recent call last): File "/tmp/work/lang/python39/work/Python-3.9.9/./setup.py", line 33, in <module> from distutils import log, text_file File "/usr/pkg/lib/python3.9/site-packages/setuptools/__init__.py", line 16, in <module> import setuptools.version File "/usr/pkg/lib/python3.9/site-packages/setuptools/version.py", line 1, in <module> import pkg_resources File "/usr/pkg/lib/python3.9/site-packages/pkg_resources/__init__.py", line 23, in <module> import zipfile File "/tmp/work/lang/python39/work/Python-3.9.9/Lib/zipfile.py", line 6, in <module> import binascii ModuleNotFoundError: No module named 'binascii' *** [sharedmods] Error code 1 make: stopped in /tmp/work/lang/python39/work/Python-3.9.9 1 error make: stopped in /tmp/work/lang/python39/work/Python-3.9.9 *** Error code 2 Stop. make[1]: stopped in /home/n0/gdt/pkgsrc-current/pkgsrc/lang/python39 *** Error code 1 Stop. make: stopped in /usr/pkgsrc/lang/python39
Attachment:
signature.asc
Description: PGP signature