pkgsrc-Users archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
py-wxPython build failure
I have been updating and pkg_rr and this has been failing for a few
days. I saw a different problem with devel/py-kivy that also seemed to
be cython related.
It looks like this fails on pkgsrc-HEAD NetBSD 9:
https://releng.netbsd.org/bulktracker/x11/py-wxPython
but that we have fairly few pkgsrc-HEAD builds and it's hard to figure
out all the branch names that aren't really branch names.
=> Bootstrap dependency digest>=20211023: found digest-20220214
===> Checking for vulnerabilities in py311-wxPython-4.2.1nb3
===> Building for py311-wxPython-4.2.1nb3
cd /tmp/work/x11/py-wxPython/work/wxPython-4.2.1 && /usr/bin/env WX_CONFIG=wx-config-3.2 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.11 CC=gcc CFLAGS=-O2\ -I/usr/pkg/include\ -I/usr/pkg/include/wx-3.2\ -I/usr/include\ -I/usr/pkg/include/glib-2.0\ -I/usr/pkg/include/gio-unix-2.0\ -I/usr/pkg/lib/glib-2.0/include\ -I/usr/X11R7/include\ -I/usr/pkg/include/freetype2\ -I/usr/pkg/include/harfbuzz\ -I/usr/X11R7/include/libdrm\ -I/usr/pkg/include/python3.11 CPPFLAGS=-I/usr/pkg/include\ -I/usr/pkg/include/wx-3.2\ -I/usr/include\ -I/usr/pkg/include/glib-2.0\ -I/usr/pkg/include/gio-unix-2.0\ -I/usr/pkg/lib/glib-2.0/include\ -I/usr/X11R7/include\ -I/usr/pkg/include/freetype2\ -I/usr/pkg/include/harfbuzz\ -I/usr/X11R7/include/libdrm\ -I/usr/pkg/include/python3.11 CXX=c++ CXXFLAGS=-O2\ -I/usr/pkg/include\ -I/usr/pkg/include/wx-3.2\ -I/usr/include\ -I/usr/pkg/include/glib-2.0\ -I/usr/pkg/include/gio-unix-2.0\ -I/usr/pkg/lib/glib-2.0/include\ -I/usr/X11R7/include\ -I/usr/pkg/include/freetype2\ -I/usr/pkg/include/harfbuzz\ -I/usr/X11R7/include/libdrm\ -I/usr/pkg/include/python3.11 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/pkg/lib\ -Wl,-R/usr/pkg/lib\ -L/usr/lib\ -Wl,-R/usr/lib\ -L/usr/X11R7/lib\ -Wl,-R/usr/X11R7/lib LINKER_RPATH_FLAG=-R PATH=/tmp/work/x11/py-wxPython/work/.cwrapper/bin:/tmp/work/x11/py-wxPython/work/.buildlink/bin:/tmp/work/x11/py-wxPython/work/.ccache/bin:/tmp/work/x11/py-wxPython/work/.gcc/bin:/tmp/work/x11/py-wxPython/work/.tools/bin:/usr/pkg/bin:/usr/pkg/libexec/wx-3.2:/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 HOME=/tmp/work/x11/py-wxPython/work/.home CWRAPPERS_CONFIG_DIR=/tmp/work/x11/py-wxPython/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/x11/py-wxPython/work/.tools/bin/makeinfo FLEX= BISON= ITSTOOL=/tmp/work/x11/py-wxPython/work/.tools/bin/itstool GDBUS_CODEGEN=/tmp/work/x11/py-wxPython/work/.tools/bin/gdbus-codegen PKG_CONFIG=/tmp/work/x11/py-wxPython/work/.tools/bin/pkg-config PKG_CONFIG_LIBDIR=/tmp/work/x11/py-wxPython/work/.buildlink/lib/pkgconfig:/tmp/work/x11/py-wxPython/work/.buildlink/share/pkgconfig PKG_CONFIG_LOG=/tmp/work/x11/py-wxPython/work/.pkg-config.log PKG_CONFIG_PATH= CWRAPPERS_CONFIG_DIR=/tmp/work/x11/py-wxPython/work/.cwrapper/config /usr/pkg/bin/python3.11 build.py --use_syswx --prefix=/usr/pkg --destdir=/tmp/work/x11/py-wxPython/work/.destdir build_py
Setting top to : /tmp/work/x11/py-wxPython/work/wxPython-4.2.1
Setting out to : /tmp/work/x11/py-wxPython/work/wxPython-4.2.1/build/waf/3.11/gtk3
Checking for 'clang' (C compiler) : not found
Checking for 'gcc' (C compiler) : gcc
Checking for 'clang++' (C++ compiler) : not found
Checking for 'g++' (C++ compiler) : c++
Checking for program 'python' : /usr/pkg/bin/python3.11
Checking for python version >= 3.7.0 : 3.11.6
python-config : /usr/pkg/bin/python3.11-config
Asking python-config for pyext '--cflags --libs --ldflags' flags : yes
Testing pyext configuration : yes
Finding libs for WX : yes
Finding libs for WXADV : yes
Finding libs for WXSTC : yes
Finding libs for WXHTML : yes
Finding libs for WXGL : yes
Finding libs for WXWEBVIEW : yes
Finding libs for WXXML : yes
Finding libs for WXXRC : yes
Finding libs for WXRICHTEXT : yes
Finding libs for WXMEDIA : yes
Finding libs for WXRIBBON : yes
Finding libs for WXPROPGRID : yes
Finding libs for WXAUI : yes
'configure' finished successfully (0.852s)
Waf: Entering directory `/tmp/work/x11/py-wxPython/work/wxPython-4.2.1/build/waf/3.11/gtk3'
**** Compiler: gcc --version
gcc (nb2 20230710) 10.5.0
Copyright (C) 2020 Free Software Foundation, Inc.
This is free software; see the source for copying conditions. There is NO
warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
Waf: Leaving directory `/tmp/work/x11/py-wxPython/work/wxPython-4.2.1/build/waf/3.11/gtk3'
'build' finished successfully (2.071s)
Compiling wx/svg/_nanosvg.pyx because it changed.
[1/1] Cythonizing wx/svg/_nanosvg.pyx
Error compiling Cython file:
------------------------------------------------------------
...
for manipulating the SVG shape info in memory.
"""
import sys
cimport cython.object
^
------------------------------------------------------------
wx/svg/_nanosvg.pyx:45:8: 'cython.object' is not a valid cython.* module
Traceback (most recent call last):
File "/tmp/work/x11/py-wxPython/work/wxPython-4.2.1/setup-wxsvg.py", line 54, in <module>
modules = cythonize([module],
^^^^^^^^^^^^^^^^^^^
File "/usr/pkg/lib/python3.11/site-packages/Cython/Build/Dependencies.py", line 1154, in cythonize
cythonize_one(*args)
File "/usr/pkg/lib/python3.11/site-packages/Cython/Build/Dependencies.py", line 1321, in cythonize_one
raise CompileError(None, pyx_file)
Cython.Compiler.Errors.CompileError: wx/svg/_nanosvg.pyx
Will build using: "/usr/pkg/bin/python3.11"
3.11.6 (main, Nov 10 2023, 14:59:33) [GCC 10.5.0]
Python's architecture is 64bit
cfg.VERSION: 4.2.1
Running command: build_py
Checking for /tmp/work/x11/py-wxPython/work/wxPython-4.2.1/bin/waf-2.0.24...
"/usr/pkg/bin/python3.11" /tmp/work/x11/py-wxPython/work/wxPython-4.2.1/bin/waf-2.0.24 --wx_config=wx-config-3.2 --gtk3 --python="/usr/pkg/bin/python3.11" --out=build/waf/3.11/gtk3 configure build
Running command: build_others
/usr/pkg/bin/python3.11 setup-wxsvg.py build_ext --inplace
Command '/usr/pkg/bin/python3.11 setup-wxsvg.py build_ext --inplace' failed with exit code 1.
Finished command: build_others (0.741s)
Finished command: build_py (0m3.847s)
*** Error code 1
Stop.
make[1]: stopped in /n0/gdt/pkgsrc-current/pkgsrc/x11/py-wxPython
*** Error code 1
Stop.
make: stopped in /usr/pkgsrc/x11/py-wxPython
Home |
Main Index |
Thread Index |
Old Index