=> 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 calibre-5.44.0nb34 (cd /pbulk/work/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=/pbulk/work/misc/calibre/work/.cwrapper/bin:/pbulk/work/misc/calibre/work/.buildlink/bin:/pbulk/work/misc/calibre/work/.gcc/bin:/pbulk/work/misc/calibre/work/.tools/bin:/usr/pkg/bin:/sbin:/usr/sbin:/bin:/usr/bin:/usr/pkg/sbin:/usr/pkg/bin:/usr/X11R7/bin:/usr/local/sbin:/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=/pbulk/work/misc/calibre/work/.home CWRAPPERS_CONFIG_DIR=/pbulk/work/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="/pbulk/work/misc/calibre/work/.cwrapper/bin/libtool " BSD_INSTALL_PROGRAM=/usr/bin/install\ -c\ -s\ -o\ pbulk\ -g\ users\ -m\ 755 BSD_INSTALL_SCRIPT=/usr/bin/install\ -c\ -o\ pbulk\ -g\ users\ -m\ 755 BSD_INSTALL_LIB=/usr/bin/install\ -c\ -o\ pbulk\ -g\ users\ -m\ 755 BSD_INSTALL_DATA=/usr/bin/install\ -c\ -o\ pbulk\ -g\ users\ -m\ 644 BSD_INSTALL_MAN=/usr/bin/install\ -c\ -o\ pbulk\ -g\ users\ -m\ 644 BSD_INSTALL=/usr/bin/install BSD_INSTALL_PROGRAM_DIR=/usr/bin/install\ -d\ -o\ pbulk\ -g\ users\ -m\ 755 BSD_INSTALL_SCRIPT_DIR=/usr/bin/install\ -d\ -o\ pbulk\ -g\ users\ -m\ 755 BSD_INSTALL_LIB_DIR=/usr/bin/install\ -d\ -o\ pbulk\ -g\ users\ -m\ 755 BSD_INSTALL_DATA_DIR=/usr/bin/install\ -d\ -o\ pbulk\ -g\ users\ -m\ 755 BSD_INSTALL_MAN_DIR=/usr/bin/install\ -d\ -o\ pbulk\ -g\ users\ -m\ 755 BSD_INSTALL_GAME=/usr/bin/install\ -c\ -s\ -o\ pbulk\ -g\ users\ -m\ 2555 BSD_INSTALL_GAME_DATA=/usr/bin/install\ -c\ -o\ pbulk\ -g\ users\ -m\ 664 BSD_INSTALL_GAME_DIR=/usr/bin/install\ -d\ -o\ pbulk\ -g\ users\ -m\ 775 INSTALL_INFO= MAKEINFO=/pbulk/work/misc/calibre/work/.tools/bin/makeinfo FLEX= BISON= ITSTOOL=/pbulk/work/misc/calibre/work/.tools/bin/itstool GDBUS_CODEGEN=/pbulk/work/misc/calibre/work/.tools/bin/gdbus-codegen PKG_CONFIG=/pbulk/work/misc/calibre/work/.tools/bin/pkg-config PKG_CONFIG_LIBDIR=/pbulk/work/misc/calibre/work/.buildlink/lib/pkgconfig:/pbulk/work/misc/calibre/work/.buildlink/share/pkgconfig PKG_CONFIG_LOG=/pbulk/work/misc/calibre/work/.pkg-config.log PKG_CONFIG_PATH= CWRAPPERS_CONFIG_DIR=/pbulk/work/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 /pbulk/work/misc/calibre/work/calibre-5.44.0/src/calibre/utils/spell/hunspell_wrapper.cpp -o /pbulk/work/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 /pbulk/work/misc/calibre/work/calibre-5.44.0/src/calibre/utils/hyphenation/hyphen.c -o /pbulk/work/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 /pbulk/work/misc/calibre/work/calibre-5.44.0/src/unicode_names/unicode_names.c -o /pbulk/work/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 /pbulk/work/misc/calibre/work/calibre-5.44.0/src/calibre/utils/speedup.c -o /pbulk/work/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 /pbulk/work/misc/calibre/work/calibre-5.44.0/src/calibre/utils/certgen.c -o /pbulk/work/misc/calibre/work/calibre-5.44.0/build/objects/certgen/certgen.o /pbulk/work/misc/calibre/work/calibre-5.44.0/src/calibre/utils/certgen.c: In function 'free_rsa_keypair': /pbulk/work/misc/calibre/work/calibre-5.44.0/src/calibre/utils/certgen.c:41:5: warning: 'RSA_free' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 41 | if (KeyPair) RSA_free(KeyPair); | ^~ In file included from /usr/include/openssl/x509.h:35, from /pbulk/work/misc/calibre/work/calibre-5.44.0/src/calibre/utils/certgen.c:17: /usr/include/openssl/rsa.h:293:28: note: declared here 293 | OSSL_DEPRECATEDIN_3_0 void RSA_free(RSA *r); | ^~~~~~~~ /pbulk/work/misc/calibre/work/calibre-5.44.0/src/calibre/utils/certgen.c: In function 'create_rsa_keypair': /pbulk/work/misc/calibre/work/calibre-5.44.0/src/calibre/utils/certgen.c:55:5: warning: 'RSA_new' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 55 | KeyPair = RSA_new(); | ^~~~~~~ /usr/include/openssl/rsa.h:201:28: note: declared here 201 | OSSL_DEPRECATEDIN_3_0 RSA *RSA_new(void); | ^~~~~~~ /pbulk/work/misc/calibre/work/calibre-5.44.0/src/calibre/utils/certgen.c:61:5: warning: 'RSA_generate_key_ex' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 61 | ret = RSA_generate_key_ex(KeyPair, keysize, BigNumber, NULL); | ^~~ /usr/include/openssl/rsa.h:260:27: note: declared here 260 | OSSL_DEPRECATEDIN_3_0 int RSA_generate_key_ex(RSA *rsa, int bits, BIGNUM *e, | ^~~~~~~~~~~~~~~~~~~ /pbulk/work/misc/calibre/work/calibre-5.44.0/src/calibre/utils/certgen.c:69:5: warning: 'RSA_free' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 69 | if (!ans && KeyPair) RSA_free(KeyPair); | ^~ /usr/include/openssl/rsa.h:293:28: note: declared here 293 | OSSL_DEPRECATEDIN_3_0 void RSA_free(RSA *r); | ^~~~~~~~ /pbulk/work/misc/calibre/work/calibre-5.44.0/src/calibre/utils/certgen.c: In function 'create_rsa_cert_req': /pbulk/work/misc/calibre/work/calibre-5.44.0/src/calibre/utils/certgen.c:146:5: warning: 'EVP_PKEY_set1_RSA' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 146 | if (!EVP_PKEY_set1_RSA(PrivateKey, KeyPair)) { set_error("EVP_PKEY_set1_RSA"); goto error; } | ^~ In file included from /usr/include/openssl/rand.h:23, from /pbulk/work/misc/calibre/work/calibre-5.44.0/src/calibre/utils/certgen.c:12: /usr/include/openssl/evp.h:1346:5: note: declared here 1346 | int EVP_PKEY_set1_RSA(EVP_PKEY *pkey, struct rsa_st *key); | ^~~~~~~~~~~~~~~~~ /pbulk/work/misc/calibre/work/calibre-5.44.0/src/calibre/utils/certgen.c: In function 'certificate_set_serial': /pbulk/work/misc/calibre/work/calibre-5.44.0/src/calibre/utils/certgen.c:192:5: warning: 'BN_pseudo_rand' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 192 | if (BN_pseudo_rand(bn, SERIAL_RAND_BITS, 0, 0) == 1 && | ^~ In file included from /usr/include/openssl/params.h:16, from /usr/include/openssl/evp.h:32: /usr/include/openssl/bn.h:231:5: note: declared here 231 | int BN_pseudo_rand(BIGNUM *rnd, int bits, int top, int bottom); | ^~~~~~~~~~~~~~ /pbulk/work/misc/calibre/work/calibre-5.44.0/src/calibre/utils/certgen.c: In function 'create_rsa_cert': /pbulk/work/misc/calibre/work/calibre-5.44.0/src/calibre/utils/certgen.c:264:5: warning: 'EVP_PKEY_set1_RSA' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 264 | if (!EVP_PKEY_set1_RSA(PrivateKey, CA_key)) { set_error("EVP_PKEY_set1_RSA"); goto error; } | ^~ /usr/include/openssl/evp.h:1346:5: note: declared here 1346 | int EVP_PKEY_set1_RSA(EVP_PKEY *pkey, struct rsa_st *key); | ^~~~~~~~~~~~~~~~~ /pbulk/work/misc/calibre/work/calibre-5.44.0/src/calibre/utils/certgen.c: In function 'serialize_rsa_key': /pbulk/work/misc/calibre/work/calibre-5.44.0/src/calibre/utils/certgen.c:341:5: warning: 'EVP_PKEY_set1_RSA' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 341 | if (!EVP_PKEY_set1_RSA(key, keypair)) { set_error("EVP_PKEY_set1_RSA"); goto error; } | ^~ /usr/include/openssl/evp.h:1346:5: note: declared here 1346 | int EVP_PKEY_set1_RSA(EVP_PKEY *pkey, struct rsa_st *key); | ^~~~~~~~~~~~~~~~~ /pbulk/work/misc/calibre/work/calibre-5.44.0/src/calibre/utils/certgen.c: In function 'exec_module': /pbulk/work/misc/calibre/work/calibre-5.44.0/src/calibre/utils/certgen.c:390:5: warning: 'ERR_load_BIO_strings' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 390 | ERR_load_BIO_strings(); | ^~~~~~~~~~~~~~~~~~~~ In file included from /usr/include/openssl/randerr.h:17, from /usr/include/openssl/rand.h:22: /usr/include/openssl/cryptoerr_legacy.h:31:27: note: declared here 31 | OSSL_DEPRECATEDIN_3_0 int ERR_load_BIO_strings(void); | ^~~~~~~~~~~~~~~~~~~~ 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 /pbulk/work/misc/calibre/work/calibre-5.44.0/src/calibre/gui2/tweak_book/editor/syntax/html.c -o /pbulk/work/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 /pbulk/work/misc/calibre/work/calibre-5.44.0/src/tinycss/tokenizer.c -o /pbulk/work/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 /pbulk/work/misc/calibre/work/calibre-5.44.0/src/calibre/gui2/tweak_book/diff/_patiencediff_c.c -o /pbulk/work/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 /pbulk/work/misc/calibre/work/calibre-5.44.0/src/calibre/utils/icu.c -o /pbulk/work/misc/calibre/work/calibre-5.44.0/build/objects/icu/icu.o /pbulk/work/misc/calibre/work/calibre-5.44.0/src/calibre/utils/icu.c: In function 'icu_set_filesystem_encoding': /pbulk/work/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 /pbulk/work/misc/calibre/work/.buildlink/include/python3.13/Python.h:100, from /pbulk/work/misc/calibre/work/calibre-5.44.0/src/calibre/utils/icu_calibre_utils.h:12, from /pbulk/work/misc/calibre/work/calibre-5.44.0/src/calibre/utils/icu.c:1: /pbulk/work/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 /pbulk/work/misc/calibre/work/calibre-5.44.0/src/calibre/utils/matcher.c -o /pbulk/work/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 /pbulk/work/misc/calibre/work/calibre-5.44.0/src/calibre/library/sqlite_custom.c -o /pbulk/work/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 /pbulk/work/misc/calibre/work/calibre-5.44.0/src/calibre/db/sqlite_extension.cpp -o /pbulk/work/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/pbulk/work/misc/calibre/work/calibre-5.44.0/src/calibre/utils/lzx -c /pbulk/work/misc/calibre/work/calibre-5.44.0/src/calibre/utils/lzx/lzxc.c -o /pbulk/work/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/pbulk/work/misc/calibre/work/calibre-5.44.0/src/calibre/utils/lzx -c /pbulk/work/misc/calibre/work/calibre-5.44.0/src/calibre/utils/lzx/lzxmodule.c -o /pbulk/work/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/pbulk/work/misc/calibre/work/calibre-5.44.0/src/calibre/utils/lzx -c /pbulk/work/misc/calibre/work/calibre-5.44.0/src/calibre/utils/lzx/lzc.c -o /pbulk/work/misc/calibre/work/calibre-5.44.0/build/objects/lzx/lzc.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/pbulk/work/misc/calibre/work/calibre-5.44.0/src/calibre/utils/lzx -c /pbulk/work/misc/calibre/work/calibre-5.44.0/src/calibre/utils/lzx/compressor.c -o /pbulk/work/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/pbulk/work/misc/calibre/work/calibre-5.44.0/src/calibre/utils/lzx -c /pbulk/work/misc/calibre/work/calibre-5.44.0/src/calibre/utils/lzx/lzxd.c -o /pbulk/work/misc/calibre/work/calibre-5.44.0/build/objects/lzx/lzxd.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 -I/usr/pkg/include/freetype2 -I/usr/pkg/include/libpng16 -c /pbulk/work/misc/calibre/work/calibre-5.44.0/src/calibre/utils/fonts/freetype.cpp -o /pbulk/work/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/pbulk/work/misc/calibre/work/calibre-5.44.0/src/calibre/utils/msdes -c /pbulk/work/misc/calibre/work/calibre-5.44.0/src/calibre/utils/msdes/des.c -o /pbulk/work/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* -I/pbulk/work/misc/calibre/work/calibre-5.44.0/src/calibre/utils/msdes -c /pbulk/work/misc/calibre/work/calibre-5.44.0/src/calibre/utils/msdes/msdesmodule.c -o /pbulk/work/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* -c /pbulk/work/misc/calibre/work/calibre-5.44.0/src/calibre/ebooks/compression/palmdoc.c -o /pbulk/work/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 /pbulk/work/misc/calibre/work/calibre-5.44.0/src/calibre/ebooks/djvu/bzzdecoder.c -o /pbulk/work/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 /pbulk/work/misc/calibre/work/calibre-5.44.0/src/calibre/utils/podofo/utils.cpp -o /pbulk/work/misc/calibre/work/calibre-5.44.0/build/objects/podofo/utils.o In file included from /pbulk/work/misc/calibre/work/calibre-5.44.0/src/calibre/utils/podofo/utils.cpp:8: /pbulk/work/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 { | ^ /pbulk/work/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 /pbulk/work/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*)': /pbulk/work/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; | ^~~~~~~ /pbulk/work/misc/calibre/work/calibre-5.44.0/src/calibre/utils/podofo/utils.cpp: In function 'void pdf::podofo_set_exception(const PoDoFo::PdfError&)': /pbulk/work/misc/calibre/work/calibre-5.44.0/src/calibre/utils/podofo/utils.cpp:14:50: error: 'const class PoDoFo::PdfError' has no member named 'GetError' 14 | const char *msg = PdfError::ErrorMessage(err.GetError()); | ^~~~~~~~ /pbulk/work/misc/calibre/work/calibre-5.44.0/src/calibre/utils/podofo/utils.cpp:16:23: error: aggregate 'std::stringstream stream' has incomplete type and cannot be defined 16 | std::stringstream stream; | ^~~~~~ /pbulk/work/misc/calibre/work/calibre-5.44.0/src/calibre/utils/podofo/utils.cpp:18:11: error: 'TDequeErrorInfo' does not name a type 18 | const TDequeErrorInfo &s = err.GetCallstack(); | ^~~~~~~~~~~~~~~ /pbulk/work/misc/calibre/work/calibre-5.44.0/src/calibre/utils/podofo/utils.cpp:19:10: error: 'TDequeErrorInfo' has not been declared 19 | for (TDequeErrorInfo::const_iterator it = s.begin(); it != s.end(); it++) { | ^~~~~~~~~~~~~~~ /pbulk/work/misc/calibre/work/calibre-5.44.0/src/calibre/utils/podofo/utils.cpp:19:58: error: 'it' was not declared in this scope; did you mean 'int'? 19 | for (TDequeErrorInfo::const_iterator it = s.begin(); it != s.end(); it++) { | ^~ | int /pbulk/work/misc/calibre/work/calibre-5.44.0/src/calibre/utils/podofo/utils.cpp:19:64: error: 's' was not declared in this scope; did you mean 'PoDoFo::PdfOperator::s'? 19 | for (TDequeErrorInfo::const_iterator it = s.begin(); it != s.end(); it++) { | ^ | PoDoFo::PdfOperator::s In file included from /pbulk/work/misc/calibre/work/.buildlink/include/podofo/podofo.h:29, from /pbulk/work/misc/calibre/work/calibre-5.44.0/src/calibre/utils/podofo/global.h:14: /pbulk/work/misc/calibre/work/.buildlink/include/podofo/main/PdfDeclarations.h:752:5: note: 'PoDoFo::PdfOperator::s' declared here 752 | s, | ^ /pbulk/work/misc/calibre/work/calibre-5.44.0/src/calibre/utils/podofo/utils.cpp:21:36: error: 'const class PoDoFo::PdfErrorInfo' has no member named 'GetFilename'; did you mean 'GetFilePath'? 21 | stream << "File: " << info.GetFilename() << " Line: " << info.GetLine() << " " << info.GetInformation() << "\n"; | ^~~~~~~~~~~ | GetFilePath /pbulk/work/misc/calibre/work/calibre-5.44.0/src/calibre/utils/podofo/utils.cpp: In function 'PyObject* pdf::podofo_convert_pdfstring(const PoDoFo::PdfString&)': /pbulk/work/misc/calibre/work/calibre-5.44.0/src/calibre/utils/podofo/utils.cpp:28:35: error: 'const class PoDoFo::PdfString' has no member named 'GetStringUtf8'; did you mean 'GetString'? 28 | return PyUnicode_FromString(s.GetStringUtf8().c_str()); | ^~~~~~~~~~~~~ | GetString /pbulk/work/misc/calibre/work/calibre-5.44.0/src/calibre/utils/podofo/utils.cpp: In function 'const PoDoFo::PdfString pdf::podofo_convert_pystring(PyObject*)': /pbulk/work/misc/calibre/work/calibre-5.44.0/src/calibre/utils/podofo/utils.cpp:33:45: error: ISO C++ forbids declaration of 'type name' with no type [-fpermissive] 33 | return PdfString(reinterpret_cast(PyUnicode_AsUTF8(val))); | ^~~~~~~~ /pbulk/work/misc/calibre/work/calibre-5.44.0/src/calibre/utils/podofo/utils.cpp:33:45: error: 'pdf_utf8' was not declared in this scope /pbulk/work/misc/calibre/work/calibre-5.44.0/src/calibre/utils/podofo/utils.cpp:33:21: error: expected primary-expression before '(' token 33 | return PdfString(reinterpret_cast(PyUnicode_AsUTF8(val))); | ^ /pbulk/work/misc/calibre/work/calibre-5.44.0/src/calibre/utils/podofo/utils.cpp:33:45: error: ISO C++ forbids declaration of 'type name' with no type [-fpermissive] 33 | return PdfString(reinterpret_cast(PyUnicode_AsUTF8(val))); | ^~~~~~~~ /pbulk/work/misc/calibre/work/calibre-5.44.0/src/calibre/utils/podofo/utils.cpp:33:45: error: expected '>' before 'pdf_utf8' /pbulk/work/misc/calibre/work/calibre-5.44.0/src/calibre/utils/podofo/utils.cpp:33:45: error: expected '(' before 'pdf_utf8' 33 | return PdfString(reinterpret_cast(PyUnicode_AsUTF8(val))); | ^~~~~~~~ | ( /pbulk/work/misc/calibre/work/calibre-5.44.0/src/calibre/utils/podofo/utils.cpp:33:54: error: expected primary-expression before '>' token 33 | return PdfString(reinterpret_cast(PyUnicode_AsUTF8(val))); | ^ *** Error code 1 Stop. make[1]: stopped in /usr/pkgsrc/misc/calibre *** Error code 1 Stop. make: stopped in /usr/pkgsrc/misc/calibre