=> Bootstrap dependency digest>=20211023: found digest-20220214 ===> Skipping vulnerability checks. WARNING: No /usr/pkg/pkgdb/pkg-vulnerabilities file found. WARNING: To fix run: `/usr/sbin/pkg_admin -K /usr/pkg/pkgdb fetch-pkg-vulnerabilities'. ===> Building for py27-otherside-1.6.0 cd /tmp/x11/py-otherside/work/pyotherside-1.6.0 && /usr/bin/env INSTALL_ROOT=/tmp/x11/py-otherside/work/.destdir QTDIR=/usr/pkg/qt5 MOC="/usr/pkg/qt5/bin/moc" USETOOLS=no PTHREAD_CFLAGS=\ -pthread\ PTHREAD_LDFLAGS=\ -pthread PTHREAD_LIBS= PTHREADBASE=/usr DL_CFLAGS=\ -pthread\ DL_LDFLAGS=\ -pthread DL_LIBS= PYTHON=/usr/pkg/bin/python2.7 CC=gcc CFLAGS=-O2\ -fPIC\ -D_FORTIFY_SOURCE=2\ -I/usr/pkg/include\ -I/usr/pkg/qt5/include\ -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/pkg/include/harfbuzz\ -I/usr/pkg/include/freetype2\ -I/usr/X11R7/include\ -I/usr/X11R7/include/libdrm CPPFLAGS=-I/usr/pkg/include\ -I/usr/pkg/qt5/include\ -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/pkg/include/harfbuzz\ -I/usr/pkg/include/freetype2\ -I/usr/X11R7/include\ -I/usr/X11R7/include/libdrm CXX=c++ CXXFLAGS=-O2\ -fPIC\ -D_FORTIFY_SOURCE=2\ -I/usr/pkg/include\ -I/usr/pkg/qt5/include\ -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/pkg/include/harfbuzz\ -I/usr/pkg/include/freetype2\ -I/usr/X11R7/include\ -I/usr/X11R7/include/libdrm 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\ -L/usr/pkg/qt5/lib\ -L/usr/pkg/qt5/plugins\ -Wl,-R/usr/pkg/qt5/lib\ -Wl,-R/usr/pkg/qt5/plugins\ -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/x11/py-otherside/work/.cwrapper/bin:/tmp/x11/py-otherside/work/.buildlink/bin:/tmp/x11/py-otherside/work/.gcc/bin:/tmp/x11/py-otherside/work/.tools/bin:/usr/pkg/bin:/usr/bin:/bin:/usr/pkg/bin:/usr/local/bin:/usr/pkg/bin:/usr/X11R7/bin PREFIX=/usr/pkg MAKELEVEL=0 CONFIG_SITE= PKG_SYSCONFDIR=/usr/pkg/etc CPP=cpp HOME=/tmp/x11/py-otherside/work/.home CWRAPPERS_CONFIG_DIR=/tmp/x11/py-otherside/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\ pbulk\ -g\ wheel\ -m\ 755 BSD_INSTALL_SCRIPT=/usr/bin/install\ -c\ -o\ pbulk\ -g\ wheel\ -m\ 755 BSD_INSTALL_LIB=/usr/bin/install\ -c\ -o\ pbulk\ -g\ wheel\ -m\ 755 BSD_INSTALL_DATA=/usr/bin/install\ -c\ -o\ pbulk\ -g\ wheel\ -m\ 644 BSD_INSTALL_MAN=/usr/bin/install\ -c\ -o\ pbulk\ -g\ wheel\ -m\ 644 BSD_INSTALL=/usr/bin/install BSD_INSTALL_PROGRAM_DIR=/usr/bin/install\ -d\ -o\ pbulk\ -g\ wheel\ -m\ 755 BSD_INSTALL_SCRIPT_DIR=/usr/bin/install\ -d\ -o\ pbulk\ -g\ wheel\ -m\ 755 BSD_INSTALL_LIB_DIR=/usr/bin/install\ -d\ -o\ pbulk\ -g\ wheel\ -m\ 755 BSD_INSTALL_DATA_DIR=/usr/bin/install\ -d\ -o\ pbulk\ -g\ wheel\ -m\ 755 BSD_INSTALL_MAN_DIR=/usr/bin/install\ -d\ -o\ pbulk\ -g\ wheel\ -m\ 755 BSD_INSTALL_GAME=/usr/bin/install\ -c\ -s\ -o\ pbulk\ -g\ wheel\ -m\ 2555 BSD_INSTALL_GAME_DATA=/usr/bin/install\ -c\ -o\ pbulk\ -g\ wheel\ -m\ 664 BSD_INSTALL_GAME_DIR=/usr/bin/install\ -d\ -o\ pbulk\ -g\ wheel\ -m\ 775 INSTALL_INFO= MAKEINFO=/tmp/x11/py-otherside/work/.tools/bin/makeinfo FLEX= BISON= ITSTOOL=/tmp/x11/py-otherside/work/.tools/bin/itstool GDBUS_CODEGEN=/tmp/x11/py-otherside/work/.tools/bin/gdbus-codegen PKG_CONFIG=/tmp/x11/py-otherside/work/.tools/bin/pkg-config PKG_CONFIG_LIBDIR=/tmp/x11/py-otherside/work/.buildlink/lib/pkgconfig:/tmp/x11/py-otherside/work/.buildlink/share/pkgconfig PKG_CONFIG_LOG=/tmp/x11/py-otherside/work/.pkg-config.log PKG_CONFIG_PATH= CWRAPPERS_CONFIG_DIR=/tmp/x11/py-otherside/work/.cwrapper/config /usr/pkg/qt5/bin/qmake PYTHON_CONFIG=python2.7-config Info: creating stash file /tmp/x11/py-otherside/work/pyotherside-1.6.0/.qmake.stash --- sub-src-all --- --- sub-qtquicktests-all --- --- sub-src-all --- cd src/ && ( test -e Makefile || /usr/pkg/qt5/bin/qmake -o Makefile /tmp/x11/py-otherside/work/pyotherside-1.6.0/src/src.pro PYTHON_CONFIG=python2.7-config ) && /usr/bin/make -f Makefile all --- sub-qtquicktests-all --- cd qtquicktests/ && ( test -e Makefile || /usr/pkg/qt5/bin/qmake -o Makefile /tmp/x11/py-otherside/work/pyotherside-1.6.0/qtquicktests/qtquicktests.pro PYTHON_CONFIG=python2.7-config ) && /usr/bin/make -f Makefile all --- sub-src-all --- Project MESSAGE: PYTHON_CONFIG = python2.7-config --- sub-qtquicktests-all --- --- qtquicktests.o --- c++ -c -O2 -fPIC -D_FORTIFY_SOURCE=2 -I/usr/pkg/include -I/usr/pkg/qt5/include -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/pkg/include/harfbuzz -I/usr/pkg/include/freetype2 -I/usr/X11R7/include -I/usr/X11R7/include/libdrm -O2 -Wno-register -fPIC -D_FORTIFY_SOURCE=2 -D_NETBSD_SOURCE -I/usr/pkg/include -I/usr/include -I/usr/include/krb5 -I/usr/pkg/lib/dbus-1.0/include/dbus -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/pkg/include/harfbuzz -I/usr/pkg/include/freetype2 -I/usr/X11R7/include -I/usr/X11R7/include/libdrm -Wall -Wextra -fPIC -DQUICK_TEST_SOURCE_DIR='"/tmp/x11/py-otherside/work/pyotherside-1.6.0/qtquicktests"' -DQT_NO_DEBUG -DQT_QMLTEST_LIB -DQT_WIDGETS_LIB -DQT_GUI_LIB -DQT_QML_LIB -DQT_NETWORK_LIB -DQT_TESTLIB_LIB -DQT_CORE_LIB -DQT_TESTCASE_BUILDDIR='"/tmp/x11/py-otherside/work/pyotherside-1.6.0/qtquicktests"' -I. -I/usr/pkg/qt5/include -I/usr/pkg/qt5/include/QtQuickTest -I/usr/pkg/qt5/include/QtWidgets -I/usr/pkg/qt5/include/QtGui -I/usr/pkg/qt5/include/QtQml -I/usr/pkg/qt5/include/QtNetwork -I/usr/pkg/qt5/include/QtTest -I/usr/pkg/qt5/include/QtCore -I. -I/usr/X11R7/include -I/usr/X11R7/include/libdrm -I/usr/pkg/include -I/usr/pkg/qt5/mkspecs/netbsd-g++ -o qtquicktests.o qtquicktests.cpp --- sub-src-all --- --- pyotherside_plugin.o --- --- qpython_imageprovider.o --- --- pyglarea.o --- --- pyotherside_plugin.o --- c++ -c -O2 -fPIC -D_FORTIFY_SOURCE=2 -I/usr/pkg/include -I/usr/pkg/qt5/include -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/pkg/include/harfbuzz -I/usr/pkg/include/freetype2 -I/usr/X11R7/include -I/usr/X11R7/include/libdrm -O2 -Wno-register -fPIC -D_FORTIFY_SOURCE=2 -D_NETBSD_SOURCE -I/usr/pkg/include -I/usr/include -I/usr/include/krb5 -I/usr/pkg/lib/dbus-1.0/include/dbus -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/pkg/include/harfbuzz -I/usr/pkg/include/freetype2 -I/usr/X11R7/include -I/usr/X11R7/include/libdrm -I/usr/pkg/include/python2.7 -I/usr/pkg/include/python2.7 -Wall -Wextra -fPIC -DPYOTHERSIDE_VERSION=\"1.6.0\" -DHAVE_DLADDR -DQT_NO_DEBUG -DQT_PLUGIN -DQT_QUICK_LIB -DQT_SVG_LIB -DQT_OPENGL_LIB -DQT_WIDGETS_LIB -DQT_GUI_LIB -DQT_QMLMODELS_LIB -DQT_QML_LIB -DQT_NETWORK_LIB -DQT_CORE_LIB -I. -I. -I/usr/pkg/qt5/include -I/usr/pkg/qt5/include/QtQuick -I/usr/pkg/qt5/include/QtSvg -I/usr/pkg/qt5/include/QtOpenGL -I/usr/pkg/qt5/include/QtWidgets -I/usr/pkg/qt5/include/QtGui -I/usr/pkg/qt5/include/QtQmlModels -I/usr/pkg/qt5/include/QtQml -I/usr/pkg/qt5/include/QtNetwork -I/usr/pkg/qt5/include/QtCore -I. -I/usr/X11R7/include -I/usr/X11R7/include/libdrm -I/usr/pkg/include -I/usr/pkg/qt5/mkspecs/netbsd-g++ -o pyotherside_plugin.o pyotherside_plugin.cpp --- qpython_imageprovider.o --- c++ -c -O2 -fPIC -D_FORTIFY_SOURCE=2 -I/usr/pkg/include -I/usr/pkg/qt5/include -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/pkg/include/harfbuzz -I/usr/pkg/include/freetype2 -I/usr/X11R7/include -I/usr/X11R7/include/libdrm -O2 -Wno-register -fPIC -D_FORTIFY_SOURCE=2 -D_NETBSD_SOURCE -I/usr/pkg/include -I/usr/include -I/usr/include/krb5 -I/usr/pkg/lib/dbus-1.0/include/dbus -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/pkg/include/harfbuzz -I/usr/pkg/include/freetype2 -I/usr/X11R7/include -I/usr/X11R7/include/libdrm -I/usr/pkg/include/python2.7 -I/usr/pkg/include/python2.7 -Wall -Wextra -fPIC -DPYOTHERSIDE_VERSION=\"1.6.0\" -DHAVE_DLADDR -DQT_NO_DEBUG -DQT_PLUGIN -DQT_QUICK_LIB -DQT_SVG_LIB -DQT_OPENGL_LIB -DQT_WIDGETS_LIB -DQT_GUI_LIB -DQT_QMLMODELS_LIB -DQT_QML_LIB -DQT_NETWORK_LIB -DQT_CORE_LIB -I. -I. -I/usr/pkg/qt5/include -I/usr/pkg/qt5/include/QtQuick -I/usr/pkg/qt5/include/QtSvg -I/usr/pkg/qt5/include/QtOpenGL -I/usr/pkg/qt5/include/QtWidgets -I/usr/pkg/qt5/include/QtGui -I/usr/pkg/qt5/include/QtQmlModels -I/usr/pkg/qt5/include/QtQml -I/usr/pkg/qt5/include/QtNetwork -I/usr/pkg/qt5/include/QtCore -I. -I/usr/X11R7/include -I/usr/X11R7/include/libdrm -I/usr/pkg/include -I/usr/pkg/qt5/mkspecs/netbsd-g++ -o qpython_imageprovider.o qpython_imageprovider.cpp --- pyglarea.o --- c++ -c -O2 -fPIC -D_FORTIFY_SOURCE=2 -I/usr/pkg/include -I/usr/pkg/qt5/include -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/pkg/include/harfbuzz -I/usr/pkg/include/freetype2 -I/usr/X11R7/include -I/usr/X11R7/include/libdrm -O2 -Wno-register -fPIC -D_FORTIFY_SOURCE=2 -D_NETBSD_SOURCE -I/usr/pkg/include -I/usr/include -I/usr/include/krb5 -I/usr/pkg/lib/dbus-1.0/include/dbus -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/pkg/include/harfbuzz -I/usr/pkg/include/freetype2 -I/usr/X11R7/include -I/usr/X11R7/include/libdrm -I/usr/pkg/include/python2.7 -I/usr/pkg/include/python2.7 -Wall -Wextra -fPIC -DPYOTHERSIDE_VERSION=\"1.6.0\" -DHAVE_DLADDR -DQT_NO_DEBUG -DQT_PLUGIN -DQT_QUICK_LIB -DQT_SVG_LIB -DQT_OPENGL_LIB -DQT_WIDGETS_LIB -DQT_GUI_LIB -DQT_QMLMODELS_LIB -DQT_QML_LIB -DQT_NETWORK_LIB -DQT_CORE_LIB -I. -I. -I/usr/pkg/qt5/include -I/usr/pkg/qt5/include/QtQuick -I/usr/pkg/qt5/include/QtSvg -I/usr/pkg/qt5/include/QtOpenGL -I/usr/pkg/qt5/include/QtWidgets -I/usr/pkg/qt5/include/QtGui -I/usr/pkg/qt5/include/QtQmlModels -I/usr/pkg/qt5/include/QtQml -I/usr/pkg/qt5/include/QtNetwork -I/usr/pkg/qt5/include/QtCore -I. -I/usr/X11R7/include -I/usr/X11R7/include/libdrm -I/usr/pkg/include -I/usr/pkg/qt5/mkspecs/netbsd-g++ -o pyglarea.o pyglarea.cpp --- qpython_imageprovider.o --- qpython_imageprovider.cpp: In function 'void cleanup_python_qimage(void*)': qpython_imageprovider.cpp:41:18: warning: unused variable 'priv' [-Wunused-variable] QPythonPriv *priv = QPythonPriv::instance(); ^~~~ --- pyglrenderer.o --- c++ -c -O2 -fPIC -D_FORTIFY_SOURCE=2 -I/usr/pkg/include -I/usr/pkg/qt5/include -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/pkg/include/harfbuzz -I/usr/pkg/include/freetype2 -I/usr/X11R7/include -I/usr/X11R7/include/libdrm -O2 -Wno-register -fPIC -D_FORTIFY_SOURCE=2 -D_NETBSD_SOURCE -I/usr/pkg/include -I/usr/include -I/usr/include/krb5 -I/usr/pkg/lib/dbus-1.0/include/dbus -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/pkg/include/harfbuzz -I/usr/pkg/include/freetype2 -I/usr/X11R7/include -I/usr/X11R7/include/libdrm -I/usr/pkg/include/python2.7 -I/usr/pkg/include/python2.7 -Wall -Wextra -fPIC -DPYOTHERSIDE_VERSION=\"1.6.0\" -DHAVE_DLADDR -DQT_NO_DEBUG -DQT_PLUGIN -DQT_QUICK_LIB -DQT_SVG_LIB -DQT_OPENGL_LIB -DQT_WIDGETS_LIB -DQT_GUI_LIB -DQT_QMLMODELS_LIB -DQT_QML_LIB -DQT_NETWORK_LIB -DQT_CORE_LIB -I. -I. -I/usr/pkg/qt5/include -I/usr/pkg/qt5/include/QtQuick -I/usr/pkg/qt5/include/QtSvg -I/usr/pkg/qt5/include/QtOpenGL -I/usr/pkg/qt5/include/QtWidgets -I/usr/pkg/qt5/include/QtGui -I/usr/pkg/qt5/include/QtQmlModels -I/usr/pkg/qt5/include/QtQml -I/usr/pkg/qt5/include/QtNetwork -I/usr/pkg/qt5/include/QtCore -I. -I/usr/X11R7/include -I/usr/X11R7/include/libdrm -I/usr/pkg/include -I/usr/pkg/qt5/mkspecs/netbsd-g++ -o pyglrenderer.o pyglrenderer.cpp --- sub-qtquicktests-all --- --- qtquicktests --- g++ -Wl,-zrelro -lexecinfo -L/usr/pkg/lib -L/usr/lib -Wl,-R/usr/lib -Wl,-R/usr/pkg/lib -L/usr/X11R7/lib -Wl,-R/usr/X11R7/lib -Wl,-O1 -pthread -Wl,-rpath,/usr/pkg/qt5/lib -o qtquicktests qtquicktests.o -L/usr/pkg/lib -L/usr/X11R7/lib /usr/pkg/qt5/lib/libQt5QuickTest.so /usr/pkg/qt5/lib/libQt5Widgets.so /usr/pkg/qt5/lib/libQt5Gui.so /usr/pkg/qt5/lib/libQt5Qml.so /usr/pkg/qt5/lib/libQt5Network.so /usr/pkg/qt5/lib/libQt5Test.so /usr/pkg/qt5/lib/libQt5Core.so -lGL --- sub-src-all --- --- pyfbo.o --- c++ -c -O2 -fPIC -D_FORTIFY_SOURCE=2 -I/usr/pkg/include -I/usr/pkg/qt5/include -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/pkg/include/harfbuzz -I/usr/pkg/include/freetype2 -I/usr/X11R7/include -I/usr/X11R7/include/libdrm -O2 -Wno-register -fPIC -D_FORTIFY_SOURCE=2 -D_NETBSD_SOURCE -I/usr/pkg/include -I/usr/include -I/usr/include/krb5 -I/usr/pkg/lib/dbus-1.0/include/dbus -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/pkg/include/harfbuzz -I/usr/pkg/include/freetype2 -I/usr/X11R7/include -I/usr/X11R7/include/libdrm -I/usr/pkg/include/python2.7 -I/usr/pkg/include/python2.7 -Wall -Wextra -fPIC -DPYOTHERSIDE_VERSION=\"1.6.0\" -DHAVE_DLADDR -DQT_NO_DEBUG -DQT_PLUGIN -DQT_QUICK_LIB -DQT_SVG_LIB -DQT_OPENGL_LIB -DQT_WIDGETS_LIB -DQT_GUI_LIB -DQT_QMLMODELS_LIB -DQT_QML_LIB -DQT_NETWORK_LIB -DQT_CORE_LIB -I. -I. -I/usr/pkg/qt5/include -I/usr/pkg/qt5/include/QtQuick -I/usr/pkg/qt5/include/QtSvg -I/usr/pkg/qt5/include/QtOpenGL -I/usr/pkg/qt5/include/QtWidgets -I/usr/pkg/qt5/include/QtGui -I/usr/pkg/qt5/include/QtQmlModels -I/usr/pkg/qt5/include/QtQml -I/usr/pkg/qt5/include/QtNetwork -I/usr/pkg/qt5/include/QtCore -I. -I/usr/X11R7/include -I/usr/X11R7/include/libdrm -I/usr/pkg/include -I/usr/pkg/qt5/mkspecs/netbsd-g++ -o pyfbo.o pyfbo.cpp --- pythonlib_loader.o --- --- qpython.o --- --- pythonlib_loader.o --- c++ -c -O2 -fPIC -D_FORTIFY_SOURCE=2 -I/usr/pkg/include -I/usr/pkg/qt5/include -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/pkg/include/harfbuzz -I/usr/pkg/include/freetype2 -I/usr/X11R7/include -I/usr/X11R7/include/libdrm -O2 -Wno-register -fPIC -D_FORTIFY_SOURCE=2 -D_NETBSD_SOURCE -I/usr/pkg/include -I/usr/include -I/usr/include/krb5 -I/usr/pkg/lib/dbus-1.0/include/dbus -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/pkg/include/harfbuzz -I/usr/pkg/include/freetype2 -I/usr/X11R7/include -I/usr/X11R7/include/libdrm -I/usr/pkg/include/python2.7 -I/usr/pkg/include/python2.7 -Wall -Wextra -fPIC -DPYOTHERSIDE_VERSION=\"1.6.0\" -DHAVE_DLADDR -DQT_NO_DEBUG -DQT_PLUGIN -DQT_QUICK_LIB -DQT_SVG_LIB -DQT_OPENGL_LIB -DQT_WIDGETS_LIB -DQT_GUI_LIB -DQT_QMLMODELS_LIB -DQT_QML_LIB -DQT_NETWORK_LIB -DQT_CORE_LIB -I. -I. -I/usr/pkg/qt5/include -I/usr/pkg/qt5/include/QtQuick -I/usr/pkg/qt5/include/QtSvg -I/usr/pkg/qt5/include/QtOpenGL -I/usr/pkg/qt5/include/QtWidgets -I/usr/pkg/qt5/include/QtGui -I/usr/pkg/qt5/include/QtQmlModels -I/usr/pkg/qt5/include/QtQml -I/usr/pkg/qt5/include/QtNetwork -I/usr/pkg/qt5/include/QtCore -I. -I/usr/X11R7/include -I/usr/X11R7/include/libdrm -I/usr/pkg/include -I/usr/pkg/qt5/mkspecs/netbsd-g++ -o pythonlib_loader.o pythonlib_loader.cpp --- qpython.o --- c++ -c -O2 -fPIC -D_FORTIFY_SOURCE=2 -I/usr/pkg/include -I/usr/pkg/qt5/include -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/pkg/include/harfbuzz -I/usr/pkg/include/freetype2 -I/usr/X11R7/include -I/usr/X11R7/include/libdrm -O2 -Wno-register -fPIC -D_FORTIFY_SOURCE=2 -D_NETBSD_SOURCE -I/usr/pkg/include -I/usr/include -I/usr/include/krb5 -I/usr/pkg/lib/dbus-1.0/include/dbus -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/pkg/include/harfbuzz -I/usr/pkg/include/freetype2 -I/usr/X11R7/include -I/usr/X11R7/include/libdrm -I/usr/pkg/include/python2.7 -I/usr/pkg/include/python2.7 -Wall -Wextra -fPIC -DPYOTHERSIDE_VERSION=\"1.6.0\" -DHAVE_DLADDR -DQT_NO_DEBUG -DQT_PLUGIN -DQT_QUICK_LIB -DQT_SVG_LIB -DQT_OPENGL_LIB -DQT_WIDGETS_LIB -DQT_GUI_LIB -DQT_QMLMODELS_LIB -DQT_QML_LIB -DQT_NETWORK_LIB -DQT_CORE_LIB -I. -I. -I/usr/pkg/qt5/include -I/usr/pkg/qt5/include/QtQuick -I/usr/pkg/qt5/include/QtSvg -I/usr/pkg/qt5/include/QtOpenGL -I/usr/pkg/qt5/include/QtWidgets -I/usr/pkg/qt5/include/QtGui -I/usr/pkg/qt5/include/QtQmlModels -I/usr/pkg/qt5/include/QtQml -I/usr/pkg/qt5/include/QtNetwork -I/usr/pkg/qt5/include/QtCore -I. -I/usr/X11R7/include -I/usr/X11R7/include/libdrm -I/usr/pkg/include -I/usr/pkg/qt5/mkspecs/netbsd-g++ -o qpython.o qpython.cpp --- qpython_worker.o --- c++ -c -O2 -fPIC -D_FORTIFY_SOURCE=2 -I/usr/pkg/include -I/usr/pkg/qt5/include -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/pkg/include/harfbuzz -I/usr/pkg/include/freetype2 -I/usr/X11R7/include -I/usr/X11R7/include/libdrm -O2 -Wno-register -fPIC -D_FORTIFY_SOURCE=2 -D_NETBSD_SOURCE -I/usr/pkg/include -I/usr/include -I/usr/include/krb5 -I/usr/pkg/lib/dbus-1.0/include/dbus -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/pkg/include/harfbuzz -I/usr/pkg/include/freetype2 -I/usr/X11R7/include -I/usr/X11R7/include/libdrm -I/usr/pkg/include/python2.7 -I/usr/pkg/include/python2.7 -Wall -Wextra -fPIC -DPYOTHERSIDE_VERSION=\"1.6.0\" -DHAVE_DLADDR -DQT_NO_DEBUG -DQT_PLUGIN -DQT_QUICK_LIB -DQT_SVG_LIB -DQT_OPENGL_LIB -DQT_WIDGETS_LIB -DQT_GUI_LIB -DQT_QMLMODELS_LIB -DQT_QML_LIB -DQT_NETWORK_LIB -DQT_CORE_LIB -I. -I. -I/usr/pkg/qt5/include -I/usr/pkg/qt5/include/QtQuick -I/usr/pkg/qt5/include/QtSvg -I/usr/pkg/qt5/include/QtOpenGL -I/usr/pkg/qt5/include/QtWidgets -I/usr/pkg/qt5/include/QtGui -I/usr/pkg/qt5/include/QtQmlModels -I/usr/pkg/qt5/include/QtQml -I/usr/pkg/qt5/include/QtNetwork -I/usr/pkg/qt5/include/QtCore -I. -I/usr/X11R7/include -I/usr/X11R7/include/libdrm -I/usr/pkg/include -I/usr/pkg/qt5/mkspecs/netbsd-g++ -o qpython_worker.o qpython_worker.cpp --- qpython_priv.o --- c++ -c -O2 -fPIC -D_FORTIFY_SOURCE=2 -I/usr/pkg/include -I/usr/pkg/qt5/include -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/pkg/include/harfbuzz -I/usr/pkg/include/freetype2 -I/usr/X11R7/include -I/usr/X11R7/include/libdrm -O2 -Wno-register -fPIC -D_FORTIFY_SOURCE=2 -D_NETBSD_SOURCE -I/usr/pkg/include -I/usr/include -I/usr/include/krb5 -I/usr/pkg/lib/dbus-1.0/include/dbus -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/pkg/include/harfbuzz -I/usr/pkg/include/freetype2 -I/usr/X11R7/include -I/usr/X11R7/include/libdrm -I/usr/pkg/include/python2.7 -I/usr/pkg/include/python2.7 -Wall -Wextra -fPIC -DPYOTHERSIDE_VERSION=\"1.6.0\" -DHAVE_DLADDR -DQT_NO_DEBUG -DQT_PLUGIN -DQT_QUICK_LIB -DQT_SVG_LIB -DQT_OPENGL_LIB -DQT_WIDGETS_LIB -DQT_GUI_LIB -DQT_QMLMODELS_LIB -DQT_QML_LIB -DQT_NETWORK_LIB -DQT_CORE_LIB -I. -I. -I/usr/pkg/qt5/include -I/usr/pkg/qt5/include/QtQuick -I/usr/pkg/qt5/include/QtSvg -I/usr/pkg/qt5/include/QtOpenGL -I/usr/pkg/qt5/include/QtWidgets -I/usr/pkg/qt5/include/QtGui -I/usr/pkg/qt5/include/QtQmlModels -I/usr/pkg/qt5/include/QtQml -I/usr/pkg/qt5/include/QtNetwork -I/usr/pkg/qt5/include/QtCore -I. -I/usr/X11R7/include -I/usr/X11R7/include/libdrm -I/usr/pkg/include -I/usr/pkg/qt5/mkspecs/netbsd-g++ -o qpython_priv.o qpython_priv.cpp --- qpython.o --- In file included from qml_python_bridge.h:22:0, from qpython.cpp:19: pyobject_converter.h: In member function 'virtual const char* PyObjectConverter::string(PyObject*&)': pyobject_converter.h:176:59: error: 'PyUnicode_AsUTF8' was not declared in this scope virtual const char *string(PyObject *&o) { return PyUnicode_AsUTF8(o); } ^~~~~~~~~~~~~~~~ pyobject_converter.h:176:59: note: suggested alternative: 'PyUnicode_Type' virtual const char *string(PyObject *&o) { return PyUnicode_AsUTF8(o); } ^~~~~~~~~~~~~~~~ PyUnicode_Type qpython.cpp: In member function 'void QPython::receive(QVariant)': qpython.cpp:37:44: warning: 'QJSEngine* QJSValue::engine() const' is deprecated [-Wdeprecated-declarations] # define GET_JS_ENGINE(obj) ((obj).engine()) ^ qpython.cpp:261:21: note: in expansion of macro 'GET_JS_ENGINE' args << GET_JS_ENGINE(callback)->toScriptValue(list[i]); ^~~~~~~~~~~~~ In file included from /tmp/x11/py-otherside/work/.buildlink/qt5/include/QtQml/QJSValue:1:0, from qvariant_converter.h:30, from qml_python_bridge.h:23, from qpython.cpp:19: /tmp/x11/py-otherside/work/.buildlink/qt5/include/QtQml/qjsvalue.h:152:30: note: declared here QT_DEPRECATED QJSEngine *engine() const; ^~~~~~ qpython.cpp: In member function 'void QPython::finished(QVariant, QJSValue*)': qpython.cpp:37:44: warning: 'QJSEngine* QJSValue::engine() const' is deprecated [-Wdeprecated-declarations] # define GET_JS_ENGINE(obj) ((obj).engine()) ^ qpython.cpp:422:18: note: in expansion of macro 'GET_JS_ENGINE' QJSValue v = GET_JS_ENGINE(*callback)->toScriptValue(result); ^~~~~~~~~~~~~ In file included from /tmp/x11/py-otherside/work/.buildlink/qt5/include/QtQml/QJSValue:1:0, from qvariant_converter.h:30, from qml_python_bridge.h:23, from qpython.cpp:19: /tmp/x11/py-otherside/work/.buildlink/qt5/include/QtQml/qjsvalue.h:152:30: note: declared here QT_DEPRECATED QJSEngine *engine() const; ^~~~~~ qpython.cpp: In member function 'void QPython::imported(bool, QJSValue*)': qpython.cpp:37:44: warning: 'QJSEngine* QJSValue::engine() const' is deprecated [-Wdeprecated-declarations] # define GET_JS_ENGINE(obj) ((obj).engine()) ^ qpython.cpp:439:18: note: in expansion of macro 'GET_JS_ENGINE' QJSValue v = GET_JS_ENGINE(*callback)->toScriptValue(QVariant(result)); ^~~~~~~~~~~~~ In file included from /tmp/x11/py-otherside/work/.buildlink/qt5/include/QtQml/QJSValue:1:0, from qvariant_converter.h:30, from qml_python_bridge.h:23, from qpython.cpp:19: /tmp/x11/py-otherside/work/.buildlink/qt5/include/QtQml/qjsvalue.h:152:30: note: declared here QT_DEPRECATED QJSEngine *engine() const; ^~~~~~ --- global_libpython_loader.o --- --- qpython.o --- qpython.cpp: In member function 'QString QPython::pythonVersion()': qpython.cpp:464:64: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] PyObjectRef version_info(PySys_GetObject("version_info")); ^ --- global_libpython_loader.o --- c++ -c -O2 -fPIC -D_FORTIFY_SOURCE=2 -I/usr/pkg/include -I/usr/pkg/qt5/include -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/pkg/include/harfbuzz -I/usr/pkg/include/freetype2 -I/usr/X11R7/include -I/usr/X11R7/include/libdrm -O2 -Wno-register -fPIC -D_FORTIFY_SOURCE=2 -D_NETBSD_SOURCE -I/usr/pkg/include -I/usr/include -I/usr/include/krb5 -I/usr/pkg/lib/dbus-1.0/include/dbus -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/pkg/include/harfbuzz -I/usr/pkg/include/freetype2 -I/usr/X11R7/include -I/usr/X11R7/include/libdrm -I/usr/pkg/include/python2.7 -I/usr/pkg/include/python2.7 -Wall -Wextra -fPIC -DPYOTHERSIDE_VERSION=\"1.6.0\" -DHAVE_DLADDR -DQT_NO_DEBUG -DQT_PLUGIN -DQT_QUICK_LIB -DQT_SVG_LIB -DQT_OPENGL_LIB -DQT_WIDGETS_LIB -DQT_GUI_LIB -DQT_QMLMODELS_LIB -DQT_QML_LIB -DQT_NETWORK_LIB -DQT_CORE_LIB -I. -I. -I/usr/pkg/qt5/include -I/usr/pkg/qt5/include/QtQuick -I/usr/pkg/qt5/include/QtSvg -I/usr/pkg/qt5/include/QtOpenGL -I/usr/pkg/qt5/include/QtWidgets -I/usr/pkg/qt5/include/QtGui -I/usr/pkg/qt5/include/QtQmlModels -I/usr/pkg/qt5/include/QtQml -I/usr/pkg/qt5/include/QtNetwork -I/usr/pkg/qt5/include/QtCore -I. -I/usr/X11R7/include -I/usr/X11R7/include/libdrm -I/usr/pkg/include -I/usr/pkg/qt5/mkspecs/netbsd-g++ -o global_libpython_loader.o global_libpython_loader.cpp --- pyobject_ref.o --- c++ -c -O2 -fPIC -D_FORTIFY_SOURCE=2 -I/usr/pkg/include -I/usr/pkg/qt5/include -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/pkg/include/harfbuzz -I/usr/pkg/include/freetype2 -I/usr/X11R7/include -I/usr/X11R7/include/libdrm -O2 -Wno-register -fPIC -D_FORTIFY_SOURCE=2 -D_NETBSD_SOURCE -I/usr/pkg/include -I/usr/include -I/usr/include/krb5 -I/usr/pkg/lib/dbus-1.0/include/dbus -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/pkg/include/harfbuzz -I/usr/pkg/include/freetype2 -I/usr/X11R7/include -I/usr/X11R7/include/libdrm -I/usr/pkg/include/python2.7 -I/usr/pkg/include/python2.7 -Wall -Wextra -fPIC -DPYOTHERSIDE_VERSION=\"1.6.0\" -DHAVE_DLADDR -DQT_NO_DEBUG -DQT_PLUGIN -DQT_QUICK_LIB -DQT_SVG_LIB -DQT_OPENGL_LIB -DQT_WIDGETS_LIB -DQT_GUI_LIB -DQT_QMLMODELS_LIB -DQT_QML_LIB -DQT_NETWORK_LIB -DQT_CORE_LIB -I. -I. -I/usr/pkg/qt5/include -I/usr/pkg/qt5/include/QtQuick -I/usr/pkg/qt5/include/QtSvg -I/usr/pkg/qt5/include/QtOpenGL -I/usr/pkg/qt5/include/QtWidgets -I/usr/pkg/qt5/include/QtGui -I/usr/pkg/qt5/include/QtQmlModels -I/usr/pkg/qt5/include/QtQml -I/usr/pkg/qt5/include/QtNetwork -I/usr/pkg/qt5/include/QtCore -I. -I/usr/X11R7/include -I/usr/X11R7/include/libdrm -I/usr/pkg/include -I/usr/pkg/qt5/mkspecs/netbsd-g++ -o pyobject_ref.o pyobject_ref.cpp --- qpython_priv.o --- In file included from qml_python_bridge.h:22:0, from qpython_priv.cpp:19: pyobject_converter.h: In member function 'virtual const char* PyObjectConverter::string(PyObject*&)': pyobject_converter.h:176:59: error: 'PyUnicode_AsUTF8' was not declared in this scope virtual const char *string(PyObject *&o) { return PyUnicode_AsUTF8(o); } ^~~~~~~~~~~~~~~~ pyobject_converter.h:176:59: note: suggested alternative: 'PyUnicode_Type' virtual const char *string(PyObject *&o) { return PyUnicode_AsUTF8(o); } ^~~~~~~~~~~~~~~~ PyUnicode_Type --- qpython.o --- *** [qpython.o] Error code 1 make[1]: stopped in /tmp/x11/py-otherside/work/pyotherside-1.6.0/src --- qpython_priv.o --- qpython_priv.cpp: At global scope: qpython_priv.cpp:74:1: warning: missing initializer for member '_typeobject::tp_traverse' [-Wmissing-field-initializers] }; ^ qpython_priv.cpp:74:1: warning: missing initializer for member '_typeobject::tp_clear' [-Wmissing-field-initializers] qpython_priv.cpp:74:1: warning: missing initializer for member '_typeobject::tp_richcompare' [-Wmissing-field-initializers] qpython_priv.cpp:74:1: warning: missing initializer for member '_typeobject::tp_weaklistoffset' [-Wmissing-field-initializers] qpython_priv.cpp:74:1: warning: missing initializer for member '_typeobject::tp_iter' [-Wmissing-field-initializers] qpython_priv.cpp:74:1: warning: missing initializer for member '_typeobject::tp_iternext' [-Wmissing-field-initializers] qpython_priv.cpp:74:1: warning: missing initializer for member '_typeobject::tp_methods' [-Wmissing-field-initializers] qpython_priv.cpp:74:1: warning: missing initializer for member '_typeobject::tp_members' [-Wmissing-field-initializers] qpython_priv.cpp:74:1: warning: missing initializer for member '_typeobject::tp_getset' [-Wmissing-field-initializers] qpython_priv.cpp:74:1: warning: missing initializer for member '_typeobject::tp_base' [-Wmissing-field-initializers] qpython_priv.cpp:74:1: warning: missing initializer for member '_typeobject::tp_dict' [-Wmissing-field-initializers] qpython_priv.cpp:74:1: warning: missing initializer for member '_typeobject::tp_descr_get' [-Wmissing-field-initializers] qpython_priv.cpp:74:1: warning: missing initializer for member '_typeobject::tp_descr_set' [-Wmissing-field-initializers] qpython_priv.cpp:74:1: warning: missing initializer for member '_typeobject::tp_dictoffset' [-Wmissing-field-initializers] qpython_priv.cpp:74:1: warning: missing initializer for member '_typeobject::tp_init' [-Wmissing-field-initializers] qpython_priv.cpp:74:1: warning: missing initializer for member '_typeobject::tp_alloc' [-Wmissing-field-initializers] qpython_priv.cpp:74:1: warning: missing initializer for member '_typeobject::tp_new' [-Wmissing-field-initializers] qpython_priv.cpp:74:1: warning: missing initializer for member '_typeobject::tp_free' [-Wmissing-field-initializers] qpython_priv.cpp:74:1: warning: missing initializer for member '_typeobject::tp_is_gc' [-Wmissing-field-initializers] qpython_priv.cpp:74:1: warning: missing initializer for member '_typeobject::tp_bases' [-Wmissing-field-initializers] qpython_priv.cpp:74:1: warning: missing initializer for member '_typeobject::tp_mro' [-Wmissing-field-initializers] qpython_priv.cpp:74:1: warning: missing initializer for member '_typeobject::tp_cache' [-Wmissing-field-initializers] qpython_priv.cpp:74:1: warning: missing initializer for member '_typeobject::tp_subclasses' [-Wmissing-field-initializers] qpython_priv.cpp:74:1: warning: missing initializer for member '_typeobject::tp_weaklist' [-Wmissing-field-initializers] qpython_priv.cpp:74:1: warning: missing initializer for member '_typeobject::tp_del' [-Wmissing-field-initializers] qpython_priv.cpp:74:1: warning: missing initializer for member '_typeobject::tp_version_tag' [-Wmissing-field-initializers] qpython_priv.cpp:98:1: warning: missing initializer for member '_typeobject::tp_traverse' [-Wmissing-field-initializers] }; ^ qpython_priv.cpp:98:1: warning: missing initializer for member '_typeobject::tp_clear' [-Wmissing-field-initializers] qpython_priv.cpp:98:1: warning: missing initializer for member '_typeobject::tp_richcompare' [-Wmissing-field-initializers] qpython_priv.cpp:98:1: warning: missing initializer for member '_typeobject::tp_weaklistoffset' [-Wmissing-field-initializers] qpython_priv.cpp:98:1: warning: missing initializer for member '_typeobject::tp_iter' [-Wmissing-field-initializers] qpython_priv.cpp:98:1: warning: missing initializer for member '_typeobject::tp_iternext' [-Wmissing-field-initializers] qpython_priv.cpp:98:1: warning: missing initializer for member '_typeobject::tp_methods' [-Wmissing-field-initializers] qpython_priv.cpp:98:1: warning: missing initializer for member '_typeobject::tp_members' [-Wmissing-field-initializers] qpython_priv.cpp:98:1: warning: missing initializer for member '_typeobject::tp_getset' [-Wmissing-field-initializers] qpython_priv.cpp:98:1: warning: missing initializer for member '_typeobject::tp_base' [-Wmissing-field-initializers] qpython_priv.cpp:98:1: warning: missing initializer for member '_typeobject::tp_dict' [-Wmissing-field-initializers] qpython_priv.cpp:98:1: warning: missing initializer for member '_typeobject::tp_descr_get' [-Wmissing-field-initializers] qpython_priv.cpp:98:1: warning: missing initializer for member '_typeobject::tp_descr_set' [-Wmissing-field-initializers] qpython_priv.cpp:98:1: warning: missing initializer for member '_typeobject::tp_dictoffset' [-Wmissing-field-initializers] qpython_priv.cpp:98:1: warning: missing initializer for member '_typeobject::tp_init' [-Wmissing-field-initializers] qpython_priv.cpp:98:1: warning: missing initializer for member '_typeobject::tp_alloc' [-Wmissing-field-initializers] qpython_priv.cpp:98:1: warning: missing initializer for member '_typeobject::tp_new' [-Wmissing-field-initializers] qpython_priv.cpp:98:1: warning: missing initializer for member '_typeobject::tp_free' [-Wmissing-field-initializers] qpython_priv.cpp:98:1: warning: missing initializer for member '_typeobject::tp_is_gc' [-Wmissing-field-initializers] qpython_priv.cpp:98:1: warning: missing initializer for member '_typeobject::tp_bases' [-Wmissing-field-initializers] qpython_priv.cpp:98:1: warning: missing initializer for member '_typeobject::tp_mro' [-Wmissing-field-initializers] qpython_priv.cpp:98:1: warning: missing initializer for member '_typeobject::tp_cache' [-Wmissing-field-initializers] qpython_priv.cpp:98:1: warning: missing initializer for member '_typeobject::tp_subclasses' [-Wmissing-field-initializers] qpython_priv.cpp:98:1: warning: missing initializer for member '_typeobject::tp_weaklist' [-Wmissing-field-initializers] qpython_priv.cpp:98:1: warning: missing initializer for member '_typeobject::tp_del' [-Wmissing-field-initializers] qpython_priv.cpp:98:1: warning: missing initializer for member '_typeobject::tp_version_tag' [-Wmissing-field-initializers] qpython_priv.cpp: In function 'PyObject* pyotherside_send(PyObject*, PyObject*)': qpython_priv.cpp:103:28: warning: unused parameter 'self' [-Wunused-parameter] pyotherside_send(PyObject *self, PyObject *args) ^~~~ qpython_priv.cpp: In function 'PyObject* pyotherside_atexit(PyObject*, PyObject*)': qpython_priv.cpp:110:30: warning: unused parameter 'self' [-Wunused-parameter] pyotherside_atexit(PyObject *self, PyObject *o) ^~~~ qpython_priv.cpp: In function 'PyObject* pyotherside_set_image_provider(PyObject*, PyObject*)': qpython_priv.cpp:118:42: warning: unused parameter 'self' [-Wunused-parameter] pyotherside_set_image_provider(PyObject *self, PyObject *o) ^~~~ In file included from /tmp/x11/py-otherside/work/.buildlink/include/python2.7/Python.h:83:0, from python_wrap.h:5, from pyobject_ref.h:23, from converter.h:22, from pyobject_converter.h:22, from qml_python_bridge.h:22, from qpython_priv.cpp:19: qpython_priv.cpp: In function 'PyObject* pyotherside_qrc_is_file(PyObject*, PyObject*)': /tmp/x11/py-otherside/work/.buildlink/include/python2.7/object.h:769:22: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] ((PyObject*)(op))->ob_refcnt++) ^ /tmp/x11/py-otherside/work/.buildlink/include/python2.7/boolobject.h:27:31: note: in expansion of macro 'Py_INCREF' #define Py_RETURN_TRUE return Py_INCREF(Py_True), Py_True ^~~~~~~~~ qpython_priv.cpp:135:9: note: in expansion of macro 'Py_RETURN_TRUE' Py_RETURN_TRUE; ^~~~~~~~~~~~~~ /tmp/x11/py-otherside/work/.buildlink/include/python2.7/object.h:769:22: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] ((PyObject*)(op))->ob_refcnt++) ^ /tmp/x11/py-otherside/work/.buildlink/include/python2.7/boolobject.h:28:32: note: in expansion of macro 'Py_INCREF' #define Py_RETURN_FALSE return Py_INCREF(Py_False), Py_False ^~~~~~~~~ qpython_priv.cpp:138:5: note: in expansion of macro 'Py_RETURN_FALSE' Py_RETURN_FALSE; ^~~~~~~~~~~~~~~ qpython_priv.cpp:126:35: warning: unused parameter 'self' [-Wunused-parameter] pyotherside_qrc_is_file(PyObject *self, PyObject *filename) ^~~~ In file included from /tmp/x11/py-otherside/work/.buildlink/include/python2.7/Python.h:83:0, from python_wrap.h:5, from pyobject_ref.h:23, from converter.h:22, from pyobject_converter.h:22, from qml_python_bridge.h:22, from qpython_priv.cpp:19: qpython_priv.cpp: In function 'PyObject* pyotherside_qrc_is_dir(PyObject*, PyObject*)': /tmp/x11/py-otherside/work/.buildlink/include/python2.7/object.h:769:22: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] ((PyObject*)(op))->ob_refcnt++) ^ /tmp/x11/py-otherside/work/.buildlink/include/python2.7/boolobject.h:27:31: note: in expansion of macro 'Py_INCREF' #define Py_RETURN_TRUE return Py_INCREF(Py_True), Py_True ^~~~~~~~~ qpython_priv.cpp:151:9: note: in expansion of macro 'Py_RETURN_TRUE' Py_RETURN_TRUE; ^~~~~~~~~~~~~~ /tmp/x11/py-otherside/work/.buildlink/include/python2.7/object.h:769:22: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] ((PyObject*)(op))->ob_refcnt++) ^ /tmp/x11/py-otherside/work/.buildlink/include/python2.7/boolobject.h:28:32: note: in expansion of macro 'Py_INCREF' #define Py_RETURN_FALSE return Py_INCREF(Py_False), Py_False ^~~~~~~~~ qpython_priv.cpp:154:5: note: in expansion of macro 'Py_RETURN_FALSE' Py_RETURN_FALSE; ^~~~~~~~~~~~~~~ qpython_priv.cpp:142:34: warning: unused parameter 'self' [-Wunused-parameter] pyotherside_qrc_is_dir(PyObject *self, PyObject *dirname) ^~~~ qpython_priv.cpp: In function 'PyObject* pyotherside_qrc_get_file_contents(PyObject*, PyObject*)': qpython_priv.cpp:158:45: warning: unused parameter 'self' [-Wunused-parameter] pyotherside_qrc_get_file_contents(PyObject *self, PyObject *filename) ^~~~ qpython_priv.cpp: In function 'PyObject* pyotherside_qrc_list_dir(PyObject*, PyObject*)': qpython_priv.cpp:177:36: warning: unused parameter 'self' [-Wunused-parameter] pyotherside_qrc_list_dir(PyObject *self, PyObject *dirname) ^~~~ qpython_priv.cpp: At global scope: qpython_priv.cpp:445:27: error: variable 'PyModuleDef PyOtherSideModule' has initializer but incomplete type static struct PyModuleDef PyOtherSideModule = { ^~~~~~~~~~~~~~~~~ qpython_priv.cpp:446:5: error: 'PyModuleDef_HEAD_INIT' was not declared in this scope PyModuleDef_HEAD_INIT, ^~~~~~~~~~~~~~~~~~~~~ qpython_priv.cpp:446:5: note: suggested alternative: 'PyObject_HEAD_INIT' PyModuleDef_HEAD_INIT, ^~~~~~~~~~~~~~~~~~~~~ PyObject_HEAD_INIT qpython_priv.cpp: In function 'void PyOtherSide_init()': qpython_priv.cpp:456:29: error: 'PyModule_Create' was not declared in this scope PyObject *pyotherside = PyModule_Create(&PyOtherSideModule); ^~~~~~~~~~~~~~~ qpython_priv.cpp:456:29: note: suggested alternative: '_PyModule_Clear' PyObject *pyotherside = PyModule_Create(&PyOtherSideModule); ^~~~~~~~~~~~~~~ _PyModule_Clear In file included from /usr/include/stdio.h:60:0, from /tmp/x11/py-otherside/work/.buildlink/include/python2.7/Python.h:33, from python_wrap.h:5, from pyobject_ref.h:23, from converter.h:22, from pyobject_converter.h:22, from qml_python_bridge.h:22, from qpython_priv.cpp:19: qpython_priv.cpp:486:16: error: return-statement with a value, in function returning 'void' [-fpermissive] return NULL; ^ In file included from /tmp/x11/py-otherside/work/.buildlink/include/python2.7/Python.h:83:0, from python_wrap.h:5, from pyobject_ref.h:23, from converter.h:22, from pyobject_converter.h:22, from qml_python_bridge.h:22, from qpython_priv.cpp:19: /tmp/x11/py-otherside/work/.buildlink/include/python2.7/object.h:769:22: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] ((PyObject*)(op))->ob_refcnt++) ^ qpython_priv.cpp:488:5: note: in expansion of macro 'Py_INCREF' Py_INCREF(&pyotherside_QObjectType); ^~~~~~~~~ In file included from /usr/include/stdio.h:60:0, from /tmp/x11/py-otherside/work/.buildlink/include/python2.7/Python.h:33, from python_wrap.h:5, from pyobject_ref.h:23, from converter.h:22, from pyobject_converter.h:22, from qml_python_bridge.h:22, from qpython_priv.cpp:19: qpython_priv.cpp:498:16: error: return-statement with a value, in function returning 'void' [-fpermissive] return NULL; ^ In file included from /tmp/x11/py-otherside/work/.buildlink/include/python2.7/Python.h:83:0, from python_wrap.h:5, from pyobject_ref.h:23, from converter.h:22, from pyobject_converter.h:22, from qml_python_bridge.h:22, from qpython_priv.cpp:19: /tmp/x11/py-otherside/work/.buildlink/include/python2.7/object.h:769:22: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] ((PyObject*)(op))->ob_refcnt++) ^ qpython_priv.cpp:500:5: note: in expansion of macro 'Py_INCREF' Py_INCREF(&pyotherside_QObjectMethodType); ^~~~~~~~~ qpython_priv.cpp:503:12: error: return-statement with a value, in function returning 'void' [-fpermissive] return pyotherside; ^~~~~~~~~~~ qpython_priv.cpp: In constructor 'QPythonPriv::QPythonPriv()': qpython_priv.cpp:523:15: error: 'Py_DecodeLocale' was not declared in this scope argv[0] = Py_DecodeLocale("", nullptr); ^~~~~~~~~~~~~~~ qpython_priv.cpp:524:34: error: cannot convert 'wchar_t**' to 'char**' for argument '2' to 'void PySys_SetArgvEx(int, char**, int)' PySys_SetArgvEx(argc, argv, 0); ^ qpython_priv.cpp:525:5: error: 'PyMem_RawFree' was not declared in this scope PyMem_RawFree((void *)argv[0]); ^~~~~~~~~~~~~ qpython_priv.cpp:525:5: note: suggested alternative: 'PyMem_Free' PyMem_RawFree((void *)argv[0]); ^~~~~~~~~~~~~ PyMem_Free qpython_priv.cpp: In member function 'QString QPythonPriv::formatExc()': qpython_priv.cpp:601:62: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] "format_exception", "OOO", type, value, traceback); ^ qpython_priv.cpp:601:62: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] *** [qpython_priv.o] Error code 1 make[1]: stopped in /tmp/x11/py-otherside/work/pyotherside-1.6.0/src 2 errors make[1]: stopped in /tmp/x11/py-otherside/work/pyotherside-1.6.0/src *** [sub-src-all] Error code 2 make: stopped in /tmp/x11/py-otherside/work/pyotherside-1.6.0 1 error make: stopped in /tmp/x11/py-otherside/work/pyotherside-1.6.0 *** Error code 2 Stop. make[1]: stopped in /amd/pkgsrc/CHROOT/P/pkgsrc/x11/py-otherside *** Error code 1 Stop. make: stopped in /amd/pkgsrc/CHROOT/P/pkgsrc/x11/py-otherside