=> 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/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/lzxd.c -o /pbulk/work/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/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/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/lzxc.c -o /pbulk/work/misc/calibre/work/calibre-5.44.0/build/objects/lzx/lzxc.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/freetype2 -I/usr/pkg/include -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/images.cpp -o /pbulk/work/misc/calibre/work/calibre-5.44.0/build/objects/podofo/images.o In file included from /pbulk/work/misc/calibre/work/calibre-5.44.0/src/calibre/utils/podofo/images.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/images.cpp: At global scope: /pbulk/work/misc/calibre/work/calibre-5.44.0/src/calibre/utils/podofo/images.cpp:13:16: error: 'pdf_long' does not name a type; did you mean 'u_long'? 13 | char *buf; pdf_long sz; | ^~~~~~~~ | u_long /pbulk/work/misc/calibre/work/calibre-5.44.0/src/calibre/utils/podofo/images.cpp:14:5: error: 'pdf_int64' does not name a type 14 | pdf_int64 width, height; | ^~~~~~~~~ /pbulk/work/misc/calibre/work/calibre-5.44.0/src/calibre/utils/podofo/images.cpp: In constructor 'Image::Image(const PoDoFo::PdfReference&, const PoDoFo::PdfObject*)': /pbulk/work/misc/calibre/work/calibre-5.44.0/src/calibre/utils/podofo/images.cpp:20:79: error: class 'Image' does not have any field named 'sz' 20 | Image(const PdfReference &reference, const PdfObject *o) : buf(NULL), sz(0), width(0), height(0), ref(reference) { | ^~ /pbulk/work/misc/calibre/work/calibre-5.44.0/src/calibre/utils/podofo/images.cpp:20:86: error: class 'Image' does not have any field named 'width' 20 | Image(const PdfReference &reference, const PdfObject *o) : buf(NULL), sz(0), width(0), height(0), ref(reference) { | ^~~~~ /pbulk/work/misc/calibre/work/calibre-5.44.0/src/calibre/utils/podofo/images.cpp:20:96: error: class 'Image' does not have any field named 'height' 20 | Image(const PdfReference &reference, const PdfObject *o) : buf(NULL), sz(0), width(0), height(0), ref(reference) { | ^~~~~~ /pbulk/work/misc/calibre/work/calibre-5.44.0/src/calibre/utils/podofo/images.cpp:21:19: error: 'PdfStream' does not name a type 21 | const PdfStream *stream = o->GetStream(); | ^~~~~~~~~ /pbulk/work/misc/calibre/work/calibre-5.44.0/src/calibre/utils/podofo/images.cpp:23:17: error: 'stream' was not declared in this scope; did you mean 'std::io_errc::stream'? 23 | stream->GetFilteredCopy(&buf, &sz); | ^~~~~~ | std::io_errc::stream In file included from /usr/pkg/gcc12/include/c++/ios:42, from /usr/pkg/gcc12/include/c++/istream:38, from /pbulk/work/misc/calibre/work/.buildlink/include/podofo/auxiliary/InputDevice.h:10, from /pbulk/work/misc/calibre/work/.buildlink/include/podofo/podofo.h:19, from /pbulk/work/misc/calibre/work/calibre-5.44.0/src/calibre/utils/podofo/global.h:14: /usr/pkg/gcc12/include/c++/bits/ios_base.h:204:24: note: 'std::io_errc::stream' declared here 204 | enum class io_errc { stream = 1 }; | ^~~~~~ /pbulk/work/misc/calibre/work/calibre-5.44.0/src/calibre/utils/podofo/images.cpp:23:48: error: 'sz' was not declared in this scope 23 | stream->GetFilteredCopy(&buf, &sz); | ^~ /pbulk/work/misc/calibre/work/calibre-5.44.0/src/calibre/utils/podofo/images.cpp:25:29: error: 'sz' was not declared in this scope 25 | buf = NULL; sz = -1; | ^~ /pbulk/work/misc/calibre/work/calibre-5.44.0/src/calibre/utils/podofo/images.cpp:28:75: error: 'width' was not declared in this scope; did you mean 'wcwidth'? 28 | if (dict.HasKey("Width") && dict.GetKey("Width")->IsNumber()) width = dict.GetKey("Width")->GetNumber(); | ^~~~~ | wcwidth /pbulk/work/misc/calibre/work/calibre-5.44.0/src/calibre/utils/podofo/images.cpp:29:77: error: 'height' was not declared in this scope 29 | if (dict.HasKey("Height") && dict.GetKey("Height")->IsNumber()) height = dict.GetKey("Height")->GetNumber(); | ^~~~~~ /pbulk/work/misc/calibre/work/calibre-5.44.0/src/calibre/utils/podofo/images.cpp: In constructor 'Image::Image(Image&&)': /pbulk/work/misc/calibre/work/calibre-5.44.0/src/calibre/utils/podofo/images.cpp:32:29: error: class 'Image' does not have any field named 'sz' 32 | buf(other.buf), sz(other.sz), width(other.width), height(other.height), ref(other.ref) { | ^~ /pbulk/work/misc/calibre/work/calibre-5.44.0/src/calibre/utils/podofo/images.cpp:32:38: error: 'class Image' has no member named 'sz' 32 | buf(other.buf), sz(other.sz), width(other.width), height(other.height), ref(other.ref) { | ^~ /pbulk/work/misc/calibre/work/calibre-5.44.0/src/calibre/utils/podofo/images.cpp:32:43: error: class 'Image' does not have any field named 'width' 32 | buf(other.buf), sz(other.sz), width(other.width), height(other.height), ref(other.ref) { | ^~~~~ /pbulk/work/misc/calibre/work/calibre-5.44.0/src/calibre/utils/podofo/images.cpp:32:55: error: 'class Image' has no member named 'width' 32 | buf(other.buf), sz(other.sz), width(other.width), height(other.height), ref(other.ref) { | ^~~~~ /pbulk/work/misc/calibre/work/calibre-5.44.0/src/calibre/utils/podofo/images.cpp:32:63: error: class 'Image' does not have any field named 'height' 32 | buf(other.buf), sz(other.sz), width(other.width), height(other.height), ref(other.ref) { | ^~~~~~ /pbulk/work/misc/calibre/work/calibre-5.44.0/src/calibre/utils/podofo/images.cpp:32:76: error: 'class Image' has no member named 'height' 32 | buf(other.buf), sz(other.sz), width(other.width), height(other.height), ref(other.ref) { | ^~~~~~ /pbulk/work/misc/calibre/work/calibre-5.44.0/src/calibre/utils/podofo/images.cpp: In member function 'Image& Image::operator=(Image&&)': /pbulk/work/misc/calibre/work/calibre-5.44.0/src/calibre/utils/podofo/images.cpp:36:22: error: 'podofo_free' was not declared in this scope 36 | if (buf) podofo_free(buf); | ^~~~~~~~~~~ /pbulk/work/misc/calibre/work/calibre-5.44.0/src/calibre/utils/podofo/images.cpp:37:48: error: 'sz' was not declared in this scope 37 | buf = other.buf; other.buf = NULL; sz = other.sz; ref = other.ref; | ^~ /pbulk/work/misc/calibre/work/calibre-5.44.0/src/calibre/utils/podofo/images.cpp:37:59: error: 'class Image' has no member named 'sz' 37 | buf = other.buf; other.buf = NULL; sz = other.sz; ref = other.ref; | ^~ /pbulk/work/misc/calibre/work/calibre-5.44.0/src/calibre/utils/podofo/images.cpp:38:13: error: 'width' was not declared in this scope; did you mean 'wcwidth'? 38 | width = other.width; height = other.height; | ^~~~~ | wcwidth /pbulk/work/misc/calibre/work/calibre-5.44.0/src/calibre/utils/podofo/images.cpp:38:27: error: 'class Image' has no member named 'width' 38 | width = other.width; height = other.height; | ^~~~~ /pbulk/work/misc/calibre/work/calibre-5.44.0/src/calibre/utils/podofo/images.cpp:38:34: error: 'height' was not declared in this scope 38 | width = other.width; height = other.height; | ^~~~~~ /pbulk/work/misc/calibre/work/calibre-5.44.0/src/calibre/utils/podofo/images.cpp:38:49: error: 'class Image' has no member named 'height' 38 | width = other.width; height = other.height; | ^~~~~~ /pbulk/work/misc/calibre/work/calibre-5.44.0/src/calibre/utils/podofo/images.cpp: In destructor 'Image::~Image()': /pbulk/work/misc/calibre/work/calibre-5.44.0/src/calibre/utils/podofo/images.cpp:41:38: error: 'podofo_free' was not declared in this scope 41 | ~Image() noexcept { if (buf) podofo_free(buf); buf = NULL; } | ^~~~~~~~~~~ /pbulk/work/misc/calibre/work/calibre-5.44.0/src/calibre/utils/podofo/images.cpp: In member function 'bool Image::operator==(const Image&) const': /pbulk/work/misc/calibre/work/calibre-5.44.0/src/calibre/utils/podofo/images.cpp:43:26: error: 'const class Image' has no member named 'sz' 43 | return other.sz == sz && sz > -1 && other.width == width && other.height == height && memcmp(buf, other.buf, sz) == 0; | ^~ /pbulk/work/misc/calibre/work/calibre-5.44.0/src/calibre/utils/podofo/images.cpp:43:32: error: 'sz' was not declared in this scope 43 | return other.sz == sz && sz > -1 && other.width == width && other.height == height && memcmp(buf, other.buf, sz) == 0; | ^~ /pbulk/work/misc/calibre/work/calibre-5.44.0/src/calibre/utils/podofo/images.cpp:43:55: error: 'const class Image' has no member named 'width' 43 | return other.sz == sz && sz > -1 && other.width == width && other.height == height && memcmp(buf, other.buf, sz) == 0; | ^~~~~ /pbulk/work/misc/calibre/work/calibre-5.44.0/src/calibre/utils/podofo/images.cpp:43:64: error: 'width' was not declared in this scope; did you mean 'wcwidth'? 43 | return other.sz == sz && sz > -1 && other.width == width && other.height == height && memcmp(buf, other.buf, sz) == 0; | ^~~~~ | wcwidth /pbulk/work/misc/calibre/work/calibre-5.44.0/src/calibre/utils/podofo/images.cpp:43:79: error: 'const class Image' has no member named 'height' 43 | return other.sz == sz && sz > -1 && other.width == width && other.height == height && memcmp(buf, other.buf, sz) == 0; | ^~~~~~ /pbulk/work/misc/calibre/work/calibre-5.44.0/src/calibre/utils/podofo/images.cpp:43:89: error: 'height' was not declared in this scope 43 | return other.sz == sz && sz > -1 && other.width == width && other.height == height && memcmp(buf, other.buf, sz) == 0; | ^~~~~~ /pbulk/work/misc/calibre/work/calibre-5.44.0/src/calibre/utils/podofo/images.cpp: In member function 'std::size_t Image::hash() const': /pbulk/work/misc/calibre/work/calibre-5.44.0/src/calibre/utils/podofo/images.cpp:45:52: error: 'sz' was not declared in this scope 45 | std::size_t hash() const noexcept { return sz; } | ^~ /pbulk/work/misc/calibre/work/calibre-5.44.0/src/calibre/utils/podofo/images.cpp: In function 'PyObject* dedup_images(pdf::PDFDoc*, PyObject*)': /pbulk/work/misc/calibre/work/calibre-5.44.0/src/calibre/utils/podofo/images.cpp:59:5: error: 'PdfVecObjects' was not declared in this scope; did you mean 'PyVarObject'? 59 | PdfVecObjects &objects = self->doc->GetObjects(); | ^~~~~~~~~~~~~ | PyVarObject /pbulk/work/misc/calibre/work/calibre-5.44.0/src/calibre/utils/podofo/images.cpp:59:20: error: 'objects' was not declared in this scope; did you mean '_object'? 59 | PdfVecObjects &objects = self->doc->GetObjects(); | ^~~~~~~ | _object /pbulk/work/misc/calibre/work/calibre-5.44.0/src/calibre/utils/podofo/images.cpp:65:52: error: 'KeyType' is not a member of 'PoDoFo::PdfName' 65 | if (dictionary_has_key_name(dict, PdfName::KeyType, "XObject") && dictionary_has_key_name(dict, PdfName::KeySubtype, "Image")) { | ^~~~~~~ /pbulk/work/misc/calibre/work/calibre-5.44.0/src/calibre/utils/podofo/images.cpp:65:114: error: 'KeySubtype' is not a member of 'PoDoFo::PdfName' 65 | if (dictionary_has_key_name(dict, PdfName::KeyType, "XObject") && dictionary_has_key_name(dict, PdfName::KeySubtype, "Image")) { | ^~~~~~~~~~ /pbulk/work/misc/calibre/work/calibre-5.44.0/src/calibre/utils/podofo/images.cpp:98:40: error: 'const class PoDoFo::PdfDictionary' has no member named 'GetKeys'; did you mean 'GetKey'? 98 | for (auto &x : xobject.GetKeys()) { | ^~~~~~~ | GetKey *** Error code 1 Stop. make[1]: stopped in /usr/pkgsrc/misc/calibre *** Error code 1 Stop. make: stopped in /usr/pkgsrc/misc/calibre