pkgsrc-Users archive

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

py-frozendict fails to build (netbsd-9)



On an almost--up-to-date netbsd-9 system, devel/py-frozendict, with the
default python3.10, fails to build with a complaint that something is
calling the C compiler.  Putting c99 in USE_LANGUAGES, it builds but
then

ERROR: The following files are in /tmp/work/devel/py-frozendict/work/.destdir/usr/pkg but not in the PLIST:
ERROR:         /tmp/work/devel/py-frozendict/work/.destdir/usr/pkg/lib/python3.10/site-packages/frozendict/_frozendict.so

which makes me think that on my system it is building a C object and
and on yours it did not.

so I wonder

 - what happens when you built it with 310, and on which OS/version
 - is anybody else seeing this


The build does not really look odd:

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
gcc -shared -L. -Wl,-zrelro -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 -Wl,-zrelro -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 -Wl,-zrelro -L/usr/lib -Wl,-R/usr/lib -Wl,-R/usr/pkg/lib -O2 -fPIC -D_FORTIFY_SOURCE=2 -I/usr/include -I/usr/pkg/include/python3.10 -I/usr/include -I/usr/pkg/include/python3.10 build/temp.netbsd-9.3_STABLE-amd64-cpython-310/src/frozendict/c_src/3_10/frozendictobject.o -L/usr/pkg/lib -o build/lib.netbsd-9.3_STABLE-amd64-cpython-310/frozendict/_frozendict.so


Home | Main Index | Thread Index | Old Index