pkgsrc-Users archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

Re: py-frozendict fails to build (netbsd-9)



Here's my build output.  This is netbsd-9 from a few weeks ago,
pkgsrc-current.

It tries to run gcc, is denied by the wrapper, and treats that as fatal.


=> Bootstrap dependency digest>=20211023: found digest-20220214
=> Checksum BLAKE2s OK for frozendict-2.3.8.tar.gz
=> Checksum SHA512 OK for frozendict-2.3.8.tar.gz
work -> /tmp/work/devel/py-frozendict/work
===> Installing dependencies for py310-frozendict-2.3.8
==========================================================================
The following variables will affect the build process of this package,
py310-frozendict-2.3.8.  Their current value is shown below:

        * PYTHON_VERSION_DEFAULT = 310

Based on these variables, the following variables have been set:

        * PYPACKAGE = python310

You may want to abort the process now with CTRL-C and change the value
of variables in the first group before continuing.  Be sure to run
`/usr/bin/make clean' after the changes.
==========================================================================
=> Tool dependency py310-setuptools-[0-9]*: found py310-setuptools-67.7.2
=> Tool dependency mktools-[0-9]*: found mktools-20220614
=> Tool dependency cwrappers>=20150314: found cwrappers-20220403
=> Tool dependency checkperms>=1.1: found checkperms-1.12
=> Full dependency python310>=3.10: found python310-3.10.11
===> Checking for vulnerabilities in py310-frozendict-2.3.8
===> Overriding tools for py310-frozendict-2.3.8
===> Extracting for py310-frozendict-2.3.8
===> Patching for py310-frozendict-2.3.8
===> Creating toolchain wrappers for py310-frozendict-2.3.8
===> Configuring for py310-frozendict-2.3.8
=> Checking for portability problems in extracted files
===> Building for py310-frozendict-2.3.8
(cd /tmp/work/devel/py-frozendict/work/frozendict-2.3.8/ && /usr/bin/env USETOOLS=no PTHREAD_CFLAGS=\ -pthread\  PTHREAD_LDFLAGS=\ -pthread PTHREAD_LIBS= PTHREADBASE=/usr DL_CFLAGS=\ -pthread\  DL_LDFLAGS=\ -pthread DL_LIBS= PYTHON=/usr/pkg/bin/python3.10 CC=gcc CFLAGS=-O2\ -fPIC\ -D_FORTIFY_SOURCE=2\ -I/usr/include\ -I/usr/pkg/include/python3.10 CPPFLAGS=-I/usr/include\ -I/usr/pkg/include/python3.10 CXX=c++ CXXFLAGS=-O2\ -fPIC\ -D_FORTIFY_SOURCE=2\ -I/usr/include\ -I/usr/pkg/include/python3.10 COMPILER_RPATH_FLAG=-Wl,-R F77=gfortran FC=gfortran FFLAGS=-O LANG=C LC_ALL=C LC_COLLATE=C LC_CTYPE=C LC_MESSAGES=C LC_MONETARY=C LC_NUMERIC=C LC_TIME=C LDFLAGS=-Wl,-zrelro\ -L/usr/lib\ -Wl,-R/usr/lib\ -Wl,-R/usr/pkg/lib LINKER_RPATH_FLAG=-R PATH=/tmp/work/devel/py-frozendict/work/.cwrapper/bin:/tmp/work/devel/py-frozendict/work/.buildlink/bin:/tmp/work/devel/py-frozendict/work/.tools/bin:/usr/pkg/bin:/home/gdt/bin:/home/gdt/bin/amd64-NetBSD:/usr/pkg/sbin:/usr/pkg/bin:/usr/X11R7/bin:/usr/local/sbin:/usr/local/bin:/bin:/usr/bin:/sbin:/usr/sbin:/usr/pkg/bin:/usr/X11R7/bin PREFIX=/usr/pkg MAKELEVEL=0 CONFIG_SITE= PKG_SYSCONFDIR=/usr/pkg/etc CPP=cpp CXXCPP=cpp HOME=/tmp/work/devel/py-frozendict/work/.home CWRAPPERS_CONFIG_DIR=/tmp/work/devel/py-frozendict/work/.cwrapper/config CPP=cpp LOCALBASE=/usr/pkg X11BASE=/usr/X11R7 PKGMANDIR=man PKGINFODIR=info PKGGNUDIR=gnu/ MAKECONF=/dev/null OBJECT_FMT=ELF USETOOLS=no BSD_INSTALL_PROGRAM=/usr/bin/install\ -c\ -s\ -o\ gdt\ -g\ users\ -m\ 755 BSD_INSTALL_SCRIPT=/usr/bin/install\ -c\ -o\ gdt\ -g\ users\ -m\ 755 BSD_INSTALL_LIB=/usr/bin/install\ -c\ -o\ gdt\ -g\ users\ -m\ 755 BSD_INSTALL_DATA=/usr/bin/install\ -c\ -o\ gdt\ -g\ users\ -m\ 644 BSD_INSTALL_MAN=/usr/bin/install\ -c\ -o\ gdt\ -g\ users\ -m\ 644 BSD_INSTALL=/usr/bin/install BSD_INSTALL_PROGRAM_DIR=/usr/bin/install\ -d\ -o\ gdt\ -g\ users\ -m\ 755 BSD_INSTALL_SCRIPT_DIR=/usr/bin/install\ -d\ -o\ gdt\ -g\ users\ -m\ 755 BSD_INSTALL_LIB_DIR=/usr/bin/install\ -d\ -o\ gdt\ -g\ users\ -m\ 755 BSD_INSTALL_DATA_DIR=/usr/bin/install\ -d\ -o\ gdt\ -g\ users\ -m\ 755 BSD_INSTALL_MAN_DIR=/usr/bin/install\ -d\ -o\ gdt\ -g\ users\ -m\ 755 BSD_INSTALL_GAME=/usr/bin/install\ -c\ -s\ -o\ gdt\ -g\ users\ -m\ 2555 BSD_INSTALL_GAME_DATA=/usr/bin/install\ -c\ -o\ gdt\ -g\ users\ -m\ 664 BSD_INSTALL_GAME_DIR=/usr/bin/install\ -d\ -o\ gdt\ -g\ users\ -m\ 775 INSTALL_INFO= MAKEINFO=/tmp/work/devel/py-frozendict/work/.tools/bin/makeinfo FLEX= BISON= ITSTOOL=/tmp/work/devel/py-frozendict/work/.tools/bin/itstool GDBUS_CODEGEN=/tmp/work/devel/py-frozendict/work/.tools/bin/gdbus-codegen PKG_CONFIG=/tmp/work/devel/py-frozendict/work/.tools/bin/pkg-config PKG_CONFIG_LIBDIR=/tmp/work/devel/py-frozendict/work/.buildlink/lib/pkgconfig:/tmp/work/devel/py-frozendict/work/.buildlink/share/pkgconfig PKG_CONFIG_LOG=/tmp/work/devel/py-frozendict/work/.pkg-config.log PKG_CONFIG_PATH= CWRAPPERS_CONFIG_DIR=/tmp/work/devel/py-frozendict/work/.cwrapper/config /usr/pkg/bin/python3.10  setup.py  build  -j1)
running build
running build_py
creating build
creating build/lib.netbsd-9.3_STABLE-amd64-cpython-310
creating build/lib.netbsd-9.3_STABLE-amd64-cpython-310/frozendict
copying src/frozendict/__init__.py -> build/lib.netbsd-9.3_STABLE-amd64-cpython-310/frozendict
copying src/frozendict/core.py -> build/lib.netbsd-9.3_STABLE-amd64-cpython-310/frozendict
copying src/frozendict/monkeypatch.py -> build/lib.netbsd-9.3_STABLE-amd64-cpython-310/frozendict
copying src/frozendict/version.py -> build/lib.netbsd-9.3_STABLE-amd64-cpython-310/frozendict
copying src/frozendict/py.typed -> build/lib.netbsd-9.3_STABLE-amd64-cpython-310/frozendict
copying src/frozendict/__init__.pyi -> build/lib.netbsd-9.3_STABLE-amd64-cpython-310/frozendict
running build_ext
building 'frozendict._frozendict' extension
creating build/temp.netbsd-9.3_STABLE-amd64-cpython-310
creating build/temp.netbsd-9.3_STABLE-amd64-cpython-310/src
creating build/temp.netbsd-9.3_STABLE-amd64-cpython-310/src/frozendict
creating build/temp.netbsd-9.3_STABLE-amd64-cpython-310/src/frozendict/c_src
creating build/temp.netbsd-9.3_STABLE-amd64-cpython-310/src/frozendict/c_src/3_10
gcc -Wno-unused-result -Wsign-compare -DNDEBUG -O2 -fPIC -D_FORTIFY_SOURCE=2 -I/usr/include -I/usr/pkg/include -O2 -fPIC -D_FORTIFY_SOURCE=2 -I/usr/include -I/usr/pkg/include -O2 -fPIC -D_FORTIFY_SOURCE=2 -I/usr/include -I/usr/pkg/include -O2 -fPIC -D_FORTIFY_SOURCE=2 -I/usr/include -I/usr/pkg/include/python3.10 -I/usr/include -I/usr/pkg/include/python3.10 -fPIC -I/tmp/work/devel/py-frozendict/work/frozendict-2.3.8/src/frozendict/c_src/3_10/Include -I/tmp/work/devel/py-frozendict/work/frozendict-2.3.8/src/frozendict/c_src/3_10/cpython_src/Objects -I/tmp/work/devel/py-frozendict/work/frozendict-2.3.8/src/frozendict/c_src/3_10/cpython_src/Objects/stringlib -I/tmp/work/devel/py-frozendict/work/frozendict-2.3.8/src/frozendict/c_src/3_10/cpython_src/Objects/clinic -I/tmp/work/devel/py-frozendict/work/frozendict-2.3.8/src/frozendict/c_src/3_10/cpython_src -I/usr/pkg/include/python3.10 -c src/frozendict/c_src/3_10/frozendictobject.c -o build/temp.netbsd-9.3_STABLE-amd64-cpython-310/src/frozendict/c_src/3_10/frozendictobject.o -DPY_SSIZE_T_CLEAN
PKGSRC-WARNING: Something is trying to run the c compiler,
PKGSRC-WARNING: but it is not added to USE_LANGUAGES in the package Makefile.
error: command '/tmp/work/devel/py-frozendict/work/.cwrapper/bin/gcc' failed with exit code 1
*** Error code 1

Stop.
make[1]: stopped in /home/n0/gdt/pkgsrc-current/pkgsrc/devel/py-frozendict
WARNING: *** Please consider adding c to USE_LANGUAGES in the package Makefile.
*** Error code 1

Stop.
make: stopped in /usr/pkgsrc/devel/py-frozendict


Home | Main Index | Thread Index | Old Index