=> Bootstrap dependency digest>=20211023: found digest-20220214 WARNING: lang/python/egg.mk is deprecated; use lang/python/wheel.mk instead. ===> 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 calibre-5.44.0nb34 (cd /tmp/misc/calibre/work/calibre-5.44.0/ && /usr/bin/env PODOFO_INC_DIR=/usr/pkg/include/podofo PODOFO_LIB_DIR=/usr/pkg/lib SIP_DIR=/usr/pkg/share/sip3.13/PyQt5 LFLAGS=\ \ -L/usr/pkg/gcc12/lib/gcc/x86_64--netbsd/12.5.0\ -Wl,-R/usr/pkg/gcc12/lib/gcc/x86_64--netbsd/12.5.0\ -Wl,-zrelro\ -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\ -L/usr/pkg/lib/nss\ -Wl,-R/usr/pkg/lib/nss\ -L/usr/pkg/lib/nspr\ -Wl,-R/usr/pkg/lib/nspr\ -L/usr/pkg/qt5/lib\ -L/usr/pkg/qt5/plugins\ -Wl,-R/usr/pkg/qt5/lib\ -Wl,-R/usr/pkg/qt5/plugins USETOOLS=no PTHREAD_CFLAGS=\ -pthread\ PTHREAD_LDFLAGS=\ -pthread PTHREAD_LIBS= PTHREADBASE=/usr DL_CFLAGS=\ -pthread\ DL_LDFLAGS=\ -pthread DL_LIBS= QTDIR=/usr/pkg/qt5 MOC="/usr/pkg/qt5/bin/moc" PYTHON=/usr/pkg/bin/python3.13 CC=gcc CFLAGS=-O2\ -I/usr/pkg/include\ -I/usr/include\ -I/usr/pkg/include/python3.13\ -Dz_off_t=long\ -I/usr/X11R7/include\ -I/usr/pkg/include/freetype2\ -I/usr/pkg/include/libxml2\ -I/usr/pkg/include/nspr\ -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/qt5/include\ -I/usr/pkg/include/harfbuzz\ -I/usr/X11R7/include/libdrm CPPFLAGS=-I/usr/pkg/include\ -I/usr/include\ -I/usr/pkg/include/python3.13\ -Dz_off_t=long\ -I/usr/X11R7/include\ -I/usr/pkg/include/freetype2\ -I/usr/pkg/include/libxml2\ -I/usr/pkg/include/nspr\ -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/qt5/include\ -I/usr/pkg/include/harfbuzz\ -I/usr/X11R7/include/libdrm CXX=c++ CXXFLAGS=-O2\ -I/usr/pkg/include\ -I/usr/include\ -I/usr/pkg/include/python3.13\ -Dz_off_t=long\ -I/usr/X11R7/include\ -I/usr/pkg/include/freetype2\ -I/usr/pkg/include/libxml2\ -I/usr/pkg/include/nspr\ -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/qt5/include\ -I/usr/pkg/include/harfbuzz\ -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=-L/usr/pkg/gcc12/lib/gcc/x86_64--netbsd/12.5.0\ -Wl,-R/usr/pkg/gcc12/lib/gcc/x86_64--netbsd/12.5.0\ -Wl,-zrelro\ -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\ -L/usr/pkg/lib/nss\ -Wl,-R/usr/pkg/lib/nss\ -L/usr/pkg/lib/nspr\ -Wl,-R/usr/pkg/lib/nspr\ -L/usr/pkg/qt5/lib\ -L/usr/pkg/qt5/plugins\ -Wl,-R/usr/pkg/qt5/lib\ -Wl,-R/usr/pkg/qt5/plugins LINKER_RPATH_FLAG=-R PATH=/tmp/misc/calibre/work/.cwrapper/bin:/tmp/misc/calibre/work/.buildlink/bin:/tmp/misc/calibre/work/.gcc/bin:/tmp/misc/calibre/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= ftp_proxy=downloads-forbidden-except-during-fetch http_proxy=downloads-forbidden-except-during-fetch https_proxy=downloads-forbidden-except-during-fetch no_proxy= PKG_SYSCONFDIR=/usr/pkg/etc HOME=/tmp/misc/calibre/work/.home CWRAPPERS_CONFIG_DIR=/tmp/misc/calibre/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 LIBTOOL="/tmp/misc/calibre/work/.cwrapper/bin/libtool " 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/misc/calibre/work/.tools/bin/makeinfo FLEX= BISON= ITSTOOL=/tmp/misc/calibre/work/.tools/bin/itstool GDBUS_CODEGEN=/tmp/misc/calibre/work/.tools/bin/gdbus-codegen PKG_CONFIG=/tmp/misc/calibre/work/.tools/bin/pkg-config PKG_CONFIG_LIBDIR=/tmp/misc/calibre/work/.buildlink/lib/pkgconfig:/tmp/misc/calibre/work/.buildlink/share/pkgconfig PKG_CONFIG_LOG=/tmp/misc/calibre/work/.pkg-config.log PKG_CONFIG_PATH= CWRAPPERS_CONFIG_DIR=/tmp/misc/calibre/work/.cwrapper/config /usr/pkg/bin/python3.13 setup.py build ) * * Running build * Building 25 extensions Compiling 36 files... c++ -Wall -DNDEBUG -fno-strict-aliasing -pipe -fPIC -O2 -I/usr/pkg/include -I/usr/include -I/usr/pkg/include/python3.13 -Dz_off_t=long -I/usr/X11R7/include -I/usr/pkg/include/freetype2 -I/usr/pkg/include/libxml2 -I/usr/pkg/include/nspr -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/qt5/include -I/usr/pkg/include/harfbuzz -I/usr/X11R7/include/libdrm -fvisibility=hidden -pthread -I/usr/pkg/include/python3.13 -O3 -std=c++11 -DCALIBRE_MODINIT_FUNC=extern "C" __attribute__ ((visibility ("default"))) PyObject* -I/usr/pkg/include/hunspell -c /tmp/misc/calibre/work/calibre-5.44.0/src/calibre/utils/spell/hunspell_wrapper.cpp -o /tmp/misc/calibre/work/calibre-5.44.0/build/objects/hunspell/hunspell_wrapper.o gcc -Wall -DNDEBUG -fno-strict-aliasing -pipe -fPIC -O2 -I/usr/pkg/include -I/usr/include -I/usr/pkg/include/python3.13 -Dz_off_t=long -I/usr/X11R7/include -I/usr/pkg/include/freetype2 -I/usr/pkg/include/libxml2 -I/usr/pkg/include/nspr -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/qt5/include -I/usr/pkg/include/harfbuzz -I/usr/X11R7/include/libdrm -fvisibility=hidden -pthread -I/usr/pkg/include/python3.13 -O3 -std=c99 -DCALIBRE_MODINIT_FUNC= __attribute__ ((visibility ("default"))) PyObject* -c /tmp/misc/calibre/work/calibre-5.44.0/src/calibre/utils/hyphenation/hyphen.c -o /tmp/misc/calibre/work/calibre-5.44.0/build/objects/hyphen/hyphen.o gcc -Wall -DNDEBUG -fno-strict-aliasing -pipe -fPIC -O2 -I/usr/pkg/include -I/usr/include -I/usr/pkg/include/python3.13 -Dz_off_t=long -I/usr/X11R7/include -I/usr/pkg/include/freetype2 -I/usr/pkg/include/libxml2 -I/usr/pkg/include/nspr -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/qt5/include -I/usr/pkg/include/harfbuzz -I/usr/X11R7/include/libdrm -fvisibility=hidden -pthread -I/usr/pkg/include/python3.13 -O3 -std=c99 -DCALIBRE_MODINIT_FUNC= __attribute__ ((visibility ("default"))) PyObject* -c /tmp/misc/calibre/work/calibre-5.44.0/src/unicode_names/unicode_names.c -o /tmp/misc/calibre/work/calibre-5.44.0/build/objects/unicode_names/unicode_names.o gcc -Wall -DNDEBUG -fno-strict-aliasing -pipe -fPIC -O2 -I/usr/pkg/include -I/usr/include -I/usr/pkg/include/python3.13 -Dz_off_t=long -I/usr/X11R7/include -I/usr/pkg/include/freetype2 -I/usr/pkg/include/libxml2 -I/usr/pkg/include/nspr -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/qt5/include -I/usr/pkg/include/harfbuzz -I/usr/X11R7/include/libdrm -fvisibility=hidden -pthread -I/usr/pkg/include/python3.13 -O3 -DCALIBRE_MODINIT_FUNC= __attribute__ ((visibility ("default"))) PyObject* -c /tmp/misc/calibre/work/calibre-5.44.0/src/calibre/utils/speedup.c -o /tmp/misc/calibre/work/calibre-5.44.0/build/objects/speedup/speedup.o gcc -Wall -DNDEBUG -fno-strict-aliasing -pipe -fPIC -O2 -I/usr/pkg/include -I/usr/include -I/usr/pkg/include/python3.13 -Dz_off_t=long -I/usr/X11R7/include -I/usr/pkg/include/freetype2 -I/usr/pkg/include/libxml2 -I/usr/pkg/include/nspr -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/qt5/include -I/usr/pkg/include/harfbuzz -I/usr/X11R7/include/libdrm -fvisibility=hidden -pthread -I/usr/pkg/include/python3.13 -O3 -DCALIBRE_MODINIT_FUNC= __attribute__ ((visibility ("default"))) PyObject* -c /tmp/misc/calibre/work/calibre-5.44.0/src/calibre/utils/certgen.c -o /tmp/misc/calibre/work/calibre-5.44.0/build/objects/certgen/certgen.o gcc -Wall -DNDEBUG -fno-strict-aliasing -pipe -fPIC -O2 -I/usr/pkg/include -I/usr/include -I/usr/pkg/include/python3.13 -Dz_off_t=long -I/usr/X11R7/include -I/usr/pkg/include/freetype2 -I/usr/pkg/include/libxml2 -I/usr/pkg/include/nspr -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/qt5/include -I/usr/pkg/include/harfbuzz -I/usr/X11R7/include/libdrm -fvisibility=hidden -pthread -I/usr/pkg/include/python3.13 -O3 -DCALIBRE_MODINIT_FUNC= __attribute__ ((visibility ("default"))) PyObject* -c /tmp/misc/calibre/work/calibre-5.44.0/src/calibre/gui2/tweak_book/editor/syntax/html.c -o /tmp/misc/calibre/work/calibre-5.44.0/build/objects/html_syntax_highlighter/html.o gcc -Wall -DNDEBUG -fno-strict-aliasing -pipe -fPIC -O2 -I/usr/pkg/include -I/usr/include -I/usr/pkg/include/python3.13 -Dz_off_t=long -I/usr/X11R7/include -I/usr/pkg/include/freetype2 -I/usr/pkg/include/libxml2 -I/usr/pkg/include/nspr -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/qt5/include -I/usr/pkg/include/harfbuzz -I/usr/X11R7/include/libdrm -fvisibility=hidden -pthread -I/usr/pkg/include/python3.13 -O3 -DCALIBRE_MODINIT_FUNC= __attribute__ ((visibility ("default"))) PyObject* -c /tmp/misc/calibre/work/calibre-5.44.0/src/tinycss/tokenizer.c -o /tmp/misc/calibre/work/calibre-5.44.0/build/objects/tokenizer/tokenizer.o gcc -Wall -DNDEBUG -fno-strict-aliasing -pipe -fPIC -O2 -I/usr/pkg/include -I/usr/include -I/usr/pkg/include/python3.13 -Dz_off_t=long -I/usr/X11R7/include -I/usr/pkg/include/freetype2 -I/usr/pkg/include/libxml2 -I/usr/pkg/include/nspr -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/qt5/include -I/usr/pkg/include/harfbuzz -I/usr/X11R7/include/libdrm -fvisibility=hidden -pthread -I/usr/pkg/include/python3.13 -O3 -DCALIBRE_MODINIT_FUNC= __attribute__ ((visibility ("default"))) PyObject* -c /tmp/misc/calibre/work/calibre-5.44.0/src/calibre/gui2/tweak_book/diff/_patiencediff_c.c -o /tmp/misc/calibre/work/calibre-5.44.0/build/objects/_patiencediff_c/_patiencediff_c.o gcc -Wall -DNDEBUG -fno-strict-aliasing -pipe -fPIC -O2 -I/usr/pkg/include -I/usr/include -I/usr/pkg/include/python3.13 -Dz_off_t=long -I/usr/X11R7/include -I/usr/pkg/include/freetype2 -I/usr/pkg/include/libxml2 -I/usr/pkg/include/nspr -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/qt5/include -I/usr/pkg/include/harfbuzz -I/usr/X11R7/include/libdrm -fvisibility=hidden -pthread -I/usr/pkg/include/python3.13 -O3 -DCALIBRE_MODINIT_FUNC= __attribute__ ((visibility ("default"))) PyObject* -c /tmp/misc/calibre/work/calibre-5.44.0/src/calibre/utils/icu.c -o /tmp/misc/calibre/work/calibre-5.44.0/build/objects/icu/icu.o /tmp/misc/calibre/work/calibre-5.44.0/src/calibre/utils/icu.c: In function 'icu_set_filesystem_encoding': /tmp/misc/calibre/work/calibre-5.44.0/src/calibre/utils/icu.c:1236:5: warning: 'Py_FileSystemDefaultEncoding' is deprecated [-Wdeprecated-declarations] 1236 | Py_FileSystemDefaultEncoding = strdup(encoding); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /tmp/misc/calibre/work/.buildlink/include/python3.13/Python.h:100, from /tmp/misc/calibre/work/calibre-5.44.0/src/calibre/utils/icu_calibre_utils.h:12, from /tmp/misc/calibre/work/calibre-5.44.0/src/calibre/utils/icu.c:1: /tmp/misc/calibre/work/.buildlink/include/python3.13/fileobject.h:22:46: note: declared here 22 | Py_DEPRECATED(3.12) PyAPI_DATA(const char *) Py_FileSystemDefaultEncoding; | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ gcc -Wall -DNDEBUG -fno-strict-aliasing -pipe -fPIC -O2 -I/usr/pkg/include -I/usr/include -I/usr/pkg/include/python3.13 -Dz_off_t=long -I/usr/X11R7/include -I/usr/pkg/include/freetype2 -I/usr/pkg/include/libxml2 -I/usr/pkg/include/nspr -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/qt5/include -I/usr/pkg/include/harfbuzz -I/usr/X11R7/include/libdrm -fvisibility=hidden -pthread -I/usr/pkg/include/python3.13 -O3 -DCALIBRE_MODINIT_FUNC= __attribute__ ((visibility ("default"))) PyObject* -c /tmp/misc/calibre/work/calibre-5.44.0/src/calibre/utils/matcher.c -o /tmp/misc/calibre/work/calibre-5.44.0/build/objects/matcher/matcher.o gcc -Wall -DNDEBUG -fno-strict-aliasing -pipe -fPIC -O2 -I/usr/pkg/include -I/usr/include -I/usr/pkg/include/python3.13 -Dz_off_t=long -I/usr/X11R7/include -I/usr/pkg/include/freetype2 -I/usr/pkg/include/libxml2 -I/usr/pkg/include/nspr -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/qt5/include -I/usr/pkg/include/harfbuzz -I/usr/X11R7/include/libdrm -fvisibility=hidden -pthread -I/usr/pkg/include/python3.13 -O3 -DCALIBRE_MODINIT_FUNC= __attribute__ ((visibility ("default"))) PyObject* -c /tmp/misc/calibre/work/calibre-5.44.0/src/calibre/library/sqlite_custom.c -o /tmp/misc/calibre/work/calibre-5.44.0/build/objects/sqlite_custom/sqlite_custom.o c++ -Wall -DNDEBUG -fno-strict-aliasing -pipe -fPIC -O2 -I/usr/pkg/include -I/usr/include -I/usr/pkg/include/python3.13 -Dz_off_t=long -I/usr/X11R7/include -I/usr/pkg/include/freetype2 -I/usr/pkg/include/libxml2 -I/usr/pkg/include/nspr -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/qt5/include -I/usr/pkg/include/harfbuzz -I/usr/X11R7/include/libdrm -fvisibility=hidden -pthread -I/usr/pkg/include/python3.13 -O3 -std=c++14 -DCALIBRE_MODINIT_FUNC=extern "C" __attribute__ ((visibility ("default"))) PyObject* -c /tmp/misc/calibre/work/calibre-5.44.0/src/calibre/db/sqlite_extension.cpp -o /tmp/misc/calibre/work/calibre-5.44.0/build/objects/sqlite_extension/sqlite_extension.o gcc -Wall -DNDEBUG -fno-strict-aliasing -pipe -fPIC -O2 -I/usr/pkg/include -I/usr/include -I/usr/pkg/include/python3.13 -Dz_off_t=long -I/usr/X11R7/include -I/usr/pkg/include/freetype2 -I/usr/pkg/include/libxml2 -I/usr/pkg/include/nspr -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/qt5/include -I/usr/pkg/include/harfbuzz -I/usr/X11R7/include/libdrm -fvisibility=hidden -pthread -I/usr/pkg/include/python3.13 -O3 -DCALIBRE_MODINIT_FUNC= __attribute__ ((visibility ("default"))) PyObject* -I/tmp/misc/calibre/work/calibre-5.44.0/src/calibre/utils/lzx -c /tmp/misc/calibre/work/calibre-5.44.0/src/calibre/utils/lzx/lzxc.c -o /tmp/misc/calibre/work/calibre-5.44.0/build/objects/lzx/lzxc.o gcc -Wall -DNDEBUG -fno-strict-aliasing -pipe -fPIC -O2 -I/usr/pkg/include -I/usr/include -I/usr/pkg/include/python3.13 -Dz_off_t=long -I/usr/X11R7/include -I/usr/pkg/include/freetype2 -I/usr/pkg/include/libxml2 -I/usr/pkg/include/nspr -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/qt5/include -I/usr/pkg/include/harfbuzz -I/usr/X11R7/include/libdrm -fvisibility=hidden -pthread -I/usr/pkg/include/python3.13 -O3 -DCALIBRE_MODINIT_FUNC= __attribute__ ((visibility ("default"))) PyObject* -I/tmp/misc/calibre/work/calibre-5.44.0/src/calibre/utils/lzx -c /tmp/misc/calibre/work/calibre-5.44.0/src/calibre/utils/lzx/compressor.c -o /tmp/misc/calibre/work/calibre-5.44.0/build/objects/lzx/compressor.o gcc -Wall -DNDEBUG -fno-strict-aliasing -pipe -fPIC -O2 -I/usr/pkg/include -I/usr/include -I/usr/pkg/include/python3.13 -Dz_off_t=long -I/usr/X11R7/include -I/usr/pkg/include/freetype2 -I/usr/pkg/include/libxml2 -I/usr/pkg/include/nspr -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/qt5/include -I/usr/pkg/include/harfbuzz -I/usr/X11R7/include/libdrm -fvisibility=hidden -pthread -I/usr/pkg/include/python3.13 -O3 -DCALIBRE_MODINIT_FUNC= __attribute__ ((visibility ("default"))) PyObject* -I/tmp/misc/calibre/work/calibre-5.44.0/src/calibre/utils/lzx -c /tmp/misc/calibre/work/calibre-5.44.0/src/calibre/utils/lzx/lzxmodule.c -o /tmp/misc/calibre/work/calibre-5.44.0/build/objects/lzx/lzxmodule.o gcc -Wall -DNDEBUG -fno-strict-aliasing -pipe -fPIC -O2 -I/usr/pkg/include -I/usr/include -I/usr/pkg/include/python3.13 -Dz_off_t=long -I/usr/X11R7/include -I/usr/pkg/include/freetype2 -I/usr/pkg/include/libxml2 -I/usr/pkg/include/nspr -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/qt5/include -I/usr/pkg/include/harfbuzz -I/usr/X11R7/include/libdrm -fvisibility=hidden -pthread -I/usr/pkg/include/python3.13 -O3 -DCALIBRE_MODINIT_FUNC= __attribute__ ((visibility ("default"))) PyObject* -I/tmp/misc/calibre/work/calibre-5.44.0/src/calibre/utils/lzx -c /tmp/misc/calibre/work/calibre-5.44.0/src/calibre/utils/lzx/lzxd.c -o /tmp/misc/calibre/work/calibre-5.44.0/build/objects/lzx/lzxd.o gcc -Wall -DNDEBUG -fno-strict-aliasing -pipe -fPIC -O2 -I/usr/pkg/include -I/usr/include -I/usr/pkg/include/python3.13 -Dz_off_t=long -I/usr/X11R7/include -I/usr/pkg/include/freetype2 -I/usr/pkg/include/libxml2 -I/usr/pkg/include/nspr -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/qt5/include -I/usr/pkg/include/harfbuzz -I/usr/X11R7/include/libdrm -fvisibility=hidden -pthread -I/usr/pkg/include/python3.13 -O3 -DCALIBRE_MODINIT_FUNC= __attribute__ ((visibility ("default"))) PyObject* -I/tmp/misc/calibre/work/calibre-5.44.0/src/calibre/utils/lzx -c /tmp/misc/calibre/work/calibre-5.44.0/src/calibre/utils/lzx/lzc.c -o /tmp/misc/calibre/work/calibre-5.44.0/build/objects/lzx/lzc.o c++ -Wall -DNDEBUG -fno-strict-aliasing -pipe -fPIC -O2 -I/usr/pkg/include -I/usr/include -I/usr/pkg/include/python3.13 -Dz_off_t=long -I/usr/X11R7/include -I/usr/pkg/include/freetype2 -I/usr/pkg/include/libxml2 -I/usr/pkg/include/nspr -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/qt5/include -I/usr/pkg/include/harfbuzz -I/usr/X11R7/include/libdrm -fvisibility=hidden -pthread -I/usr/pkg/include/python3.13 -O3 -DCALIBRE_MODINIT_FUNC=extern "C" __attribute__ ((visibility ("default"))) PyObject* -I/usr/pkg/include/libpng16 -I/usr/pkg/include -I/usr/pkg/include/freetype2 -c /tmp/misc/calibre/work/calibre-5.44.0/src/calibre/utils/fonts/freetype.cpp -o /tmp/misc/calibre/work/calibre-5.44.0/build/objects/freetype/freetype.o gcc -Wall -DNDEBUG -fno-strict-aliasing -pipe -fPIC -O2 -I/usr/pkg/include -I/usr/include -I/usr/pkg/include/python3.13 -Dz_off_t=long -I/usr/X11R7/include -I/usr/pkg/include/freetype2 -I/usr/pkg/include/libxml2 -I/usr/pkg/include/nspr -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/qt5/include -I/usr/pkg/include/harfbuzz -I/usr/X11R7/include/libdrm -fvisibility=hidden -pthread -I/usr/pkg/include/python3.13 -O3 -DCALIBRE_MODINIT_FUNC= __attribute__ ((visibility ("default"))) PyObject* -I/tmp/misc/calibre/work/calibre-5.44.0/src/calibre/utils/msdes -c /tmp/misc/calibre/work/calibre-5.44.0/src/calibre/utils/msdes/msdesmodule.c -o /tmp/misc/calibre/work/calibre-5.44.0/build/objects/msdes/msdesmodule.o gcc -Wall -DNDEBUG -fno-strict-aliasing -pipe -fPIC -O2 -I/usr/pkg/include -I/usr/include -I/usr/pkg/include/python3.13 -Dz_off_t=long -I/usr/X11R7/include -I/usr/pkg/include/freetype2 -I/usr/pkg/include/libxml2 -I/usr/pkg/include/nspr -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/qt5/include -I/usr/pkg/include/harfbuzz -I/usr/X11R7/include/libdrm -fvisibility=hidden -pthread -I/usr/pkg/include/python3.13 -O3 -DCALIBRE_MODINIT_FUNC= __attribute__ ((visibility ("default"))) PyObject* -I/tmp/misc/calibre/work/calibre-5.44.0/src/calibre/utils/msdes -c /tmp/misc/calibre/work/calibre-5.44.0/src/calibre/utils/msdes/des.c -o /tmp/misc/calibre/work/calibre-5.44.0/build/objects/msdes/des.o gcc -Wall -DNDEBUG -fno-strict-aliasing -pipe -fPIC -O2 -I/usr/pkg/include -I/usr/include -I/usr/pkg/include/python3.13 -Dz_off_t=long -I/usr/X11R7/include -I/usr/pkg/include/freetype2 -I/usr/pkg/include/libxml2 -I/usr/pkg/include/nspr -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/qt5/include -I/usr/pkg/include/harfbuzz -I/usr/X11R7/include/libdrm -fvisibility=hidden -pthread -I/usr/pkg/include/python3.13 -O3 -DCALIBRE_MODINIT_FUNC= __attribute__ ((visibility ("default"))) PyObject* -c /tmp/misc/calibre/work/calibre-5.44.0/src/calibre/ebooks/compression/palmdoc.c -o /tmp/misc/calibre/work/calibre-5.44.0/build/objects/cPalmdoc/palmdoc.o gcc -Wall -DNDEBUG -fno-strict-aliasing -pipe -fPIC -O2 -I/usr/pkg/include -I/usr/include -I/usr/pkg/include/python3.13 -Dz_off_t=long -I/usr/X11R7/include -I/usr/pkg/include/freetype2 -I/usr/pkg/include/libxml2 -I/usr/pkg/include/nspr -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/qt5/include -I/usr/pkg/include/harfbuzz -I/usr/X11R7/include/libdrm -fvisibility=hidden -pthread -I/usr/pkg/include/python3.13 -O3 -DCALIBRE_MODINIT_FUNC= __attribute__ ((visibility ("default"))) PyObject* -c /tmp/misc/calibre/work/calibre-5.44.0/src/calibre/ebooks/djvu/bzzdecoder.c -o /tmp/misc/calibre/work/calibre-5.44.0/build/objects/bzzdec/bzzdecoder.o c++ -Wall -DNDEBUG -fno-strict-aliasing -pipe -fPIC -O2 -I/usr/pkg/include -I/usr/include -I/usr/pkg/include/python3.13 -Dz_off_t=long -I/usr/X11R7/include -I/usr/pkg/include/freetype2 -I/usr/pkg/include/libxml2 -I/usr/pkg/include/nspr -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/qt5/include -I/usr/pkg/include/harfbuzz -I/usr/X11R7/include/libdrm -fvisibility=hidden -pthread -I/usr/pkg/include/python3.13 -O3 -std=c++11 -DCALIBRE_MODINIT_FUNC=extern "C" __attribute__ ((visibility ("default"))) PyObject* -I/usr/pkg/include -I/usr/pkg/include/podofo -c /tmp/misc/calibre/work/calibre-5.44.0/src/calibre/utils/podofo/output.cpp -o /tmp/misc/calibre/work/calibre-5.44.0/build/objects/podofo/output.o In file included from /tmp/misc/calibre/work/calibre-5.44.0/src/calibre/utils/podofo/output.cpp:8: /tmp/misc/calibre/work/calibre-5.44.0/src/calibre/utils/podofo/global.h:55:52: error: expected class-name before '{' token 55 | class PyBytesOutputStream : public PdfOutputStream { | ^ /tmp/misc/calibre/work/calibre-5.44.0/src/calibre/utils/podofo/global.h:65:9: error: 'pdf_long' does not name a type; did you mean 'u_long'? 65 | pdf_long Write(const char *buf, const pdf_long sz){ | ^~~~~~~~ | u_long /tmp/misc/calibre/work/calibre-5.44.0/src/calibre/utils/podofo/global.h: In function 'bool pdf::dictionary_has_key_name(const PoDoFo::PdfDictionary&, T, const char*)': /tmp/misc/calibre/work/calibre-5.44.0/src/calibre/utils/podofo/global.h:85:52: error: 'const class PoDoFo::PdfName' has no member named 'GetName' 85 | if (val && val->IsName() && val->GetName().GetName() == name) return true; | ^~~~~~~ /tmp/misc/calibre/work/calibre-5.44.0/src/calibre/utils/podofo/output.cpp: At global scope: /tmp/misc/calibre/work/calibre-5.44.0/src/calibre/utils/podofo/output.cpp:17:45: error: expected class-name before '{' token 17 | class OutputDevice : public PdfOutputDevice { | ^ /tmp/misc/calibre/work/calibre-5.44.0/src/calibre/utils/podofo/output.cpp: In member function 'long int OutputDevice::PrintVLen(const char*, __va_list_tag*)': /tmp/misc/calibre/work/calibre-5.44.0/src/calibre/utils/podofo/output.cpp:50:52: error: 'ePdfError_InvalidHandle' was not declared in this scope 50 | if( !pszFormat ) { PODOFO_RAISE_ERROR( ePdfError_InvalidHandle ); } | ^~~~~~~~~~~~~~~~~~~~~~~ /tmp/misc/calibre/work/calibre-5.44.0/src/calibre/utils/podofo/output.cpp:50:32: error: 'PODOFO_RAISE_ERROR' was not declared in this scope 50 | if( !pszFormat ) { PODOFO_RAISE_ERROR( ePdfError_InvalidHandle ); } | ^~~~~~~~~~~~~~~~~~ /tmp/misc/calibre/work/calibre-5.44.0/src/calibre/utils/podofo/output.cpp: In member function 'void OutputDevice::PrintV(const char*, long int, __va_list_tag*)': /tmp/misc/calibre/work/calibre-5.44.0/src/calibre/utils/podofo/output.cpp:63:52: error: 'ePdfError_InvalidHandle' was not declared in this scope 63 | if( !pszFormat ) { PODOFO_RAISE_ERROR( ePdfError_InvalidHandle ); } | ^~~~~~~~~~~~~~~~~~~~~~~ /tmp/misc/calibre/work/calibre-5.44.0/src/calibre/utils/podofo/output.cpp:63:32: error: 'PODOFO_RAISE_ERROR' was not declared in this scope 63 | if( !pszFormat ) { PODOFO_RAISE_ERROR( ePdfError_InvalidHandle ); } | ^~~~~~~~~~~~~~~~~~ /tmp/misc/calibre/work/calibre-5.44.0/src/calibre/utils/podofo/output.cpp: In function 'PyObject* pdf::write_doc(PoDoFo::PdfMemDocument*, PyObject*)': /tmp/misc/calibre/work/calibre-5.44.0/src/calibre/utils/podofo/output.cpp:183:14: error: 'class PoDoFo::PdfMemDocument' has no member named 'Write' 183 | doc->Write(&d); | ^~~~~ *** Error code 1 Stop. make[1]: stopped in /amd/pkgsrc/CHROOT/P/pkgsrc/misc/calibre *** Error code 1 Stop. make: stopped in /amd/pkgsrc/CHROOT/P/pkgsrc/misc/calibre