=> 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=\ -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\ -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\ -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\ -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=-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 -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 -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 -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 -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 -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:304:28: note: declared here 304 | 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:212:28: note: declared here 212 | 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:271:27: note: declared here 271 | 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:304:28: note: declared here 304 | 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:1403:5: note: declared here 1403 | 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/indicator.h:18, from /usr/include/openssl/core_dispatch.h:16, from /usr/include/openssl/evp.h:28: /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:1403:5: note: declared here 1403 | 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:1403:5: note: declared here 1403 | 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 -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 -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 -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 -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 -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 -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 -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 -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 -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 -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 -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 -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 -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/freetype2 -I/usr/pkg/include -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 -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 -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 -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 -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 -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/podofo -I/usr/pkg/include -c /pbulk/work/misc/calibre/work/calibre-5.44.0/src/calibre/utils/podofo/fonts.cpp -o /pbulk/work/misc/calibre/work/calibre-5.44.0/build/objects/podofo/fonts.o In file included from /pbulk/work/misc/calibre/work/calibre-5.44.0/src/calibre/utils/podofo/fonts.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/fonts.cpp: In function 'PoDoFo::PdfObject* get_font_file(const PoDoFo::PdfObject*)': /pbulk/work/misc/calibre/work/calibre-5.44.0/src/calibre/utils/podofo/fonts.cpp:22:33: error: 'const class PoDoFo::PdfObject' has no member named 'GetIndirectKey' 22 | PdfObject *ff = descriptor->GetIndirectKey("FontFile"); | ^~~~~~~~~~~~~~ /pbulk/work/misc/calibre/work/calibre-5.44.0/src/calibre/utils/podofo/fonts.cpp:23:31: error: 'const class PoDoFo::PdfObject' has no member named 'GetIndirectKey' 23 | if (!ff) ff = descriptor->GetIndirectKey("FontFile2"); | ^~~~~~~~~~~~~~ /pbulk/work/misc/calibre/work/calibre-5.44.0/src/calibre/utils/podofo/fonts.cpp:24:31: error: 'const class PoDoFo::PdfObject' has no member named 'GetIndirectKey' 24 | if (!ff) ff = descriptor->GetIndirectKey("FontFile3"); | ^~~~~~~~~~~~~~ /pbulk/work/misc/calibre/work/calibre-5.44.0/src/calibre/utils/podofo/fonts.cpp: At global scope: /pbulk/work/misc/calibre/work/calibre-5.44.0/src/calibre/utils/podofo/fonts.cpp:29:1: error: variable or field 'remove_font' declared void 29 | remove_font(PdfVecObjects &objects, PdfObject *font) { | ^~~~~~~~~~~ /pbulk/work/misc/calibre/work/calibre-5.44.0/src/calibre/utils/podofo/fonts.cpp:29:13: error: 'PdfVecObjects' was not declared in this scope; did you mean 'PyVarObject'? 29 | remove_font(PdfVecObjects &objects, PdfObject *font) { | ^~~~~~~~~~~~~ | PyVarObject /pbulk/work/misc/calibre/work/calibre-5.44.0/src/calibre/utils/podofo/fonts.cpp:29:28: error: 'objects' was not declared in this scope; did you mean '_object'? 29 | remove_font(PdfVecObjects &objects, PdfObject *font) { | ^~~~~~~ | _object /pbulk/work/misc/calibre/work/calibre-5.44.0/src/calibre/utils/podofo/fonts.cpp:29:47: error: expected primary-expression before '*' token 29 | remove_font(PdfVecObjects &objects, PdfObject *font) { | ^ /pbulk/work/misc/calibre/work/calibre-5.44.0/src/calibre/utils/podofo/fonts.cpp:29:48: error: 'font' was not declared in this scope 29 | remove_font(PdfVecObjects &objects, PdfObject *font) { | ^~~~ /pbulk/work/misc/calibre/work/calibre-5.44.0/src/calibre/utils/podofo/fonts.cpp:40:16: error: 'pdf_objnum' was not declared in this scope 40 | ref_as_integer(pdf_objnum num, pdf_gennum gen) { | ^~~~~~~~~~ /pbulk/work/misc/calibre/work/calibre-5.44.0/src/calibre/utils/podofo/fonts.cpp:40:32: error: 'pdf_gennum' was not declared in this scope 40 | ref_as_integer(pdf_objnum num, pdf_gennum gen) { | ^~~~~~~~~~ /pbulk/work/misc/calibre/work/calibre-5.44.0/src/calibre/utils/podofo/fonts.cpp:40:46: error: expression list treated as compound expression in initializer [-fpermissive] 40 | ref_as_integer(pdf_objnum num, pdf_gennum gen) { | ^ /pbulk/work/misc/calibre/work/calibre-5.44.0/src/calibre/utils/podofo/fonts.cpp:45:39: error: 'uint64_t ref_as_integer(const PoDoFo::PdfReference&)' redeclared as different kind of entity 45 | ref_as_integer(const PdfReference &ref) { return ref_as_integer(ref.ObjectNumber(), ref.GenerationNumber()); } | ^ /pbulk/work/misc/calibre/work/calibre-5.44.0/src/calibre/utils/podofo/fonts.cpp:40:1: note: previous declaration 'uint64_t ref_as_integer' 40 | ref_as_integer(pdf_objnum num, pdf_gennum gen) { | ^~~~~~~~~~~~~~ /pbulk/work/misc/calibre/work/calibre-5.44.0/src/calibre/utils/podofo/fonts.cpp: In function 'uint64_t ref_as_integer(const PoDoFo::PdfReference&)': /pbulk/work/misc/calibre/work/calibre-5.44.0/src/calibre/utils/podofo/fonts.cpp:45:64: error: 'ref_as_integer' cannot be used as a function 45 | ref_as_integer(const PdfReference &ref) { return ref_as_integer(ref.ObjectNumber(), ref.GenerationNumber()); } | ~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /pbulk/work/misc/calibre/work/calibre-5.44.0/src/calibre/utils/podofo/fonts.cpp: In function 'void used_fonts_in_canvas(PoDoFo::PdfCanvas*, pdf::unordered_reference_set&)': /pbulk/work/misc/calibre/work/calibre-5.44.0/src/calibre/utils/podofo/fonts.cpp:49:5: error: 'PdfContentsTokenizer' was not declared in this scope 49 | PdfContentsTokenizer tokenizer(canvas); | ^~~~~~~~~~~~~~~~~~~~ /pbulk/work/misc/calibre/work/calibre-5.44.0/src/calibre/utils/podofo/fonts.cpp:52:5: error: 'EPdfContentsType' was not declared in this scope; did you mean 'PyContext_Type'? 52 | EPdfContentsType contents_type; | ^~~~~~~~~~~~~~~~ | PyContext_Type /pbulk/work/misc/calibre/work/calibre-5.44.0/src/calibre/utils/podofo/fonts.cpp:59:12: error: 'tokenizer' was not declared in this scope 59 | while (tokenizer.ReadNext(contents_type, token, var)) { | ^~~~~~~~~ /pbulk/work/misc/calibre/work/calibre-5.44.0/src/calibre/utils/podofo/fonts.cpp:59:31: error: 'contents_type' was not declared in this scope 59 | while (tokenizer.ReadNext(contents_type, token, var)) { | ^~~~~~~~~~~~~ /pbulk/work/misc/calibre/work/calibre-5.44.0/src/calibre/utils/podofo/fonts.cpp:60:30: error: 'ePdfContentsType_Variant' was not declared in this scope 60 | if (contents_type == ePdfContentsType_Variant) stack.push(var); | ^~~~~~~~~~~~~~~~~~~~~~~~ /pbulk/work/misc/calibre/work/calibre-5.44.0/src/calibre/utils/podofo/fonts.cpp:61:30: error: 'ePdfContentsType_Keyword' was not declared in this scope 61 | if (contents_type != ePdfContentsType_Keyword) continue; | ^~~~~~~~~~~~~~~~~~~~~~~~ /pbulk/work/misc/calibre/work/calibre-5.44.0/src/calibre/utils/podofo/fonts.cpp: In function 'PyObject* convert_w_array(const PoDoFo::PdfArray&)': /pbulk/work/misc/calibre/work/calibre-5.44.0/src/calibre/utils/podofo/fonts.cpp:93:26: error: 'const class PoDoFo::PdfObject' has no member named 'IsReal' 93 | } else if ((*it).IsReal()) { | ^~~~~~ /pbulk/work/misc/calibre/work/calibre-5.44.0/src/calibre/utils/podofo/fonts.cpp: In function 'PyObject* list_fonts(pdf::PDFDoc*, PyObject*)': /pbulk/work/misc/calibre/work/calibre-5.44.0/src/calibre/utils/podofo/fonts.cpp:108:11: error: 'PdfVecObjects' does not name a type; did you mean 'PyVarObject'? 108 | const PdfVecObjects &objects = self->doc->GetObjects(); | ^~~~~~~~~~~~~ | PyVarObject /pbulk/work/misc/calibre/work/calibre-5.44.0/src/calibre/utils/podofo/fonts.cpp:109:21: error: 'objects' was not declared in this scope; did you mean '_object'? 109 | for (auto &it : objects) { | ^~~~~~~ | _object /pbulk/work/misc/calibre/work/calibre-5.44.0/src/calibre/utils/podofo/fonts.cpp:112:56: error: 'KeyType' is not a member of 'PoDoFo::PdfName' 112 | if (dictionary_has_key_name(dict, PdfName::KeyType, "Font") && dict.HasKey("BaseFont")) { | ^~~~~~~ /pbulk/work/misc/calibre/work/calibre-5.44.0/src/calibre/utils/podofo/fonts.cpp:113:78: error: 'const class PoDoFo::PdfName' has no member named 'GetName' 113 | const std::string &name = dict.GetKey("BaseFont")->GetName().GetName(); | ^~~~~~~ /pbulk/work/misc/calibre/work/calibre-5.44.0/src/calibre/utils/podofo/fonts.cpp:114:67: error: 'KeySubtype' is not a member of 'PoDoFo::PdfName' 114 | const std::string &subtype = dict.GetKey(PdfName::KeySubtype)->GetName().GetName(); | ^~~~~~~~~~ /pbulk/work/misc/calibre/work/calibre-5.44.0/src/calibre/utils/podofo/fonts.cpp:129:92: error: 'const class PoDoFo::PdfName' has no member named 'GetName' 129 | encoding.reset(PyUnicode_FromString(dict.GetKey("Encoding")->GetName().GetName().c_str())); | ^~~~~~~ /pbulk/work/misc/calibre/work/calibre-5.44.0/src/calibre/utils/podofo/fonts.cpp:132:154: error: 'const class PoDoFo::PdfName' has no member named 'GetName' 132 | if (dict.HasKey("CIDToGIDMap") && (!dict.GetKey("CIDToGIDMap")->IsName() || strcmp(dict.GetKey("CIDToGIDMap")->GetName().GetName().c_str(), "Identity") != 0)) { | ^~~~~~~ /pbulk/work/misc/calibre/work/calibre-5.44.0/src/calibre/utils/podofo/fonts.cpp:133:47: error: 'PdfStream' does not name a type 133 | const PdfStream *stream = dict.GetKey("CIDToGIDMap")->GetStream(); | ^~~~~~~~~ /pbulk/work/misc/calibre/work/calibre-5.44.0/src/calibre/utils/podofo/fonts.cpp:134:45: error: 'stream' was not declared in this scope; did you mean 'std::io_errc::stream'? 134 | if (stream) stream->GetFilteredCopy(&cid_gid_map); | ^~~~~~ | std::io_errc::stream In file included from /usr/include/g++/ios:42, from /usr/include/g++/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/include/g++/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/fonts.cpp:139:59: error: 'const class PoDoFo::PdfObject' has no member named 'Reference'; did you mean 'IsReference'? 139 | stream_ref.reset(ref_as_tuple(ff->Reference())); | ^~~~~~~~~ | IsReference /pbulk/work/misc/calibre/work/calibre-5.44.0/src/calibre/utils/podofo/fonts.cpp:141:31: error: 'PdfStream' does not name a type 141 | const PdfStream *stream = ff->GetStream(); | ^~~~~~~~~ /pbulk/work/misc/calibre/work/calibre-5.44.0/src/calibre/utils/podofo/fonts.cpp:142:29: error: 'stream' was not declared in this scope; did you mean 'std::io_errc::stream'? 142 | if (stream && get_font_data) { | ^~~~~~ | std::io_errc::stream /usr/include/g++/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/fonts.cpp:154:29: error: 'PdfStream' was not declared in this scope 154 | PdfStream *stream = t->GetStream(); | ^~~~~~~~~ /pbulk/work/misc/calibre/work/calibre-5.44.0/src/calibre/utils/podofo/fonts.cpp:154:40: error: 'stream' was not declared in this scope; did you mean 'std::io_errc::stream'? 154 | PdfStream *stream = t->GetStream(); | ^~~~~~ | std::io_errc::stream /usr/include/g++/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/fonts.cpp: In function 'PyObject* remove_unused_fonts(pdf::PDFDoc*, PyObject*)': /pbulk/work/misc/calibre/work/calibre-5.44.0/src/calibre/utils/podofo/fonts.cpp:189:36: error: 'class PoDoFo::PdfMemDocument' has no member named 'GetPageCount' 189 | for (int i = 0; i < self->doc->GetPageCount(); i++) { | ^~~~~~~~~~~~ /pbulk/work/misc/calibre/work/calibre-5.44.0/src/calibre/utils/podofo/fonts.cpp:190:36: error: 'class PoDoFo::PdfMemDocument' has no member named 'GetPage'; did you mean 'GetPages'? 190 | PdfPage *page = self->doc->GetPage(i); | ^~~~~~~ | GetPages /pbulk/work/misc/calibre/work/calibre-5.44.0/src/calibre/utils/podofo/fonts.cpp:194:5: error: 'PdfVecObjects' was not declared in this scope; did you mean 'PyVarObject'? 194 | PdfVecObjects &objects = self->doc->GetObjects(); | ^~~~~~~~~~~~~ | PyVarObject /pbulk/work/misc/calibre/work/calibre-5.44.0/src/calibre/utils/podofo/fonts.cpp:194:20: error: 'objects' was not declared in this scope; did you mean '_object'? 194 | PdfVecObjects &objects = self->doc->GetObjects(); | ^~~~~~~ | _object /pbulk/work/misc/calibre/work/calibre-5.44.0/src/calibre/utils/podofo/fonts.cpp:198:56: error: 'KeyType' is not a member of 'PoDoFo::PdfName' 198 | if (dictionary_has_key_name(dict, PdfName::KeyType, "XObject") && dictionary_has_key_name(dict, PdfName::KeySubtype, "Form")) { | ^~~~~~~ /pbulk/work/misc/calibre/work/calibre-5.44.0/src/calibre/utils/podofo/fonts.cpp:198:118: error: 'KeySubtype' is not a member of 'PoDoFo::PdfName' 198 | if (dictionary_has_key_name(dict, PdfName::KeyType, "XObject") && dictionary_has_key_name(dict, PdfName::KeySubtype, "Form")) { | ^~~~~~~~~~ /pbulk/work/misc/calibre/work/calibre-5.44.0/src/calibre/utils/podofo/fonts.cpp:199:28: error: cannot declare variable 'xo' to be of abstract type 'PoDoFo::PdfXObject' 199 | PdfXObject xo(k); | ^~ In file included from /pbulk/work/misc/calibre/work/.buildlink/include/podofo/main/PdfContentStreamReader.h:10, from /pbulk/work/misc/calibre/work/.buildlink/include/podofo/podofo.h:39: /pbulk/work/misc/calibre/work/.buildlink/include/podofo/main/PdfXObject.h:30:18: note: because the following virtual functions are pure within 'PoDoFo::PdfXObject': 30 | class PODOFO_API PdfXObject : public PdfDictionaryElement | ^~~~~~~~~~ /pbulk/work/misc/calibre/work/.buildlink/include/podofo/main/PdfXObject.h:53:18: note: 'virtual PoDoFo::Rect PoDoFo::PdfXObject::GetRect() const' 53 | virtual Rect GetRect() const = 0; | ^~~~~~~ /pbulk/work/misc/calibre/work/calibre-5.44.0/src/calibre/utils/podofo/fonts.cpp:200:38: error: cannot convert 'PoDoFo::PdfXObject*' to 'PoDoFo::PdfCanvas*' 200 | used_fonts_in_canvas(&xo, used_fonts); | ^~~ | | | PoDoFo::PdfXObject* /pbulk/work/misc/calibre/work/calibre-5.44.0/src/calibre/utils/podofo/fonts.cpp:48:33: note: initializing argument 1 of 'void used_fonts_in_canvas(PoDoFo::PdfCanvas*, pdf::unordered_reference_set&)' 48 | used_fonts_in_canvas(PdfCanvas *canvas, unordered_reference_set &ans) { | ~~~~~~~~~~~^~~~~~ /pbulk/work/misc/calibre/work/calibre-5.44.0/src/calibre/utils/podofo/fonts.cpp:210:56: error: 'KeyType' is not a member of 'PoDoFo::PdfName' 210 | if (dictionary_has_key_name(dict, PdfName::KeyType, "Font")) { | ^~~~~~~ /pbulk/work/misc/calibre/work/calibre-5.44.0/src/calibre/utils/podofo/fonts.cpp:211:69: error: 'KeySubtype' is not a member of 'PoDoFo::PdfName' 211 | const std::string &font_type = dict.GetKey(PdfName::KeySubtype)->GetName().GetName(); | ^~~~~~~~~~ /pbulk/work/misc/calibre/work/calibre-5.44.0/src/calibre/utils/podofo/fonts.cpp:217:78: error: 'const class PoDoFo::PdfDictionary' has no member named 'GetKeys'; did you mean 'GetKey'? 217 | for (auto &x : dict.GetKey("CharProcs")->GetDictionary().GetKeys()) { | ^~~~~~~ | GetKey /pbulk/work/misc/calibre/work/calibre-5.44.0/src/calibre/utils/podofo/fonts.cpp:233:42: error: 'class PoDoFo::PdfObject' has no member named 'GetIndirectKey' 233 | for (auto &x : font->GetIndirectKey("CharProcs")->GetDictionary().GetKeys()) { | ^~~~~~~~~~~~~~ /pbulk/work/misc/calibre/work/calibre-5.44.0/src/calibre/utils/podofo/fonts.cpp:237:42: error: 'class PoDoFo::PdfObject' has no member named 'GetIndirectKey' 237 | for (auto &x : font->GetIndirectKey("DescendantFonts")->GetArray()) { | ^~~~~~~~~~~~~~ /pbulk/work/misc/calibre/work/calibre-5.44.0/src/calibre/utils/podofo/fonts.cpp:239:36: error: 'remove_font' was not declared in this scope 239 | if (dfont) remove_font(objects, dfont); | ^~~~~~~~~~~ /pbulk/work/misc/calibre/work/calibre-5.44.0/src/calibre/utils/podofo/fonts.cpp:242:17: error: 'remove_font' was not declared in this scope 242 | remove_font(objects, font); | ^~~~~~~~~~~ /pbulk/work/misc/calibre/work/calibre-5.44.0/src/calibre/utils/podofo/fonts.cpp: In function 'PyObject* replace_font_data(pdf::PDFDoc*, PyObject*)': /pbulk/work/misc/calibre/work/calibre-5.44.0/src/calibre/utils/podofo/fonts.cpp:261:11: error: 'PdfVecObjects' does not name a type; did you mean 'PyVarObject'? 261 | const PdfVecObjects &objects = self->doc->GetObjects(); | ^~~~~~~~~~~~~ | PyVarObject /pbulk/work/misc/calibre/work/calibre-5.44.0/src/calibre/utils/podofo/fonts.cpp:262:23: error: 'objects' was not declared in this scope; did you mean '_object'? 262 | PdfObject *font = objects.GetObject(PdfReference(num, static_cast(gen))); | ^~~~~~~ | _object /pbulk/work/misc/calibre/work/calibre-5.44.0/src/calibre/utils/podofo/fonts.cpp:262:71: error: 'pdf_gennum' was not declared in this scope 262 | PdfObject *font = objects.GetObject(PdfReference(num, static_cast(gen))); | ^~~~~~~~~~ /pbulk/work/misc/calibre/work/calibre-5.44.0/src/calibre/utils/podofo/fonts.cpp:262:53: error: expected primary-expression before '(' token 262 | PdfObject *font = objects.GetObject(PdfReference(num, static_cast(gen))); | ^ /pbulk/work/misc/calibre/work/calibre-5.44.0/src/calibre/utils/podofo/fonts.cpp:262:71: error: 'pdf_gennum' does not name a type 262 | PdfObject *font = objects.GetObject(PdfReference(num, static_cast(gen))); | ^~~~~~~~~~ /pbulk/work/misc/calibre/work/calibre-5.44.0/src/calibre/utils/podofo/fonts.cpp:264:41: error: 'class PoDoFo::PdfObject' has no member named 'GetIndirectKey' 264 | const PdfObject *descriptor = font->GetIndirectKey("FontDescriptor"); | ^~~~~~~~~~~~~~ /pbulk/work/misc/calibre/work/calibre-5.44.0/src/calibre/utils/podofo/fonts.cpp:267:5: error: 'PdfStream' was not declared in this scope 267 | PdfStream *stream = ff->GetStream(); | ^~~~~~~~~ /pbulk/work/misc/calibre/work/calibre-5.44.0/src/calibre/utils/podofo/fonts.cpp:267:16: error: 'stream' was not declared in this scope; did you mean 'std::io_errc::stream'? 267 | PdfStream *stream = ff->GetStream(); | ^~~~~~ | std::io_errc::stream /usr/include/g++/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/fonts.cpp: In function 'PyObject* merge_fonts(pdf::PDFDoc*, PyObject*)': /pbulk/work/misc/calibre/work/calibre-5.44.0/src/calibre/utils/podofo/fonts.cpp:277:5: error: 'PdfVecObjects' was not declared in this scope; did you mean 'PyVarObject'? 277 | PdfVecObjects &objects = self->doc->GetObjects(); | ^~~~~~~~~~~~~ | PyVarObject /pbulk/work/misc/calibre/work/calibre-5.44.0/src/calibre/utils/podofo/fonts.cpp:277:20: error: 'objects' was not declared in this scope; did you mean '_object'? 277 | PdfVecObjects &objects = self->doc->GetObjects(); | ^~~~~~~ | _object /pbulk/work/misc/calibre/work/calibre-5.44.0/src/calibre/utils/podofo/fonts.cpp:282:83: error: 'pdf_gennum' was not declared in this scope 282 | PdfObject *font = objects.GetObject(PdfReference(num, static_cast(gen))); | ^~~~~~~~~~ /pbulk/work/misc/calibre/work/calibre-5.44.0/src/calibre/utils/podofo/fonts.cpp:282:65: error: expected primary-expression before '(' token 282 | PdfObject *font = objects.GetObject(PdfReference(num, static_cast(gen))); | ^ /pbulk/work/misc/calibre/work/calibre-5.44.0/src/calibre/utils/podofo/fonts.cpp:282:83: error: 'pdf_gennum' does not name a type 282 | PdfObject *font = objects.GetObject(PdfReference(num, static_cast(gen))); | ^~~~~~~~~~ /pbulk/work/misc/calibre/work/calibre-5.44.0/src/calibre/utils/podofo/fonts.cpp:284:41: error: 'class PoDoFo::PdfObject' has no member named 'GetIndirectKey' 284 | PdfObject *dobj = font->GetIndirectKey("FontDescriptor"); | ^~~~~~~~~~~~~~ /pbulk/work/misc/calibre/work/calibre-5.44.0/src/calibre/utils/podofo/fonts.cpp:293:39: error: 'class PoDoFo::PdfObject' has no member named 'GetIndirectKey' 293 | PdfObject *ff = dobj->GetIndirectKey(font_file_key); | ^~~~~~~~~~~~~~ /pbulk/work/misc/calibre/work/calibre-5.44.0/src/calibre/utils/podofo/fonts.cpp:296:25: error: 'PdfStream' was not declared in this scope 296 | PdfStream *stream = ff->GetStream(); | ^~~~~~~~~ /pbulk/work/misc/calibre/work/calibre-5.44.0/src/calibre/utils/podofo/fonts.cpp:296:36: error: 'stream' was not declared in this scope; did you mean 'std::io_errc::stream'? 296 | PdfStream *stream = ff->GetStream(); | ^~~~~~ | std::io_errc::stream /usr/include/g++/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/fonts.cpp:299:57: error: 'class PoDoFo::PdfObject' has no member named 'Reference'; did you mean 'IsReference'? 299 | delete objects.RemoveObject(ff->Reference()); | ^~~~~~~~~ | IsReference /pbulk/work/misc/calibre/work/calibre-5.44.0/src/calibre/utils/podofo/fonts.cpp:300:69: error: 'class PoDoFo::PdfObject' has no member named 'Reference'; did you mean 'IsReference'? 300 | descriptor.AddKey(font_file_key, font_file->Reference()); | ^~~~~~~~~ | IsReference /pbulk/work/misc/calibre/work/calibre-5.44.0/src/calibre/utils/podofo/fonts.cpp: At global scope: /pbulk/work/misc/calibre/work/calibre-5.44.0/src/calibre/utils/podofo/fonts.cpp:307:16: error: 'pdf_long' does not name a type; did you mean 'u_long'? 307 | char *buf; pdf_long sz; | ^~~~~~~~ | u_long /pbulk/work/misc/calibre/work/calibre-5.44.0/src/calibre/utils/podofo/fonts.cpp: In constructor 'CharProc::CharProc(const PoDoFo::PdfReference&, const PoDoFo::PdfObject*)': /pbulk/work/misc/calibre/work/calibre-5.44.0/src/calibre/utils/podofo/fonts.cpp:313:82: error: class 'CharProc' does not have any field named 'sz' 313 | CharProc(const PdfReference &reference, const PdfObject *o) : buf(NULL), sz(0), ref(reference) { | ^~ /pbulk/work/misc/calibre/work/calibre-5.44.0/src/calibre/utils/podofo/fonts.cpp:314:19: error: 'PdfStream' does not name a type 314 | const PdfStream *stream = o->GetStream(); | ^~~~~~~~~ /pbulk/work/misc/calibre/work/calibre-5.44.0/src/calibre/utils/podofo/fonts.cpp:315:13: error: 'stream' was not declared in this scope; did you mean 'std::io_errc::stream'? 315 | stream->GetFilteredCopy(&buf, &sz); | ^~~~~~ | std::io_errc::stream /usr/include/g++/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/fonts.cpp:315:44: error: 'sz' was not declared in this scope 315 | stream->GetFilteredCopy(&buf, &sz); | ^~ /pbulk/work/misc/calibre/work/calibre-5.44.0/src/calibre/utils/podofo/fonts.cpp: In constructor 'CharProc::CharProc(CharProc&&)': /pbulk/work/misc/calibre/work/calibre-5.44.0/src/calibre/utils/podofo/fonts.cpp:318:29: error: class 'CharProc' does not have any field named 'sz' 318 | buf(other.buf), sz(other.sz), ref(other.ref) { | ^~ /pbulk/work/misc/calibre/work/calibre-5.44.0/src/calibre/utils/podofo/fonts.cpp:318:38: error: 'class CharProc' has no member named 'sz' 318 | buf(other.buf), sz(other.sz), ref(other.ref) { | ^~ /pbulk/work/misc/calibre/work/calibre-5.44.0/src/calibre/utils/podofo/fonts.cpp: In member function 'CharProc& CharProc::operator=(CharProc&&)': /pbulk/work/misc/calibre/work/calibre-5.44.0/src/calibre/utils/podofo/fonts.cpp:322:22: error: 'podofo_free' was not declared in this scope 322 | if (buf) podofo_free(buf); | ^~~~~~~~~~~ /pbulk/work/misc/calibre/work/calibre-5.44.0/src/calibre/utils/podofo/fonts.cpp:323:48: error: 'sz' was not declared in this scope 323 | 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/fonts.cpp:323:59: error: 'class CharProc' has no member named 'sz' 323 | 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/fonts.cpp: In destructor 'CharProc::~CharProc()': /pbulk/work/misc/calibre/work/calibre-5.44.0/src/calibre/utils/podofo/fonts.cpp:326:41: error: 'podofo_free' was not declared in this scope 326 | ~CharProc() noexcept { if (buf) podofo_free(buf); buf = NULL; } | ^~~~~~~~~~~ /pbulk/work/misc/calibre/work/calibre-5.44.0/src/calibre/utils/podofo/fonts.cpp: In member function 'bool CharProc::operator==(const CharProc&) const': /pbulk/work/misc/calibre/work/calibre-5.44.0/src/calibre/utils/podofo/fonts.cpp:328:26: error: 'const class CharProc' has no member named 'sz' 328 | return other.sz == sz && memcmp(buf, other.buf, sz) == 0; | ^~ /pbulk/work/misc/calibre/work/calibre-5.44.0/src/calibre/utils/podofo/fonts.cpp:328:32: error: 'sz' was not declared in this scope 328 | return other.sz == sz && memcmp(buf, other.buf, sz) == 0; | ^~ /pbulk/work/misc/calibre/work/calibre-5.44.0/src/calibre/utils/podofo/fonts.cpp: In member function 'std::size_t CharProc::hash() const': /pbulk/work/misc/calibre/work/calibre-5.44.0/src/calibre/utils/podofo/fonts.cpp:330:52: error: 'sz' was not declared in this scope 330 | std::size_t hash() const noexcept { return sz; } | ^~ /pbulk/work/misc/calibre/work/calibre-5.44.0/src/calibre/utils/podofo/fonts.cpp: In function 'PyObject* dedup_type3_fonts(pdf::PDFDoc*, PyObject*)': /pbulk/work/misc/calibre/work/calibre-5.44.0/src/calibre/utils/podofo/fonts.cpp:347:5: error: 'PdfVecObjects' was not declared in this scope; did you mean 'PyVarObject'? 347 | PdfVecObjects &objects = self->doc->GetObjects(); | ^~~~~~~~~~~~~ | PyVarObject /pbulk/work/misc/calibre/work/calibre-5.44.0/src/calibre/utils/podofo/fonts.cpp:347:20: error: 'objects' was not declared in this scope; did you mean '_object'? 347 | PdfVecObjects &objects = self->doc->GetObjects(); | ^~~~~~~ | _object /pbulk/work/misc/calibre/work/calibre-5.44.0/src/calibre/utils/podofo/fonts.cpp:351:52: error: 'KeyType' is not a member of 'PoDoFo::PdfName' 351 | if (dictionary_has_key_name(dict, PdfName::KeyType, "Font")) { | ^~~~~~~ /pbulk/work/misc/calibre/work/calibre-5.44.0/src/calibre/utils/podofo/fonts.cpp:352:65: error: 'KeySubtype' is not a member of 'PoDoFo::PdfName' 352 | const std::string &font_type = dict.GetKey(PdfName::KeySubtype)->GetName().GetName(); | ^~~~~~~~~~ /pbulk/work/misc/calibre/work/calibre-5.44.0/src/calibre/utils/podofo/fonts.cpp:355:74: error: 'const class PoDoFo::PdfDictionary' has no member named 'GetKeys'; did you mean 'GetKey'? 355 | for (auto &x : dict.GetKey("CharProcs")->GetDictionary().GetKeys()) { | ^~~~~~~ | GetKey /pbulk/work/misc/calibre/work/calibre-5.44.0/src/calibre/utils/podofo/fonts.cpp:385:40: error: 'class PoDoFo::PdfObject' has no member named 'GetIndirectKey' 385 | PdfDictionary dict = font->GetIndirectKey("CharProcs")->GetDictionary(); | ^~~~~~~~~~~~~~ /pbulk/work/misc/calibre/work/calibre-5.44.0/src/calibre/utils/podofo/fonts.cpp:388:33: error: 'class PoDoFo::PdfDictionary' has no member named 'GetKeys'; did you mean 'GetKey'? 388 | for (auto &k : dict.GetKeys()) { | ^~~~~~~ | GetKey *** Error code 1 Stop. make[1]: stopped making "all" in /usr/pkgsrc/misc/calibre *** Error code 1 Stop. make: stopped making "all" in /usr/pkgsrc/misc/calibre