=> Bootstrap dependency digest>=20010302: found digest-20190127 ===> Skipping vulnerability checks. WARNING: No /var/db/pkg/pkg-vulnerabilities file found. WARNING: To fix run: `/usr/sbin/pkg_admin -K /var/db/pkg fetch-pkg-vulnerabilities'. ===> Building for calibre-3.40.1nb17 (cd /data/scratch/misc/calibre/work/calibre-3.40.1/ && /usr/bin/env FC_INC_DIR=/usr/pkg/include/fontconfig FC_LIB_DIR=/usr/pkg/lib PODOFO_INC_DIR=/usr/pkg/include/podofo PODOFO_LIB_DIR=/usr/pkg/lib SIP_BIN=/usr/pkg/bin/sip2.7 SIP_DIR=/usr/pkg/share/sip2.7 LFLAGS=\ \ \ -L/usr/lib\ -Wl,-R/usr/lib\ -L/usr/pkg/lib\ -Wl,-R/usr/pkg/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 PYTHON=/usr/pkg/bin/python2.7 CC=clang CFLAGS=-O2\ -I/usr/include\ -I/usr/pkg/include\ -I/usr/pkg/include/freetype2\ -I/usr/pkg/include/nss/nss\ -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/libdrm CPPFLAGS=-I/usr/include\ -I/usr/pkg/include\ -I/usr/pkg/include/freetype2\ -I/usr/pkg/include/nss/nss\ -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/libdrm CXX=clang++ CXXFLAGS=-O2\ -I/usr/include\ -I/usr/pkg/include\ -I/usr/pkg/include/freetype2\ -I/usr/pkg/include/nss/nss\ -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/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/lib\ -Wl,-R/usr/lib\ -L/usr/pkg/lib\ -Wl,-R/usr/pkg/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=/data/scratch/misc/calibre/work/.cwrapper/bin:/data/scratch/misc/calibre/work/.buildlink/bin:/data/scratch/misc/calibre/work/.tools/bin:/usr/pkg/bin:/usr/bin:/bin:/usr/pkg/bin:/usr/local/bin:/usr/pkg/bin:/usr/pkg/bin PREFIX=/usr/pkg MAKELEVEL=0 CONFIG_SITE= PKG_SYSCONFDIR=/usr/pkg/etc HOME=/data/scratch/misc/calibre/work/.home CWRAPPERS_CONFIG_DIR=/data/scratch/misc/calibre/work/.cwrapper/config CPP=clang-cpp LOCALBASE=/usr/pkg X11BASE=/usr/pkg PKGMANDIR=man PKGINFODIR=info PKGGNUDIR=gnu/ MAKECONF=/dev/null OBJECT_FMT=ELF USETOOLS=no LIBTOOL="/data/scratch/misc/calibre/work/.cwrapper/bin/libtool " BSD_INSTALL_PROGRAM=/usr/bin/install\ -c\ -s\ -o\ pbulkXXX\ -g\ users\ -m\ 755 BSD_INSTALL_SCRIPT=/usr/bin/install\ -c\ -o\ pbulkXXX\ -g\ users\ -m\ 755 BSD_INSTALL_LIB=/usr/bin/install\ -c\ -o\ pbulkXXX\ -g\ users\ -m\ 755 BSD_INSTALL_DATA=/usr/bin/install\ -c\ -o\ pbulkXXX\ -g\ users\ -m\ 644 BSD_INSTALL_MAN=/usr/bin/install\ -c\ -o\ pbulkXXX\ -g\ users\ -m\ 644 BSD_INSTALL=/usr/bin/install BSD_INSTALL_PROGRAM_DIR=/usr/bin/install\ -d\ -o\ pbulkXXX\ -g\ users\ -m\ 755 BSD_INSTALL_SCRIPT_DIR=/usr/bin/install\ -d\ -o\ pbulkXXX\ -g\ users\ -m\ 755 BSD_INSTALL_LIB_DIR=/usr/bin/install\ -d\ -o\ pbulkXXX\ -g\ users\ -m\ 755 BSD_INSTALL_DATA_DIR=/usr/bin/install\ -d\ -o\ pbulkXXX\ -g\ users\ -m\ 755 BSD_INSTALL_MAN_DIR=/usr/bin/install\ -d\ -o\ pbulkXXX\ -g\ users\ -m\ 755 BSD_INSTALL_GAME=/usr/bin/install\ -c\ -s\ -o\ pbulkXXX\ -g\ users\ -m\ 2555 BSD_INSTALL_GAME_DATA=/usr/bin/install\ -c\ -o\ pbulkXXX\ -g\ users\ -m\ 664 BSD_INSTALL_GAME_DIR=/usr/bin/install\ -d\ -o\ pbulkXXX\ -g\ users\ -m\ 775 INSTALL_INFO= MAKEINFO=/data/scratch/misc/calibre/work/.tools/bin/makeinfo FLEX= BISON= PKG_CONFIG=/data/scratch/misc/calibre/work/.tools/bin/pkg-config PKG_CONFIG_LIBDIR=/data/scratch/misc/calibre/work/.buildlink/lib/pkgconfig:/data/scratch/misc/calibre/work/.buildlink/share/pkgconfig PKG_CONFIG_LOG=/data/scratch/misc/calibre/work/.pkg-config.log PKG_CONFIG_PATH= CWRAPPERS_CONFIG_DIR=/data/scratch/misc/calibre/work/.cwrapper/config /usr/pkg/bin/python2.7 setup.py build ) * * Running build * ####### Building extension hunspell ####### Compiling hunspell clang++ -Wall -DNDEBUG -fno-strict-aliasing -pipe -fPIC -O2 -I/usr/include -I/usr/pkg/include -I/usr/pkg/include/freetype2 -I/usr/pkg/include/nss/nss -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/libdrm -fvisibility=hidden -pthread -I/usr/pkg/include/python2.7 -O2 -DHUNSPELL_STATIC -DCALIBRE_MODINIT_FUNC=extern "C" __attribute__ ((visibility ("default"))) void -I/data/scratch/misc/calibre/work/calibre-3.40.1/src/hunspell -c /data/scratch/misc/calibre/work/calibre-3.40.1/src/calibre/utils/spell/hunspell_wrapper.cpp -o /data/scratch/misc/calibre/work/calibre-3.40.1/build/objects/hunspell/hunspell_wrapper.o In file included from /data/scratch/misc/calibre/work/calibre-3.40.1/src/calibre/utils/spell/hunspell_wrapper.cpp:10: In file included from /data/scratch/misc/calibre/work/.buildlink/include/python2.7/Python.h:88: /data/scratch/misc/calibre/work/.buildlink/include/python2.7/unicodeobject.h:534:5: warning: 'register' storage class specifier is deprecated and incompatible with C++17 [-Wdeprecated-register] register PyObject *obj, /* Object */ ^~~~~~~~~ /data/scratch/misc/calibre/work/.buildlink/include/python2.7/unicodeobject.h:553:5: warning: 'register' storage class specifier is deprecated and incompatible with C++17 [-Wdeprecated-register] register PyObject *obj /* Object */ ^~~~~~~~~ /data/scratch/misc/calibre/work/.buildlink/include/python2.7/unicodeobject.h:575:5: warning: 'register' storage class specifier is deprecated and incompatible with C++17 [-Wdeprecated-register] register const wchar_t *w, /* wchar_t buffer */ ^~~~~~~~~ /data/scratch/misc/calibre/work/.buildlink/include/python2.7/unicodeobject.h:593:5: warning: 'register' storage class specifier is deprecated and incompatible with C++17 [-Wdeprecated-register] register wchar_t *w, /* wchar_t buffer */ ^~~~~~~~~ In file included from /data/scratch/misc/calibre/work/calibre-3.40.1/src/calibre/utils/spell/hunspell_wrapper.cpp:10: In file included from /data/scratch/misc/calibre/work/.buildlink/include/python2.7/Python.h:97: /data/scratch/misc/calibre/work/.buildlink/include/python2.7/stringobject.h:173:5: warning: 'register' storage class specifier is deprecated and incompatible with C++17 [-Wdeprecated-register] register PyObject *obj, /* string or Unicode object */ ^~~~~~~~~ /data/scratch/misc/calibre/work/.buildlink/include/python2.7/stringobject.h:174:5: warning: 'register' storage class specifier is deprecated and incompatible with C++17 [-Wdeprecated-register] register char **s, /* pointer to buffer variable */ ^~~~~~~~~ /data/scratch/misc/calibre/work/.buildlink/include/python2.7/stringobject.h:175:5: warning: 'register' storage class specifier is deprecated and incompatible with C++17 [-Wdeprecated-register] register Py_ssize_t *len /* pointer to length variable or NULL ^~~~~~~~~ 7 warnings generated. clang++ -Wall -DNDEBUG -fno-strict-aliasing -pipe -fPIC -O2 -I/usr/include -I/usr/pkg/include -I/usr/pkg/include/freetype2 -I/usr/pkg/include/nss/nss -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/libdrm -fvisibility=hidden -pthread -I/usr/pkg/include/python2.7 -O2 -DHUNSPELL_STATIC -DCALIBRE_MODINIT_FUNC=extern "C" __attribute__ ((visibility ("default"))) void -I/data/scratch/misc/calibre/work/calibre-3.40.1/src/hunspell -c /data/scratch/misc/calibre/work/calibre-3.40.1/src/hunspell/filemgr.cxx -o /data/scratch/misc/calibre/work/calibre-3.40.1/build/objects/hunspell/filemgr.o clang++ -Wall -DNDEBUG -fno-strict-aliasing -pipe -fPIC -O2 -I/usr/include -I/usr/pkg/include -I/usr/pkg/include/freetype2 -I/usr/pkg/include/nss/nss -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/libdrm -fvisibility=hidden -pthread -I/usr/pkg/include/python2.7 -O2 -DHUNSPELL_STATIC -DCALIBRE_MODINIT_FUNC=extern "C" __attribute__ ((visibility ("default"))) void -I/data/scratch/misc/calibre/work/calibre-3.40.1/src/hunspell -c /data/scratch/misc/calibre/work/calibre-3.40.1/src/hunspell/replist.cxx -o /data/scratch/misc/calibre/work/calibre-3.40.1/build/objects/hunspell/replist.o clang++ -Wall -DNDEBUG -fno-strict-aliasing -pipe -fPIC -O2 -I/usr/include -I/usr/pkg/include -I/usr/pkg/include/freetype2 -I/usr/pkg/include/nss/nss -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/libdrm -fvisibility=hidden -pthread -I/usr/pkg/include/python2.7 -O2 -DHUNSPELL_STATIC -DCALIBRE_MODINIT_FUNC=extern "C" __attribute__ ((visibility ("default"))) void -I/data/scratch/misc/calibre/work/calibre-3.40.1/src/hunspell -c /data/scratch/misc/calibre/work/calibre-3.40.1/src/hunspell/suggestmgr.cxx -o /data/scratch/misc/calibre/work/calibre-3.40.1/build/objects/hunspell/suggestmgr.o clang++ -Wall -DNDEBUG -fno-strict-aliasing -pipe -fPIC -O2 -I/usr/include -I/usr/pkg/include -I/usr/pkg/include/freetype2 -I/usr/pkg/include/nss/nss -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/libdrm -fvisibility=hidden -pthread -I/usr/pkg/include/python2.7 -O2 -DHUNSPELL_STATIC -DCALIBRE_MODINIT_FUNC=extern "C" __attribute__ ((visibility ("default"))) void -I/data/scratch/misc/calibre/work/calibre-3.40.1/src/hunspell -c /data/scratch/misc/calibre/work/calibre-3.40.1/src/hunspell/affixmgr.cxx -o /data/scratch/misc/calibre/work/calibre-3.40.1/build/objects/hunspell/affixmgr.o clang++ -Wall -DNDEBUG -fno-strict-aliasing -pipe -fPIC -O2 -I/usr/include -I/usr/pkg/include -I/usr/pkg/include/freetype2 -I/usr/pkg/include/nss/nss -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/libdrm -fvisibility=hidden -pthread -I/usr/pkg/include/python2.7 -O2 -DHUNSPELL_STATIC -DCALIBRE_MODINIT_FUNC=extern "C" __attribute__ ((visibility ("default"))) void -I/data/scratch/misc/calibre/work/calibre-3.40.1/src/hunspell -c /data/scratch/misc/calibre/work/calibre-3.40.1/src/hunspell/hunspell.cxx -o /data/scratch/misc/calibre/work/calibre-3.40.1/build/objects/hunspell/hunspell.o clang++ -Wall -DNDEBUG -fno-strict-aliasing -pipe -fPIC -O2 -I/usr/include -I/usr/pkg/include -I/usr/pkg/include/freetype2 -I/usr/pkg/include/nss/nss -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/libdrm -fvisibility=hidden -pthread -I/usr/pkg/include/python2.7 -O2 -DHUNSPELL_STATIC -DCALIBRE_MODINIT_FUNC=extern "C" __attribute__ ((visibility ("default"))) void -I/data/scratch/misc/calibre/work/calibre-3.40.1/src/hunspell -c /data/scratch/misc/calibre/work/calibre-3.40.1/src/hunspell/affentry.cxx -o /data/scratch/misc/calibre/work/calibre-3.40.1/build/objects/hunspell/affentry.o /data/scratch/misc/calibre/work/calibre-3.40.1/src/hunspell/affentry.cxx:579:57: warning: while loop has empty body [-Wempty-body] while (p && *p != ']' && ((p = nextchar(p)) != NULL)); ^ /data/scratch/misc/calibre/work/calibre-3.40.1/src/hunspell/affentry.cxx:579:57: note: put the semicolon on a separate line to silence this warning 1 warning generated. clang++ -Wall -DNDEBUG -fno-strict-aliasing -pipe -fPIC -O2 -I/usr/include -I/usr/pkg/include -I/usr/pkg/include/freetype2 -I/usr/pkg/include/nss/nss -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/libdrm -fvisibility=hidden -pthread -I/usr/pkg/include/python2.7 -O2 -DHUNSPELL_STATIC -DCALIBRE_MODINIT_FUNC=extern "C" __attribute__ ((visibility ("default"))) void -I/data/scratch/misc/calibre/work/calibre-3.40.1/src/hunspell -c /data/scratch/misc/calibre/work/calibre-3.40.1/src/hunspell/phonet.cxx -o /data/scratch/misc/calibre/work/calibre-3.40.1/build/objects/hunspell/phonet.o clang++ -Wall -DNDEBUG -fno-strict-aliasing -pipe -fPIC -O2 -I/usr/include -I/usr/pkg/include -I/usr/pkg/include/freetype2 -I/usr/pkg/include/nss/nss -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/libdrm -fvisibility=hidden -pthread -I/usr/pkg/include/python2.7 -O2 -DHUNSPELL_STATIC -DCALIBRE_MODINIT_FUNC=extern "C" __attribute__ ((visibility ("default"))) void -I/data/scratch/misc/calibre/work/calibre-3.40.1/src/hunspell -c /data/scratch/misc/calibre/work/calibre-3.40.1/src/hunspell/dictmgr.cxx -o /data/scratch/misc/calibre/work/calibre-3.40.1/build/objects/hunspell/dictmgr.o clang++ -Wall -DNDEBUG -fno-strict-aliasing -pipe -fPIC -O2 -I/usr/include -I/usr/pkg/include -I/usr/pkg/include/freetype2 -I/usr/pkg/include/nss/nss -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/libdrm -fvisibility=hidden -pthread -I/usr/pkg/include/python2.7 -O2 -DHUNSPELL_STATIC -DCALIBRE_MODINIT_FUNC=extern "C" __attribute__ ((visibility ("default"))) void -I/data/scratch/misc/calibre/work/calibre-3.40.1/src/hunspell -c /data/scratch/misc/calibre/work/calibre-3.40.1/src/hunspell/hashmgr.cxx -o /data/scratch/misc/calibre/work/calibre-3.40.1/build/objects/hunspell/hashmgr.o In file included from /data/scratch/misc/calibre/work/calibre-3.40.1/src/hunspell/hashmgr.cxx:10: /data/scratch/misc/calibre/work/calibre-3.40.1/src/hunspell/hashmgr.hxx:17:21: warning: private field 'userword' is not used [-Wunused-private-field] int userword; ^ 1 warning generated. clang++ -Wall -DNDEBUG -fno-strict-aliasing -pipe -fPIC -O2 -I/usr/include -I/usr/pkg/include -I/usr/pkg/include/freetype2 -I/usr/pkg/include/nss/nss -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/libdrm -fvisibility=hidden -pthread -I/usr/pkg/include/python2.7 -O2 -DHUNSPELL_STATIC -DCALIBRE_MODINIT_FUNC=extern "C" __attribute__ ((visibility ("default"))) void -I/data/scratch/misc/calibre/work/calibre-3.40.1/src/hunspell -c /data/scratch/misc/calibre/work/calibre-3.40.1/src/hunspell/csutil.cxx -o /data/scratch/misc/calibre/work/calibre-3.40.1/build/objects/hunspell/csutil.o Linking hunspell clang++ /data/scratch/misc/calibre/work/calibre-3.40.1/build/objects/hunspell/hunspell_wrapper.o /data/scratch/misc/calibre/work/calibre-3.40.1/build/objects/hunspell/filemgr.o /data/scratch/misc/calibre/work/calibre-3.40.1/build/objects/hunspell/replist.o /data/scratch/misc/calibre/work/calibre-3.40.1/build/objects/hunspell/suggestmgr.o /data/scratch/misc/calibre/work/calibre-3.40.1/build/objects/hunspell/affixmgr.o /data/scratch/misc/calibre/work/calibre-3.40.1/build/objects/hunspell/hunspell.o /data/scratch/misc/calibre/work/calibre-3.40.1/build/objects/hunspell/affentry.o /data/scratch/misc/calibre/work/calibre-3.40.1/build/objects/hunspell/phonet.o /data/scratch/misc/calibre/work/calibre-3.40.1/build/objects/hunspell/dictmgr.o /data/scratch/misc/calibre/work/calibre-3.40.1/build/objects/hunspell/hashmgr.o /data/scratch/misc/calibre/work/calibre-3.40.1/build/objects/hunspell/csutil.o -o /data/scratch/misc/calibre/work/calibre-3.40.1/src/calibre/plugins/hunspell.so -Wall -L/usr/lib -Wl,-R/usr/lib -L/usr/pkg/lib -Wl,-R/usr/pkg/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 -shared -lpython2.7 /usr/bin/ld: /data/scratch/misc/calibre/work/.buildlink/lib/libpython2.7.so: warning: warning: tmpnam() possibly used unsafely, use mkstemp() or mkdtemp() /usr/bin/ld: /data/scratch/misc/calibre/work/.buildlink/lib/libpython2.7.so: warning: warning: tempnam() possibly used unsafely, use mkstemp() or mkdtemp() ####### Building extension monotonic ####### Compiling monotonic clang -Wall -DNDEBUG -fno-strict-aliasing -pipe -fPIC -O2 -I/usr/include -I/usr/pkg/include -I/usr/pkg/include/freetype2 -I/usr/pkg/include/nss/nss -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/libdrm -fvisibility=hidden -pthread -I/usr/pkg/include/python2.7 -O3 -DCALIBRE_MODINIT_FUNC= __attribute__ ((visibility ("default"))) void -c /data/scratch/misc/calibre/work/calibre-3.40.1/src/calibre/utils/monotonic.c -o /data/scratch/misc/calibre/work/calibre-3.40.1/build/objects/monotonic/monotonic.o Linking monotonic clang /data/scratch/misc/calibre/work/calibre-3.40.1/build/objects/monotonic/monotonic.o -o /data/scratch/misc/calibre/work/calibre-3.40.1/src/calibre/plugins/monotonic.so -Wall -L/usr/lib -Wl,-R/usr/lib -L/usr/pkg/lib -Wl,-R/usr/pkg/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 -shared -lpython2.7 /usr/bin/ld: /data/scratch/misc/calibre/work/.buildlink/lib/libpython2.7.so: warning: warning: tmpnam() possibly used unsafely, use mkstemp() or mkdtemp() /usr/bin/ld: /data/scratch/misc/calibre/work/.buildlink/lib/libpython2.7.so: warning: warning: tempnam() possibly used unsafely, use mkstemp() or mkdtemp() ####### Building extension unicode_names ####### Compiling unicode_names clang -Wall -DNDEBUG -fno-strict-aliasing -pipe -fPIC -O2 -I/usr/include -I/usr/pkg/include -I/usr/pkg/include/freetype2 -I/usr/pkg/include/nss/nss -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/libdrm -fvisibility=hidden -pthread -I/usr/pkg/include/python2.7 -O3 -std=c99 -DCALIBRE_MODINIT_FUNC= __attribute__ ((visibility ("default"))) void -c /data/scratch/misc/calibre/work/calibre-3.40.1/src/unicode_names/unicode_names.c -o /data/scratch/misc/calibre/work/calibre-3.40.1/build/objects/unicode_names/unicode_names.o Linking unicode_names clang /data/scratch/misc/calibre/work/calibre-3.40.1/build/objects/unicode_names/unicode_names.o -o /data/scratch/misc/calibre/work/calibre-3.40.1/src/calibre/plugins/unicode_names.so -Wall -L/usr/lib -Wl,-R/usr/lib -L/usr/pkg/lib -Wl,-R/usr/pkg/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 -shared -lpython2.7 /usr/bin/ld: /data/scratch/misc/calibre/work/.buildlink/lib/libpython2.7.so: warning: warning: tmpnam() possibly used unsafely, use mkstemp() or mkdtemp() /usr/bin/ld: /data/scratch/misc/calibre/work/.buildlink/lib/libpython2.7.so: warning: warning: tempnam() possibly used unsafely, use mkstemp() or mkdtemp() ####### Building extension speedup ####### Compiling speedup clang -Wall -DNDEBUG -fno-strict-aliasing -pipe -fPIC -O2 -I/usr/include -I/usr/pkg/include -I/usr/pkg/include/freetype2 -I/usr/pkg/include/nss/nss -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/libdrm -fvisibility=hidden -pthread -I/usr/pkg/include/python2.7 -O3 -DCALIBRE_MODINIT_FUNC= __attribute__ ((visibility ("default"))) void -c /data/scratch/misc/calibre/work/calibre-3.40.1/src/calibre/utils/speedup.c -o /data/scratch/misc/calibre/work/calibre-3.40.1/build/objects/speedup/speedup.o /data/scratch/misc/calibre/work/calibre-3.40.1/src/calibre/utils/speedup.c:202:32: warning: implicit conversion from 'int' to 'float' changes value from 2147483647 to 2147483648 [-Wimplicit-const-int-float-conversion] if (((float)(rand()) / RAND_MAX) <= density) mask[i] = blend_alpha; ~ ^~~~~~~~ /usr/include/stdlib.h:90:18: note: expanded from macro 'RAND_MAX' #define RAND_MAX 0x7fffffff ^~~~~~~~~~ 1 warning generated. Linking speedup clang /data/scratch/misc/calibre/work/calibre-3.40.1/build/objects/speedup/speedup.o -o /data/scratch/misc/calibre/work/calibre-3.40.1/src/calibre/plugins/speedup.so -Wall -L/usr/lib -Wl,-R/usr/lib -L/usr/pkg/lib -Wl,-R/usr/pkg/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 -shared -lpython2.7 -lm /usr/bin/ld: /data/scratch/misc/calibre/work/.buildlink/lib/libpython2.7.so: warning: warning: tmpnam() possibly used unsafely, use mkstemp() or mkdtemp() /usr/bin/ld: /data/scratch/misc/calibre/work/.buildlink/lib/libpython2.7.so: warning: warning: tempnam() possibly used unsafely, use mkstemp() or mkdtemp() ####### Building extension zlib2 ####### Compiling zlib2 clang -Wall -DNDEBUG -fno-strict-aliasing -pipe -fPIC -O2 -I/usr/include -I/usr/pkg/include -I/usr/pkg/include/freetype2 -I/usr/pkg/include/nss/nss -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/libdrm -fvisibility=hidden -pthread -I/usr/pkg/include/python2.7 -O3 -DCALIBRE_MODINIT_FUNC= __attribute__ ((visibility ("default"))) void -c /data/scratch/misc/calibre/work/calibre-3.40.1/src/calibre/utils/zlib2.c -o /data/scratch/misc/calibre/work/calibre-3.40.1/build/objects/zlib2/zlib2.o Linking zlib2 clang /data/scratch/misc/calibre/work/calibre-3.40.1/build/objects/zlib2/zlib2.o -o /data/scratch/misc/calibre/work/calibre-3.40.1/src/calibre/plugins/zlib2.so -Wall -L/usr/lib -Wl,-R/usr/lib -L/usr/pkg/lib -Wl,-R/usr/pkg/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 -shared -lpython2.7 -lz /usr/bin/ld: /data/scratch/misc/calibre/work/.buildlink/lib/libpython2.7.so: warning: warning: tmpnam() possibly used unsafely, use mkstemp() or mkdtemp() /usr/bin/ld: /data/scratch/misc/calibre/work/.buildlink/lib/libpython2.7.so: warning: warning: tempnam() possibly used unsafely, use mkstemp() or mkdtemp() ####### Building extension certgen ####### Compiling certgen clang -Wall -DNDEBUG -fno-strict-aliasing -pipe -fPIC -O2 -I/usr/include -I/usr/pkg/include -I/usr/pkg/include/freetype2 -I/usr/pkg/include/nss/nss -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/libdrm -fvisibility=hidden -pthread -I/usr/pkg/include/python2.7 -O3 -DCALIBRE_MODINIT_FUNC= __attribute__ ((visibility ("default"))) void -c /data/scratch/misc/calibre/work/calibre-3.40.1/src/calibre/utils/certgen.c -o /data/scratch/misc/calibre/work/calibre-3.40.1/build/objects/certgen/certgen.o Linking certgen clang /data/scratch/misc/calibre/work/calibre-3.40.1/build/objects/certgen/certgen.o -o /data/scratch/misc/calibre/work/calibre-3.40.1/src/calibre/plugins/certgen.so -Wall -L/usr/lib -Wl,-R/usr/lib -L/usr/pkg/lib -Wl,-R/usr/pkg/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 -shared -lpython2.7 -lcrypto /usr/bin/ld: /data/scratch/misc/calibre/work/.buildlink/lib/libpython2.7.so: warning: warning: tmpnam() possibly used unsafely, use mkstemp() or mkdtemp() /usr/bin/ld: /data/scratch/misc/calibre/work/.buildlink/lib/libpython2.7.so: warning: warning: tempnam() possibly used unsafely, use mkstemp() or mkdtemp() ####### Building extension html ####### Compiling html clang -Wall -DNDEBUG -fno-strict-aliasing -pipe -fPIC -O2 -I/usr/include -I/usr/pkg/include -I/usr/pkg/include/freetype2 -I/usr/pkg/include/nss/nss -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/libdrm -fvisibility=hidden -pthread -I/usr/pkg/include/python2.7 -O3 -DCALIBRE_MODINIT_FUNC= __attribute__ ((visibility ("default"))) void -c /data/scratch/misc/calibre/work/calibre-3.40.1/src/calibre/gui2/tweak_book/editor/syntax/html.c -o /data/scratch/misc/calibre/work/calibre-3.40.1/build/objects/html/html.o Linking html clang /data/scratch/misc/calibre/work/calibre-3.40.1/build/objects/html/html.o -o /data/scratch/misc/calibre/work/calibre-3.40.1/src/calibre/plugins/html.so -Wall -L/usr/lib -Wl,-R/usr/lib -L/usr/pkg/lib -Wl,-R/usr/pkg/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 -shared -lpython2.7 /usr/bin/ld: /data/scratch/misc/calibre/work/.buildlink/lib/libpython2.7.so: warning: warning: tmpnam() possibly used unsafely, use mkstemp() or mkdtemp() /usr/bin/ld: /data/scratch/misc/calibre/work/.buildlink/lib/libpython2.7.so: warning: warning: tempnam() possibly used unsafely, use mkstemp() or mkdtemp() ####### Building extension tokenizer ####### Compiling tokenizer clang -Wall -DNDEBUG -fno-strict-aliasing -pipe -fPIC -O2 -I/usr/include -I/usr/pkg/include -I/usr/pkg/include/freetype2 -I/usr/pkg/include/nss/nss -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/libdrm -fvisibility=hidden -pthread -I/usr/pkg/include/python2.7 -O3 -DCALIBRE_MODINIT_FUNC= __attribute__ ((visibility ("default"))) void -c /data/scratch/misc/calibre/work/calibre-3.40.1/src/tinycss/tokenizer.c -o /data/scratch/misc/calibre/work/calibre-3.40.1/build/objects/tokenizer/tokenizer.o Linking tokenizer clang /data/scratch/misc/calibre/work/calibre-3.40.1/build/objects/tokenizer/tokenizer.o -o /data/scratch/misc/calibre/work/calibre-3.40.1/src/calibre/plugins/tokenizer.so -Wall -L/usr/lib -Wl,-R/usr/lib -L/usr/pkg/lib -Wl,-R/usr/pkg/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 -shared -lpython2.7 /usr/bin/ld: /data/scratch/misc/calibre/work/.buildlink/lib/libpython2.7.so: warning: warning: tmpnam() possibly used unsafely, use mkstemp() or mkdtemp() /usr/bin/ld: /data/scratch/misc/calibre/work/.buildlink/lib/libpython2.7.so: warning: warning: tempnam() possibly used unsafely, use mkstemp() or mkdtemp() ####### Building extension _patiencediff_c ####### Compiling _patiencediff_c clang -Wall -DNDEBUG -fno-strict-aliasing -pipe -fPIC -O2 -I/usr/include -I/usr/pkg/include -I/usr/pkg/include/freetype2 -I/usr/pkg/include/nss/nss -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/libdrm -fvisibility=hidden -pthread -I/usr/pkg/include/python2.7 -O3 -DCALIBRE_MODINIT_FUNC= __attribute__ ((visibility ("default"))) void -c /data/scratch/misc/calibre/work/calibre-3.40.1/src/calibre/gui2/tweak_book/diff/_patiencediff_c.c -o /data/scratch/misc/calibre/work/calibre-3.40.1/build/objects/_patiencediff_c/_patiencediff_c.o Linking _patiencediff_c clang /data/scratch/misc/calibre/work/calibre-3.40.1/build/objects/_patiencediff_c/_patiencediff_c.o -o /data/scratch/misc/calibre/work/calibre-3.40.1/src/calibre/plugins/_patiencediff_c.so -Wall -L/usr/lib -Wl,-R/usr/lib -L/usr/pkg/lib -Wl,-R/usr/pkg/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 -shared -lpython2.7 /usr/bin/ld: /data/scratch/misc/calibre/work/.buildlink/lib/libpython2.7.so: warning: warning: tmpnam() possibly used unsafely, use mkstemp() or mkdtemp() /usr/bin/ld: /data/scratch/misc/calibre/work/.buildlink/lib/libpython2.7.so: warning: warning: tempnam() possibly used unsafely, use mkstemp() or mkdtemp() ####### Building extension icu ####### Compiling icu clang -Wall -DNDEBUG -fno-strict-aliasing -pipe -fPIC -O2 -I/usr/include -I/usr/pkg/include -I/usr/pkg/include/freetype2 -I/usr/pkg/include/nss/nss -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/libdrm -fvisibility=hidden -pthread -I/usr/pkg/include/python2.7 -O3 -DCALIBRE_MODINIT_FUNC= __attribute__ ((visibility ("default"))) void -c /data/scratch/misc/calibre/work/calibre-3.40.1/src/calibre/utils/icu.c -o /data/scratch/misc/calibre/work/calibre-3.40.1/build/objects/icu/icu.o Linking icu clang /data/scratch/misc/calibre/work/calibre-3.40.1/build/objects/icu/icu.o -o /data/scratch/misc/calibre/work/calibre-3.40.1/src/calibre/plugins/icu.so -Wall -L/usr/lib -Wl,-R/usr/lib -L/usr/pkg/lib -Wl,-R/usr/pkg/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 -shared -lpython2.7 -licudata -licui18n -licuuc -licuio /usr/bin/ld: /data/scratch/misc/calibre/work/.buildlink/lib/libpython2.7.so: warning: warning: tmpnam() possibly used unsafely, use mkstemp() or mkdtemp() /usr/bin/ld: /data/scratch/misc/calibre/work/.buildlink/lib/libpython2.7.so: warning: warning: tempnam() possibly used unsafely, use mkstemp() or mkdtemp() ####### Building extension matcher ####### Compiling matcher clang -Wall -DNDEBUG -fno-strict-aliasing -pipe -fPIC -O2 -I/usr/include -I/usr/pkg/include -I/usr/pkg/include/freetype2 -I/usr/pkg/include/nss/nss -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/libdrm -fvisibility=hidden -pthread -I/usr/pkg/include/python2.7 -O3 -DCALIBRE_MODINIT_FUNC= __attribute__ ((visibility ("default"))) void -c /data/scratch/misc/calibre/work/calibre-3.40.1/src/calibre/utils/matcher.c -o /data/scratch/misc/calibre/work/calibre-3.40.1/build/objects/matcher/matcher.o Linking matcher clang /data/scratch/misc/calibre/work/calibre-3.40.1/build/objects/matcher/matcher.o -o /data/scratch/misc/calibre/work/calibre-3.40.1/src/calibre/plugins/matcher.so -Wall -L/usr/lib -Wl,-R/usr/lib -L/usr/pkg/lib -Wl,-R/usr/pkg/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 -shared -lpython2.7 -licudata -licui18n -licuuc -licuio /usr/bin/ld: /data/scratch/misc/calibre/work/.buildlink/lib/libpython2.7.so: warning: warning: tmpnam() possibly used unsafely, use mkstemp() or mkdtemp() /usr/bin/ld: /data/scratch/misc/calibre/work/.buildlink/lib/libpython2.7.so: warning: warning: tempnam() possibly used unsafely, use mkstemp() or mkdtemp() ####### Building extension sqlite_custom ####### Compiling sqlite_custom clang -Wall -DNDEBUG -fno-strict-aliasing -pipe -fPIC -O2 -I/usr/include -I/usr/pkg/include -I/usr/pkg/include/freetype2 -I/usr/pkg/include/nss/nss -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/libdrm -fvisibility=hidden -pthread -I/usr/pkg/include/python2.7 -O3 -DCALIBRE_MODINIT_FUNC= __attribute__ ((visibility ("default"))) void -c /data/scratch/misc/calibre/work/calibre-3.40.1/src/calibre/library/sqlite_custom.c -o /data/scratch/misc/calibre/work/calibre-3.40.1/build/objects/sqlite_custom/sqlite_custom.o Linking sqlite_custom clang /data/scratch/misc/calibre/work/calibre-3.40.1/build/objects/sqlite_custom/sqlite_custom.o -o /data/scratch/misc/calibre/work/calibre-3.40.1/src/calibre/plugins/sqlite_custom.so -Wall -L/usr/lib -Wl,-R/usr/lib -L/usr/pkg/lib -Wl,-R/usr/pkg/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 -shared -lpython2.7 /usr/bin/ld: /data/scratch/misc/calibre/work/.buildlink/lib/libpython2.7.so: warning: warning: tmpnam() possibly used unsafely, use mkstemp() or mkdtemp() /usr/bin/ld: /data/scratch/misc/calibre/work/.buildlink/lib/libpython2.7.so: warning: warning: tempnam() possibly used unsafely, use mkstemp() or mkdtemp() ####### Building extension chmlib ####### Compiling chmlib clang -Wall -DNDEBUG -fno-strict-aliasing -pipe -fPIC -O2 -I/usr/include -I/usr/pkg/include -I/usr/pkg/include/freetype2 -I/usr/pkg/include/nss/nss -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/libdrm -fvisibility=hidden -pthread -I/usr/pkg/include/python2.7 -O3 -DSWIG_COBJECT_TYPES -DCALIBRE_MODINIT_FUNC= __attribute__ ((visibility ("default"))) void -c /data/scratch/misc/calibre/work/calibre-3.40.1/src/calibre/utils/chm/swig_chm.c -o /data/scratch/misc/calibre/work/calibre-3.40.1/build/objects/chmlib/swig_chm.o Linking chmlib clang /data/scratch/misc/calibre/work/calibre-3.40.1/build/objects/chmlib/swig_chm.o -o /data/scratch/misc/calibre/work/calibre-3.40.1/src/calibre/plugins/chmlib.so -Wall -L/usr/lib -Wl,-R/usr/lib -L/usr/pkg/lib -Wl,-R/usr/pkg/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 -shared -lpython2.7 -lchm /usr/bin/ld: /data/scratch/misc/calibre/work/.buildlink/lib/libpython2.7.so: warning: warning: tmpnam() possibly used unsafely, use mkstemp() or mkdtemp() /usr/bin/ld: /data/scratch/misc/calibre/work/.buildlink/lib/libpython2.7.so: warning: warning: tempnam() possibly used unsafely, use mkstemp() or mkdtemp() ####### Building extension lzx ####### Compiling lzx clang -Wall -DNDEBUG -fno-strict-aliasing -pipe -fPIC -O2 -I/usr/include -I/usr/pkg/include -I/usr/pkg/include/freetype2 -I/usr/pkg/include/nss/nss -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/libdrm -fvisibility=hidden -pthread -I/usr/pkg/include/python2.7 -O3 -DCALIBRE_MODINIT_FUNC= __attribute__ ((visibility ("default"))) void -I/data/scratch/misc/calibre/work/calibre-3.40.1/src/calibre/utils/lzx -c /data/scratch/misc/calibre/work/calibre-3.40.1/src/calibre/utils/lzx/compressor.c -o /data/scratch/misc/calibre/work/calibre-3.40.1/build/objects/lzx/compressor.o clang -Wall -DNDEBUG -fno-strict-aliasing -pipe -fPIC -O2 -I/usr/include -I/usr/pkg/include -I/usr/pkg/include/freetype2 -I/usr/pkg/include/nss/nss -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/libdrm -fvisibility=hidden -pthread -I/usr/pkg/include/python2.7 -O3 -DCALIBRE_MODINIT_FUNC= __attribute__ ((visibility ("default"))) void -I/data/scratch/misc/calibre/work/calibre-3.40.1/src/calibre/utils/lzx -c /data/scratch/misc/calibre/work/calibre-3.40.1/src/calibre/utils/lzx/lzc.c -o /data/scratch/misc/calibre/work/calibre-3.40.1/build/objects/lzx/lzc.o clang -Wall -DNDEBUG -fno-strict-aliasing -pipe -fPIC -O2 -I/usr/include -I/usr/pkg/include -I/usr/pkg/include/freetype2 -I/usr/pkg/include/nss/nss -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/libdrm -fvisibility=hidden -pthread -I/usr/pkg/include/python2.7 -O3 -DCALIBRE_MODINIT_FUNC= __attribute__ ((visibility ("default"))) void -I/data/scratch/misc/calibre/work/calibre-3.40.1/src/calibre/utils/lzx -c /data/scratch/misc/calibre/work/calibre-3.40.1/src/calibre/utils/lzx/lzxmodule.c -o /data/scratch/misc/calibre/work/calibre-3.40.1/build/objects/lzx/lzxmodule.o clang -Wall -DNDEBUG -fno-strict-aliasing -pipe -fPIC -O2 -I/usr/include -I/usr/pkg/include -I/usr/pkg/include/freetype2 -I/usr/pkg/include/nss/nss -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/libdrm -fvisibility=hidden -pthread -I/usr/pkg/include/python2.7 -O3 -DCALIBRE_MODINIT_FUNC= __attribute__ ((visibility ("default"))) void -I/data/scratch/misc/calibre/work/calibre-3.40.1/src/calibre/utils/lzx -c /data/scratch/misc/calibre/work/calibre-3.40.1/src/calibre/utils/lzx/lzxd.c -o /data/scratch/misc/calibre/work/calibre-3.40.1/build/objects/lzx/lzxd.o clang -Wall -DNDEBUG -fno-strict-aliasing -pipe -fPIC -O2 -I/usr/include -I/usr/pkg/include -I/usr/pkg/include/freetype2 -I/usr/pkg/include/nss/nss -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/libdrm -fvisibility=hidden -pthread -I/usr/pkg/include/python2.7 -O3 -DCALIBRE_MODINIT_FUNC= __attribute__ ((visibility ("default"))) void -I/data/scratch/misc/calibre/work/calibre-3.40.1/src/calibre/utils/lzx -c /data/scratch/misc/calibre/work/calibre-3.40.1/src/calibre/utils/lzx/lzxc.c -o /data/scratch/misc/calibre/work/calibre-3.40.1/build/objects/lzx/lzxc.o Linking lzx clang /data/scratch/misc/calibre/work/calibre-3.40.1/build/objects/lzx/compressor.o /data/scratch/misc/calibre/work/calibre-3.40.1/build/objects/lzx/lzc.o /data/scratch/misc/calibre/work/calibre-3.40.1/build/objects/lzx/lzxmodule.o /data/scratch/misc/calibre/work/calibre-3.40.1/build/objects/lzx/lzxd.o /data/scratch/misc/calibre/work/calibre-3.40.1/build/objects/lzx/lzxc.o -o /data/scratch/misc/calibre/work/calibre-3.40.1/src/calibre/plugins/lzx.so -Wall -L/usr/lib -Wl,-R/usr/lib -L/usr/pkg/lib -Wl,-R/usr/pkg/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 -shared -lpython2.7 /usr/bin/ld: /data/scratch/misc/calibre/work/.buildlink/lib/libpython2.7.so: warning: warning: tmpnam() possibly used unsafely, use mkstemp() or mkdtemp() /usr/bin/ld: /data/scratch/misc/calibre/work/.buildlink/lib/libpython2.7.so: warning: warning: tempnam() possibly used unsafely, use mkstemp() or mkdtemp() ####### Building extension freetype ####### Compiling freetype clang++ -Wall -DNDEBUG -fno-strict-aliasing -pipe -fPIC -O2 -I/usr/include -I/usr/pkg/include -I/usr/pkg/include/freetype2 -I/usr/pkg/include/nss/nss -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/libdrm -fvisibility=hidden -pthread -I/usr/pkg/include/python2.7 -O3 -DCALIBRE_MODINIT_FUNC=extern "C" __attribute__ ((visibility ("default"))) void -I/usr/pkg/include/freetype2 -c /data/scratch/misc/calibre/work/calibre-3.40.1/src/calibre/utils/fonts/freetype.cpp -o /data/scratch/misc/calibre/work/calibre-3.40.1/build/objects/freetype/freetype.o In file included from /data/scratch/misc/calibre/work/calibre-3.40.1/src/calibre/utils/fonts/freetype.cpp:11: In file included from /data/scratch/misc/calibre/work/.buildlink/include/python2.7/Python.h:88: /data/scratch/misc/calibre/work/.buildlink/include/python2.7/unicodeobject.h:534:5: warning: 'register' storage class specifier is deprecated and incompatible with C++17 [-Wdeprecated-register] register PyObject *obj, /* Object */ ^~~~~~~~~ /data/scratch/misc/calibre/work/.buildlink/include/python2.7/unicodeobject.h:553:5: warning: 'register' storage class specifier is deprecated and incompatible with C++17 [-Wdeprecated-register] register PyObject *obj /* Object */ ^~~~~~~~~ /data/scratch/misc/calibre/work/.buildlink/include/python2.7/unicodeobject.h:575:5: warning: 'register' storage class specifier is deprecated and incompatible with C++17 [-Wdeprecated-register] register const wchar_t *w, /* wchar_t buffer */ ^~~~~~~~~ /data/scratch/misc/calibre/work/.buildlink/include/python2.7/unicodeobject.h:593:5: warning: 'register' storage class specifier is deprecated and incompatible with C++17 [-Wdeprecated-register] register wchar_t *w, /* wchar_t buffer */ ^~~~~~~~~ In file included from /data/scratch/misc/calibre/work/calibre-3.40.1/src/calibre/utils/fonts/freetype.cpp:11: In file included from /data/scratch/misc/calibre/work/.buildlink/include/python2.7/Python.h:97: /data/scratch/misc/calibre/work/.buildlink/include/python2.7/stringobject.h:173:5: warning: 'register' storage class specifier is deprecated and incompatible with C++17 [-Wdeprecated-register] register PyObject *obj, /* string or Unicode object */ ^~~~~~~~~ /data/scratch/misc/calibre/work/.buildlink/include/python2.7/stringobject.h:174:5: warning: 'register' storage class specifier is deprecated and incompatible with C++17 [-Wdeprecated-register] register char **s, /* pointer to buffer variable */ ^~~~~~~~~ /data/scratch/misc/calibre/work/.buildlink/include/python2.7/stringobject.h:175:5: warning: 'register' storage class specifier is deprecated and incompatible with C++17 [-Wdeprecated-register] register Py_ssize_t *len /* pointer to length variable or NULL ^~~~~~~~~ 7 warnings generated. Linking freetype clang++ /data/scratch/misc/calibre/work/calibre-3.40.1/build/objects/freetype/freetype.o -o /data/scratch/misc/calibre/work/calibre-3.40.1/src/calibre/plugins/freetype.so -Wall -L/usr/lib -Wl,-R/usr/lib -L/usr/pkg/lib -Wl,-R/usr/pkg/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 -shared -lpython2.7 -L/usr/pkg/lib -lfreetype /usr/bin/ld: /data/scratch/misc/calibre/work/.buildlink/lib/libpython2.7.so: warning: warning: tmpnam() possibly used unsafely, use mkstemp() or mkdtemp() /usr/bin/ld: /data/scratch/misc/calibre/work/.buildlink/lib/libpython2.7.so: warning: warning: tempnam() possibly used unsafely, use mkstemp() or mkdtemp() ####### Building extension msdes ####### Compiling msdes clang -Wall -DNDEBUG -fno-strict-aliasing -pipe -fPIC -O2 -I/usr/include -I/usr/pkg/include -I/usr/pkg/include/freetype2 -I/usr/pkg/include/nss/nss -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/libdrm -fvisibility=hidden -pthread -I/usr/pkg/include/python2.7 -O3 -DCALIBRE_MODINIT_FUNC= __attribute__ ((visibility ("default"))) void -I/data/scratch/misc/calibre/work/calibre-3.40.1/src/calibre/utils/msdes -c /data/scratch/misc/calibre/work/calibre-3.40.1/src/calibre/utils/msdes/msdesmodule.c -o /data/scratch/misc/calibre/work/calibre-3.40.1/build/objects/msdes/msdesmodule.o clang -Wall -DNDEBUG -fno-strict-aliasing -pipe -fPIC -O2 -I/usr/include -I/usr/pkg/include -I/usr/pkg/include/freetype2 -I/usr/pkg/include/nss/nss -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/libdrm -fvisibility=hidden -pthread -I/usr/pkg/include/python2.7 -O3 -DCALIBRE_MODINIT_FUNC= __attribute__ ((visibility ("default"))) void -I/data/scratch/misc/calibre/work/calibre-3.40.1/src/calibre/utils/msdes -c /data/scratch/misc/calibre/work/calibre-3.40.1/src/calibre/utils/msdes/des.c -o /data/scratch/misc/calibre/work/calibre-3.40.1/build/objects/msdes/des.o /data/scratch/misc/calibre/work/calibre-3.40.1/src/calibre/utils/msdes/des.c:65:7: warning: promoted type 'int' of K&R function parameter is not compatible with the parameter type 'short' declared in a previous prototype [-Wknr-promoted-parameter] short edf; ^ /data/scratch/misc/calibre/work/calibre-3.40.1/src/calibre/utils/msdes/d3des.h:41:42: note: previous declaration is here extern void deskey(unsigned char *, short); ^ 1 warning generated. Linking msdes clang /data/scratch/misc/calibre/work/calibre-3.40.1/build/objects/msdes/msdesmodule.o /data/scratch/misc/calibre/work/calibre-3.40.1/build/objects/msdes/des.o -o /data/scratch/misc/calibre/work/calibre-3.40.1/src/calibre/plugins/msdes.so -Wall -L/usr/lib -Wl,-R/usr/lib -L/usr/pkg/lib -Wl,-R/usr/pkg/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 -shared -lpython2.7 /usr/bin/ld: /data/scratch/misc/calibre/work/.buildlink/lib/libpython2.7.so: warning: warning: tmpnam() possibly used unsafely, use mkstemp() or mkdtemp() /usr/bin/ld: /data/scratch/misc/calibre/work/.buildlink/lib/libpython2.7.so: warning: warning: tempnam() possibly used unsafely, use mkstemp() or mkdtemp() ####### Building extension cPalmdoc ####### Compiling cPalmdoc clang -Wall -DNDEBUG -fno-strict-aliasing -pipe -fPIC -O2 -I/usr/include -I/usr/pkg/include -I/usr/pkg/include/freetype2 -I/usr/pkg/include/nss/nss -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/libdrm -fvisibility=hidden -pthread -I/usr/pkg/include/python2.7 -O3 -DCALIBRE_MODINIT_FUNC= __attribute__ ((visibility ("default"))) void -c /data/scratch/misc/calibre/work/calibre-3.40.1/src/calibre/ebooks/compression/palmdoc.c -o /data/scratch/misc/calibre/work/calibre-3.40.1/build/objects/cPalmdoc/palmdoc.o Linking cPalmdoc clang /data/scratch/misc/calibre/work/calibre-3.40.1/build/objects/cPalmdoc/palmdoc.o -o /data/scratch/misc/calibre/work/calibre-3.40.1/src/calibre/plugins/cPalmdoc.so -Wall -L/usr/lib -Wl,-R/usr/lib -L/usr/pkg/lib -Wl,-R/usr/pkg/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 -shared -lpython2.7 /usr/bin/ld: /data/scratch/misc/calibre/work/.buildlink/lib/libpython2.7.so: warning: warning: tmpnam() possibly used unsafely, use mkstemp() or mkdtemp() /usr/bin/ld: /data/scratch/misc/calibre/work/.buildlink/lib/libpython2.7.so: warning: warning: tempnam() possibly used unsafely, use mkstemp() or mkdtemp() ####### Building extension bzzdec ####### Compiling bzzdec clang -Wall -DNDEBUG -fno-strict-aliasing -pipe -fPIC -O2 -I/usr/include -I/usr/pkg/include -I/usr/pkg/include/freetype2 -I/usr/pkg/include/nss/nss -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/libdrm -fvisibility=hidden -pthread -I/usr/pkg/include/python2.7 -O3 -DCALIBRE_MODINIT_FUNC= __attribute__ ((visibility ("default"))) void -c /data/scratch/misc/calibre/work/calibre-3.40.1/src/calibre/ebooks/djvu/bzzdecoder.c -o /data/scratch/misc/calibre/work/calibre-3.40.1/build/objects/bzzdec/bzzdecoder.o Linking bzzdec clang /data/scratch/misc/calibre/work/calibre-3.40.1/build/objects/bzzdec/bzzdecoder.o -o /data/scratch/misc/calibre/work/calibre-3.40.1/src/calibre/plugins/bzzdec.so -Wall -L/usr/lib -Wl,-R/usr/lib -L/usr/pkg/lib -Wl,-R/usr/pkg/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 -shared -lpython2.7 /usr/bin/ld: /data/scratch/misc/calibre/work/.buildlink/lib/libpython2.7.so: warning: warning: tmpnam() possibly used unsafely, use mkstemp() or mkdtemp() /usr/bin/ld: /data/scratch/misc/calibre/work/.buildlink/lib/libpython2.7.so: warning: warning: tempnam() possibly used unsafely, use mkstemp() or mkdtemp() ####### Building extension podofo ####### Compiling podofo clang++ -Wall -DNDEBUG -fno-strict-aliasing -pipe -fPIC -O2 -I/usr/include -I/usr/pkg/include -I/usr/pkg/include/freetype2 -I/usr/pkg/include/nss/nss -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/libdrm -fvisibility=hidden -pthread -I/usr/pkg/include/python2.7 -O3 -DCALIBRE_MODINIT_FUNC=extern "C" __attribute__ ((visibility ("default"))) void -I/usr/pkg/include -I/usr/pkg/include/podofo -c /data/scratch/misc/calibre/work/calibre-3.40.1/src/calibre/utils/podofo/outline.cpp -o /data/scratch/misc/calibre/work/calibre-3.40.1/build/objects/podofo/outline.o In file included from /data/scratch/misc/calibre/work/calibre-3.40.1/src/calibre/utils/podofo/outline.cpp:8: In file included from /data/scratch/misc/calibre/work/calibre-3.40.1/src/calibre/utils/podofo/global.h:11: In file included from /data/scratch/misc/calibre/work/.buildlink/include/python2.7/Python.h:88: /data/scratch/misc/calibre/work/.buildlink/include/python2.7/unicodeobject.h:534:5: warning: 'register' storage class specifier is deprecated and incompatible with C++17 [-Wdeprecated-register] register PyObject *obj, /* Object */ ^~~~~~~~~ /data/scratch/misc/calibre/work/.buildlink/include/python2.7/unicodeobject.h:553:5: warning: 'register' storage class specifier is deprecated and incompatible with C++17 [-Wdeprecated-register] register PyObject *obj /* Object */ ^~~~~~~~~ /data/scratch/misc/calibre/work/.buildlink/include/python2.7/unicodeobject.h:575:5: warning: 'register' storage class specifier is deprecated and incompatible with C++17 [-Wdeprecated-register] register const wchar_t *w, /* wchar_t buffer */ ^~~~~~~~~ /data/scratch/misc/calibre/work/.buildlink/include/python2.7/unicodeobject.h:593:5: warning: 'register' storage class specifier is deprecated and incompatible with C++17 [-Wdeprecated-register] register wchar_t *w, /* wchar_t buffer */ ^~~~~~~~~ In file included from /data/scratch/misc/calibre/work/calibre-3.40.1/src/calibre/utils/podofo/outline.cpp:8: In file included from /data/scratch/misc/calibre/work/calibre-3.40.1/src/calibre/utils/podofo/global.h:11: In file included from /data/scratch/misc/calibre/work/.buildlink/include/python2.7/Python.h:97: /data/scratch/misc/calibre/work/.buildlink/include/python2.7/stringobject.h:173:5: warning: 'register' storage class specifier is deprecated and incompatible with C++17 [-Wdeprecated-register] register PyObject *obj, /* string or Unicode object */ ^~~~~~~~~ /data/scratch/misc/calibre/work/.buildlink/include/python2.7/stringobject.h:174:5: warning: 'register' storage class specifier is deprecated and incompatible with C++17 [-Wdeprecated-register] register char **s, /* pointer to buffer variable */ ^~~~~~~~~ /data/scratch/misc/calibre/work/.buildlink/include/python2.7/stringobject.h:175:5: warning: 'register' storage class specifier is deprecated and incompatible with C++17 [-Wdeprecated-register] register Py_ssize_t *len /* pointer to length variable or NULL ^~~~~~~~~ In file included from /data/scratch/misc/calibre/work/calibre-3.40.1/src/calibre/utils/podofo/outline.cpp:8: In file included from /data/scratch/misc/calibre/work/calibre-3.40.1/src/calibre/utils/podofo/global.h:14: In file included from /data/scratch/misc/calibre/work/.buildlink/include/podofo/podofo.h:47: In file included from /data/scratch/misc/calibre/work/.buildlink/include/podofo/podofo-base.h:42: In file included from /data/scratch/misc/calibre/work/.buildlink/include/podofo/base/PdfArray.h:46: In file included from /data/scratch/misc/calibre/work/.buildlink/include/podofo/base/PdfObject.h:38: /data/scratch/misc/calibre/work/.buildlink/include/podofo/base/PdfName.h:221:30: warning: 'GetName' is missing exception specification '__attribute__((nothrow))' [-Wmissing-exception-spec] const std::string & PdfName::GetName() const ^ __attribute__((nothrow)) /data/scratch/misc/calibre/work/.buildlink/include/podofo/base/PdfName.h:148:46: note: previous declaration is here PODOFO_NOTHROW inline const std::string& GetName() const; ^ /data/scratch/misc/calibre/work/.buildlink/include/podofo/base/PdfName.h:229:17: warning: 'GetLength' is missing exception specification '__attribute__((nothrow))' [-Wmissing-exception-spec] size_t PdfName::GetLength() const ^ __attribute__((nothrow)) /data/scratch/misc/calibre/work/.buildlink/include/podofo/base/PdfName.h:153:34: note: previous declaration is here PODOFO_NOTHROW inline size_t GetLength() const; ^ /data/scratch/misc/calibre/work/.buildlink/include/podofo/base/PdfName.h:237:15: warning: 'operator!=' is missing exception specification '__attribute__((nothrow))' [-Wmissing-exception-spec] bool PdfName::operator!=( const PdfName & rhs ) const ^ __attribute__((nothrow)) /data/scratch/misc/calibre/work/.buildlink/include/podofo/base/PdfName.h:186:32: note: previous declaration is here PODOFO_NOTHROW inline bool operator!=( const PdfName & rhs ) const; ^ /data/scratch/misc/calibre/work/.buildlink/include/podofo/base/PdfName.h:250:15: warning: 'operator<' is missing exception specification '__attribute__((nothrow))' [-Wmissing-exception-spec] bool PdfName::operator<( const PdfName & rhs ) const ^ __attribute__((nothrow)) /data/scratch/misc/calibre/work/.buildlink/include/podofo/base/PdfName.h:201:32: note: previous declaration is here PODOFO_NOTHROW inline bool operator<( const PdfName & rhs ) const; ^ /data/scratch/misc/calibre/work/.buildlink/include/podofo/base/PdfName.h:255:15: warning: 'operator==' is missing exception specification '__attribute__((nothrow))' [-Wmissing-exception-spec] bool PdfName::operator==( const PdfName & rhs ) const ^ __attribute__((nothrow)) /data/scratch/misc/calibre/work/.buildlink/include/podofo/base/PdfName.h:163:32: note: previous declaration is here PODOFO_NOTHROW inline bool operator==( const PdfName & rhs ) const; ^ /data/scratch/misc/calibre/work/.buildlink/include/podofo/base/PdfName.h:260:15: warning: 'operator==' is missing exception specification '__attribute__((nothrow))' [-Wmissing-exception-spec] bool PdfName::operator==( const std::string & rhs ) const ^ __attribute__((nothrow)) /data/scratch/misc/calibre/work/.buildlink/include/podofo/base/PdfName.h:181:32: note: previous declaration is here PODOFO_NOTHROW inline bool operator==( const std::string& rhs ) const; ^ /data/scratch/misc/calibre/work/.buildlink/include/podofo/base/PdfName.h:265:25: warning: 'operator=' is missing exception specification '__attribute__((nothrow))' [-Wmissing-exception-spec] const PdfName& PdfName::operator=( const PdfName & rhs ) ^ __attribute__((nothrow)) /data/scratch/misc/calibre/work/.buildlink/include/podofo/base/PdfName.h:158:42: note: previous declaration is here PODOFO_NOTHROW inline const PdfName& operator=( const PdfName & rhs ); ^ In file included from /data/scratch/misc/calibre/work/calibre-3.40.1/src/calibre/utils/podofo/outline.cpp:8: In file included from /data/scratch/misc/calibre/work/calibre-3.40.1/src/calibre/utils/podofo/global.h:14: In file included from /data/scratch/misc/calibre/work/.buildlink/include/podofo/podofo.h:47: In file included from /data/scratch/misc/calibre/work/.buildlink/include/podofo/podofo-base.h:42: In file included from /data/scratch/misc/calibre/work/.buildlink/include/podofo/base/PdfArray.h:46: In file included from /data/scratch/misc/calibre/work/.buildlink/include/podofo/base/PdfObject.h:39: In file included from /data/scratch/misc/calibre/work/.buildlink/include/podofo/base/PdfParser.h:38: In file included from /data/scratch/misc/calibre/work/.buildlink/include/podofo/base/PdfTokenizer.h:39: /data/scratch/misc/calibre/work/.buildlink/include/podofo/base/PdfRefCountedInputDevice.h:130:50: warning: 'Device' is missing exception specification '__attribute__((nothrow))' [-Wmissing-exception-spec] inline PdfInputDevice* PdfRefCountedInputDevice::Device() const ^ __attribute__((nothrow)) /data/scratch/misc/calibre/work/.buildlink/include/podofo/base/PdfRefCountedInputDevice.h:104:43: note: previous declaration is here PODOFO_NOTHROW inline PdfInputDevice* Device() const; ^ In file included from /data/scratch/misc/calibre/work/calibre-3.40.1/src/calibre/utils/podofo/outline.cpp:8: In file included from /data/scratch/misc/calibre/work/calibre-3.40.1/src/calibre/utils/podofo/global.h:14: In file included from /data/scratch/misc/calibre/work/.buildlink/include/podofo/podofo.h:47: In file included from /data/scratch/misc/calibre/work/.buildlink/include/podofo/podofo-base.h:42: In file included from /data/scratch/misc/calibre/work/.buildlink/include/podofo/base/PdfArray.h:46: In file included from /data/scratch/misc/calibre/work/.buildlink/include/podofo/base/PdfObject.h:39: In file included from /data/scratch/misc/calibre/work/.buildlink/include/podofo/base/PdfParser.h:38: /data/scratch/misc/calibre/work/.buildlink/include/podofo/base/PdfTokenizer.h:281:27: warning: 'IsWhitespace' is missing exception specification '__attribute__((nothrow))' [-Wmissing-exception-spec] inline bool PdfTokenizer::IsWhitespace(const unsigned char ch) ^ __attribute__((nothrow)) /data/scratch/misc/calibre/work/.buildlink/include/podofo/base/PdfTokenizer.h:135:39: note: previous declaration is here PODOFO_NOTHROW inline static bool IsWhitespace(const unsigned char ch); ^ /data/scratch/misc/calibre/work/.buildlink/include/podofo/base/PdfTokenizer.h:289:27: warning: 'IsDelimiter' is missing exception specification '__attribute__((nothrow))' [-Wmissing-exception-spec] inline bool PdfTokenizer::IsDelimiter(const unsigned char ch) ^ __attribute__((nothrow)) /data/scratch/misc/calibre/work/.buildlink/include/podofo/base/PdfTokenizer.h:142:39: note: previous declaration is here PODOFO_NOTHROW inline static bool IsDelimiter(const unsigned char ch); ^ /data/scratch/misc/calibre/work/.buildlink/include/podofo/base/PdfTokenizer.h:297:27: warning: 'IsRegular' is missing exception specification '__attribute__((nothrow))' [-Wmissing-exception-spec] inline bool PdfTokenizer::IsRegular(const unsigned char ch) ^ __attribute__((nothrow)) /data/scratch/misc/calibre/work/.buildlink/include/podofo/base/PdfTokenizer.h:149:39: note: previous declaration is here PODOFO_NOTHROW inline static bool IsRegular(const unsigned char ch); ^ /data/scratch/misc/calibre/work/.buildlink/include/podofo/base/PdfTokenizer.h:305:27: warning: 'IsPrintable' is missing exception specification '__attribute__((nothrow))' [-Wmissing-exception-spec] inline bool PdfTokenizer::IsPrintable(const unsigned char ch) ^ __attribute__((nothrow)) /data/scratch/misc/calibre/work/.buildlink/include/podofo/base/PdfTokenizer.h:155:39: note: previous declaration is here PODOFO_NOTHROW inline static bool IsPrintable(const unsigned char ch); ^ /data/scratch/misc/calibre/work/.buildlink/include/podofo/base/PdfTokenizer.h:313:26: warning: 'GetHexValue' is missing exception specification '__attribute__((nothrow))' [-Wmissing-exception-spec] inline int PdfTokenizer::GetHexValue(const unsigned char ch) ^ __attribute__((nothrow)) /data/scratch/misc/calibre/work/.buildlink/include/podofo/base/PdfTokenizer.h:166:38: note: previous declaration is here PODOFO_NOTHROW inline static int GetHexValue(const unsigned char ch); ^ In file included from /data/scratch/misc/calibre/work/calibre-3.40.1/src/calibre/utils/podofo/outline.cpp:8: In file included from /data/scratch/misc/calibre/work/calibre-3.40.1/src/calibre/utils/podofo/global.h:14: In file included from /data/scratch/misc/calibre/work/.buildlink/include/podofo/podofo.h:47: In file included from /data/scratch/misc/calibre/work/.buildlink/include/podofo/podofo-base.h:42: In file included from /data/scratch/misc/calibre/work/.buildlink/include/podofo/base/PdfArray.h:46: In file included from /data/scratch/misc/calibre/work/.buildlink/include/podofo/base/PdfObject.h:39: In file included from /data/scratch/misc/calibre/work/.buildlink/include/podofo/base/PdfParser.h:39: In file included from /data/scratch/misc/calibre/work/.buildlink/include/podofo/base/PdfVecObjects.h:38: /data/scratch/misc/calibre/work/.buildlink/include/podofo/base/PdfReference.h:181:36: warning: 'operator=' is missing exception specification '__attribute__((nothrow))' [-Wmissing-exception-spec] const PdfReference & PdfReference::operator=( const PdfReference & rhs ) ^ __attribute__((nothrow)) /data/scratch/misc/calibre/work/.buildlink/include/podofo/base/PdfReference.h:107:48: note: previous declaration is here PODOFO_NOTHROW inline const PdfReference & operator=( const PdfReference & rhs ); ^ /data/scratch/misc/calibre/work/.buildlink/include/podofo/base/PdfReference.h:191:20: warning: 'operator<' is missing exception specification '__attribute__((nothrow))' [-Wmissing-exception-spec] bool PdfReference::operator<( const PdfReference & rhs ) const ^ __attribute__((nothrow)) /data/scratch/misc/calibre/work/.buildlink/include/podofo/base/PdfReference.h:135:32: note: previous declaration is here PODOFO_NOTHROW inline bool operator<( const PdfReference & rhs ) const; ^ /data/scratch/misc/calibre/work/.buildlink/include/podofo/base/PdfReference.h:199:20: warning: 'operator==' is missing exception specification '__attribute__((nothrow))' [-Wmissing-exception-spec] bool PdfReference::operator==( const PdfReference & rhs ) const ^ __attribute__((nothrow)) /data/scratch/misc/calibre/work/.buildlink/include/podofo/base/PdfReference.h:123:32: note: previous declaration is here PODOFO_NOTHROW inline bool operator==( const PdfReference & rhs ) const; ^ /data/scratch/misc/calibre/work/.buildlink/include/podofo/base/PdfReference.h:207:27: warning: 'operator!=' is missing exception specification '__attribute__((nothrow))' [-Wmissing-exception-spec] inline bool PdfReference::operator!=( const PdfReference & rhs ) const ^ __attribute__((nothrow)) /data/scratch/misc/calibre/work/.buildlink/include/podofo/base/PdfReference.h:129:32: note: previous declaration is here PODOFO_NOTHROW inline bool operator!=( const PdfReference & rhs ) const; ^ /data/scratch/misc/calibre/work/.buildlink/include/podofo/base/PdfReference.h:215:20: warning: 'SetObjectNumber' is missing exception specification '__attribute__((nothrow))' [-Wmissing-exception-spec] void PdfReference::SetObjectNumber( pdf_objnum o ) ^ __attribute__((nothrow)) /data/scratch/misc/calibre/work/.buildlink/include/podofo/base/PdfReference.h:140:32: note: previous declaration is here PODOFO_NOTHROW inline void SetObjectNumber( pdf_objnum o ); ^ /data/scratch/misc/calibre/work/.buildlink/include/podofo/base/PdfReference.h:223:26: warning: 'ObjectNumber' is missing exception specification '__attribute__((nothrow))' [-Wmissing-exception-spec] pdf_objnum PdfReference::ObjectNumber() const ^ __attribute__((nothrow)) /data/scratch/misc/calibre/work/.buildlink/include/podofo/base/PdfReference.h:145:38: note: previous declaration is here PODOFO_NOTHROW inline pdf_objnum ObjectNumber() const; ^ /data/scratch/misc/calibre/work/.buildlink/include/podofo/base/PdfReference.h:231:20: warning: 'SetGenerationNumber' is missing exception specification '__attribute__((nothrow))' [-Wmissing-exception-spec] void PdfReference::SetGenerationNumber( pdf_gennum g ) ^ __attribute__((nothrow)) /data/scratch/misc/calibre/work/.buildlink/include/podofo/base/PdfReference.h:150:32: note: previous declaration is here PODOFO_NOTHROW inline void SetGenerationNumber( const pdf_gennum g ); ^ /data/scratch/misc/calibre/work/.buildlink/include/podofo/base/PdfReference.h:239:26: warning: 'GenerationNumber' is missing exception specification '__attribute__((nothrow))' [-Wmissing-exception-spec] pdf_gennum PdfReference::GenerationNumber() const ^ __attribute__((nothrow)) /data/scratch/misc/calibre/work/.buildlink/include/podofo/base/PdfReference.h:155:38: note: previous declaration is here PODOFO_NOTHROW inline pdf_gennum GenerationNumber() const; ^ /data/scratch/misc/calibre/work/.buildlink/include/podofo/base/PdfReference.h:247:20: warning: 'IsIndirect' is missing exception specification '__attribute__((nothrow))' [-Wmissing-exception-spec] bool PdfReference::IsIndirect() const ^ __attribute__((nothrow)) /data/scratch/misc/calibre/work/.buildlink/include/podofo/base/PdfReference.h:166:32: note: previous declaration is here PODOFO_NOTHROW inline bool IsIndirect() const; ^ In file included from /data/scratch/misc/calibre/work/calibre-3.40.1/src/calibre/utils/podofo/outline.cpp:8: In file included from /data/scratch/misc/calibre/work/calibre-3.40.1/src/calibre/utils/podofo/global.h:14: In file included from /data/scratch/misc/calibre/work/.buildlink/include/podofo/podofo.h:47: In file included from /data/scratch/misc/calibre/work/.buildlink/include/podofo/podofo-base.h:42: In file included from /data/scratch/misc/calibre/work/.buildlink/include/podofo/base/PdfArray.h:46: In file included from /data/scratch/misc/calibre/work/.buildlink/include/podofo/base/PdfObject.h:42: /data/scratch/misc/calibre/work/.buildlink/include/podofo/base/PdfVariant.h:920:18: warning: 'DelayedLoadDone' is missing exception specification '__attribute__((nothrow))' [-Wmissing-exception-spec] bool PdfVariant::DelayedLoadDone() const ^ __attribute__((nothrow)) /data/scratch/misc/calibre/work/.buildlink/include/podofo/base/PdfVariant.h:444:32: note: previous declaration is here PODOFO_NOTHROW inline bool DelayedLoadDone() const; ^ In file included from /data/scratch/misc/calibre/work/calibre-3.40.1/src/calibre/utils/podofo/outline.cpp:8: In file included from /data/scratch/misc/calibre/work/calibre-3.40.1/src/calibre/utils/podofo/global.h:14: In file included from /data/scratch/misc/calibre/work/.buildlink/include/podofo/podofo.h:47: In file included from /data/scratch/misc/calibre/work/.buildlink/include/podofo/podofo-base.h:42: In file included from /data/scratch/misc/calibre/work/.buildlink/include/podofo/base/PdfArray.h:46: /data/scratch/misc/calibre/work/.buildlink/include/podofo/base/PdfObject.h:359:17: warning: 'DelayedStreamLoadDone' is missing exception specification '__attribute__((nothrow))' [-Wmissing-exception-spec] bool PdfObject::DelayedStreamLoadDone() const ^ __attribute__((nothrow)) /data/scratch/misc/calibre/work/.buildlink/include/podofo/base/PdfObject.h:353:30: note: previous declaration is here PODOFO_NOTHROW inline bool DelayedStreamLoadDone() const; ^ /data/scratch/misc/calibre/work/.buildlink/include/podofo/base/PdfObject.h:400:17: warning: 'operator<' is missing exception specification '__attribute__((nothrow))' [-Wmissing-exception-spec] bool PdfObject::operator<( const PdfObject & rhs ) const ^ __attribute__((nothrow)) /data/scratch/misc/calibre/work/.buildlink/include/podofo/base/PdfObject.h:230:32: note: previous declaration is here PODOFO_NOTHROW inline bool operator<( const PdfObject & rhs ) const; ^ /data/scratch/misc/calibre/work/.buildlink/include/podofo/base/PdfObject.h:408:17: warning: 'operator==' is missing exception specification '__attribute__((nothrow))' [-Wmissing-exception-spec] bool PdfObject::operator==( const PdfObject & rhs ) const ^ __attribute__((nothrow)) /data/scratch/misc/calibre/work/.buildlink/include/podofo/base/PdfObject.h:235:32: note: previous declaration is here PODOFO_NOTHROW inline bool operator==( const PdfObject & rhs ) const; ^ In file included from /data/scratch/misc/calibre/work/calibre-3.40.1/src/calibre/utils/podofo/outline.cpp:8: In file included from /data/scratch/misc/calibre/work/calibre-3.40.1/src/calibre/utils/podofo/global.h:14: In file included from /data/scratch/misc/calibre/work/.buildlink/include/podofo/podofo.h:47: In file included from /data/scratch/misc/calibre/work/.buildlink/include/podofo/podofo-base.h:55: In file included from /data/scratch/misc/calibre/work/.buildlink/include/podofo/base/PdfFileStream.h:39: In file included from /data/scratch/misc/calibre/work/.buildlink/include/podofo/base/PdfStream.h:40: /data/scratch/misc/calibre/work/.buildlink/include/podofo/base/PdfFilter.h:429:17: warning: 'FailEncodeDecode' is missing exception specification '__attribute__((nothrow))' [-Wmissing-exception-spec] void PdfFilter::FailEncodeDecode() ^ __attribute__((nothrow)) /data/scratch/misc/calibre/work/.buildlink/include/podofo/base/PdfFilter.h:229:32: note: previous declaration is here PODOFO_NOTHROW inline void FailEncodeDecode(); ^ /data/scratch/misc/calibre/work/.buildlink/include/podofo/base/PdfFilter.h:466:17: warning: 'auto_ptr' is deprecated [-Wdeprecated-declarations] static std::auto_ptr Create( const EPdfFilter eFilter ); ^ /usr/include/c++/memory:2202:28: note: 'auto_ptr' has been explicitly marked deprecated here class _LIBCPP_TEMPLATE_VIS _LIBCPP_DEPRECATED_IN_CXX11 auto_ptr ^ /usr/include/c++/__config:989:39: note: expanded from macro '_LIBCPP_DEPRECATED_IN_CXX11' # define _LIBCPP_DEPRECATED_IN_CXX11 _LIBCPP_DEPRECATED ^ /usr/include/c++/__config:978:48: note: expanded from macro '_LIBCPP_DEPRECATED' # define _LIBCPP_DEPRECATED __attribute__ ((deprecated)) ^ In file included from /data/scratch/misc/calibre/work/calibre-3.40.1/src/calibre/utils/podofo/outline.cpp:8: In file included from /data/scratch/misc/calibre/work/calibre-3.40.1/src/calibre/utils/podofo/global.h:14: In file included from /data/scratch/misc/calibre/work/.buildlink/include/podofo/podofo.h:47: In file included from /data/scratch/misc/calibre/work/.buildlink/include/podofo/podofo-base.h:57: In file included from /data/scratch/misc/calibre/work/.buildlink/include/podofo/base/PdfImmediateWriter.h:39: In file included from /data/scratch/misc/calibre/work/.buildlink/include/podofo/base/PdfWriter.h:38: /data/scratch/misc/calibre/work/.buildlink/include/podofo/base/PdfInputDevice.h:179:22: warning: 'IsSeekable' is missing exception specification '__attribute__((nothrow))' [-Wmissing-exception-spec] bool PdfInputDevice::IsSeekable() const ^ __attribute__((nothrow)) /data/scratch/misc/calibre/work/.buildlink/include/podofo/base/PdfInputDevice.h:154:32: note: previous declaration is here PODOFO_NOTHROW inline bool IsSeekable() const; ^ /data/scratch/misc/calibre/work/.buildlink/include/podofo/base/PdfInputDevice.h:184:22: warning: 'SetSeekable' is missing exception specification '__attribute__((nothrow))' [-Wmissing-exception-spec] void PdfInputDevice::SetSeekable(bool bIsSeekable) ^ __attribute__((nothrow)) /data/scratch/misc/calibre/work/.buildlink/include/podofo/base/PdfInputDevice.h:160:32: note: previous declaration is here PODOFO_NOTHROW inline void SetSeekable(bool bIsSeekable); ^ /data/scratch/misc/calibre/work/.buildlink/include/podofo/base/PdfInputDevice.h:189:22: warning: 'Bad' is missing exception specification '__attribute__((nothrow))' [-Wmissing-exception-spec] bool PdfInputDevice::Bad() const ^ __attribute__((nothrow)) /data/scratch/misc/calibre/work/.buildlink/include/podofo/base/PdfInputDevice.h:142:40: note: previous declaration is here PODOFO_NOTHROW inline virtual bool Bad() const; ^ /data/scratch/misc/calibre/work/.buildlink/include/podofo/base/PdfInputDevice.h:196:22: warning: 'Eof' is missing exception specification '__attribute__((nothrow))' [-Wmissing-exception-spec] bool PdfInputDevice::Eof() const ^ __attribute__((nothrow)) /data/scratch/misc/calibre/work/.buildlink/include/podofo/base/PdfInputDevice.h:137:40: note: previous declaration is here PODOFO_NOTHROW inline virtual bool Eof() const; ^ /data/scratch/misc/calibre/work/.buildlink/include/podofo/base/PdfInputDevice.h:205:22: warning: 'Clear' is missing exception specification '__attribute__((nothrow))' [-Wmissing-exception-spec] void PdfInputDevice::Clear(std::ios_base::iostate state) const ^ __attribute__((nothrow)) /data/scratch/misc/calibre/work/.buildlink/include/podofo/base/PdfInputDevice.h:148:40: note: previous declaration is here PODOFO_NOTHROW inline virtual void Clear( std::ios_base::iostate state = std::ios_base::goodbit) const; ^ 40 warnings generated. clang++ -Wall -DNDEBUG -fno-strict-aliasing -pipe -fPIC -O2 -I/usr/include -I/usr/pkg/include -I/usr/pkg/include/freetype2 -I/usr/pkg/include/nss/nss -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/libdrm -fvisibility=hidden -pthread -I/usr/pkg/include/python2.7 -O3 -DCALIBRE_MODINIT_FUNC=extern "C" __attribute__ ((visibility ("default"))) void -I/usr/pkg/include -I/usr/pkg/include/podofo -c /data/scratch/misc/calibre/work/calibre-3.40.1/src/calibre/utils/podofo/utils.cpp -o /data/scratch/misc/calibre/work/calibre-3.40.1/build/objects/podofo/utils.o In file included from /data/scratch/misc/calibre/work/calibre-3.40.1/src/calibre/utils/podofo/utils.cpp:8: In file included from /data/scratch/misc/calibre/work/calibre-3.40.1/src/calibre/utils/podofo/global.h:11: In file included from /data/scratch/misc/calibre/work/.buildlink/include/python2.7/Python.h:88: /data/scratch/misc/calibre/work/.buildlink/include/python2.7/unicodeobject.h:534:5: warning: 'register' storage class specifier is deprecated and incompatible with C++17 [-Wdeprecated-register] register PyObject *obj, /* Object */ ^~~~~~~~~ /data/scratch/misc/calibre/work/.buildlink/include/python2.7/unicodeobject.h:553:5: warning: 'register' storage class specifier is deprecated and incompatible with C++17 [-Wdeprecated-register] register PyObject *obj /* Object */ ^~~~~~~~~ /data/scratch/misc/calibre/work/.buildlink/include/python2.7/unicodeobject.h:575:5: warning: 'register' storage class specifier is deprecated and incompatible with C++17 [-Wdeprecated-register] register const wchar_t *w, /* wchar_t buffer */ ^~~~~~~~~ /data/scratch/misc/calibre/work/.buildlink/include/python2.7/unicodeobject.h:593:5: warning: 'register' storage class specifier is deprecated and incompatible with C++17 [-Wdeprecated-register] register wchar_t *w, /* wchar_t buffer */ ^~~~~~~~~ In file included from /data/scratch/misc/calibre/work/calibre-3.40.1/src/calibre/utils/podofo/utils.cpp:8: In file included from /data/scratch/misc/calibre/work/calibre-3.40.1/src/calibre/utils/podofo/global.h:11: In file included from /data/scratch/misc/calibre/work/.buildlink/include/python2.7/Python.h:97: /data/scratch/misc/calibre/work/.buildlink/include/python2.7/stringobject.h:173:5: warning: 'register' storage class specifier is deprecated and incompatible with C++17 [-Wdeprecated-register] register PyObject *obj, /* string or Unicode object */ ^~~~~~~~~ /data/scratch/misc/calibre/work/.buildlink/include/python2.7/stringobject.h:174:5: warning: 'register' storage class specifier is deprecated and incompatible with C++17 [-Wdeprecated-register] register char **s, /* pointer to buffer variable */ ^~~~~~~~~ /data/scratch/misc/calibre/work/.buildlink/include/python2.7/stringobject.h:175:5: warning: 'register' storage class specifier is deprecated and incompatible with C++17 [-Wdeprecated-register] register Py_ssize_t *len /* pointer to length variable or NULL ^~~~~~~~~ In file included from /data/scratch/misc/calibre/work/calibre-3.40.1/src/calibre/utils/podofo/utils.cpp:8: In file included from /data/scratch/misc/calibre/work/calibre-3.40.1/src/calibre/utils/podofo/global.h:14: In file included from /data/scratch/misc/calibre/work/.buildlink/include/podofo/podofo.h:47: In file included from /data/scratch/misc/calibre/work/.buildlink/include/podofo/podofo-base.h:42: In file included from /data/scratch/misc/calibre/work/.buildlink/include/podofo/base/PdfArray.h:46: In file included from /data/scratch/misc/calibre/work/.buildlink/include/podofo/base/PdfObject.h:38: /data/scratch/misc/calibre/work/.buildlink/include/podofo/base/PdfName.h:221:30: warning: 'GetName' is missing exception specification '__attribute__((nothrow))' [-Wmissing-exception-spec] const std::string & PdfName::GetName() const ^ __attribute__((nothrow)) /data/scratch/misc/calibre/work/.buildlink/include/podofo/base/PdfName.h:148:46: note: previous declaration is here PODOFO_NOTHROW inline const std::string& GetName() const; ^ /data/scratch/misc/calibre/work/.buildlink/include/podofo/base/PdfName.h:229:17: warning: 'GetLength' is missing exception specification '__attribute__((nothrow))' [-Wmissing-exception-spec] size_t PdfName::GetLength() const ^ __attribute__((nothrow)) /data/scratch/misc/calibre/work/.buildlink/include/podofo/base/PdfName.h:153:34: note: previous declaration is here PODOFO_NOTHROW inline size_t GetLength() const; ^ /data/scratch/misc/calibre/work/.buildlink/include/podofo/base/PdfName.h:237:15: warning: 'operator!=' is missing exception specification '__attribute__((nothrow))' [-Wmissing-exception-spec] bool PdfName::operator!=( const PdfName & rhs ) const ^ __attribute__((nothrow)) /data/scratch/misc/calibre/work/.buildlink/include/podofo/base/PdfName.h:186:32: note: previous declaration is here PODOFO_NOTHROW inline bool operator!=( const PdfName & rhs ) const; ^ /data/scratch/misc/calibre/work/.buildlink/include/podofo/base/PdfName.h:250:15: warning: 'operator<' is missing exception specification '__attribute__((nothrow))' [-Wmissing-exception-spec] bool PdfName::operator<( const PdfName & rhs ) const ^ __attribute__((nothrow)) /data/scratch/misc/calibre/work/.buildlink/include/podofo/base/PdfName.h:201:32: note: previous declaration is here PODOFO_NOTHROW inline bool operator<( const PdfName & rhs ) const; ^ /data/scratch/misc/calibre/work/.buildlink/include/podofo/base/PdfName.h:255:15: warning: 'operator==' is missing exception specification '__attribute__((nothrow))' [-Wmissing-exception-spec] bool PdfName::operator==( const PdfName & rhs ) const ^ __attribute__((nothrow)) /data/scratch/misc/calibre/work/.buildlink/include/podofo/base/PdfName.h:163:32: note: previous declaration is here PODOFO_NOTHROW inline bool operator==( const PdfName & rhs ) const; ^ /data/scratch/misc/calibre/work/.buildlink/include/podofo/base/PdfName.h:260:15: warning: 'operator==' is missing exception specification '__attribute__((nothrow))' [-Wmissing-exception-spec] bool PdfName::operator==( const std::string & rhs ) const ^ __attribute__((nothrow)) /data/scratch/misc/calibre/work/.buildlink/include/podofo/base/PdfName.h:181:32: note: previous declaration is here PODOFO_NOTHROW inline bool operator==( const std::string& rhs ) const; ^ /data/scratch/misc/calibre/work/.buildlink/include/podofo/base/PdfName.h:265:25: warning: 'operator=' is missing exception specification '__attribute__((nothrow))' [-Wmissing-exception-spec] const PdfName& PdfName::operator=( const PdfName & rhs ) ^ __attribute__((nothrow)) /data/scratch/misc/calibre/work/.buildlink/include/podofo/base/PdfName.h:158:42: note: previous declaration is here PODOFO_NOTHROW inline const PdfName& operator=( const PdfName & rhs ); ^ In file included from /data/scratch/misc/calibre/work/calibre-3.40.1/src/calibre/utils/podofo/utils.cpp:8: In file included from /data/scratch/misc/calibre/work/calibre-3.40.1/src/calibre/utils/podofo/global.h:14: In file included from /data/scratch/misc/calibre/work/.buildlink/include/podofo/podofo.h:47: In file included from /data/scratch/misc/calibre/work/.buildlink/include/podofo/podofo-base.h:42: In file included from /data/scratch/misc/calibre/work/.buildlink/include/podofo/base/PdfArray.h:46: In file included from /data/scratch/misc/calibre/work/.buildlink/include/podofo/base/PdfObject.h:39: In file included from /data/scratch/misc/calibre/work/.buildlink/include/podofo/base/PdfParser.h:38: In file included from /data/scratch/misc/calibre/work/.buildlink/include/podofo/base/PdfTokenizer.h:39: /data/scratch/misc/calibre/work/.buildlink/include/podofo/base/PdfRefCountedInputDevice.h:130:50: warning: 'Device' is missing exception specification '__attribute__((nothrow))' [-Wmissing-exception-spec] inline PdfInputDevice* PdfRefCountedInputDevice::Device() const ^ __attribute__((nothrow)) /data/scratch/misc/calibre/work/.buildlink/include/podofo/base/PdfRefCountedInputDevice.h:104:43: note: previous declaration is here PODOFO_NOTHROW inline PdfInputDevice* Device() const; ^ In file included from /data/scratch/misc/calibre/work/calibre-3.40.1/src/calibre/utils/podofo/utils.cpp:8: In file included from /data/scratch/misc/calibre/work/calibre-3.40.1/src/calibre/utils/podofo/global.h:14: In file included from /data/scratch/misc/calibre/work/.buildlink/include/podofo/podofo.h:47: In file included from /data/scratch/misc/calibre/work/.buildlink/include/podofo/podofo-base.h:42: In file included from /data/scratch/misc/calibre/work/.buildlink/include/podofo/base/PdfArray.h:46: In file included from /data/scratch/misc/calibre/work/.buildlink/include/podofo/base/PdfObject.h:39: In file included from /data/scratch/misc/calibre/work/.buildlink/include/podofo/base/PdfParser.h:38: /data/scratch/misc/calibre/work/.buildlink/include/podofo/base/PdfTokenizer.h:281:27: warning: 'IsWhitespace' is missing exception specification '__attribute__((nothrow))' [-Wmissing-exception-spec] inline bool PdfTokenizer::IsWhitespace(const unsigned char ch) ^ __attribute__((nothrow)) /data/scratch/misc/calibre/work/.buildlink/include/podofo/base/PdfTokenizer.h:135:39: note: previous declaration is here PODOFO_NOTHROW inline static bool IsWhitespace(const unsigned char ch); ^ /data/scratch/misc/calibre/work/.buildlink/include/podofo/base/PdfTokenizer.h:289:27: warning: 'IsDelimiter' is missing exception specification '__attribute__((nothrow))' [-Wmissing-exception-spec] inline bool PdfTokenizer::IsDelimiter(const unsigned char ch) ^ __attribute__((nothrow)) /data/scratch/misc/calibre/work/.buildlink/include/podofo/base/PdfTokenizer.h:142:39: note: previous declaration is here PODOFO_NOTHROW inline static bool IsDelimiter(const unsigned char ch); ^ /data/scratch/misc/calibre/work/.buildlink/include/podofo/base/PdfTokenizer.h:297:27: warning: 'IsRegular' is missing exception specification '__attribute__((nothrow))' [-Wmissing-exception-spec] inline bool PdfTokenizer::IsRegular(const unsigned char ch) ^ __attribute__((nothrow)) /data/scratch/misc/calibre/work/.buildlink/include/podofo/base/PdfTokenizer.h:149:39: note: previous declaration is here PODOFO_NOTHROW inline static bool IsRegular(const unsigned char ch); ^ /data/scratch/misc/calibre/work/.buildlink/include/podofo/base/PdfTokenizer.h:305:27: warning: 'IsPrintable' is missing exception specification '__attribute__((nothrow))' [-Wmissing-exception-spec] inline bool PdfTokenizer::IsPrintable(const unsigned char ch) ^ __attribute__((nothrow)) /data/scratch/misc/calibre/work/.buildlink/include/podofo/base/PdfTokenizer.h:155:39: note: previous declaration is here PODOFO_NOTHROW inline static bool IsPrintable(const unsigned char ch); ^ /data/scratch/misc/calibre/work/.buildlink/include/podofo/base/PdfTokenizer.h:313:26: warning: 'GetHexValue' is missing exception specification '__attribute__((nothrow))' [-Wmissing-exception-spec] inline int PdfTokenizer::GetHexValue(const unsigned char ch) ^ __attribute__((nothrow)) /data/scratch/misc/calibre/work/.buildlink/include/podofo/base/PdfTokenizer.h:166:38: note: previous declaration is here PODOFO_NOTHROW inline static int GetHexValue(const unsigned char ch); ^ In file included from /data/scratch/misc/calibre/work/calibre-3.40.1/src/calibre/utils/podofo/utils.cpp:8: In file included from /data/scratch/misc/calibre/work/calibre-3.40.1/src/calibre/utils/podofo/global.h:14: In file included from /data/scratch/misc/calibre/work/.buildlink/include/podofo/podofo.h:47: In file included from /data/scratch/misc/calibre/work/.buildlink/include/podofo/podofo-base.h:42: In file included from /data/scratch/misc/calibre/work/.buildlink/include/podofo/base/PdfArray.h:46: In file included from /data/scratch/misc/calibre/work/.buildlink/include/podofo/base/PdfObject.h:39: In file included from /data/scratch/misc/calibre/work/.buildlink/include/podofo/base/PdfParser.h:39: In file included from /data/scratch/misc/calibre/work/.buildlink/include/podofo/base/PdfVecObjects.h:38: /data/scratch/misc/calibre/work/.buildlink/include/podofo/base/PdfReference.h:181:36: warning: 'operator=' is missing exception specification '__attribute__((nothrow))' [-Wmissing-exception-spec] const PdfReference & PdfReference::operator=( const PdfReference & rhs ) ^ __attribute__((nothrow)) /data/scratch/misc/calibre/work/.buildlink/include/podofo/base/PdfReference.h:107:48: note: previous declaration is here PODOFO_NOTHROW inline const PdfReference & operator=( const PdfReference & rhs ); ^ /data/scratch/misc/calibre/work/.buildlink/include/podofo/base/PdfReference.h:191:20: warning: 'operator<' is missing exception specification '__attribute__((nothrow))' [-Wmissing-exception-spec] bool PdfReference::operator<( const PdfReference & rhs ) const ^ __attribute__((nothrow)) /data/scratch/misc/calibre/work/.buildlink/include/podofo/base/PdfReference.h:135:32: note: previous declaration is here PODOFO_NOTHROW inline bool operator<( const PdfReference & rhs ) const; ^ /data/scratch/misc/calibre/work/.buildlink/include/podofo/base/PdfReference.h:199:20: warning: 'operator==' is missing exception specification '__attribute__((nothrow))' [-Wmissing-exception-spec] bool PdfReference::operator==( const PdfReference & rhs ) const ^ __attribute__((nothrow)) /data/scratch/misc/calibre/work/.buildlink/include/podofo/base/PdfReference.h:123:32: note: previous declaration is here PODOFO_NOTHROW inline bool operator==( const PdfReference & rhs ) const; ^ /data/scratch/misc/calibre/work/.buildlink/include/podofo/base/PdfReference.h:207:27: warning: 'operator!=' is missing exception specification '__attribute__((nothrow))' [-Wmissing-exception-spec] inline bool PdfReference::operator!=( const PdfReference & rhs ) const ^ __attribute__((nothrow)) /data/scratch/misc/calibre/work/.buildlink/include/podofo/base/PdfReference.h:129:32: note: previous declaration is here PODOFO_NOTHROW inline bool operator!=( const PdfReference & rhs ) const; ^ /data/scratch/misc/calibre/work/.buildlink/include/podofo/base/PdfReference.h:215:20: warning: 'SetObjectNumber' is missing exception specification '__attribute__((nothrow))' [-Wmissing-exception-spec] void PdfReference::SetObjectNumber( pdf_objnum o ) ^ __attribute__((nothrow)) /data/scratch/misc/calibre/work/.buildlink/include/podofo/base/PdfReference.h:140:32: note: previous declaration is here PODOFO_NOTHROW inline void SetObjectNumber( pdf_objnum o ); ^ /data/scratch/misc/calibre/work/.buildlink/include/podofo/base/PdfReference.h:223:26: warning: 'ObjectNumber' is missing exception specification '__attribute__((nothrow))' [-Wmissing-exception-spec] pdf_objnum PdfReference::ObjectNumber() const ^ __attribute__((nothrow)) /data/scratch/misc/calibre/work/.buildlink/include/podofo/base/PdfReference.h:145:38: note: previous declaration is here PODOFO_NOTHROW inline pdf_objnum ObjectNumber() const; ^ /data/scratch/misc/calibre/work/.buildlink/include/podofo/base/PdfReference.h:231:20: warning: 'SetGenerationNumber' is missing exception specification '__attribute__((nothrow))' [-Wmissing-exception-spec] void PdfReference::SetGenerationNumber( pdf_gennum g ) ^ __attribute__((nothrow)) /data/scratch/misc/calibre/work/.buildlink/include/podofo/base/PdfReference.h:150:32: note: previous declaration is here PODOFO_NOTHROW inline void SetGenerationNumber( const pdf_gennum g ); ^ /data/scratch/misc/calibre/work/.buildlink/include/podofo/base/PdfReference.h:239:26: warning: 'GenerationNumber' is missing exception specification '__attribute__((nothrow))' [-Wmissing-exception-spec] pdf_gennum PdfReference::GenerationNumber() const ^ __attribute__((nothrow)) /data/scratch/misc/calibre/work/.buildlink/include/podofo/base/PdfReference.h:155:38: note: previous declaration is here PODOFO_NOTHROW inline pdf_gennum GenerationNumber() const; ^ /data/scratch/misc/calibre/work/.buildlink/include/podofo/base/PdfReference.h:247:20: warning: 'IsIndirect' is missing exception specification '__attribute__((nothrow))' [-Wmissing-exception-spec] bool PdfReference::IsIndirect() const ^ __attribute__((nothrow)) /data/scratch/misc/calibre/work/.buildlink/include/podofo/base/PdfReference.h:166:32: note: previous declaration is here PODOFO_NOTHROW inline bool IsIndirect() const; ^ In file included from /data/scratch/misc/calibre/work/calibre-3.40.1/src/calibre/utils/podofo/utils.cpp:8: In file included from /data/scratch/misc/calibre/work/calibre-3.40.1/src/calibre/utils/podofo/global.h:14: In file included from /data/scratch/misc/calibre/work/.buildlink/include/podofo/podofo.h:47: In file included from /data/scratch/misc/calibre/work/.buildlink/include/podofo/podofo-base.h:42: In file included from /data/scratch/misc/calibre/work/.buildlink/include/podofo/base/PdfArray.h:46: In file included from /data/scratch/misc/calibre/work/.buildlink/include/podofo/base/PdfObject.h:42: /data/scratch/misc/calibre/work/.buildlink/include/podofo/base/PdfVariant.h:920:18: warning: 'DelayedLoadDone' is missing exception specification '__attribute__((nothrow))' [-Wmissing-exception-spec] bool PdfVariant::DelayedLoadDone() const ^ __attribute__((nothrow)) /data/scratch/misc/calibre/work/.buildlink/include/podofo/base/PdfVariant.h:444:32: note: previous declaration is here PODOFO_NOTHROW inline bool DelayedLoadDone() const; ^ In file included from /data/scratch/misc/calibre/work/calibre-3.40.1/src/calibre/utils/podofo/utils.cpp:8: In file included from /data/scratch/misc/calibre/work/calibre-3.40.1/src/calibre/utils/podofo/global.h:14: In file included from /data/scratch/misc/calibre/work/.buildlink/include/podofo/podofo.h:47: In file included from /data/scratch/misc/calibre/work/.buildlink/include/podofo/podofo-base.h:42: In file included from /data/scratch/misc/calibre/work/.buildlink/include/podofo/base/PdfArray.h:46: /data/scratch/misc/calibre/work/.buildlink/include/podofo/base/PdfObject.h:359:17: warning: 'DelayedStreamLoadDone' is missing exception specification '__attribute__((nothrow))' [-Wmissing-exception-spec] bool PdfObject::DelayedStreamLoadDone() const ^ __attribute__((nothrow)) /data/scratch/misc/calibre/work/.buildlink/include/podofo/base/PdfObject.h:353:30: note: previous declaration is here PODOFO_NOTHROW inline bool DelayedStreamLoadDone() const; ^ /data/scratch/misc/calibre/work/.buildlink/include/podofo/base/PdfObject.h:400:17: warning: 'operator<' is missing exception specification '__attribute__((nothrow))' [-Wmissing-exception-spec] bool PdfObject::operator<( const PdfObject & rhs ) const ^ __attribute__((nothrow)) /data/scratch/misc/calibre/work/.buildlink/include/podofo/base/PdfObject.h:230:32: note: previous declaration is here PODOFO_NOTHROW inline bool operator<( const PdfObject & rhs ) const; ^ /data/scratch/misc/calibre/work/.buildlink/include/podofo/base/PdfObject.h:408:17: warning: 'operator==' is missing exception specification '__attribute__((nothrow))' [-Wmissing-exception-spec] bool PdfObject::operator==( const PdfObject & rhs ) const ^ __attribute__((nothrow)) /data/scratch/misc/calibre/work/.buildlink/include/podofo/base/PdfObject.h:235:32: note: previous declaration is here PODOFO_NOTHROW inline bool operator==( const PdfObject & rhs ) const; ^ In file included from /data/scratch/misc/calibre/work/calibre-3.40.1/src/calibre/utils/podofo/utils.cpp:8: In file included from /data/scratch/misc/calibre/work/calibre-3.40.1/src/calibre/utils/podofo/global.h:14: In file included from /data/scratch/misc/calibre/work/.buildlink/include/podofo/podofo.h:47: In file included from /data/scratch/misc/calibre/work/.buildlink/include/podofo/podofo-base.h:55: In file included from /data/scratch/misc/calibre/work/.buildlink/include/podofo/base/PdfFileStream.h:39: In file included from /data/scratch/misc/calibre/work/.buildlink/include/podofo/base/PdfStream.h:40: /data/scratch/misc/calibre/work/.buildlink/include/podofo/base/PdfFilter.h:429:17: warning: 'FailEncodeDecode' is missing exception specification '__attribute__((nothrow))' [-Wmissing-exception-spec] void PdfFilter::FailEncodeDecode() ^ __attribute__((nothrow)) /data/scratch/misc/calibre/work/.buildlink/include/podofo/base/PdfFilter.h:229:32: note: previous declaration is here PODOFO_NOTHROW inline void FailEncodeDecode(); ^ /data/scratch/misc/calibre/work/.buildlink/include/podofo/base/PdfFilter.h:466:17: warning: 'auto_ptr' is deprecated [-Wdeprecated-declarations] static std::auto_ptr Create( const EPdfFilter eFilter ); ^ /usr/include/c++/memory:2202:28: note: 'auto_ptr' has been explicitly marked deprecated here class _LIBCPP_TEMPLATE_VIS _LIBCPP_DEPRECATED_IN_CXX11 auto_ptr ^ /usr/include/c++/__config:989:39: note: expanded from macro '_LIBCPP_DEPRECATED_IN_CXX11' # define _LIBCPP_DEPRECATED_IN_CXX11 _LIBCPP_DEPRECATED ^ /usr/include/c++/__config:978:48: note: expanded from macro '_LIBCPP_DEPRECATED' # define _LIBCPP_DEPRECATED __attribute__ ((deprecated)) ^ In file included from /data/scratch/misc/calibre/work/calibre-3.40.1/src/calibre/utils/podofo/utils.cpp:8: In file included from /data/scratch/misc/calibre/work/calibre-3.40.1/src/calibre/utils/podofo/global.h:14: In file included from /data/scratch/misc/calibre/work/.buildlink/include/podofo/podofo.h:47: In file included from /data/scratch/misc/calibre/work/.buildlink/include/podofo/podofo-base.h:57: In file included from /data/scratch/misc/calibre/work/.buildlink/include/podofo/base/PdfImmediateWriter.h:39: In file included from /data/scratch/misc/calibre/work/.buildlink/include/podofo/base/PdfWriter.h:38: /data/scratch/misc/calibre/work/.buildlink/include/podofo/base/PdfInputDevice.h:179:22: warning: 'IsSeekable' is missing exception specification '__attribute__((nothrow))' [-Wmissing-exception-spec] bool PdfInputDevice::IsSeekable() const ^ __attribute__((nothrow)) /data/scratch/misc/calibre/work/.buildlink/include/podofo/base/PdfInputDevice.h:154:32: note: previous declaration is here PODOFO_NOTHROW inline bool IsSeekable() const; ^ /data/scratch/misc/calibre/work/.buildlink/include/podofo/base/PdfInputDevice.h:184:22: warning: 'SetSeekable' is missing exception specification '__attribute__((nothrow))' [-Wmissing-exception-spec] void PdfInputDevice::SetSeekable(bool bIsSeekable) ^ __attribute__((nothrow)) /data/scratch/misc/calibre/work/.buildlink/include/podofo/base/PdfInputDevice.h:160:32: note: previous declaration is here PODOFO_NOTHROW inline void SetSeekable(bool bIsSeekable); ^ /data/scratch/misc/calibre/work/.buildlink/include/podofo/base/PdfInputDevice.h:189:22: warning: 'Bad' is missing exception specification '__attribute__((nothrow))' [-Wmissing-exception-spec] bool PdfInputDevice::Bad() const ^ __attribute__((nothrow)) /data/scratch/misc/calibre/work/.buildlink/include/podofo/base/PdfInputDevice.h:142:40: note: previous declaration is here PODOFO_NOTHROW inline virtual bool Bad() const; ^ /data/scratch/misc/calibre/work/.buildlink/include/podofo/base/PdfInputDevice.h:196:22: warning: 'Eof' is missing exception specification '__attribute__((nothrow))' [-Wmissing-exception-spec] bool PdfInputDevice::Eof() const ^ __attribute__((nothrow)) /data/scratch/misc/calibre/work/.buildlink/include/podofo/base/PdfInputDevice.h:137:40: note: previous declaration is here PODOFO_NOTHROW inline virtual bool Eof() const; ^ /data/scratch/misc/calibre/work/.buildlink/include/podofo/base/PdfInputDevice.h:205:22: warning: 'Clear' is missing exception specification '__attribute__((nothrow))' [-Wmissing-exception-spec] void PdfInputDevice::Clear(std::ios_base::iostate state) const ^ __attribute__((nothrow)) /data/scratch/misc/calibre/work/.buildlink/include/podofo/base/PdfInputDevice.h:148:40: note: previous declaration is here PODOFO_NOTHROW inline virtual void Clear( std::ios_base::iostate state = std::ios_base::goodbit) const; ^ 40 warnings generated. clang++ -Wall -DNDEBUG -fno-strict-aliasing -pipe -fPIC -O2 -I/usr/include -I/usr/pkg/include -I/usr/pkg/include/freetype2 -I/usr/pkg/include/nss/nss -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/libdrm -fvisibility=hidden -pthread -I/usr/pkg/include/python2.7 -O3 -DCALIBRE_MODINIT_FUNC=extern "C" __attribute__ ((visibility ("default"))) void -I/usr/pkg/include -I/usr/pkg/include/podofo -c /data/scratch/misc/calibre/work/calibre-3.40.1/src/calibre/utils/podofo/podofo.cpp -o /data/scratch/misc/calibre/work/calibre-3.40.1/build/objects/podofo/podofo.o In file included from /data/scratch/misc/calibre/work/calibre-3.40.1/src/calibre/utils/podofo/podofo.cpp:3: In file included from /data/scratch/misc/calibre/work/.buildlink/include/python2.7/Python.h:88: /data/scratch/misc/calibre/work/.buildlink/include/python2.7/unicodeobject.h:534:5: warning: 'register' storage class specifier is deprecated and incompatible with C++17 [-Wdeprecated-register] register PyObject *obj, /* Object */ ^~~~~~~~~ /data/scratch/misc/calibre/work/.buildlink/include/python2.7/unicodeobject.h:553:5: warning: 'register' storage class specifier is deprecated and incompatible with C++17 [-Wdeprecated-register] register PyObject *obj /* Object */ ^~~~~~~~~ /data/scratch/misc/calibre/work/.buildlink/include/python2.7/unicodeobject.h:575:5: warning: 'register' storage class specifier is deprecated and incompatible with C++17 [-Wdeprecated-register] register const wchar_t *w, /* wchar_t buffer */ ^~~~~~~~~ /data/scratch/misc/calibre/work/.buildlink/include/python2.7/unicodeobject.h:593:5: warning: 'register' storage class specifier is deprecated and incompatible with C++17 [-Wdeprecated-register] register wchar_t *w, /* wchar_t buffer */ ^~~~~~~~~ In file included from /data/scratch/misc/calibre/work/calibre-3.40.1/src/calibre/utils/podofo/podofo.cpp:3: In file included from /data/scratch/misc/calibre/work/.buildlink/include/python2.7/Python.h:97: /data/scratch/misc/calibre/work/.buildlink/include/python2.7/stringobject.h:173:5: warning: 'register' storage class specifier is deprecated and incompatible with C++17 [-Wdeprecated-register] register PyObject *obj, /* string or Unicode object */ ^~~~~~~~~ /data/scratch/misc/calibre/work/.buildlink/include/python2.7/stringobject.h:174:5: warning: 'register' storage class specifier is deprecated and incompatible with C++17 [-Wdeprecated-register] register char **s, /* pointer to buffer variable */ ^~~~~~~~~ /data/scratch/misc/calibre/work/.buildlink/include/python2.7/stringobject.h:175:5: warning: 'register' storage class specifier is deprecated and incompatible with C++17 [-Wdeprecated-register] register Py_ssize_t *len /* pointer to length variable or NULL ^~~~~~~~~ In file included from /data/scratch/misc/calibre/work/calibre-3.40.1/src/calibre/utils/podofo/podofo.cpp:6: In file included from /data/scratch/misc/calibre/work/.buildlink/include/podofo/podofo.h:47: In file included from /data/scratch/misc/calibre/work/.buildlink/include/podofo/podofo-base.h:42: In file included from /data/scratch/misc/calibre/work/.buildlink/include/podofo/base/PdfArray.h:46: In file included from /data/scratch/misc/calibre/work/.buildlink/include/podofo/base/PdfObject.h:38: /data/scratch/misc/calibre/work/.buildlink/include/podofo/base/PdfName.h:221:30: warning: 'GetName' is missing exception specification '__attribute__((nothrow))' [-Wmissing-exception-spec] const std::string & PdfName::GetName() const ^ __attribute__((nothrow)) /data/scratch/misc/calibre/work/.buildlink/include/podofo/base/PdfName.h:148:46: note: previous declaration is here PODOFO_NOTHROW inline const std::string& GetName() const; ^ /data/scratch/misc/calibre/work/.buildlink/include/podofo/base/PdfName.h:229:17: warning: 'GetLength' is missing exception specification '__attribute__((nothrow))' [-Wmissing-exception-spec] size_t PdfName::GetLength() const ^ __attribute__((nothrow)) /data/scratch/misc/calibre/work/.buildlink/include/podofo/base/PdfName.h:153:34: note: previous declaration is here PODOFO_NOTHROW inline size_t GetLength() const; ^ /data/scratch/misc/calibre/work/.buildlink/include/podofo/base/PdfName.h:237:15: warning: 'operator!=' is missing exception specification '__attribute__((nothrow))' [-Wmissing-exception-spec] bool PdfName::operator!=( const PdfName & rhs ) const ^ __attribute__((nothrow)) /data/scratch/misc/calibre/work/.buildlink/include/podofo/base/PdfName.h:186:32: note: previous declaration is here PODOFO_NOTHROW inline bool operator!=( const PdfName & rhs ) const; ^ /data/scratch/misc/calibre/work/.buildlink/include/podofo/base/PdfName.h:250:15: warning: 'operator<' is missing exception specification '__attribute__((nothrow))' [-Wmissing-exception-spec] bool PdfName::operator<( const PdfName & rhs ) const ^ __attribute__((nothrow)) /data/scratch/misc/calibre/work/.buildlink/include/podofo/base/PdfName.h:201:32: note: previous declaration is here PODOFO_NOTHROW inline bool operator<( const PdfName & rhs ) const; ^ /data/scratch/misc/calibre/work/.buildlink/include/podofo/base/PdfName.h:255:15: warning: 'operator==' is missing exception specification '__attribute__((nothrow))' [-Wmissing-exception-spec] bool PdfName::operator==( const PdfName & rhs ) const ^ __attribute__((nothrow)) /data/scratch/misc/calibre/work/.buildlink/include/podofo/base/PdfName.h:163:32: note: previous declaration is here PODOFO_NOTHROW inline bool operator==( const PdfName & rhs ) const; ^ /data/scratch/misc/calibre/work/.buildlink/include/podofo/base/PdfName.h:260:15: warning: 'operator==' is missing exception specification '__attribute__((nothrow))' [-Wmissing-exception-spec] bool PdfName::operator==( const std::string & rhs ) const ^ __attribute__((nothrow)) /data/scratch/misc/calibre/work/.buildlink/include/podofo/base/PdfName.h:181:32: note: previous declaration is here PODOFO_NOTHROW inline bool operator==( const std::string& rhs ) const; ^ /data/scratch/misc/calibre/work/.buildlink/include/podofo/base/PdfName.h:265:25: warning: 'operator=' is missing exception specification '__attribute__((nothrow))' [-Wmissing-exception-spec] const PdfName& PdfName::operator=( const PdfName & rhs ) ^ __attribute__((nothrow)) /data/scratch/misc/calibre/work/.buildlink/include/podofo/base/PdfName.h:158:42: note: previous declaration is here PODOFO_NOTHROW inline const PdfName& operator=( const PdfName & rhs ); ^ In file included from /data/scratch/misc/calibre/work/calibre-3.40.1/src/calibre/utils/podofo/podofo.cpp:6: In file included from /data/scratch/misc/calibre/work/.buildlink/include/podofo/podofo.h:47: In file included from /data/scratch/misc/calibre/work/.buildlink/include/podofo/podofo-base.h:42: In file included from /data/scratch/misc/calibre/work/.buildlink/include/podofo/base/PdfArray.h:46: In file included from /data/scratch/misc/calibre/work/.buildlink/include/podofo/base/PdfObject.h:39: In file included from /data/scratch/misc/calibre/work/.buildlink/include/podofo/base/PdfParser.h:38: In file included from /data/scratch/misc/calibre/work/.buildlink/include/podofo/base/PdfTokenizer.h:39: /data/scratch/misc/calibre/work/.buildlink/include/podofo/base/PdfRefCountedInputDevice.h:130:50: warning: 'Device' is missing exception specification '__attribute__((nothrow))' [-Wmissing-exception-spec] inline PdfInputDevice* PdfRefCountedInputDevice::Device() const ^ __attribute__((nothrow)) /data/scratch/misc/calibre/work/.buildlink/include/podofo/base/PdfRefCountedInputDevice.h:104:43: note: previous declaration is here PODOFO_NOTHROW inline PdfInputDevice* Device() const; ^ In file included from /data/scratch/misc/calibre/work/calibre-3.40.1/src/calibre/utils/podofo/podofo.cpp:6: In file included from /data/scratch/misc/calibre/work/.buildlink/include/podofo/podofo.h:47: In file included from /data/scratch/misc/calibre/work/.buildlink/include/podofo/podofo-base.h:42: In file included from /data/scratch/misc/calibre/work/.buildlink/include/podofo/base/PdfArray.h:46: In file included from /data/scratch/misc/calibre/work/.buildlink/include/podofo/base/PdfObject.h:39: In file included from /data/scratch/misc/calibre/work/.buildlink/include/podofo/base/PdfParser.h:38: /data/scratch/misc/calibre/work/.buildlink/include/podofo/base/PdfTokenizer.h:281:27: warning: 'IsWhitespace' is missing exception specification '__attribute__((nothrow))' [-Wmissing-exception-spec] inline bool PdfTokenizer::IsWhitespace(const unsigned char ch) ^ __attribute__((nothrow)) /data/scratch/misc/calibre/work/.buildlink/include/podofo/base/PdfTokenizer.h:135:39: note: previous declaration is here PODOFO_NOTHROW inline static bool IsWhitespace(const unsigned char ch); ^ /data/scratch/misc/calibre/work/.buildlink/include/podofo/base/PdfTokenizer.h:289:27: warning: 'IsDelimiter' is missing exception specification '__attribute__((nothrow))' [-Wmissing-exception-spec] inline bool PdfTokenizer::IsDelimiter(const unsigned char ch) ^ __attribute__((nothrow)) /data/scratch/misc/calibre/work/.buildlink/include/podofo/base/PdfTokenizer.h:142:39: note: previous declaration is here PODOFO_NOTHROW inline static bool IsDelimiter(const unsigned char ch); ^ /data/scratch/misc/calibre/work/.buildlink/include/podofo/base/PdfTokenizer.h:297:27: warning: 'IsRegular' is missing exception specification '__attribute__((nothrow))' [-Wmissing-exception-spec] inline bool PdfTokenizer::IsRegular(const unsigned char ch) ^ __attribute__((nothrow)) /data/scratch/misc/calibre/work/.buildlink/include/podofo/base/PdfTokenizer.h:149:39: note: previous declaration is here PODOFO_NOTHROW inline static bool IsRegular(const unsigned char ch); ^ /data/scratch/misc/calibre/work/.buildlink/include/podofo/base/PdfTokenizer.h:305:27: warning: 'IsPrintable' is missing exception specification '__attribute__((nothrow))' [-Wmissing-exception-spec] inline bool PdfTokenizer::IsPrintable(const unsigned char ch) ^ __attribute__((nothrow)) /data/scratch/misc/calibre/work/.buildlink/include/podofo/base/PdfTokenizer.h:155:39: note: previous declaration is here PODOFO_NOTHROW inline static bool IsPrintable(const unsigned char ch); ^ /data/scratch/misc/calibre/work/.buildlink/include/podofo/base/PdfTokenizer.h:313:26: warning: 'GetHexValue' is missing exception specification '__attribute__((nothrow))' [-Wmissing-exception-spec] inline int PdfTokenizer::GetHexValue(const unsigned char ch) ^ __attribute__((nothrow)) /data/scratch/misc/calibre/work/.buildlink/include/podofo/base/PdfTokenizer.h:166:38: note: previous declaration is here PODOFO_NOTHROW inline static int GetHexValue(const unsigned char ch); ^ In file included from /data/scratch/misc/calibre/work/calibre-3.40.1/src/calibre/utils/podofo/podofo.cpp:6: In file included from /data/scratch/misc/calibre/work/.buildlink/include/podofo/podofo.h:47: In file included from /data/scratch/misc/calibre/work/.buildlink/include/podofo/podofo-base.h:42: In file included from /data/scratch/misc/calibre/work/.buildlink/include/podofo/base/PdfArray.h:46: In file included from /data/scratch/misc/calibre/work/.buildlink/include/podofo/base/PdfObject.h:39: In file included from /data/scratch/misc/calibre/work/.buildlink/include/podofo/base/PdfParser.h:39: In file included from /data/scratch/misc/calibre/work/.buildlink/include/podofo/base/PdfVecObjects.h:38: /data/scratch/misc/calibre/work/.buildlink/include/podofo/base/PdfReference.h:181:36: warning: 'operator=' is missing exception specification '__attribute__((nothrow))' [-Wmissing-exception-spec] const PdfReference & PdfReference::operator=( const PdfReference & rhs ) ^ __attribute__((nothrow)) /data/scratch/misc/calibre/work/.buildlink/include/podofo/base/PdfReference.h:107:48: note: previous declaration is here PODOFO_NOTHROW inline const PdfReference & operator=( const PdfReference & rhs ); ^ /data/scratch/misc/calibre/work/.buildlink/include/podofo/base/PdfReference.h:191:20: warning: 'operator<' is missing exception specification '__attribute__((nothrow))' [-Wmissing-exception-spec] bool PdfReference::operator<( const PdfReference & rhs ) const ^ __attribute__((nothrow)) /data/scratch/misc/calibre/work/.buildlink/include/podofo/base/PdfReference.h:135:32: note: previous declaration is here PODOFO_NOTHROW inline bool operator<( const PdfReference & rhs ) const; ^ /data/scratch/misc/calibre/work/.buildlink/include/podofo/base/PdfReference.h:199:20: warning: 'operator==' is missing exception specification '__attribute__((nothrow))' [-Wmissing-exception-spec] bool PdfReference::operator==( const PdfReference & rhs ) const ^ __attribute__((nothrow)) /data/scratch/misc/calibre/work/.buildlink/include/podofo/base/PdfReference.h:123:32: note: previous declaration is here PODOFO_NOTHROW inline bool operator==( const PdfReference & rhs ) const; ^ /data/scratch/misc/calibre/work/.buildlink/include/podofo/base/PdfReference.h:207:27: warning: 'operator!=' is missing exception specification '__attribute__((nothrow))' [-Wmissing-exception-spec] inline bool PdfReference::operator!=( const PdfReference & rhs ) const ^ __attribute__((nothrow)) /data/scratch/misc/calibre/work/.buildlink/include/podofo/base/PdfReference.h:129:32: note: previous declaration is here PODOFO_NOTHROW inline bool operator!=( const PdfReference & rhs ) const; ^ /data/scratch/misc/calibre/work/.buildlink/include/podofo/base/PdfReference.h:215:20: warning: 'SetObjectNumber' is missing exception specification '__attribute__((nothrow))' [-Wmissing-exception-spec] void PdfReference::SetObjectNumber( pdf_objnum o ) ^ __attribute__((nothrow)) /data/scratch/misc/calibre/work/.buildlink/include/podofo/base/PdfReference.h:140:32: note: previous declaration is here PODOFO_NOTHROW inline void SetObjectNumber( pdf_objnum o ); ^ /data/scratch/misc/calibre/work/.buildlink/include/podofo/base/PdfReference.h:223:26: warning: 'ObjectNumber' is missing exception specification '__attribute__((nothrow))' [-Wmissing-exception-spec] pdf_objnum PdfReference::ObjectNumber() const ^ __attribute__((nothrow)) /data/scratch/misc/calibre/work/.buildlink/include/podofo/base/PdfReference.h:145:38: note: previous declaration is here PODOFO_NOTHROW inline pdf_objnum ObjectNumber() const; ^ /data/scratch/misc/calibre/work/.buildlink/include/podofo/base/PdfReference.h:231:20: warning: 'SetGenerationNumber' is missing exception specification '__attribute__((nothrow))' [-Wmissing-exception-spec] void PdfReference::SetGenerationNumber( pdf_gennum g ) ^ __attribute__((nothrow)) /data/scratch/misc/calibre/work/.buildlink/include/podofo/base/PdfReference.h:150:32: note: previous declaration is here PODOFO_NOTHROW inline void SetGenerationNumber( const pdf_gennum g ); ^ /data/scratch/misc/calibre/work/.buildlink/include/podofo/base/PdfReference.h:239:26: warning: 'GenerationNumber' is missing exception specification '__attribute__((nothrow))' [-Wmissing-exception-spec] pdf_gennum PdfReference::GenerationNumber() const ^ __attribute__((nothrow)) /data/scratch/misc/calibre/work/.buildlink/include/podofo/base/PdfReference.h:155:38: note: previous declaration is here PODOFO_NOTHROW inline pdf_gennum GenerationNumber() const; ^ /data/scratch/misc/calibre/work/.buildlink/include/podofo/base/PdfReference.h:247:20: warning: 'IsIndirect' is missing exception specification '__attribute__((nothrow))' [-Wmissing-exception-spec] bool PdfReference::IsIndirect() const ^ __attribute__((nothrow)) /data/scratch/misc/calibre/work/.buildlink/include/podofo/base/PdfReference.h:166:32: note: previous declaration is here PODOFO_NOTHROW inline bool IsIndirect() const; ^ In file included from /data/scratch/misc/calibre/work/calibre-3.40.1/src/calibre/utils/podofo/podofo.cpp:6: In file included from /data/scratch/misc/calibre/work/.buildlink/include/podofo/podofo.h:47: In file included from /data/scratch/misc/calibre/work/.buildlink/include/podofo/podofo-base.h:42: In file included from /data/scratch/misc/calibre/work/.buildlink/include/podofo/base/PdfArray.h:46: In file included from /data/scratch/misc/calibre/work/.buildlink/include/podofo/base/PdfObject.h:42: /data/scratch/misc/calibre/work/.buildlink/include/podofo/base/PdfVariant.h:920:18: warning: 'DelayedLoadDone' is missing exception specification '__attribute__((nothrow))' [-Wmissing-exception-spec] bool PdfVariant::DelayedLoadDone() const ^ __attribute__((nothrow)) /data/scratch/misc/calibre/work/.buildlink/include/podofo/base/PdfVariant.h:444:32: note: previous declaration is here PODOFO_NOTHROW inline bool DelayedLoadDone() const; ^ In file included from /data/scratch/misc/calibre/work/calibre-3.40.1/src/calibre/utils/podofo/podofo.cpp:6: In file included from /data/scratch/misc/calibre/work/.buildlink/include/podofo/podofo.h:47: In file included from /data/scratch/misc/calibre/work/.buildlink/include/podofo/podofo-base.h:42: In file included from /data/scratch/misc/calibre/work/.buildlink/include/podofo/base/PdfArray.h:46: /data/scratch/misc/calibre/work/.buildlink/include/podofo/base/PdfObject.h:359:17: warning: 'DelayedStreamLoadDone' is missing exception specification '__attribute__((nothrow))' [-Wmissing-exception-spec] bool PdfObject::DelayedStreamLoadDone() const ^ __attribute__((nothrow)) /data/scratch/misc/calibre/work/.buildlink/include/podofo/base/PdfObject.h:353:30: note: previous declaration is here PODOFO_NOTHROW inline bool DelayedStreamLoadDone() const; ^ /data/scratch/misc/calibre/work/.buildlink/include/podofo/base/PdfObject.h:400:17: warning: 'operator<' is missing exception specification '__attribute__((nothrow))' [-Wmissing-exception-spec] bool PdfObject::operator<( const PdfObject & rhs ) const ^ __attribute__((nothrow)) /data/scratch/misc/calibre/work/.buildlink/include/podofo/base/PdfObject.h:230:32: note: previous declaration is here PODOFO_NOTHROW inline bool operator<( const PdfObject & rhs ) const; ^ /data/scratch/misc/calibre/work/.buildlink/include/podofo/base/PdfObject.h:408:17: warning: 'operator==' is missing exception specification '__attribute__((nothrow))' [-Wmissing-exception-spec] bool PdfObject::operator==( const PdfObject & rhs ) const ^ __attribute__((nothrow)) /data/scratch/misc/calibre/work/.buildlink/include/podofo/base/PdfObject.h:235:32: note: previous declaration is here PODOFO_NOTHROW inline bool operator==( const PdfObject & rhs ) const; ^ In file included from /data/scratch/misc/calibre/work/calibre-3.40.1/src/calibre/utils/podofo/podofo.cpp:6: In file included from /data/scratch/misc/calibre/work/.buildlink/include/podofo/podofo.h:47: In file included from /data/scratch/misc/calibre/work/.buildlink/include/podofo/podofo-base.h:55: In file included from /data/scratch/misc/calibre/work/.buildlink/include/podofo/base/PdfFileStream.h:39: In file included from /data/scratch/misc/calibre/work/.buildlink/include/podofo/base/PdfStream.h:40: /data/scratch/misc/calibre/work/.buildlink/include/podofo/base/PdfFilter.h:429:17: warning: 'FailEncodeDecode' is missing exception specification '__attribute__((nothrow))' [-Wmissing-exception-spec] void PdfFilter::FailEncodeDecode() ^ __attribute__((nothrow)) /data/scratch/misc/calibre/work/.buildlink/include/podofo/base/PdfFilter.h:229:32: note: previous declaration is here PODOFO_NOTHROW inline void FailEncodeDecode(); ^ /data/scratch/misc/calibre/work/.buildlink/include/podofo/base/PdfFilter.h:466:17: warning: 'auto_ptr' is deprecated [-Wdeprecated-declarations] static std::auto_ptr Create( const EPdfFilter eFilter ); ^ /usr/include/c++/memory:2202:28: note: 'auto_ptr' has been explicitly marked deprecated here class _LIBCPP_TEMPLATE_VIS _LIBCPP_DEPRECATED_IN_CXX11 auto_ptr ^ /usr/include/c++/__config:989:39: note: expanded from macro '_LIBCPP_DEPRECATED_IN_CXX11' # define _LIBCPP_DEPRECATED_IN_CXX11 _LIBCPP_DEPRECATED ^ /usr/include/c++/__config:978:48: note: expanded from macro '_LIBCPP_DEPRECATED' # define _LIBCPP_DEPRECATED __attribute__ ((deprecated)) ^ In file included from /data/scratch/misc/calibre/work/calibre-3.40.1/src/calibre/utils/podofo/podofo.cpp:6: In file included from /data/scratch/misc/calibre/work/.buildlink/include/podofo/podofo.h:47: In file included from /data/scratch/misc/calibre/work/.buildlink/include/podofo/podofo-base.h:57: In file included from /data/scratch/misc/calibre/work/.buildlink/include/podofo/base/PdfImmediateWriter.h:39: In file included from /data/scratch/misc/calibre/work/.buildlink/include/podofo/base/PdfWriter.h:38: /data/scratch/misc/calibre/work/.buildlink/include/podofo/base/PdfInputDevice.h:179:22: warning: 'IsSeekable' is missing exception specification '__attribute__((nothrow))' [-Wmissing-exception-spec] bool PdfInputDevice::IsSeekable() const ^ __attribute__((nothrow)) /data/scratch/misc/calibre/work/.buildlink/include/podofo/base/PdfInputDevice.h:154:32: note: previous declaration is here PODOFO_NOTHROW inline bool IsSeekable() const; ^ /data/scratch/misc/calibre/work/.buildlink/include/podofo/base/PdfInputDevice.h:184:22: warning: 'SetSeekable' is missing exception specification '__attribute__((nothrow))' [-Wmissing-exception-spec] void PdfInputDevice::SetSeekable(bool bIsSeekable) ^ __attribute__((nothrow)) /data/scratch/misc/calibre/work/.buildlink/include/podofo/base/PdfInputDevice.h:160:32: note: previous declaration is here PODOFO_NOTHROW inline void SetSeekable(bool bIsSeekable); ^ /data/scratch/misc/calibre/work/.buildlink/include/podofo/base/PdfInputDevice.h:189:22: warning: 'Bad' is missing exception specification '__attribute__((nothrow))' [-Wmissing-exception-spec] bool PdfInputDevice::Bad() const ^ __attribute__((nothrow)) /data/scratch/misc/calibre/work/.buildlink/include/podofo/base/PdfInputDevice.h:142:40: note: previous declaration is here PODOFO_NOTHROW inline virtual bool Bad() const; ^ /data/scratch/misc/calibre/work/.buildlink/include/podofo/base/PdfInputDevice.h:196:22: warning: 'Eof' is missing exception specification '__attribute__((nothrow))' [-Wmissing-exception-spec] bool PdfInputDevice::Eof() const ^ __attribute__((nothrow)) /data/scratch/misc/calibre/work/.buildlink/include/podofo/base/PdfInputDevice.h:137:40: note: previous declaration is here PODOFO_NOTHROW inline virtual bool Eof() const; ^ /data/scratch/misc/calibre/work/.buildlink/include/podofo/base/PdfInputDevice.h:205:22: warning: 'Clear' is missing exception specification '__attribute__((nothrow))' [-Wmissing-exception-spec] void PdfInputDevice::Clear(std::ios_base::iostate state) const ^ __attribute__((nothrow)) /data/scratch/misc/calibre/work/.buildlink/include/podofo/base/PdfInputDevice.h:148:40: note: previous declaration is here PODOFO_NOTHROW inline virtual void Clear( std::ios_base::iostate state = std::ios_base::goodbit) const; ^ 40 warnings generated. clang++ -Wall -DNDEBUG -fno-strict-aliasing -pipe -fPIC -O2 -I/usr/include -I/usr/pkg/include -I/usr/pkg/include/freetype2 -I/usr/pkg/include/nss/nss -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/libdrm -fvisibility=hidden -pthread -I/usr/pkg/include/python2.7 -O3 -DCALIBRE_MODINIT_FUNC=extern "C" __attribute__ ((visibility ("default"))) void -I/usr/pkg/include -I/usr/pkg/include/podofo -c /data/scratch/misc/calibre/work/calibre-3.40.1/src/calibre/utils/podofo/doc.cpp -o /data/scratch/misc/calibre/work/calibre-3.40.1/build/objects/podofo/doc.o In file included from /data/scratch/misc/calibre/work/calibre-3.40.1/src/calibre/utils/podofo/doc.cpp:8: In file included from /data/scratch/misc/calibre/work/calibre-3.40.1/src/calibre/utils/podofo/global.h:11: In file included from /data/scratch/misc/calibre/work/.buildlink/include/python2.7/Python.h:88: /data/scratch/misc/calibre/work/.buildlink/include/python2.7/unicodeobject.h:534:5: warning: 'register' storage class specifier is deprecated and incompatible with C++17 [-Wdeprecated-register] register PyObject *obj, /* Object */ ^~~~~~~~~ /data/scratch/misc/calibre/work/.buildlink/include/python2.7/unicodeobject.h:553:5: warning: 'register' storage class specifier is deprecated and incompatible with C++17 [-Wdeprecated-register] register PyObject *obj /* Object */ ^~~~~~~~~ /data/scratch/misc/calibre/work/.buildlink/include/python2.7/unicodeobject.h:575:5: warning: 'register' storage class specifier is deprecated and incompatible with C++17 [-Wdeprecated-register] register const wchar_t *w, /* wchar_t buffer */ ^~~~~~~~~ /data/scratch/misc/calibre/work/.buildlink/include/python2.7/unicodeobject.h:593:5: warning: 'register' storage class specifier is deprecated and incompatible with C++17 [-Wdeprecated-register] register wchar_t *w, /* wchar_t buffer */ ^~~~~~~~~ In file included from /data/scratch/misc/calibre/work/calibre-3.40.1/src/calibre/utils/podofo/doc.cpp:8: In file included from /data/scratch/misc/calibre/work/calibre-3.40.1/src/calibre/utils/podofo/global.h:11: In file included from /data/scratch/misc/calibre/work/.buildlink/include/python2.7/Python.h:97: /data/scratch/misc/calibre/work/.buildlink/include/python2.7/stringobject.h:173:5: warning: 'register' storage class specifier is deprecated and incompatible with C++17 [-Wdeprecated-register] register PyObject *obj, /* string or Unicode object */ ^~~~~~~~~ /data/scratch/misc/calibre/work/.buildlink/include/python2.7/stringobject.h:174:5: warning: 'register' storage class specifier is deprecated and incompatible with C++17 [-Wdeprecated-register] register char **s, /* pointer to buffer variable */ ^~~~~~~~~ /data/scratch/misc/calibre/work/.buildlink/include/python2.7/stringobject.h:175:5: warning: 'register' storage class specifier is deprecated and incompatible with C++17 [-Wdeprecated-register] register Py_ssize_t *len /* pointer to length variable or NULL ^~~~~~~~~ In file included from /data/scratch/misc/calibre/work/calibre-3.40.1/src/calibre/utils/podofo/doc.cpp:8: In file included from /data/scratch/misc/calibre/work/calibre-3.40.1/src/calibre/utils/podofo/global.h:14: In file included from /data/scratch/misc/calibre/work/.buildlink/include/podofo/podofo.h:47: In file included from /data/scratch/misc/calibre/work/.buildlink/include/podofo/podofo-base.h:42: In file included from /data/scratch/misc/calibre/work/.buildlink/include/podofo/base/PdfArray.h:46: In file included from /data/scratch/misc/calibre/work/.buildlink/include/podofo/base/PdfObject.h:38: /data/scratch/misc/calibre/work/.buildlink/include/podofo/base/PdfName.h:221:30: warning: 'GetName' is missing exception specification '__attribute__((nothrow))' [-Wmissing-exception-spec] const std::string & PdfName::GetName() const ^ __attribute__((nothrow)) /data/scratch/misc/calibre/work/.buildlink/include/podofo/base/PdfName.h:148:46: note: previous declaration is here PODOFO_NOTHROW inline const std::string& GetName() const; ^ /data/scratch/misc/calibre/work/.buildlink/include/podofo/base/PdfName.h:229:17: warning: 'GetLength' is missing exception specification '__attribute__((nothrow))' [-Wmissing-exception-spec] size_t PdfName::GetLength() const ^ __attribute__((nothrow)) /data/scratch/misc/calibre/work/.buildlink/include/podofo/base/PdfName.h:153:34: note: previous declaration is here PODOFO_NOTHROW inline size_t GetLength() const; ^ /data/scratch/misc/calibre/work/.buildlink/include/podofo/base/PdfName.h:237:15: warning: 'operator!=' is missing exception specification '__attribute__((nothrow))' [-Wmissing-exception-spec] bool PdfName::operator!=( const PdfName & rhs ) const ^ __attribute__((nothrow)) /data/scratch/misc/calibre/work/.buildlink/include/podofo/base/PdfName.h:186:32: note: previous declaration is here PODOFO_NOTHROW inline bool operator!=( const PdfName & rhs ) const; ^ /data/scratch/misc/calibre/work/.buildlink/include/podofo/base/PdfName.h:250:15: warning: 'operator<' is missing exception specification '__attribute__((nothrow))' [-Wmissing-exception-spec] bool PdfName::operator<( const PdfName & rhs ) const ^ __attribute__((nothrow)) /data/scratch/misc/calibre/work/.buildlink/include/podofo/base/PdfName.h:201:32: note: previous declaration is here PODOFO_NOTHROW inline bool operator<( const PdfName & rhs ) const; ^ /data/scratch/misc/calibre/work/.buildlink/include/podofo/base/PdfName.h:255:15: warning: 'operator==' is missing exception specification '__attribute__((nothrow))' [-Wmissing-exception-spec] bool PdfName::operator==( const PdfName & rhs ) const ^ __attribute__((nothrow)) /data/scratch/misc/calibre/work/.buildlink/include/podofo/base/PdfName.h:163:32: note: previous declaration is here PODOFO_NOTHROW inline bool operator==( const PdfName & rhs ) const; ^ /data/scratch/misc/calibre/work/.buildlink/include/podofo/base/PdfName.h:260:15: warning: 'operator==' is missing exception specification '__attribute__((nothrow))' [-Wmissing-exception-spec] bool PdfName::operator==( const std::string & rhs ) const ^ __attribute__((nothrow)) /data/scratch/misc/calibre/work/.buildlink/include/podofo/base/PdfName.h:181:32: note: previous declaration is here PODOFO_NOTHROW inline bool operator==( const std::string& rhs ) const; ^ /data/scratch/misc/calibre/work/.buildlink/include/podofo/base/PdfName.h:265:25: warning: 'operator=' is missing exception specification '__attribute__((nothrow))' [-Wmissing-exception-spec] const PdfName& PdfName::operator=( const PdfName & rhs ) ^ __attribute__((nothrow)) /data/scratch/misc/calibre/work/.buildlink/include/podofo/base/PdfName.h:158:42: note: previous declaration is here PODOFO_NOTHROW inline const PdfName& operator=( const PdfName & rhs ); ^ In file included from /data/scratch/misc/calibre/work/calibre-3.40.1/src/calibre/utils/podofo/doc.cpp:8: In file included from /data/scratch/misc/calibre/work/calibre-3.40.1/src/calibre/utils/podofo/global.h:14: In file included from /data/scratch/misc/calibre/work/.buildlink/include/podofo/podofo.h:47: In file included from /data/scratch/misc/calibre/work/.buildlink/include/podofo/podofo-base.h:42: In file included from /data/scratch/misc/calibre/work/.buildlink/include/podofo/base/PdfArray.h:46: In file included from /data/scratch/misc/calibre/work/.buildlink/include/podofo/base/PdfObject.h:39: In file included from /data/scratch/misc/calibre/work/.buildlink/include/podofo/base/PdfParser.h:38: In file included from /data/scratch/misc/calibre/work/.buildlink/include/podofo/base/PdfTokenizer.h:39: /data/scratch/misc/calibre/work/.buildlink/include/podofo/base/PdfRefCountedInputDevice.h:130:50: warning: 'Device' is missing exception specification '__attribute__((nothrow))' [-Wmissing-exception-spec] inline PdfInputDevice* PdfRefCountedInputDevice::Device() const ^ __attribute__((nothrow)) /data/scratch/misc/calibre/work/.buildlink/include/podofo/base/PdfRefCountedInputDevice.h:104:43: note: previous declaration is here PODOFO_NOTHROW inline PdfInputDevice* Device() const; ^ In file included from /data/scratch/misc/calibre/work/calibre-3.40.1/src/calibre/utils/podofo/doc.cpp:8: In file included from /data/scratch/misc/calibre/work/calibre-3.40.1/src/calibre/utils/podofo/global.h:14: In file included from /data/scratch/misc/calibre/work/.buildlink/include/podofo/podofo.h:47: In file included from /data/scratch/misc/calibre/work/.buildlink/include/podofo/podofo-base.h:42: In file included from /data/scratch/misc/calibre/work/.buildlink/include/podofo/base/PdfArray.h:46: In file included from /data/scratch/misc/calibre/work/.buildlink/include/podofo/base/PdfObject.h:39: In file included from /data/scratch/misc/calibre/work/.buildlink/include/podofo/base/PdfParser.h:38: /data/scratch/misc/calibre/work/.buildlink/include/podofo/base/PdfTokenizer.h:281:27: warning: 'IsWhitespace' is missing exception specification '__attribute__((nothrow))' [-Wmissing-exception-spec] inline bool PdfTokenizer::IsWhitespace(const unsigned char ch) ^ __attribute__((nothrow)) /data/scratch/misc/calibre/work/.buildlink/include/podofo/base/PdfTokenizer.h:135:39: note: previous declaration is here PODOFO_NOTHROW inline static bool IsWhitespace(const unsigned char ch); ^ /data/scratch/misc/calibre/work/.buildlink/include/podofo/base/PdfTokenizer.h:289:27: warning: 'IsDelimiter' is missing exception specification '__attribute__((nothrow))' [-Wmissing-exception-spec] inline bool PdfTokenizer::IsDelimiter(const unsigned char ch) ^ __attribute__((nothrow)) /data/scratch/misc/calibre/work/.buildlink/include/podofo/base/PdfTokenizer.h:142:39: note: previous declaration is here PODOFO_NOTHROW inline static bool IsDelimiter(const unsigned char ch); ^ /data/scratch/misc/calibre/work/.buildlink/include/podofo/base/PdfTokenizer.h:297:27: warning: 'IsRegular' is missing exception specification '__attribute__((nothrow))' [-Wmissing-exception-spec] inline bool PdfTokenizer::IsRegular(const unsigned char ch) ^ __attribute__((nothrow)) /data/scratch/misc/calibre/work/.buildlink/include/podofo/base/PdfTokenizer.h:149:39: note: previous declaration is here PODOFO_NOTHROW inline static bool IsRegular(const unsigned char ch); ^ /data/scratch/misc/calibre/work/.buildlink/include/podofo/base/PdfTokenizer.h:305:27: warning: 'IsPrintable' is missing exception specification '__attribute__((nothrow))' [-Wmissing-exception-spec] inline bool PdfTokenizer::IsPrintable(const unsigned char ch) ^ __attribute__((nothrow)) /data/scratch/misc/calibre/work/.buildlink/include/podofo/base/PdfTokenizer.h:155:39: note: previous declaration is here PODOFO_NOTHROW inline static bool IsPrintable(const unsigned char ch); ^ /data/scratch/misc/calibre/work/.buildlink/include/podofo/base/PdfTokenizer.h:313:26: warning: 'GetHexValue' is missing exception specification '__attribute__((nothrow))' [-Wmissing-exception-spec] inline int PdfTokenizer::GetHexValue(const unsigned char ch) ^ __attribute__((nothrow)) /data/scratch/misc/calibre/work/.buildlink/include/podofo/base/PdfTokenizer.h:166:38: note: previous declaration is here PODOFO_NOTHROW inline static int GetHexValue(const unsigned char ch); ^ In file included from /data/scratch/misc/calibre/work/calibre-3.40.1/src/calibre/utils/podofo/doc.cpp:8: In file included from /data/scratch/misc/calibre/work/calibre-3.40.1/src/calibre/utils/podofo/global.h:14: In file included from /data/scratch/misc/calibre/work/.buildlink/include/podofo/podofo.h:47: In file included from /data/scratch/misc/calibre/work/.buildlink/include/podofo/podofo-base.h:42: In file included from /data/scratch/misc/calibre/work/.buildlink/include/podofo/base/PdfArray.h:46: In file included from /data/scratch/misc/calibre/work/.buildlink/include/podofo/base/PdfObject.h:39: In file included from /data/scratch/misc/calibre/work/.buildlink/include/podofo/base/PdfParser.h:39: In file included from /data/scratch/misc/calibre/work/.buildlink/include/podofo/base/PdfVecObjects.h:38: /data/scratch/misc/calibre/work/.buildlink/include/podofo/base/PdfReference.h:181:36: warning: 'operator=' is missing exception specification '__attribute__((nothrow))' [-Wmissing-exception-spec] const PdfReference & PdfReference::operator=( const PdfReference & rhs ) ^ __attribute__((nothrow)) /data/scratch/misc/calibre/work/.buildlink/include/podofo/base/PdfReference.h:107:48: note: previous declaration is here PODOFO_NOTHROW inline const PdfReference & operator=( const PdfReference & rhs ); ^ /data/scratch/misc/calibre/work/.buildlink/include/podofo/base/PdfReference.h:191:20: warning: 'operator<' is missing exception specification '__attribute__((nothrow))' [-Wmissing-exception-spec] bool PdfReference::operator<( const PdfReference & rhs ) const ^ __attribute__((nothrow)) /data/scratch/misc/calibre/work/.buildlink/include/podofo/base/PdfReference.h:135:32: note: previous declaration is here PODOFO_NOTHROW inline bool operator<( const PdfReference & rhs ) const; ^ /data/scratch/misc/calibre/work/.buildlink/include/podofo/base/PdfReference.h:199:20: warning: 'operator==' is missing exception specification '__attribute__((nothrow))' [-Wmissing-exception-spec] bool PdfReference::operator==( const PdfReference & rhs ) const ^ __attribute__((nothrow)) /data/scratch/misc/calibre/work/.buildlink/include/podofo/base/PdfReference.h:123:32: note: previous declaration is here PODOFO_NOTHROW inline bool operator==( const PdfReference & rhs ) const; ^ /data/scratch/misc/calibre/work/.buildlink/include/podofo/base/PdfReference.h:207:27: warning: 'operator!=' is missing exception specification '__attribute__((nothrow))' [-Wmissing-exception-spec] inline bool PdfReference::operator!=( const PdfReference & rhs ) const ^ __attribute__((nothrow)) /data/scratch/misc/calibre/work/.buildlink/include/podofo/base/PdfReference.h:129:32: note: previous declaration is here PODOFO_NOTHROW inline bool operator!=( const PdfReference & rhs ) const; ^ /data/scratch/misc/calibre/work/.buildlink/include/podofo/base/PdfReference.h:215:20: warning: 'SetObjectNumber' is missing exception specification '__attribute__((nothrow))' [-Wmissing-exception-spec] void PdfReference::SetObjectNumber( pdf_objnum o ) ^ __attribute__((nothrow)) /data/scratch/misc/calibre/work/.buildlink/include/podofo/base/PdfReference.h:140:32: note: previous declaration is here PODOFO_NOTHROW inline void SetObjectNumber( pdf_objnum o ); ^ /data/scratch/misc/calibre/work/.buildlink/include/podofo/base/PdfReference.h:223:26: warning: 'ObjectNumber' is missing exception specification '__attribute__((nothrow))' [-Wmissing-exception-spec] pdf_objnum PdfReference::ObjectNumber() const ^ __attribute__((nothrow)) /data/scratch/misc/calibre/work/.buildlink/include/podofo/base/PdfReference.h:145:38: note: previous declaration is here PODOFO_NOTHROW inline pdf_objnum ObjectNumber() const; ^ /data/scratch/misc/calibre/work/.buildlink/include/podofo/base/PdfReference.h:231:20: warning: 'SetGenerationNumber' is missing exception specification '__attribute__((nothrow))' [-Wmissing-exception-spec] void PdfReference::SetGenerationNumber( pdf_gennum g ) ^ __attribute__((nothrow)) /data/scratch/misc/calibre/work/.buildlink/include/podofo/base/PdfReference.h:150:32: note: previous declaration is here PODOFO_NOTHROW inline void SetGenerationNumber( const pdf_gennum g ); ^ /data/scratch/misc/calibre/work/.buildlink/include/podofo/base/PdfReference.h:239:26: warning: 'GenerationNumber' is missing exception specification '__attribute__((nothrow))' [-Wmissing-exception-spec] pdf_gennum PdfReference::GenerationNumber() const ^ __attribute__((nothrow)) /data/scratch/misc/calibre/work/.buildlink/include/podofo/base/PdfReference.h:155:38: note: previous declaration is here PODOFO_NOTHROW inline pdf_gennum GenerationNumber() const; ^ /data/scratch/misc/calibre/work/.buildlink/include/podofo/base/PdfReference.h:247:20: warning: 'IsIndirect' is missing exception specification '__attribute__((nothrow))' [-Wmissing-exception-spec] bool PdfReference::IsIndirect() const ^ __attribute__((nothrow)) /data/scratch/misc/calibre/work/.buildlink/include/podofo/base/PdfReference.h:166:32: note: previous declaration is here PODOFO_NOTHROW inline bool IsIndirect() const; ^ In file included from /data/scratch/misc/calibre/work/calibre-3.40.1/src/calibre/utils/podofo/doc.cpp:8: In file included from /data/scratch/misc/calibre/work/calibre-3.40.1/src/calibre/utils/podofo/global.h:14: In file included from /data/scratch/misc/calibre/work/.buildlink/include/podofo/podofo.h:47: In file included from /data/scratch/misc/calibre/work/.buildlink/include/podofo/podofo-base.h:42: In file included from /data/scratch/misc/calibre/work/.buildlink/include/podofo/base/PdfArray.h:46: In file included from /data/scratch/misc/calibre/work/.buildlink/include/podofo/base/PdfObject.h:42: /data/scratch/misc/calibre/work/.buildlink/include/podofo/base/PdfVariant.h:920:18: warning: 'DelayedLoadDone' is missing exception specification '__attribute__((nothrow))' [-Wmissing-exception-spec] bool PdfVariant::DelayedLoadDone() const ^ __attribute__((nothrow)) /data/scratch/misc/calibre/work/.buildlink/include/podofo/base/PdfVariant.h:444:32: note: previous declaration is here PODOFO_NOTHROW inline bool DelayedLoadDone() const; ^ In file included from /data/scratch/misc/calibre/work/calibre-3.40.1/src/calibre/utils/podofo/doc.cpp:8: In file included from /data/scratch/misc/calibre/work/calibre-3.40.1/src/calibre/utils/podofo/global.h:14: In file included from /data/scratch/misc/calibre/work/.buildlink/include/podofo/podofo.h:47: In file included from /data/scratch/misc/calibre/work/.buildlink/include/podofo/podofo-base.h:42: In file included from /data/scratch/misc/calibre/work/.buildlink/include/podofo/base/PdfArray.h:46: /data/scratch/misc/calibre/work/.buildlink/include/podofo/base/PdfObject.h:359:17: warning: 'DelayedStreamLoadDone' is missing exception specification '__attribute__((nothrow))' [-Wmissing-exception-spec] bool PdfObject::DelayedStreamLoadDone() const ^ __attribute__((nothrow)) /data/scratch/misc/calibre/work/.buildlink/include/podofo/base/PdfObject.h:353:30: note: previous declaration is here PODOFO_NOTHROW inline bool DelayedStreamLoadDone() const; ^ /data/scratch/misc/calibre/work/.buildlink/include/podofo/base/PdfObject.h:400:17: warning: 'operator<' is missing exception specification '__attribute__((nothrow))' [-Wmissing-exception-spec] bool PdfObject::operator<( const PdfObject & rhs ) const ^ __attribute__((nothrow)) /data/scratch/misc/calibre/work/.buildlink/include/podofo/base/PdfObject.h:230:32: note: previous declaration is here PODOFO_NOTHROW inline bool operator<( const PdfObject & rhs ) const; ^ /data/scratch/misc/calibre/work/.buildlink/include/podofo/base/PdfObject.h:408:17: warning: 'operator==' is missing exception specification '__attribute__((nothrow))' [-Wmissing-exception-spec] bool PdfObject::operator==( const PdfObject & rhs ) const ^ __attribute__((nothrow)) /data/scratch/misc/calibre/work/.buildlink/include/podofo/base/PdfObject.h:235:32: note: previous declaration is here PODOFO_NOTHROW inline bool operator==( const PdfObject & rhs ) const; ^ In file included from /data/scratch/misc/calibre/work/calibre-3.40.1/src/calibre/utils/podofo/doc.cpp:8: In file included from /data/scratch/misc/calibre/work/calibre-3.40.1/src/calibre/utils/podofo/global.h:14: In file included from /data/scratch/misc/calibre/work/.buildlink/include/podofo/podofo.h:47: In file included from /data/scratch/misc/calibre/work/.buildlink/include/podofo/podofo-base.h:55: In file included from /data/scratch/misc/calibre/work/.buildlink/include/podofo/base/PdfFileStream.h:39: In file included from /data/scratch/misc/calibre/work/.buildlink/include/podofo/base/PdfStream.h:40: /data/scratch/misc/calibre/work/.buildlink/include/podofo/base/PdfFilter.h:429:17: warning: 'FailEncodeDecode' is missing exception specification '__attribute__((nothrow))' [-Wmissing-exception-spec] void PdfFilter::FailEncodeDecode() ^ __attribute__((nothrow)) /data/scratch/misc/calibre/work/.buildlink/include/podofo/base/PdfFilter.h:229:32: note: previous declaration is here PODOFO_NOTHROW inline void FailEncodeDecode(); ^ /data/scratch/misc/calibre/work/.buildlink/include/podofo/base/PdfFilter.h:466:17: warning: 'auto_ptr' is deprecated [-Wdeprecated-declarations] static std::auto_ptr Create( const EPdfFilter eFilter ); ^ /usr/include/c++/memory:2202:28: note: 'auto_ptr' has been explicitly marked deprecated here class _LIBCPP_TEMPLATE_VIS _LIBCPP_DEPRECATED_IN_CXX11 auto_ptr ^ /usr/include/c++/__config:989:39: note: expanded from macro '_LIBCPP_DEPRECATED_IN_CXX11' # define _LIBCPP_DEPRECATED_IN_CXX11 _LIBCPP_DEPRECATED ^ /usr/include/c++/__config:978:48: note: expanded from macro '_LIBCPP_DEPRECATED' # define _LIBCPP_DEPRECATED __attribute__ ((deprecated)) ^ In file included from /data/scratch/misc/calibre/work/calibre-3.40.1/src/calibre/utils/podofo/doc.cpp:8: In file included from /data/scratch/misc/calibre/work/calibre-3.40.1/src/calibre/utils/podofo/global.h:14: In file included from /data/scratch/misc/calibre/work/.buildlink/include/podofo/podofo.h:47: In file included from /data/scratch/misc/calibre/work/.buildlink/include/podofo/podofo-base.h:57: In file included from /data/scratch/misc/calibre/work/.buildlink/include/podofo/base/PdfImmediateWriter.h:39: In file included from /data/scratch/misc/calibre/work/.buildlink/include/podofo/base/PdfWriter.h:38: /data/scratch/misc/calibre/work/.buildlink/include/podofo/base/PdfInputDevice.h:179:22: warning: 'IsSeekable' is missing exception specification '__attribute__((nothrow))' [-Wmissing-exception-spec] bool PdfInputDevice::IsSeekable() const ^ __attribute__((nothrow)) /data/scratch/misc/calibre/work/.buildlink/include/podofo/base/PdfInputDevice.h:154:32: note: previous declaration is here PODOFO_NOTHROW inline bool IsSeekable() const; ^ /data/scratch/misc/calibre/work/.buildlink/include/podofo/base/PdfInputDevice.h:184:22: warning: 'SetSeekable' is missing exception specification '__attribute__((nothrow))' [-Wmissing-exception-spec] void PdfInputDevice::SetSeekable(bool bIsSeekable) ^ __attribute__((nothrow)) /data/scratch/misc/calibre/work/.buildlink/include/podofo/base/PdfInputDevice.h:160:32: note: previous declaration is here PODOFO_NOTHROW inline void SetSeekable(bool bIsSeekable); ^ /data/scratch/misc/calibre/work/.buildlink/include/podofo/base/PdfInputDevice.h:189:22: warning: 'Bad' is missing exception specification '__attribute__((nothrow))' [-Wmissing-exception-spec] bool PdfInputDevice::Bad() const ^ __attribute__((nothrow)) /data/scratch/misc/calibre/work/.buildlink/include/podofo/base/PdfInputDevice.h:142:40: note: previous declaration is here PODOFO_NOTHROW inline virtual bool Bad() const; ^ /data/scratch/misc/calibre/work/.buildlink/include/podofo/base/PdfInputDevice.h:196:22: warning: 'Eof' is missing exception specification '__attribute__((nothrow))' [-Wmissing-exception-spec] bool PdfInputDevice::Eof() const ^ __attribute__((nothrow)) /data/scratch/misc/calibre/work/.buildlink/include/podofo/base/PdfInputDevice.h:137:40: note: previous declaration is here PODOFO_NOTHROW inline virtual bool Eof() const; ^ /data/scratch/misc/calibre/work/.buildlink/include/podofo/base/PdfInputDevice.h:205:22: warning: 'Clear' is missing exception specification '__attribute__((nothrow))' [-Wmissing-exception-spec] void PdfInputDevice::Clear(std::ios_base::iostate state) const ^ __attribute__((nothrow)) /data/scratch/misc/calibre/work/.buildlink/include/podofo/base/PdfInputDevice.h:148:40: note: previous declaration is here PODOFO_NOTHROW inline virtual void Clear( std::ios_base::iostate state = std::ios_base::goodbit) const; ^ 40 warnings generated. clang++ -Wall -DNDEBUG -fno-strict-aliasing -pipe -fPIC -O2 -I/usr/include -I/usr/pkg/include -I/usr/pkg/include/freetype2 -I/usr/pkg/include/nss/nss -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/libdrm -fvisibility=hidden -pthread -I/usr/pkg/include/python2.7 -O3 -DCALIBRE_MODINIT_FUNC=extern "C" __attribute__ ((visibility ("default"))) void -I/usr/pkg/include -I/usr/pkg/include/podofo -c /data/scratch/misc/calibre/work/calibre-3.40.1/src/calibre/utils/podofo/output.cpp -o /data/scratch/misc/calibre/work/calibre-3.40.1/build/objects/podofo/output.o In file included from /data/scratch/misc/calibre/work/calibre-3.40.1/src/calibre/utils/podofo/output.cpp:8: In file included from /data/scratch/misc/calibre/work/calibre-3.40.1/src/calibre/utils/podofo/global.h:11: In file included from /data/scratch/misc/calibre/work/.buildlink/include/python2.7/Python.h:88: /data/scratch/misc/calibre/work/.buildlink/include/python2.7/unicodeobject.h:534:5: warning: 'register' storage class specifier is deprecated and incompatible with C++17 [-Wdeprecated-register] register PyObject *obj, /* Object */ ^~~~~~~~~ /data/scratch/misc/calibre/work/.buildlink/include/python2.7/unicodeobject.h:553:5: warning: 'register' storage class specifier is deprecated and incompatible with C++17 [-Wdeprecated-register] register PyObject *obj /* Object */ ^~~~~~~~~ /data/scratch/misc/calibre/work/.buildlink/include/python2.7/unicodeobject.h:575:5: warning: 'register' storage class specifier is deprecated and incompatible with C++17 [-Wdeprecated-register] register const wchar_t *w, /* wchar_t buffer */ ^~~~~~~~~ /data/scratch/misc/calibre/work/.buildlink/include/python2.7/unicodeobject.h:593:5: warning: 'register' storage class specifier is deprecated and incompatible with C++17 [-Wdeprecated-register] register wchar_t *w, /* wchar_t buffer */ ^~~~~~~~~ In file included from /data/scratch/misc/calibre/work/calibre-3.40.1/src/calibre/utils/podofo/output.cpp:8: In file included from /data/scratch/misc/calibre/work/calibre-3.40.1/src/calibre/utils/podofo/global.h:11: In file included from /data/scratch/misc/calibre/work/.buildlink/include/python2.7/Python.h:97: /data/scratch/misc/calibre/work/.buildlink/include/python2.7/stringobject.h:173:5: warning: 'register' storage class specifier is deprecated and incompatible with C++17 [-Wdeprecated-register] register PyObject *obj, /* string or Unicode object */ ^~~~~~~~~ /data/scratch/misc/calibre/work/.buildlink/include/python2.7/stringobject.h:174:5: warning: 'register' storage class specifier is deprecated and incompatible with C++17 [-Wdeprecated-register] register char **s, /* pointer to buffer variable */ ^~~~~~~~~ /data/scratch/misc/calibre/work/.buildlink/include/python2.7/stringobject.h:175:5: warning: 'register' storage class specifier is deprecated and incompatible with C++17 [-Wdeprecated-register] register Py_ssize_t *len /* pointer to length variable or NULL ^~~~~~~~~ In file included from /data/scratch/misc/calibre/work/calibre-3.40.1/src/calibre/utils/podofo/output.cpp:8: In file included from /data/scratch/misc/calibre/work/calibre-3.40.1/src/calibre/utils/podofo/global.h:14: In file included from /data/scratch/misc/calibre/work/.buildlink/include/podofo/podofo.h:47: In file included from /data/scratch/misc/calibre/work/.buildlink/include/podofo/podofo-base.h:42: In file included from /data/scratch/misc/calibre/work/.buildlink/include/podofo/base/PdfArray.h:46: In file included from /data/scratch/misc/calibre/work/.buildlink/include/podofo/base/PdfObject.h:38: /data/scratch/misc/calibre/work/.buildlink/include/podofo/base/PdfName.h:221:30: warning: 'GetName' is missing exception specification '__attribute__((nothrow))' [-Wmissing-exception-spec] const std::string & PdfName::GetName() const ^ __attribute__((nothrow)) /data/scratch/misc/calibre/work/.buildlink/include/podofo/base/PdfName.h:148:46: note: previous declaration is here PODOFO_NOTHROW inline const std::string& GetName() const; ^ /data/scratch/misc/calibre/work/.buildlink/include/podofo/base/PdfName.h:229:17: warning: 'GetLength' is missing exception specification '__attribute__((nothrow))' [-Wmissing-exception-spec] size_t PdfName::GetLength() const ^ __attribute__((nothrow)) /data/scratch/misc/calibre/work/.buildlink/include/podofo/base/PdfName.h:153:34: note: previous declaration is here PODOFO_NOTHROW inline size_t GetLength() const; ^ /data/scratch/misc/calibre/work/.buildlink/include/podofo/base/PdfName.h:237:15: warning: 'operator!=' is missing exception specification '__attribute__((nothrow))' [-Wmissing-exception-spec] bool PdfName::operator!=( const PdfName & rhs ) const ^ __attribute__((nothrow)) /data/scratch/misc/calibre/work/.buildlink/include/podofo/base/PdfName.h:186:32: note: previous declaration is here PODOFO_NOTHROW inline bool operator!=( const PdfName & rhs ) const; ^ /data/scratch/misc/calibre/work/.buildlink/include/podofo/base/PdfName.h:250:15: warning: 'operator<' is missing exception specification '__attribute__((nothrow))' [-Wmissing-exception-spec] bool PdfName::operator<( const PdfName & rhs ) const ^ __attribute__((nothrow)) /data/scratch/misc/calibre/work/.buildlink/include/podofo/base/PdfName.h:201:32: note: previous declaration is here PODOFO_NOTHROW inline bool operator<( const PdfName & rhs ) const; ^ /data/scratch/misc/calibre/work/.buildlink/include/podofo/base/PdfName.h:255:15: warning: 'operator==' is missing exception specification '__attribute__((nothrow))' [-Wmissing-exception-spec] bool PdfName::operator==( const PdfName & rhs ) const ^ __attribute__((nothrow)) /data/scratch/misc/calibre/work/.buildlink/include/podofo/base/PdfName.h:163:32: note: previous declaration is here PODOFO_NOTHROW inline bool operator==( const PdfName & rhs ) const; ^ /data/scratch/misc/calibre/work/.buildlink/include/podofo/base/PdfName.h:260:15: warning: 'operator==' is missing exception specification '__attribute__((nothrow))' [-Wmissing-exception-spec] bool PdfName::operator==( const std::string & rhs ) const ^ __attribute__((nothrow)) /data/scratch/misc/calibre/work/.buildlink/include/podofo/base/PdfName.h:181:32: note: previous declaration is here PODOFO_NOTHROW inline bool operator==( const std::string& rhs ) const; ^ /data/scratch/misc/calibre/work/.buildlink/include/podofo/base/PdfName.h:265:25: warning: 'operator=' is missing exception specification '__attribute__((nothrow))' [-Wmissing-exception-spec] const PdfName& PdfName::operator=( const PdfName & rhs ) ^ __attribute__((nothrow)) /data/scratch/misc/calibre/work/.buildlink/include/podofo/base/PdfName.h:158:42: note: previous declaration is here PODOFO_NOTHROW inline const PdfName& operator=( const PdfName & rhs ); ^ In file included from /data/scratch/misc/calibre/work/calibre-3.40.1/src/calibre/utils/podofo/output.cpp:8: In file included from /data/scratch/misc/calibre/work/calibre-3.40.1/src/calibre/utils/podofo/global.h:14: In file included from /data/scratch/misc/calibre/work/.buildlink/include/podofo/podofo.h:47: In file included from /data/scratch/misc/calibre/work/.buildlink/include/podofo/podofo-base.h:42: In file included from /data/scratch/misc/calibre/work/.buildlink/include/podofo/base/PdfArray.h:46: In file included from /data/scratch/misc/calibre/work/.buildlink/include/podofo/base/PdfObject.h:39: In file included from /data/scratch/misc/calibre/work/.buildlink/include/podofo/base/PdfParser.h:38: In file included from /data/scratch/misc/calibre/work/.buildlink/include/podofo/base/PdfTokenizer.h:39: /data/scratch/misc/calibre/work/.buildlink/include/podofo/base/PdfRefCountedInputDevice.h:130:50: warning: 'Device' is missing exception specification '__attribute__((nothrow))' [-Wmissing-exception-spec] inline PdfInputDevice* PdfRefCountedInputDevice::Device() const ^ __attribute__((nothrow)) /data/scratch/misc/calibre/work/.buildlink/include/podofo/base/PdfRefCountedInputDevice.h:104:43: note: previous declaration is here PODOFO_NOTHROW inline PdfInputDevice* Device() const; ^ In file included from /data/scratch/misc/calibre/work/calibre-3.40.1/src/calibre/utils/podofo/output.cpp:8: In file included from /data/scratch/misc/calibre/work/calibre-3.40.1/src/calibre/utils/podofo/global.h:14: In file included from /data/scratch/misc/calibre/work/.buildlink/include/podofo/podofo.h:47: In file included from /data/scratch/misc/calibre/work/.buildlink/include/podofo/podofo-base.h:42: In file included from /data/scratch/misc/calibre/work/.buildlink/include/podofo/base/PdfArray.h:46: In file included from /data/scratch/misc/calibre/work/.buildlink/include/podofo/base/PdfObject.h:39: In file included from /data/scratch/misc/calibre/work/.buildlink/include/podofo/base/PdfParser.h:38: /data/scratch/misc/calibre/work/.buildlink/include/podofo/base/PdfTokenizer.h:281:27: warning: 'IsWhitespace' is missing exception specification '__attribute__((nothrow))' [-Wmissing-exception-spec] inline bool PdfTokenizer::IsWhitespace(const unsigned char ch) ^ __attribute__((nothrow)) /data/scratch/misc/calibre/work/.buildlink/include/podofo/base/PdfTokenizer.h:135:39: note: previous declaration is here PODOFO_NOTHROW inline static bool IsWhitespace(const unsigned char ch); ^ /data/scratch/misc/calibre/work/.buildlink/include/podofo/base/PdfTokenizer.h:289:27: warning: 'IsDelimiter' is missing exception specification '__attribute__((nothrow))' [-Wmissing-exception-spec] inline bool PdfTokenizer::IsDelimiter(const unsigned char ch) ^ __attribute__((nothrow)) /data/scratch/misc/calibre/work/.buildlink/include/podofo/base/PdfTokenizer.h:142:39: note: previous declaration is here PODOFO_NOTHROW inline static bool IsDelimiter(const unsigned char ch); ^ /data/scratch/misc/calibre/work/.buildlink/include/podofo/base/PdfTokenizer.h:297:27: warning: 'IsRegular' is missing exception specification '__attribute__((nothrow))' [-Wmissing-exception-spec] inline bool PdfTokenizer::IsRegular(const unsigned char ch) ^ __attribute__((nothrow)) /data/scratch/misc/calibre/work/.buildlink/include/podofo/base/PdfTokenizer.h:149:39: note: previous declaration is here PODOFO_NOTHROW inline static bool IsRegular(const unsigned char ch); ^ /data/scratch/misc/calibre/work/.buildlink/include/podofo/base/PdfTokenizer.h:305:27: warning: 'IsPrintable' is missing exception specification '__attribute__((nothrow))' [-Wmissing-exception-spec] inline bool PdfTokenizer::IsPrintable(const unsigned char ch) ^ __attribute__((nothrow)) /data/scratch/misc/calibre/work/.buildlink/include/podofo/base/PdfTokenizer.h:155:39: note: previous declaration is here PODOFO_NOTHROW inline static bool IsPrintable(const unsigned char ch); ^ /data/scratch/misc/calibre/work/.buildlink/include/podofo/base/PdfTokenizer.h:313:26: warning: 'GetHexValue' is missing exception specification '__attribute__((nothrow))' [-Wmissing-exception-spec] inline int PdfTokenizer::GetHexValue(const unsigned char ch) ^ __attribute__((nothrow)) /data/scratch/misc/calibre/work/.buildlink/include/podofo/base/PdfTokenizer.h:166:38: note: previous declaration is here PODOFO_NOTHROW inline static int GetHexValue(const unsigned char ch); ^ In file included from /data/scratch/misc/calibre/work/calibre-3.40.1/src/calibre/utils/podofo/output.cpp:8: In file included from /data/scratch/misc/calibre/work/calibre-3.40.1/src/calibre/utils/podofo/global.h:14: In file included from /data/scratch/misc/calibre/work/.buildlink/include/podofo/podofo.h:47: In file included from /data/scratch/misc/calibre/work/.buildlink/include/podofo/podofo-base.h:42: In file included from /data/scratch/misc/calibre/work/.buildlink/include/podofo/base/PdfArray.h:46: In file included from /data/scratch/misc/calibre/work/.buildlink/include/podofo/base/PdfObject.h:39: In file included from /data/scratch/misc/calibre/work/.buildlink/include/podofo/base/PdfParser.h:39: In file included from /data/scratch/misc/calibre/work/.buildlink/include/podofo/base/PdfVecObjects.h:38: /data/scratch/misc/calibre/work/.buildlink/include/podofo/base/PdfReference.h:181:36: warning: 'operator=' is missing exception specification '__attribute__((nothrow))' [-Wmissing-exception-spec] const PdfReference & PdfReference::operator=( const PdfReference & rhs ) ^ __attribute__((nothrow)) /data/scratch/misc/calibre/work/.buildlink/include/podofo/base/PdfReference.h:107:48: note: previous declaration is here PODOFO_NOTHROW inline const PdfReference & operator=( const PdfReference & rhs ); ^ /data/scratch/misc/calibre/work/.buildlink/include/podofo/base/PdfReference.h:191:20: warning: 'operator<' is missing exception specification '__attribute__((nothrow))' [-Wmissing-exception-spec] bool PdfReference::operator<( const PdfReference & rhs ) const ^ __attribute__((nothrow)) /data/scratch/misc/calibre/work/.buildlink/include/podofo/base/PdfReference.h:135:32: note: previous declaration is here PODOFO_NOTHROW inline bool operator<( const PdfReference & rhs ) const; ^ /data/scratch/misc/calibre/work/.buildlink/include/podofo/base/PdfReference.h:199:20: warning: 'operator==' is missing exception specification '__attribute__((nothrow))' [-Wmissing-exception-spec] bool PdfReference::operator==( const PdfReference & rhs ) const ^ __attribute__((nothrow)) /data/scratch/misc/calibre/work/.buildlink/include/podofo/base/PdfReference.h:123:32: note: previous declaration is here PODOFO_NOTHROW inline bool operator==( const PdfReference & rhs ) const; ^ /data/scratch/misc/calibre/work/.buildlink/include/podofo/base/PdfReference.h:207:27: warning: 'operator!=' is missing exception specification '__attribute__((nothrow))' [-Wmissing-exception-spec] inline bool PdfReference::operator!=( const PdfReference & rhs ) const ^ __attribute__((nothrow)) /data/scratch/misc/calibre/work/.buildlink/include/podofo/base/PdfReference.h:129:32: note: previous declaration is here PODOFO_NOTHROW inline bool operator!=( const PdfReference & rhs ) const; ^ /data/scratch/misc/calibre/work/.buildlink/include/podofo/base/PdfReference.h:215:20: warning: 'SetObjectNumber' is missing exception specification '__attribute__((nothrow))' [-Wmissing-exception-spec] void PdfReference::SetObjectNumber( pdf_objnum o ) ^ __attribute__((nothrow)) /data/scratch/misc/calibre/work/.buildlink/include/podofo/base/PdfReference.h:140:32: note: previous declaration is here PODOFO_NOTHROW inline void SetObjectNumber( pdf_objnum o ); ^ /data/scratch/misc/calibre/work/.buildlink/include/podofo/base/PdfReference.h:223:26: warning: 'ObjectNumber' is missing exception specification '__attribute__((nothrow))' [-Wmissing-exception-spec] pdf_objnum PdfReference::ObjectNumber() const ^ __attribute__((nothrow)) /data/scratch/misc/calibre/work/.buildlink/include/podofo/base/PdfReference.h:145:38: note: previous declaration is here PODOFO_NOTHROW inline pdf_objnum ObjectNumber() const; ^ /data/scratch/misc/calibre/work/.buildlink/include/podofo/base/PdfReference.h:231:20: warning: 'SetGenerationNumber' is missing exception specification '__attribute__((nothrow))' [-Wmissing-exception-spec] void PdfReference::SetGenerationNumber( pdf_gennum g ) ^ __attribute__((nothrow)) /data/scratch/misc/calibre/work/.buildlink/include/podofo/base/PdfReference.h:150:32: note: previous declaration is here PODOFO_NOTHROW inline void SetGenerationNumber( const pdf_gennum g ); ^ /data/scratch/misc/calibre/work/.buildlink/include/podofo/base/PdfReference.h:239:26: warning: 'GenerationNumber' is missing exception specification '__attribute__((nothrow))' [-Wmissing-exception-spec] pdf_gennum PdfReference::GenerationNumber() const ^ __attribute__((nothrow)) /data/scratch/misc/calibre/work/.buildlink/include/podofo/base/PdfReference.h:155:38: note: previous declaration is here PODOFO_NOTHROW inline pdf_gennum GenerationNumber() const; ^ /data/scratch/misc/calibre/work/.buildlink/include/podofo/base/PdfReference.h:247:20: warning: 'IsIndirect' is missing exception specification '__attribute__((nothrow))' [-Wmissing-exception-spec] bool PdfReference::IsIndirect() const ^ __attribute__((nothrow)) /data/scratch/misc/calibre/work/.buildlink/include/podofo/base/PdfReference.h:166:32: note: previous declaration is here PODOFO_NOTHROW inline bool IsIndirect() const; ^ In file included from /data/scratch/misc/calibre/work/calibre-3.40.1/src/calibre/utils/podofo/output.cpp:8: In file included from /data/scratch/misc/calibre/work/calibre-3.40.1/src/calibre/utils/podofo/global.h:14: In file included from /data/scratch/misc/calibre/work/.buildlink/include/podofo/podofo.h:47: In file included from /data/scratch/misc/calibre/work/.buildlink/include/podofo/podofo-base.h:42: In file included from /data/scratch/misc/calibre/work/.buildlink/include/podofo/base/PdfArray.h:46: In file included from /data/scratch/misc/calibre/work/.buildlink/include/podofo/base/PdfObject.h:42: /data/scratch/misc/calibre/work/.buildlink/include/podofo/base/PdfVariant.h:920:18: warning: 'DelayedLoadDone' is missing exception specification '__attribute__((nothrow))' [-Wmissing-exception-spec] bool PdfVariant::DelayedLoadDone() const ^ __attribute__((nothrow)) /data/scratch/misc/calibre/work/.buildlink/include/podofo/base/PdfVariant.h:444:32: note: previous declaration is here PODOFO_NOTHROW inline bool DelayedLoadDone() const; ^ In file included from /data/scratch/misc/calibre/work/calibre-3.40.1/src/calibre/utils/podofo/output.cpp:8: In file included from /data/scratch/misc/calibre/work/calibre-3.40.1/src/calibre/utils/podofo/global.h:14: In file included from /data/scratch/misc/calibre/work/.buildlink/include/podofo/podofo.h:47: In file included from /data/scratch/misc/calibre/work/.buildlink/include/podofo/podofo-base.h:42: In file included from /data/scratch/misc/calibre/work/.buildlink/include/podofo/base/PdfArray.h:46: /data/scratch/misc/calibre/work/.buildlink/include/podofo/base/PdfObject.h:359:17: warning: 'DelayedStreamLoadDone' is missing exception specification '__attribute__((nothrow))' [-Wmissing-exception-spec] bool PdfObject::DelayedStreamLoadDone() const ^ __attribute__((nothrow)) /data/scratch/misc/calibre/work/.buildlink/include/podofo/base/PdfObject.h:353:30: note: previous declaration is here PODOFO_NOTHROW inline bool DelayedStreamLoadDone() const; ^ /data/scratch/misc/calibre/work/.buildlink/include/podofo/base/PdfObject.h:400:17: warning: 'operator<' is missing exception specification '__attribute__((nothrow))' [-Wmissing-exception-spec] bool PdfObject::operator<( const PdfObject & rhs ) const ^ __attribute__((nothrow)) /data/scratch/misc/calibre/work/.buildlink/include/podofo/base/PdfObject.h:230:32: note: previous declaration is here PODOFO_NOTHROW inline bool operator<( const PdfObject & rhs ) const; ^ /data/scratch/misc/calibre/work/.buildlink/include/podofo/base/PdfObject.h:408:17: warning: 'operator==' is missing exception specification '__attribute__((nothrow))' [-Wmissing-exception-spec] bool PdfObject::operator==( const PdfObject & rhs ) const ^ __attribute__((nothrow)) /data/scratch/misc/calibre/work/.buildlink/include/podofo/base/PdfObject.h:235:32: note: previous declaration is here PODOFO_NOTHROW inline bool operator==( const PdfObject & rhs ) const; ^ In file included from /data/scratch/misc/calibre/work/calibre-3.40.1/src/calibre/utils/podofo/output.cpp:8: In file included from /data/scratch/misc/calibre/work/calibre-3.40.1/src/calibre/utils/podofo/global.h:14: In file included from /data/scratch/misc/calibre/work/.buildlink/include/podofo/podofo.h:47: In file included from /data/scratch/misc/calibre/work/.buildlink/include/podofo/podofo-base.h:55: In file included from /data/scratch/misc/calibre/work/.buildlink/include/podofo/base/PdfFileStream.h:39: In file included from /data/scratch/misc/calibre/work/.buildlink/include/podofo/base/PdfStream.h:40: /data/scratch/misc/calibre/work/.buildlink/include/podofo/base/PdfFilter.h:429:17: warning: 'FailEncodeDecode' is missing exception specification '__attribute__((nothrow))' [-Wmissing-exception-spec] void PdfFilter::FailEncodeDecode() ^ __attribute__((nothrow)) /data/scratch/misc/calibre/work/.buildlink/include/podofo/base/PdfFilter.h:229:32: note: previous declaration is here PODOFO_NOTHROW inline void FailEncodeDecode(); ^ /data/scratch/misc/calibre/work/.buildlink/include/podofo/base/PdfFilter.h:466:17: warning: 'auto_ptr' is deprecated [-Wdeprecated-declarations] static std::auto_ptr Create( const EPdfFilter eFilter ); ^ /usr/include/c++/memory:2202:28: note: 'auto_ptr' has been explicitly marked deprecated here class _LIBCPP_TEMPLATE_VIS _LIBCPP_DEPRECATED_IN_CXX11 auto_ptr ^ /usr/include/c++/__config:989:39: note: expanded from macro '_LIBCPP_DEPRECATED_IN_CXX11' # define _LIBCPP_DEPRECATED_IN_CXX11 _LIBCPP_DEPRECATED ^ /usr/include/c++/__config:978:48: note: expanded from macro '_LIBCPP_DEPRECATED' # define _LIBCPP_DEPRECATED __attribute__ ((deprecated)) ^ In file included from /data/scratch/misc/calibre/work/calibre-3.40.1/src/calibre/utils/podofo/output.cpp:8: In file included from /data/scratch/misc/calibre/work/calibre-3.40.1/src/calibre/utils/podofo/global.h:14: In file included from /data/scratch/misc/calibre/work/.buildlink/include/podofo/podofo.h:47: In file included from /data/scratch/misc/calibre/work/.buildlink/include/podofo/podofo-base.h:57: In file included from /data/scratch/misc/calibre/work/.buildlink/include/podofo/base/PdfImmediateWriter.h:39: In file included from /data/scratch/misc/calibre/work/.buildlink/include/podofo/base/PdfWriter.h:38: /data/scratch/misc/calibre/work/.buildlink/include/podofo/base/PdfInputDevice.h:179:22: warning: 'IsSeekable' is missing exception specification '__attribute__((nothrow))' [-Wmissing-exception-spec] bool PdfInputDevice::IsSeekable() const ^ __attribute__((nothrow)) /data/scratch/misc/calibre/work/.buildlink/include/podofo/base/PdfInputDevice.h:154:32: note: previous declaration is here PODOFO_NOTHROW inline bool IsSeekable() const; ^ /data/scratch/misc/calibre/work/.buildlink/include/podofo/base/PdfInputDevice.h:184:22: warning: 'SetSeekable' is missing exception specification '__attribute__((nothrow))' [-Wmissing-exception-spec] void PdfInputDevice::SetSeekable(bool bIsSeekable) ^ __attribute__((nothrow)) /data/scratch/misc/calibre/work/.buildlink/include/podofo/base/PdfInputDevice.h:160:32: note: previous declaration is here PODOFO_NOTHROW inline void SetSeekable(bool bIsSeekable); ^ /data/scratch/misc/calibre/work/.buildlink/include/podofo/base/PdfInputDevice.h:189:22: warning: 'Bad' is missing exception specification '__attribute__((nothrow))' [-Wmissing-exception-spec] bool PdfInputDevice::Bad() const ^ __attribute__((nothrow)) /data/scratch/misc/calibre/work/.buildlink/include/podofo/base/PdfInputDevice.h:142:40: note: previous declaration is here PODOFO_NOTHROW inline virtual bool Bad() const; ^ /data/scratch/misc/calibre/work/.buildlink/include/podofo/base/PdfInputDevice.h:196:22: warning: 'Eof' is missing exception specification '__attribute__((nothrow))' [-Wmissing-exception-spec] bool PdfInputDevice::Eof() const ^ __attribute__((nothrow)) /data/scratch/misc/calibre/work/.buildlink/include/podofo/base/PdfInputDevice.h:137:40: note: previous declaration is here PODOFO_NOTHROW inline virtual bool Eof() const; ^ /data/scratch/misc/calibre/work/.buildlink/include/podofo/base/PdfInputDevice.h:205:22: warning: 'Clear' is missing exception specification '__attribute__((nothrow))' [-Wmissing-exception-spec] void PdfInputDevice::Clear(std::ios_base::iostate state) const ^ __attribute__((nothrow)) /data/scratch/misc/calibre/work/.buildlink/include/podofo/base/PdfInputDevice.h:148:40: note: previous declaration is here PODOFO_NOTHROW inline virtual void Clear( std::ios_base::iostate state = std::ios_base::goodbit) const; ^ 40 warnings generated. Linking podofo clang++ /data/scratch/misc/calibre/work/calibre-3.40.1/build/objects/podofo/outline.o /data/scratch/misc/calibre/work/calibre-3.40.1/build/objects/podofo/utils.o /data/scratch/misc/calibre/work/calibre-3.40.1/build/objects/podofo/podofo.o /data/scratch/misc/calibre/work/calibre-3.40.1/build/objects/podofo/doc.o /data/scratch/misc/calibre/work/calibre-3.40.1/build/objects/podofo/output.o -o /data/scratch/misc/calibre/work/calibre-3.40.1/src/calibre/plugins/podofo.so -Wall -L/usr/lib -Wl,-R/usr/lib -L/usr/pkg/lib -Wl,-R/usr/pkg/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 -shared -lpython2.7 -L/usr/pkg/lib -lpodofo /usr/bin/ld: /data/scratch/misc/calibre/work/.buildlink/lib/libpython2.7.so: warning: warning: tmpnam() possibly used unsafely, use mkstemp() or mkdtemp() /usr/bin/ld: /data/scratch/misc/calibre/work/.buildlink/lib/libpython2.7.so: warning: warning: tempnam() possibly used unsafely, use mkstemp() or mkdtemp() ####### Building extension pictureflow ####### /usr/pkg/bin/sip2.7 -w -c /data/scratch/misc/calibre/work/calibre-3.40.1/build/pyqt/pictureflow -b /data/scratch/misc/calibre/work/calibre-3.40.1/build/pyqt/pictureflow/pictureflow.sip.sbf -I/usr/pkg/share/sip2.7/PyQt5 -n PyQt5.sip -x VendorID -t WS_X11 -t Qt_5_15_0 -x Py_v3 /data/scratch/misc/calibre/work/calibre-3.40.1/src/calibre/gui2/pictureflow/pictureflow.sip Info: creating stash file /data/scratch/misc/calibre/work/calibre-3.40.1/build/pyqt/pictureflow/.qmake.stash --- pictureflow.o --- --- sippictureflowcmodule.o --- --- sippictureflowPictureFlow.o --- --- sippictureflowFlowImages.o --- --- moc_predefs.h --- --- pictureflow.o --- clang++ -c -O2 -I/usr/include -I/usr/pkg/include -I/usr/pkg/include/freetype2 -I/usr/pkg/include/nss/nss -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/libdrm -O2 -Wno-register -D_NETBSD_SOURCE -I/usr/include -I/usr/pkg/include -I/usr/include/krb5 -I/usr/pkg/lib/dbus-1.0/include/dbus -I/usr/pkg/include/glib-2.0 -I/usr/pkg/include/gio-unix-2.0 -I/usr/pkg/lib/glib-2.0/include -I/usr/pkg/include/freetype2 -I/usr/pkg/include/libdrm -Wall -Wextra -fPIC -DQT_NO_DEBUG -DQT_PLUGIN -DQT_WIDGETS_LIB -DQT_GUI_LIB -DQT_CORE_LIB -I. -I/usr/pkg/include/python2.7 -I/usr/pkg/include/python2.7 -I../../../src/calibre/gui2/pictureflow -I/usr/pkg/qt5/include -I/usr/pkg/qt5/include/QtWidgets -I/usr/pkg/qt5/include/QtGui -I/usr/pkg/qt5/include/QtCore -I. -I/usr/pkg/include -I/usr/pkg/include/libdrm -I/usr/pkg/include -I/usr/pkg/qt5/mkspecs/netbsd-g++ -o pictureflow.o ../../../src/calibre/gui2/pictureflow/pictureflow.cpp --- sippictureflowcmodule.o --- clang++ -c -O2 -I/usr/include -I/usr/pkg/include -I/usr/pkg/include/freetype2 -I/usr/pkg/include/nss/nss -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/libdrm -O2 -Wno-register -D_NETBSD_SOURCE -I/usr/include -I/usr/pkg/include -I/usr/include/krb5 -I/usr/pkg/lib/dbus-1.0/include/dbus -I/usr/pkg/include/glib-2.0 -I/usr/pkg/include/gio-unix-2.0 -I/usr/pkg/lib/glib-2.0/include -I/usr/pkg/include/freetype2 -I/usr/pkg/include/libdrm -Wall -Wextra -fPIC -DQT_NO_DEBUG -DQT_PLUGIN -DQT_WIDGETS_LIB -DQT_GUI_LIB -DQT_CORE_LIB -I. -I/usr/pkg/include/python2.7 -I/usr/pkg/include/python2.7 -I../../../src/calibre/gui2/pictureflow -I/usr/pkg/qt5/include -I/usr/pkg/qt5/include/QtWidgets -I/usr/pkg/qt5/include/QtGui -I/usr/pkg/qt5/include/QtCore -I. -I/usr/pkg/include -I/usr/pkg/include/libdrm -I/usr/pkg/include -I/usr/pkg/qt5/mkspecs/netbsd-g++ -o sippictureflowcmodule.o sippictureflowcmodule.cpp --- moc_predefs.h --- clang++ -O2 -Wno-register -D_NETBSD_SOURCE -I/usr/include -I/usr/pkg/include -I/usr/include/krb5 -I/usr/pkg/lib/dbus-1.0/include/dbus -I/usr/pkg/include/glib-2.0 -I/usr/pkg/include/gio-unix-2.0 -I/usr/pkg/lib/glib-2.0/include -I/usr/pkg/include/freetype2 -I/usr/pkg/include/libdrm -Wall -Wextra -dM -E -o moc_predefs.h /usr/pkg/qt5/mkspecs/features/data/dummy.cpp --- sippictureflowPictureFlow.o --- clang++ -c -O2 -I/usr/include -I/usr/pkg/include -I/usr/pkg/include/freetype2 -I/usr/pkg/include/nss/nss -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/libdrm -O2 -Wno-register -D_NETBSD_SOURCE -I/usr/include -I/usr/pkg/include -I/usr/include/krb5 -I/usr/pkg/lib/dbus-1.0/include/dbus -I/usr/pkg/include/glib-2.0 -I/usr/pkg/include/gio-unix-2.0 -I/usr/pkg/lib/glib-2.0/include -I/usr/pkg/include/freetype2 -I/usr/pkg/include/libdrm -Wall -Wextra -fPIC -DQT_NO_DEBUG -DQT_PLUGIN -DQT_WIDGETS_LIB -DQT_GUI_LIB -DQT_CORE_LIB -I. -I/usr/pkg/include/python2.7 -I/usr/pkg/include/python2.7 -I../../../src/calibre/gui2/pictureflow -I/usr/pkg/qt5/include -I/usr/pkg/qt5/include/QtWidgets -I/usr/pkg/qt5/include/QtGui -I/usr/pkg/qt5/include/QtCore -I. -I/usr/pkg/include -I/usr/pkg/include/libdrm -I/usr/pkg/include -I/usr/pkg/qt5/mkspecs/netbsd-g++ -o sippictureflowPictureFlow.o sippictureflowPictureFlow.cpp --- sippictureflowFlowImages.o --- clang++ -c -O2 -I/usr/include -I/usr/pkg/include -I/usr/pkg/include/freetype2 -I/usr/pkg/include/nss/nss -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/libdrm -O2 -Wno-register -D_NETBSD_SOURCE -I/usr/include -I/usr/pkg/include -I/usr/include/krb5 -I/usr/pkg/lib/dbus-1.0/include/dbus -I/usr/pkg/include/glib-2.0 -I/usr/pkg/include/gio-unix-2.0 -I/usr/pkg/lib/glib-2.0/include -I/usr/pkg/include/freetype2 -I/usr/pkg/include/libdrm -Wall -Wextra -fPIC -DQT_NO_DEBUG -DQT_PLUGIN -DQT_WIDGETS_LIB -DQT_GUI_LIB -DQT_CORE_LIB -I. -I/usr/pkg/include/python2.7 -I/usr/pkg/include/python2.7 -I../../../src/calibre/gui2/pictureflow -I/usr/pkg/qt5/include -I/usr/pkg/qt5/include/QtWidgets -I/usr/pkg/qt5/include/QtGui -I/usr/pkg/qt5/include/QtCore -I. -I/usr/pkg/include -I/usr/pkg/include/libdrm -I/usr/pkg/include -I/usr/pkg/qt5/mkspecs/netbsd-g++ -o sippictureflowFlowImages.o sippictureflowFlowImages.cpp --- moc_pictureflow.cpp --- /usr/pkg/qt5/bin/moc -DQT_NO_DEBUG -DQT_PLUGIN -DQT_WIDGETS_LIB -DQT_GUI_LIB -DQT_CORE_LIB --include /data/scratch/misc/calibre/work/calibre-3.40.1/build/pyqt/pictureflow/moc_predefs.h -I/usr/pkg/qt5/mkspecs/netbsd-g++ -I/data/scratch/misc/calibre/work/calibre-3.40.1/build/pyqt/pictureflow -I/usr/pkg/include/python2.7 -I/usr/pkg/include/python2.7 -I/data/scratch/misc/calibre/work/calibre-3.40.1/src/calibre/gui2/pictureflow -I/usr/pkg/qt5/include -I/usr/pkg/qt5/include/QtWidgets -I/usr/pkg/qt5/include/QtGui -I/usr/pkg/qt5/include/QtCore -I/data/scratch/misc/calibre/work/.buildlink/include -I/usr/include/krb5 -I/data/scratch/misc/calibre/work/.buildlink/lib/dbus-1.0/include/dbus -I/data/scratch/misc/calibre/work/.buildlink/include/glib-2.0 -I/data/scratch/misc/calibre/work/.buildlink/include/gio-unix-2.0 -I/data/scratch/misc/calibre/work/.buildlink/lib/glib-2.0/include -I/data/scratch/misc/calibre/work/.buildlink/include/freetype2 -I/data/scratch/misc/calibre/work/.buildlink/include/libdrm -I/usr/include/c++ -I/usr/include/clang-10.0 -I/usr/include ../../../src/calibre/gui2/pictureflow/pictureflow.h -o moc_pictureflow.cpp --- moc_pictureflow.o --- clang++ -c -O2 -I/usr/include -I/usr/pkg/include -I/usr/pkg/include/freetype2 -I/usr/pkg/include/nss/nss -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/libdrm -O2 -Wno-register -D_NETBSD_SOURCE -I/usr/include -I/usr/pkg/include -I/usr/include/krb5 -I/usr/pkg/lib/dbus-1.0/include/dbus -I/usr/pkg/include/glib-2.0 -I/usr/pkg/include/gio-unix-2.0 -I/usr/pkg/lib/glib-2.0/include -I/usr/pkg/include/freetype2 -I/usr/pkg/include/libdrm -Wall -Wextra -fPIC -DQT_NO_DEBUG -DQT_PLUGIN -DQT_WIDGETS_LIB -DQT_GUI_LIB -DQT_CORE_LIB -I. -I/usr/pkg/include/python2.7 -I/usr/pkg/include/python2.7 -I../../../src/calibre/gui2/pictureflow -I/usr/pkg/qt5/include -I/usr/pkg/qt5/include/QtWidgets -I/usr/pkg/qt5/include/QtGui -I/usr/pkg/qt5/include/QtCore -I. -I/usr/pkg/include -I/usr/pkg/include/libdrm -I/usr/pkg/include -I/usr/pkg/qt5/mkspecs/netbsd-g++ -o moc_pictureflow.o moc_pictureflow.cpp --- pictureflow.o --- In file included from ../../../src/calibre/gui2/pictureflow/pictureflow.cpp:59: In file included from ../../../src/calibre/gui2/pictureflow/pictureflow.h:60: In file included from /data/scratch/misc/calibre/work/.buildlink/qt5/include/QtWidgets/QWidget:1: In file included from /data/scratch/misc/calibre/work/.buildlink/qt5/include/QtWidgets/qwidget.h:45: In file included from /data/scratch/misc/calibre/work/.buildlink/qt5/include/QtCore/qobject.h:47: In file included from /data/scratch/misc/calibre/work/.buildlink/qt5/include/QtCore/qstring.h:50: /data/scratch/misc/calibre/work/.buildlink/qt5/include/QtCore/qbytearray.h:600:22: warning: definition of implicit copy constructor for 'QByteRef' is deprecated because it has a user-declared copy assignment operator [-Wdeprecated-copy] inline QByteRef &operator=(const QByteRef &c) ^ /data/scratch/misc/calibre/work/.buildlink/qt5/include/QtCore/qbytearray.h:619:38: note: in implicit copy constructor for 'QByteRef' first required here { Q_ASSERT(i >= 0); detach(); return QByteRef(*this, i); } ^ --- sippictureflowcmodule.o --- In file included from sippictureflowcmodule.cpp:7: In file included from ./sipAPIpictureflow.h:12: In file included from /data/scratch/misc/calibre/work/.buildlink/qt5/include/QtCore/QMetaType:1: In file included from /data/scratch/misc/calibre/work/.buildlink/qt5/include/QtCore/qmetatype.h:47: /data/scratch/misc/calibre/work/.buildlink/qt5/include/QtCore/qbytearray.h:600:22: warning: definition of implicit copy constructor for 'QByteRef' is deprecated because it has a user-declared copy assignment operator [-Wdeprecated-copy] inline QByteRef &operator=(const QByteRef &c) ^ /data/scratch/misc/calibre/work/.buildlink/qt5/include/QtCore/qbytearray.h:619:38: note: in implicit copy constructor for 'QByteRef' first required here { Q_ASSERT(i >= 0); detach(); return QByteRef(*this, i); } ^ --- sippictureflowPictureFlow.o --- In file included from sippictureflowPictureFlow.cpp:7: In file included from ./sipAPIpictureflow.h:12: In file included from /data/scratch/misc/calibre/work/.buildlink/qt5/include/QtCore/QMetaType:1: In file included from /data/scratch/misc/calibre/work/.buildlink/qt5/include/QtCore/qmetatype.h:47: /data/scratch/misc/calibre/work/.buildlink/qt5/include/QtCore/qbytearray.h:600:22: warning: definition of implicit copy constructor for 'QByteRef' is deprecated because it has a user-declared copy assignment operator [-Wdeprecated-copy] inline QByteRef &operator=(const QByteRef &c) ^ /data/scratch/misc/calibre/work/.buildlink/qt5/include/QtCore/qbytearray.h:619:38: note: in implicit copy constructor for 'QByteRef' first required here { Q_ASSERT(i >= 0); detach(); return QByteRef(*this, i); } ^ --- sippictureflowFlowImages.o --- In file included from sippictureflowFlowImages.cpp:7: In file included from ./sipAPIpictureflow.h:12: In file included from /data/scratch/misc/calibre/work/.buildlink/qt5/include/QtCore/QMetaType:1: In file included from /data/scratch/misc/calibre/work/.buildlink/qt5/include/QtCore/qmetatype.h:47: /data/scratch/misc/calibre/work/.buildlink/qt5/include/QtCore/qbytearray.h:600:22: warning: definition of implicit copy constructor for 'QByteRef' is deprecated because it has a user-declared copy assignment operator [-Wdeprecated-copy] inline QByteRef &operator=(const QByteRef &c) ^ /data/scratch/misc/calibre/work/.buildlink/qt5/include/QtCore/qbytearray.h:619:38: note: in implicit copy constructor for 'QByteRef' first required here { Q_ASSERT(i >= 0); detach(); return QByteRef(*this, i); } ^ --- pictureflow.o --- In file included from ../../../src/calibre/gui2/pictureflow/pictureflow.cpp:59: In file included from ../../../src/calibre/gui2/pictureflow/pictureflow.h:60: In file included from /data/scratch/misc/calibre/work/.buildlink/qt5/include/QtWidgets/QWidget:1: In file included from /data/scratch/misc/calibre/work/.buildlink/qt5/include/QtWidgets/qwidget.h:45: In file included from /data/scratch/misc/calibre/work/.buildlink/qt5/include/QtCore/qobject.h:47: /data/scratch/misc/calibre/work/.buildlink/qt5/include/QtCore/qstring.h:1229:22: warning: definition of implicit copy constructor for 'QCharRef' is deprecated because it has a user-declared copy assignment operator [-Wdeprecated-copy] inline QCharRef &operator=(const QCharRef &c) { return operator=(QChar(c)); } ^ /data/scratch/misc/calibre/work/.buildlink/qt5/include/QtCore/qstring.h:1329:38: note: in implicit copy constructor for 'QCharRef' first required here { Q_ASSERT(i >= 0); detach(); return QCharRef(*this, i); } ^ --- sippictureflowcmodule.o --- In file included from sippictureflowcmodule.cpp:7: In file included from ./sipAPIpictureflow.h:12: In file included from /data/scratch/misc/calibre/work/.buildlink/qt5/include/QtCore/QMetaType:1: In file included from /data/scratch/misc/calibre/work/.buildlink/qt5/include/QtCore/qmetatype.h:48: In file included from /data/scratch/misc/calibre/work/.buildlink/qt5/include/QtCore/qvarlengtharray.h:47: In file included from /data/scratch/misc/calibre/work/.buildlink/qt5/include/QtCore/qhashfunctions.h:44: /data/scratch/misc/calibre/work/.buildlink/qt5/include/QtCore/qstring.h:1229:22: warning: definition of implicit copy constructor for 'QCharRef' is deprecated because it has a user-declared copy assignment operator [-Wdeprecated-copy] inline QCharRef &operator=(const QCharRef &c) { return operator=(QChar(c)); } ^ /data/scratch/misc/calibre/work/.buildlink/qt5/include/QtCore/qstring.h:1329:38: note: in implicit copy constructor for 'QCharRef' first required here { Q_ASSERT(i >= 0); detach(); return QCharRef(*this, i); } ^ --- sippictureflowPictureFlow.o --- In file included from sippictureflowPictureFlow.cpp:7: In file included from ./sipAPIpictureflow.h:12: In file included from /data/scratch/misc/calibre/work/.buildlink/qt5/include/QtCore/QMetaType:1: In file included from /data/scratch/misc/calibre/work/.buildlink/qt5/include/QtCore/qmetatype.h:48: In file included from /data/scratch/misc/calibre/work/.buildlink/qt5/include/QtCore/qvarlengtharray.h:47: In file included from /data/scratch/misc/calibre/work/.buildlink/qt5/include/QtCore/qhashfunctions.h:44: /data/scratch/misc/calibre/work/.buildlink/qt5/include/QtCore/qstring.h:1229:22: warning: definition of implicit copy constructor for 'QCharRef' is deprecated because it has a user-declared copy assignment operator [-Wdeprecated-copy] inline QCharRef &operator=(const QCharRef &c) { return operator=(QChar(c)); } ^ /data/scratch/misc/calibre/work/.buildlink/qt5/include/QtCore/qstring.h:1329:38: note: in implicit copy constructor for 'QCharRef' first required here { Q_ASSERT(i >= 0); detach(); return QCharRef(*this, i); } ^ --- sippictureflowFlowImages.o --- In file included from sippictureflowFlowImages.cpp:7: In file included from ./sipAPIpictureflow.h:12: In file included from /data/scratch/misc/calibre/work/.buildlink/qt5/include/QtCore/QMetaType:1: In file included from /data/scratch/misc/calibre/work/.buildlink/qt5/include/QtCore/qmetatype.h:48: In file included from /data/scratch/misc/calibre/work/.buildlink/qt5/include/QtCore/qvarlengtharray.h:47: In file included from /data/scratch/misc/calibre/work/.buildlink/qt5/include/QtCore/qhashfunctions.h:44: /data/scratch/misc/calibre/work/.buildlink/qt5/include/QtCore/qstring.h:1229:22: warning: definition of implicit copy constructor for 'QCharRef' is deprecated because it has a user-declared copy assignment operator [-Wdeprecated-copy] inline QCharRef &operator=(const QCharRef &c) { return operator=(QChar(c)); } ^ /data/scratch/misc/calibre/work/.buildlink/qt5/include/QtCore/qstring.h:1329:38: note: in implicit copy constructor for 'QCharRef' first required here { Q_ASSERT(i >= 0); detach(); return QCharRef(*this, i); } ^ --- moc_pictureflow.o --- In file included from moc_pictureflow.cpp:10: In file included from ./../../../src/calibre/gui2/pictureflow/pictureflow.h:60: In file included from /data/scratch/misc/calibre/work/.buildlink/qt5/include/QtWidgets/QWidget:1: In file included from /data/scratch/misc/calibre/work/.buildlink/qt5/include/QtWidgets/qwidget.h:45: In file included from /data/scratch/misc/calibre/work/.buildlink/qt5/include/QtCore/qobject.h:47: In file included from /data/scratch/misc/calibre/work/.buildlink/qt5/include/QtCore/qstring.h:50: /data/scratch/misc/calibre/work/.buildlink/qt5/include/QtCore/qbytearray.h:600:22: warning: definition of implicit copy constructor for 'QByteRef' is deprecated because it has a user-declared copy assignment operator [-Wdeprecated-copy] inline QByteRef &operator=(const QByteRef &c) ^ /data/scratch/misc/calibre/work/.buildlink/qt5/include/QtCore/qbytearray.h:619:38: note: in implicit copy constructor for 'QByteRef' first required here { Q_ASSERT(i >= 0); detach(); return QByteRef(*this, i); } ^ In file included from moc_pictureflow.cpp:10: In file included from ./../../../src/calibre/gui2/pictureflow/pictureflow.h:60: In file included from /data/scratch/misc/calibre/work/.buildlink/qt5/include/QtWidgets/QWidget:1: In file included from /data/scratch/misc/calibre/work/.buildlink/qt5/include/QtWidgets/qwidget.h:45: In file included from /data/scratch/misc/calibre/work/.buildlink/qt5/include/QtCore/qobject.h:47: /data/scratch/misc/calibre/work/.buildlink/qt5/include/QtCore/qstring.h:1229:22: warning: definition of implicit copy constructor for 'QCharRef' is deprecated because it has a user-declared copy assignment operator [-Wdeprecated-copy] inline QCharRef &operator=(const QCharRef &c) { return operator=(QChar(c)); } ^ /data/scratch/misc/calibre/work/.buildlink/qt5/include/QtCore/qstring.h:1329:38: note: in implicit copy constructor for 'QCharRef' first required here { Q_ASSERT(i >= 0); detach(); return QCharRef(*this, i); } ^ --- sippictureflowcmodule.o --- 2 warnings generated. --- moc_pictureflow.o --- 2 warnings generated. --- sippictureflowFlowImages.o --- 2 warnings generated. --- pictureflow.o --- ../../../src/calibre/gui2/pictureflow/pictureflow.cpp:1384:33: warning: 'elapsed' is deprecated: Use QElapsedTimer instead [-Wdeprecated-declarations] if (d->previousPosTimestamp.elapsed() == 0) ^ /data/scratch/misc/calibre/work/.buildlink/qt5/include/QtCore/qdatetime.h:235:5: note: 'elapsed' has been explicitly marked deprecated here QT_DEPRECATED_X("Use QElapsedTimer instead") int elapsed() const; ^ /data/scratch/misc/calibre/work/.buildlink/qt5/include/QtCore/qglobal.h:294:33: note: expanded from macro 'QT_DEPRECATED_X' # define QT_DEPRECATED_X(text) Q_DECL_DEPRECATED_X(text) ^ /data/scratch/misc/calibre/work/.buildlink/qt5/include/QtCore/qcompilerdetection.h:675:55: note: expanded from macro 'Q_DECL_DEPRECATED_X' # define Q_DECL_DEPRECATED_X(text) __attribute__ ((__deprecated__(text))) ^ ../../../src/calibre/gui2/pictureflow/pictureflow.cpp:1388:76: warning: 'elapsed' is deprecated: Use QElapsedTimer instead [-Wdeprecated-declarations] speed = ((qAbs(x-d->previousPos.x())*1000) / d->previousPosTimestamp.elapsed()) ^ /data/scratch/misc/calibre/work/.buildlink/qt5/include/QtCore/qdatetime.h:235:5: note: 'elapsed' has been explicitly marked deprecated here QT_DEPRECATED_X("Use QElapsedTimer instead") int elapsed() const; ^ /data/scratch/misc/calibre/work/.buildlink/qt5/include/QtCore/qglobal.h:294:33: note: expanded from macro 'QT_DEPRECATED_X' # define QT_DEPRECATED_X(text) Q_DECL_DEPRECATED_X(text) ^ /data/scratch/misc/calibre/work/.buildlink/qt5/include/QtCore/qcompilerdetection.h:675:55: note: expanded from macro 'Q_DECL_DEPRECATED_X' # define Q_DECL_DEPRECATED_X(text) __attribute__ ((__deprecated__(text))) ^ ../../../src/calibre/gui2/pictureflow/pictureflow.cpp:1445:27: warning: 'restart' is deprecated: Use QElapsedTimer instead [-Wdeprecated-declarations] d->previousPosTimestamp.restart(); ^ /data/scratch/misc/calibre/work/.buildlink/qt5/include/QtCore/qdatetime.h:234:5: note: 'restart' has been explicitly marked deprecated here QT_DEPRECATED_X("Use QElapsedTimer instead") int restart(); ^ /data/scratch/misc/calibre/work/.buildlink/qt5/include/QtCore/qglobal.h:294:33: note: expanded from macro 'QT_DEPRECATED_X' # define QT_DEPRECATED_X(text) Q_DECL_DEPRECATED_X(text) ^ /data/scratch/misc/calibre/work/.buildlink/qt5/include/QtCore/qcompilerdetection.h:675:55: note: expanded from macro 'Q_DECL_DEPRECATED_X' # define Q_DECL_DEPRECATED_X(text) __attribute__ ((__deprecated__(text))) ^ ../../../src/calibre/gui2/pictureflow/pictureflow.cpp:1452:27: warning: 'start' is deprecated: Use QElapsedTimer instead [-Wdeprecated-declarations] d->previousPosTimestamp.start(); ^ /data/scratch/misc/calibre/work/.buildlink/qt5/include/QtCore/qdatetime.h:233:5: note: 'start' has been explicitly marked deprecated here QT_DEPRECATED_X("Use QElapsedTimer instead") void start(); ^ /data/scratch/misc/calibre/work/.buildlink/qt5/include/QtCore/qglobal.h:294:33: note: expanded from macro 'QT_DEPRECATED_X' # define QT_DEPRECATED_X(text) Q_DECL_DEPRECATED_X(text) ^ /data/scratch/misc/calibre/work/.buildlink/qt5/include/QtCore/qcompilerdetection.h:675:55: note: expanded from macro 'Q_DECL_DEPRECATED_X' # define Q_DECL_DEPRECATED_X(text) __attribute__ ((__deprecated__(text))) ^ --- sippictureflowPictureFlow.o --- 2 warnings generated. --- pictureflow.o --- 6 warnings generated. --- libpictureflow.so --- rm -f libpictureflow.so g++ -shared -L/usr/lib -Wl,-R/usr/lib -L/usr/pkg/lib -Wl,-R/usr/pkg/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 -lexecinfo -L/usr/lib -Wl,-R/usr/lib -L/usr/pkg/lib -Wl,-R/usr/pkg/lib -Wl,-R/usr/pkg/lib -Wl,--version-script=pictureflow.exp -Wl,-O1 -pthread -Wl,-rpath,/usr/pkg/qt5/lib -shared -o libpictureflow.so pictureflow.o sippictureflowcmodule.o sippictureflowPictureFlow.o sippictureflowFlowImages.o moc_pictureflow.o -L/usr/pkg/lib /usr/pkg/qt5/lib/libQt5Widgets.so /usr/pkg/qt5/lib/libQt5Gui.so /usr/pkg/qt5/lib/libQt5Core.so -lGL ####### Building extension progress_indicator ####### /usr/pkg/bin/sip2.7 -w -c /data/scratch/misc/calibre/work/calibre-3.40.1/build/pyqt/progress_indicator -b /data/scratch/misc/calibre/work/calibre-3.40.1/build/pyqt/progress_indicator/QProgressIndicator.sip.sbf -I/usr/pkg/share/sip2.7/PyQt5 -n PyQt5.sip -x VendorID -t WS_X11 -t Qt_5_15_0 -x Py_v3 /data/scratch/misc/calibre/work/calibre-3.40.1/src/calibre/gui2/progress_indicator/QProgressIndicator.sip Info: creating stash file /data/scratch/misc/calibre/work/calibre-3.40.1/build/pyqt/progress_indicator/.qmake.stash --- QProgressIndicator.o --- --- sipprogress_indicatorcmodule.o --- --- sipprogress_indicatorQHash18000100QString.o --- --- sipprogress_indicatorQProgressIndicator.o --- --- moc_predefs.h --- --- QProgressIndicator.o --- clang++ -c -O2 -I/usr/include -I/usr/pkg/include -I/usr/pkg/include/freetype2 -I/usr/pkg/include/nss/nss -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/libdrm -O2 -Wno-register -D_NETBSD_SOURCE -I/usr/include -I/usr/pkg/include -I/usr/include/krb5 -I/usr/pkg/lib/dbus-1.0/include/dbus -I/usr/pkg/include/glib-2.0 -I/usr/pkg/include/gio-unix-2.0 -I/usr/pkg/lib/glib-2.0/include -I/usr/pkg/include/freetype2 -I/usr/pkg/include/libdrm -Wall -Wextra -fPIC -DQT_NO_DEBUG -DQT_PLUGIN -DQT_WIDGETS_LIB -DQT_GUI_LIB -DQT_CORE_LIB -I. -I/usr/pkg/include/python2.7 -I/usr/pkg/include/python2.7 -I../../../src/calibre/gui2/progress_indicator -I/usr/pkg/qt5/include -I/usr/pkg/qt5/include/QtWidgets -I/usr/pkg/qt5/include/QtGui -I/usr/pkg/qt5/include/QtCore -I. -I/usr/pkg/include -I/usr/pkg/include/libdrm -I/usr/pkg/include -I/usr/pkg/qt5/mkspecs/netbsd-g++ -o QProgressIndicator.o ../../../src/calibre/gui2/progress_indicator/QProgressIndicator.cpp --- sipprogress_indicatorQHash18000100QString.o --- clang++ -c -O2 -I/usr/include -I/usr/pkg/include -I/usr/pkg/include/freetype2 -I/usr/pkg/include/nss/nss -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/libdrm -O2 -Wno-register -D_NETBSD_SOURCE -I/usr/include -I/usr/pkg/include -I/usr/include/krb5 -I/usr/pkg/lib/dbus-1.0/include/dbus -I/usr/pkg/include/glib-2.0 -I/usr/pkg/include/gio-unix-2.0 -I/usr/pkg/lib/glib-2.0/include -I/usr/pkg/include/freetype2 -I/usr/pkg/include/libdrm -Wall -Wextra -fPIC -DQT_NO_DEBUG -DQT_PLUGIN -DQT_WIDGETS_LIB -DQT_GUI_LIB -DQT_CORE_LIB -I. -I/usr/pkg/include/python2.7 -I/usr/pkg/include/python2.7 -I../../../src/calibre/gui2/progress_indicator -I/usr/pkg/qt5/include -I/usr/pkg/qt5/include/QtWidgets -I/usr/pkg/qt5/include/QtGui -I/usr/pkg/qt5/include/QtCore -I. -I/usr/pkg/include -I/usr/pkg/include/libdrm -I/usr/pkg/include -I/usr/pkg/qt5/mkspecs/netbsd-g++ -o sipprogress_indicatorQHash18000100QString.o sipprogress_indicatorQHash18000100QString.cpp --- moc_predefs.h --- clang++ -O2 -Wno-register -D_NETBSD_SOURCE -I/usr/include -I/usr/pkg/include -I/usr/include/krb5 -I/usr/pkg/lib/dbus-1.0/include/dbus -I/usr/pkg/include/glib-2.0 -I/usr/pkg/include/gio-unix-2.0 -I/usr/pkg/lib/glib-2.0/include -I/usr/pkg/include/freetype2 -I/usr/pkg/include/libdrm -Wall -Wextra -dM -E -o moc_predefs.h /usr/pkg/qt5/mkspecs/features/data/dummy.cpp --- sipprogress_indicatorcmodule.o --- clang++ -c -O2 -I/usr/include -I/usr/pkg/include -I/usr/pkg/include/freetype2 -I/usr/pkg/include/nss/nss -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/libdrm -O2 -Wno-register -D_NETBSD_SOURCE -I/usr/include -I/usr/pkg/include -I/usr/include/krb5 -I/usr/pkg/lib/dbus-1.0/include/dbus -I/usr/pkg/include/glib-2.0 -I/usr/pkg/include/gio-unix-2.0 -I/usr/pkg/lib/glib-2.0/include -I/usr/pkg/include/freetype2 -I/usr/pkg/include/libdrm -Wall -Wextra -fPIC -DQT_NO_DEBUG -DQT_PLUGIN -DQT_WIDGETS_LIB -DQT_GUI_LIB -DQT_CORE_LIB -I. -I/usr/pkg/include/python2.7 -I/usr/pkg/include/python2.7 -I../../../src/calibre/gui2/progress_indicator -I/usr/pkg/qt5/include -I/usr/pkg/qt5/include/QtWidgets -I/usr/pkg/qt5/include/QtGui -I/usr/pkg/qt5/include/QtCore -I. -I/usr/pkg/include -I/usr/pkg/include/libdrm -I/usr/pkg/include -I/usr/pkg/qt5/mkspecs/netbsd-g++ -o sipprogress_indicatorcmodule.o sipprogress_indicatorcmodule.cp--- sipprogress_indicatorQProgressIndicator.o --- clang++ -c -O2 -I/usr/include -I/usr/pkg/include -I/usr/pkg/include/freetype2 -I/usr/pkg/include/nss/nss -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/libdrm -O2 -Wno-register -D_NETBSD_SOURCE -I/usr/include -I/usr/pkg/include -I/usr/include/krb5 -I/usr/pkg/lib/dbus-1.0/include/dbus -I/usr/pkg/include/glib-2.0 -I/usr/pkg/include/gio-unix-2.0 -I/usr/pkg/lib/glib-2.0/include -I/usr/pkg/include/freetype2 -I/usr/pkg/include/libdrm -Wall -Wextra -fPIC -DQT_NO_DEBUG -DQT_PLUGIN -DQT_WIDGETS_LIB -DQT_GUI_LIB -DQT_CORE_LIB -I. -I/usr/pkg/include/python2.7 -I/usr/pkg/include/python2.7 -I../../../src/calibre/gui2/progress_indicator -I/usr/pkg/qt5/include -I/usr/pkg/qt5/include/QtWidgets -I/usr/pkg/qt5/include/QtGui -I/usr/pkg/qt5/include/QtCore -I. -I/usr/pkg/include -I/usr/pkg/include/libdrm -I/usr/pkg/include -I/usr/pkg/qt5/mkspecs/netbsd-g++ -o sipprogress_indicatorQProgressIndicator.o sipprogress_indicato--- sipprogress_indicatorcmodule.o --- p --- sipprogress_indicatorQProgressIndicator.o --- rQProgressIndicator.cpp --- moc_QProgressIndicator.cpp --- /usr/pkg/qt5/bin/moc -DQT_NO_DEBUG -DQT_PLUGIN -DQT_WIDGETS_LIB -DQT_GUI_LIB -DQT_CORE_LIB --include /data/scratch/misc/calibre/work/calibre-3.40.1/build/pyqt/progress_indicator/moc_predefs.h -I/usr/pkg/qt5/mkspecs/netbsd-g++ -I/data/scratch/misc/calibre/work/calibre-3.40.1/build/pyqt/progress_indicator -I/usr/pkg/include/python2.7 -I/usr/pkg/include/python2.7 -I/data/scratch/misc/calibre/work/calibre-3.40.1/src/calibre/gui2/progress_indicator -I/usr/pkg/qt5/include -I/usr/pkg/qt5/include/QtWidgets -I/usr/pkg/qt5/include/QtGui -I/usr/pkg/qt5/include/QtCore -I/data/scratch/misc/calibre/work/.buildlink/include -I/usr/include/krb5 -I/data/scratch/misc/calibre/work/.buildlink/lib/dbus-1.0/include/dbus -I/data/scratch/misc/calibre/work/.buildlink/include/glib-2.0 -I/data/scratch/misc/calibre/work/.buildlink/include/gio-unix-2.0 -I/data/scratch/misc/calibre/work/.buildlink/lib/glib-2.0/include -I/data/scratch/misc/calibre/work/.buildlink/include/freetype2 -I/data/scratch/misc/calibre/work/.buildlink/include/libdrm -I/usr/include/c++ -I/usr/include/clang-10.0 -I/usr/include ../../../src/calibre/gui2/progress_indicator/QProgressIndicator.h -o moc_QProgressIndicator.cpp --- moc_QProgressIndicator.o --- clang++ -c -O2 -I/usr/include -I/usr/pkg/include -I/usr/pkg/include/freetype2 -I/usr/pkg/include/nss/nss -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/libdrm -O2 -Wno-register -D_NETBSD_SOURCE -I/usr/include -I/usr/pkg/include -I/usr/include/krb5 -I/usr/pkg/lib/dbus-1.0/include/dbus -I/usr/pkg/include/glib-2.0 -I/usr/pkg/include/gio-unix-2.0 -I/usr/pkg/lib/glib-2.0/include -I/usr/pkg/include/freetype2 -I/usr/pkg/include/libdrm -Wall -Wextra -fPIC -DQT_NO_DEBUG -DQT_PLUGIN -DQT_WIDGETS_LIB -DQT_GUI_LIB -DQT_CORE_LIB -I. -I/usr/pkg/include/python2.7 -I/usr/pkg/include/python2.7 -I../../../src/calibre/gui2/progress_indicator -I/usr/pkg/qt5/include -I/usr/pkg/qt5/include/QtWidgets -I/usr/pkg/qt5/include/QtGui -I/usr/pkg/qt5/include/QtCore -I. -I/usr/pkg/include -I/usr/pkg/include/libdrm -I/usr/pkg/include -I/usr/pkg/qt5/mkspecs/netbsd-g++ -o moc_QProgressIndicator.o moc_QProgressIndicator.cpp --- sipprogress_indicatorcmodule.o --- In file included from sipprogress_indicatorcmodule.cpp:7: In file included from ./sipAPIprogress_indicator.h:12: In file included from /data/scratch/misc/calibre/work/.buildlink/qt5/include/QtCore/QMetaType:1: In file included from /data/scratch/misc/calibre/work/.buildlink/qt5/include/QtCore/qmetatype.h:47: /data/scratch/misc/calibre/work/.buildlink/qt5/include/QtCore/qbytearray.h:600:22: warning: definition of implicit copy constructor for 'QByteRef' is deprecated because it has a user-declared copy assignment operator [-Wdeprecated-copy] inline QByteRef &operator=(const QByteRef &c) ^ /data/scratch/misc/calibre/work/.buildlink/qt5/include/QtCore/qbytearray.h:619:38: note: in implicit copy constructor for 'QByteRef' first required here { Q_ASSERT(i >= 0); detach(); return QByteRef(*this, i); } ^ --- sipprogress_indicatorQHash18000100QString.o --- In file included from sipprogress_indicatorQHash18000100QString.cpp:7: In file included from ./sipAPIprogress_indicator.h:12: In file included from /data/scratch/misc/calibre/work/.buildlink/qt5/include/QtCore/QMetaType:1: In file included from /data/scratch/misc/calibre/work/.buildlink/qt5/include/QtCore/qmetatype.h:47: /data/scratch/misc/calibre/work/.buildlink/qt5/include/QtCore/qbytearray.h:600:22: warning: definition of implicit copy constructor for 'QByteRef' is deprecated because it has a user-declared copy assignment operator [-Wdeprecated-copy] inline QByteRef &operator=(const QByteRef &c) ^ /data/scratch/misc/calibre/work/.buildlink/qt5/include/QtCore/qbytearray.h:619:38: note: in implicit copy constructor for 'QByteRef' first required here { Q_ASSERT(i >= 0); detach(); return QByteRef(*this, i); } ^ --- sipprogress_indicatorQProgressIndicator.o --- In file included from sipprogress_indicatorQProgressIndicator.cpp:7: In file included from ./sipAPIprogress_indicator.h:12: In file included from /data/scratch/misc/calibre/work/.buildlink/qt5/include/QtCore/QMetaType:1: In file included from /data/scratch/misc/calibre/work/.buildlink/qt5/include/QtCore/qmetatype.h:47: /data/scratch/misc/calibre/work/.buildlink/qt5/include/QtCore/qbytearray.h:600:22: warning: definition of implicit copy constructor for 'QByteRef' is deprecated because it has a user-declared copy assignment operator [-Wdeprecated-copy] inline QByteRef &operator=(const QByteRef &c) ^ /data/scratch/misc/calibre/work/.buildlink/qt5/include/QtCore/qbytearray.h:619:38: note: in implicit copy constructor for 'QByteRef' first required here { Q_ASSERT(i >= 0); detach(); return QByteRef(*this, i); } ^ --- QProgressIndicator.o --- In file included from ../../../src/calibre/gui2/progress_indicator/QProgressIndicator.cpp:1: In file included from ../../../src/calibre/gui2/progress_indicator/QProgressIndicator.h:3: In file included from /data/scratch/misc/calibre/work/.buildlink/qt5/include/QtWidgets/QWidget:1: In file included from /data/scratch/misc/calibre/work/.buildlink/qt5/include/QtWidgets/qwidget.h:45: In file included from /data/scratch/misc/calibre/work/.buildlink/qt5/include/QtCore/qobject.h:47: In file included from /data/scratch/misc/calibre/work/.buildlink/qt5/include/QtCore/qstring.h:50: /data/scratch/misc/calibre/work/.buildlink/qt5/include/QtCore/qbytearray.h:600:22: warning: definition of implicit copy constructor for 'QByteRef' is deprecated because it has a user-declared copy assignment operator [-Wdeprecated-copy] inline QByteRef &operator=(const QByteRef &c) ^ /data/scratch/misc/calibre/work/.buildlink/qt5/include/QtCore/qbytearray.h:619:38: note: in implicit copy constructor for 'QByteRef' first required here { Q_ASSERT(i >= 0); detach(); return QByteRef(*this, i); } ^ --- sipprogress_indicatorcmodule.o --- In file included from sipprogress_indicatorcmodule.cpp:7: In file included from ./sipAPIprogress_indicator.h:12: In file included from /data/scratch/misc/calibre/work/.buildlink/qt5/include/QtCore/QMetaType:1: In file included from /data/scratch/misc/calibre/work/.buildlink/qt5/include/QtCore/qmetatype.h:48: In file included from /data/scratch/misc/calibre/work/.buildlink/qt5/include/QtCore/qvarlengtharray.h:47: In file included from /data/scratch/misc/calibre/work/.buildlink/qt5/include/QtCore/qhashfunctions.h:44: /data/scratch/misc/calibre/work/.buildlink/qt5/include/QtCore/qstring.h:1229:22: warning: definition of implicit copy constructor for 'QCharRef' is deprecated because it has a user-declared copy assignment operator [-Wdeprecated-copy] inline QCharRef &operator=(const QCharRef &c) { return operator=(QChar(c)); } ^ /data/scratch/misc/calibre/work/.buildlink/qt5/include/QtCore/qstring.h:1329:38: note: in implicit copy constructor for 'QCharRef' first required here { Q_ASSERT(i >= 0); detach(); return QCharRef(*this, i); } ^ --- sipprogress_indicatorQHash18000100QString.o --- In file included from sipprogress_indicatorQHash18000100QString.cpp:7: In file included from ./sipAPIprogress_indicator.h:12: In file included from /data/scratch/misc/calibre/work/.buildlink/qt5/include/QtCore/QMetaType:1: In file included from /data/scratch/misc/calibre/work/.buildlink/qt5/include/QtCore/qmetatype.h:48: In file included from /data/scratch/misc/calibre/work/.buildlink/qt5/include/QtCore/qvarlengtharray.h:47: In file included from /data/scratch/misc/calibre/work/.buildlink/qt5/include/QtCore/qhashfunctions.h:44: /data/scratch/misc/calibre/work/.buildlink/qt5/include/QtCore/qstring.h:1229:22: warning: definition of implicit copy constructor for 'QCharRef' is deprecated because it has a user-declared copy assignment operator [-Wdeprecated-copy] inline QCharRef &operator=(const QCharRef &c) { return operator=(QChar(c)); } ^ /data/scratch/misc/calibre/work/.buildlink/qt5/include/QtCore/qstring.h:1329:38: note: in implicit copy constructor for 'QCharRef' first required here { Q_ASSERT(i >= 0); detach(); return QCharRef(*this, i); } ^ --- moc_QProgressIndicator.o --- In file included from moc_QProgressIndicator.cpp:10: In file included from ./../../../src/calibre/gui2/progress_indicator/QProgressIndicator.h:3: In file included from /data/scratch/misc/calibre/work/.buildlink/qt5/include/QtWidgets/QWidget:1: In file included from /data/scratch/misc/calibre/work/.buildlink/qt5/include/QtWidgets/qwidget.h:45: In file included from /data/scratch/misc/calibre/work/.buildlink/qt5/include/QtCore/qobject.h:47: In file included from /data/scratch/misc/calibre/work/.buildlink/qt5/include/QtCore/qstring.h:50: /data/scratch/misc/calibre/work/.buildlink/qt5/include/QtCore/qbytearray.h:600:22: warning: definition of implicit copy constructor for 'QByteRef' is deprecated because it has a user-declared copy assignment operator [-Wdeprecated-copy] inline QByteRef &operator=(const QByteRef &c) ^ /data/scratch/misc/calibre/work/.buildlink/qt5/include/QtCore/qbytearray.h:619:38: note: in implicit copy constructor for 'QByteRef' first required here { Q_ASSERT(i >= 0); detach(); return QByteRef(*this, i); } ^ --- sipprogress_indicatorQProgressIndicator.o --- In file included from sipprogress_indicatorQProgressIndicator.cpp:7: In file included from ./sipAPIprogress_indicator.h:12: In file included from /data/scratch/misc/calibre/work/.buildlink/qt5/include/QtCore/QMetaType:1: In file included from /data/scratch/misc/calibre/work/.buildlink/qt5/include/QtCore/qmetatype.h:48: In file included from /data/scratch/misc/calibre/work/.buildlink/qt5/include/QtCore/qvarlengtharray.h:47: In file included from /data/scratch/misc/calibre/work/.buildlink/qt5/include/QtCore/qhashfunctions.h:44: /data/scratch/misc/calibre/work/.buildlink/qt5/include/QtCore/qstring.h:1229:22: warning: definition of implicit copy constructor for 'QCharRef' is deprecated because it has a user-declared copy assignment operator [-Wdeprecated-copy] inline QCharRef &operator=(const QCharRef &c) { return operator=(QChar(c)); } ^ /data/scratch/misc/calibre/work/.buildlink/qt5/include/QtCore/qstring.h:1329:38: note: in implicit copy constructor for 'QCharRef' first required here { Q_ASSERT(i >= 0); detach(); return QCharRef(*this, i); } ^ --- QProgressIndicator.o --- In file included from ../../../src/calibre/gui2/progress_indicator/QProgressIndicator.cpp:1: In file included from ../../../src/calibre/gui2/progress_indicator/QProgressIndicator.h:3: In file included from /data/scratch/misc/calibre/work/.buildlink/qt5/include/QtWidgets/QWidget:1: In file included from /data/scratch/misc/calibre/work/.buildlink/qt5/include/QtWidgets/qwidget.h:45: In file included from /data/scratch/misc/calibre/work/.buildlink/qt5/include/QtCore/qobject.h:47: /data/scratch/misc/calibre/work/.buildlink/qt5/include/QtCore/qstring.h:1229:22: warning: definition of implicit copy constructor for 'QCharRef' is deprecated because it has a user-declared copy assignment operator [-Wdeprecated-copy] inline QCharRef &operator=(const QCharRef &c) { return operator=(QChar(c)); } ^ /data/scratch/misc/calibre/work/.buildlink/qt5/include/QtCore/qstring.h:1329:38: note: in implicit copy constructor for 'QCharRef' first required here { Q_ASSERT(i >= 0); detach(); return QCharRef(*this, i); } ^ --- moc_QProgressIndicator.o --- In file included from moc_QProgressIndicator.cpp:10: In file included from ./../../../src/calibre/gui2/progress_indicator/QProgressIndicator.h:3: In file included from /data/scratch/misc/calibre/work/.buildlink/qt5/include/QtWidgets/QWidget:1: In file included from /data/scratch/misc/calibre/work/.buildlink/qt5/include/QtWidgets/qwidget.h:45: In file included from /data/scratch/misc/calibre/work/.buildlink/qt5/include/QtCore/qobject.h:47: /data/scratch/misc/calibre/work/.buildlink/qt5/include/QtCore/qstring.h:1229:22: warning: definition of implicit copy constructor for 'QCharRef' is deprecated because it has a user-declared copy assignment operator [-Wdeprecated-copy] inline QCharRef &operator=(const QCharRef &c) { return operator=(QChar(c)); } ^ /data/scratch/misc/calibre/work/.buildlink/qt5/include/QtCore/qstring.h:1329:38: note: in implicit copy constructor for 'QCharRef' first required here { Q_ASSERT(i >= 0); detach(); return QCharRef(*this, i); } ^ --- sipprogress_indicatorQHash18000100QString.o --- 2 warnings generated. --- moc_QProgressIndicator.o --- 2 warnings generated. --- sipprogress_indicatorcmodule.o --- 2 warnings generated. --- QProgressIndicator.o --- 2 warnings generated. --- sipprogress_indicatorQProgressIndicator.o --- 2 warnings generated. --- libprogress_indicator.so --- rm -f libprogress_indicator.so g++ -shared -L/usr/lib -Wl,-R/usr/lib -L/usr/pkg/lib -Wl,-R/usr/pkg/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 -lexecinfo -L/usr/lib -Wl,-R/usr/lib -L/usr/pkg/lib -Wl,-R/usr/pkg/lib -Wl,-R/usr/pkg/lib -Wl,--version-script=progress_indicator.exp -Wl,-O1 -pthread -Wl,-rpath,/usr/pkg/qt5/lib -shared -o libprogress_indicator.so QProgressIndicator.o sipprogress_indicatorcmodule.o sipprogress_indicatorQHash18000100QString.o sipprogress_indicatorQProgressIndicator.o moc_QProgressIndicator.o -L/usr/pkg/lib /usr/pkg/qt5/lib/libQt5Widgets.so /usr/pkg/qt5/lib/libQt5Gui.so /usr/pkg/qt5/lib/libQt5Core.so -lGL ####### Building extension imageops ####### /usr/pkg/bin/sip2.7 -w -c /data/scratch/misc/calibre/work/calibre-3.40.1/build/pyqt/imageops -b /data/scratch/misc/calibre/work/calibre-3.40.1/build/pyqt/imageops/imageops.sip.sbf -I/usr/pkg/share/sip2.7/PyQt5 -n PyQt5.sip -x VendorID -t WS_X11 -t Qt_5_15_0 -x Py_v3 /data/scratch/misc/calibre/work/calibre-3.40.1/src/calibre/utils/imageops/imageops.sip Info: creating stash file /data/scratch/misc/calibre/work/calibre-3.40.1/build/pyqt/imageops/.qmake.stash --- imageops.o --- --- quantize.o --- --- sipimageopscmodule.o --- --- imageops.o --- clang++ -c -O2 -I/usr/include -I/usr/pkg/include -I/usr/pkg/include/freetype2 -I/usr/pkg/include/nss/nss -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/libdrm -O2 -Wno-register -D_NETBSD_SOURCE -I/usr/include -I/usr/pkg/include -I/usr/include/krb5 -I/usr/pkg/lib/dbus-1.0/include/dbus -I/usr/pkg/include/glib-2.0 -I/usr/pkg/include/gio-unix-2.0 -I/usr/pkg/lib/glib-2.0/include -I/usr/pkg/include/freetype2 -I/usr/pkg/include/libdrm -Wall -Wextra -fPIC -DQT_NO_DEBUG -DQT_PLUGIN -DQT_WIDGETS_LIB -DQT_GUI_LIB -DQT_CORE_LIB -I. -I/usr/pkg/include/python2.7 -I/usr/pkg/include/python2.7 -I../../../src/calibre/utils/imageops -I/usr/pkg/qt5/include -I/usr/pkg/qt5/include/QtWidgets -I/usr/pkg/qt5/include/QtGui -I/usr/pkg/qt5/include/QtCore -I. -I/usr/pkg/include -I/usr/pkg/include/libdrm -I/usr/pkg/include -I/usr/pkg/qt5/mkspecs/netbsd-g++ -o imageops.o ../../../src/calibre/utils/imageops/imageops.cpp --- sipimageopscmodule.o --- clang++ -c -O2 -I/usr/include -I/usr/pkg/include -I/usr/pkg/include/freetype2 -I/usr/pkg/include/nss/nss -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/libdrm -O2 -Wno-register -D_NETBSD_SOURCE -I/usr/include -I/usr/pkg/include -I/usr/include/krb5 -I/usr/pkg/lib/dbus-1.0/include/dbus -I/usr/pkg/include/glib-2.0 -I/usr/pkg/include/gio-unix-2.0 -I/usr/pkg/lib/glib-2.0/include -I/usr/pkg/include/freetype2 -I/usr/pkg/include/libdrm -Wall -Wextra -fPIC -DQT_NO_DEBUG -DQT_PLUGIN -DQT_WIDGETS_LIB -DQT_GUI_LIB -DQT_CORE_LIB -I. -I/usr/pkg/include/python2.7 -I/usr/pkg/include/python2.7 -I../../../src/calibre/utils/imageops -I/usr/pkg/qt5/include -I/usr/pkg/qt5/include/QtWidgets -I/usr/pkg/qt5/include/QtGui -I/usr/pkg/qt5/include/QtCore -I. -I/usr/pkg/include -I/usr/pkg/include/libdrm -I/usr/pkg/include -I/usr/pkg/qt5/mkspecs/netbsd-g++ -o sipimageopscmodule.o sipimageopscmodule.cpp --- quantize.o --- clang++ -c -O2 -I/usr/include -I/usr/pkg/include -I/usr/pkg/include/freetype2 -I/usr/pkg/include/nss/nss -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/libdrm -O2 -Wno-register -D_NETBSD_SOURCE -I/usr/include -I/usr/pkg/include -I/usr/include/krb5 -I/usr/pkg/lib/dbus-1.0/include/dbus -I/usr/pkg/include/glib-2.0 -I/usr/pkg/include/gio-unix-2.0 -I/usr/pkg/lib/glib-2.0/include -I/usr/pkg/include/freetype2 -I/usr/pkg/include/libdrm -Wall -Wextra -fPIC -DQT_NO_DEBUG -DQT_PLUGIN -DQT_WIDGETS_LIB -DQT_GUI_LIB -DQT_CORE_LIB -I. -I/usr/pkg/include/python2.7 -I/usr/pkg/include/python2.7 -I../../../src/calibre/utils/imageops -I/usr/pkg/qt5/include -I/usr/pkg/qt5/include/QtWidgets -I/usr/pkg/qt5/include/QtGui -I/usr/pkg/qt5/include/QtCore -I. -I/usr/pkg/include -I/usr/pkg/include/libdrm -I/usr/pkg/include -I/usr/pkg/qt5/mkspecs/netbsd-g++ -o quantize.o ../../../src/calibre/utils/imageops/quantize.cpp --- sipimageopscmodule.o --- In file included from sipimageopscmodule.cpp:7: In file included from ./sipAPIimageops.h:12: In file included from /data/scratch/misc/calibre/work/.buildlink/qt5/include/QtCore/QMetaType:1: In file included from /data/scratch/misc/calibre/work/.buildlink/qt5/include/QtCore/qmetatype.h:47: /data/scratch/misc/calibre/work/.buildlink/qt5/include/QtCore/qbytearray.h:600:22: warning: definition of implicit copy constructor for 'QByteRef' is deprecated because it has a user-declared copy assignment operator [-Wdeprecated-copy] inline QByteRef &operator=(const QByteRef &c) ^ /data/scratch/misc/calibre/work/.buildlink/qt5/include/QtCore/qbytearray.h:619:38: note: in implicit copy constructor for 'QByteRef' first required here { Q_ASSERT(i >= 0); detach(); return QByteRef(*this, i); } ^ --- imageops.o --- In file included from ../../../src/calibre/utils/imageops/imageops.cpp:8: In file included from ../../../src/calibre/utils/imageops/imageops.h:11: In file included from /data/scratch/misc/calibre/work/.buildlink/qt5/include/QtGui/QImage:1: In file included from /data/scratch/misc/calibre/work/.buildlink/qt5/include/QtGui/qimage.h:44: In file included from /data/scratch/misc/calibre/work/.buildlink/qt5/include/QtGui/qcolor.h:46: In file included from /data/scratch/misc/calibre/work/.buildlink/qt5/include/QtCore/qstringlist.h:41: In file included from /data/scratch/misc/calibre/work/.buildlink/qt5/include/QtCore/qlist.h:47: In file included from /data/scratch/misc/calibre/work/.buildlink/qt5/include/QtCore/qhashfunctions.h:44: In file included from /data/scratch/misc/calibre/work/.buildlink/qt5/include/QtCore/qstring.h:50: /data/scratch/misc/calibre/work/.buildlink/qt5/include/QtCore/qbytearray.h:600:22: warning: definition of implicit copy constructor for 'QByteRef' is deprecated because it has a user-declared copy assignment operator [-Wdeprecated-copy] inline QByteRef &operator=(const QByteRef &c) ^ /data/scratch/misc/calibre/work/.buildlink/qt5/include/QtCore/qbytearray.h:619:38: note: in implicit copy constructor for 'QByteRef' first required here { Q_ASSERT(i >= 0); detach(); return QByteRef(*this, i); } ^ --- quantize.o --- In file included from ../../../src/calibre/utils/imageops/quantize.cpp:15: In file included from ../../../src/calibre/utils/imageops/imageops.h:11: In file included from /data/scratch/misc/calibre/work/.buildlink/qt5/include/QtGui/QImage:1: In file included from /data/scratch/misc/calibre/work/.buildlink/qt5/include/QtGui/qimage.h:44: In file included from /data/scratch/misc/calibre/work/.buildlink/qt5/include/QtGui/qcolor.h:46: In file included from /data/scratch/misc/calibre/work/.buildlink/qt5/include/QtCore/qstringlist.h:41: In file included from /data/scratch/misc/calibre/work/.buildlink/qt5/include/QtCore/qlist.h:47: In file included from /data/scratch/misc/calibre/work/.buildlink/qt5/include/QtCore/qhashfunctions.h:44: In file included from /data/scratch/misc/calibre/work/.buildlink/qt5/include/QtCore/qstring.h:50: /data/scratch/misc/calibre/work/.buildlink/qt5/include/QtCore/qbytearray.h:600:22: warning: definition of implicit copy constructor for 'QByteRef' is deprecated because it has a user-declared copy assignment operator [-Wdeprecated-copy] inline QByteRef &operator=(const QByteRef &c) ^ /data/scratch/misc/calibre/work/.buildlink/qt5/include/QtCore/qbytearray.h:619:38: note: in implicit copy constructor for 'QByteRef' first required here { Q_ASSERT(i >= 0); detach(); return QByteRef(*this, i); } ^ --- imageops.o --- In file included from ../../../src/calibre/utils/imageops/imageops.cpp:8: In file included from ../../../src/calibre/utils/imageops/imageops.h:11: In file included from /data/scratch/misc/calibre/work/.buildlink/qt5/include/QtGui/QImage:1: In file included from /data/scratch/misc/calibre/work/.buildlink/qt5/include/QtGui/qimage.h:44: In file included from /data/scratch/misc/calibre/work/.buildlink/qt5/include/QtGui/qcolor.h:46: In file included from /data/scratch/misc/calibre/work/.buildlink/qt5/include/QtCore/qstringlist.h:41: In file included from /data/scratch/misc/calibre/work/.buildlink/qt5/include/QtCore/qlist.h:47: In file included from /data/scratch/misc/calibre/work/.buildlink/qt5/include/QtCore/qhashfunctions.h:44: /data/scratch/misc/calibre/work/.buildlink/qt5/include/QtCore/qstring.h:1229:22: warning: definition of implicit copy constructor for 'QCharRef' is deprecated because it has a user-declared copy assignment operator [-Wdeprecated-copy] inline QCharRef &operator=(const QCharRef &c) { return operator=(QChar(c)); } ^ /data/scratch/misc/calibre/work/.buildlink/qt5/include/QtCore/qstring.h:1329:38: note: in implicit copy constructor for 'QCharRef' first required here { Q_ASSERT(i >= 0); detach(); return QCharRef(*this, i); } ^ --- sipimageopscmodule.o --- In file included from sipimageopscmodule.cpp:7: In file included from ./sipAPIimageops.h:12: In file included from /data/scratch/misc/calibre/work/.buildlink/qt5/include/QtCore/QMetaType:1: In file included from /data/scratch/misc/calibre/work/.buildlink/qt5/include/QtCore/qmetatype.h:48: In file included from /data/scratch/misc/calibre/work/.buildlink/qt5/include/QtCore/qvarlengtharray.h:47: In file included from /data/scratch/misc/calibre/work/.buildlink/qt5/include/QtCore/qhashfunctions.h:44: /data/scratch/misc/calibre/work/.buildlink/qt5/include/QtCore/qstring.h:1229:22: warning: definition of implicit copy constructor for 'QCharRef' is deprecated because it has a user-declared copy assignment operator [-Wdeprecated-copy] inline QCharRef &operator=(const QCharRef &c) { return operator=(QChar(c)); } ^ /data/scratch/misc/calibre/work/.buildlink/qt5/include/QtCore/qstring.h:1329:38: note: in implicit copy constructor for 'QCharRef' first required here { Q_ASSERT(i >= 0); detach(); return QCharRef(*this, i); } ^ --- quantize.o --- In file included from ../../../src/calibre/utils/imageops/quantize.cpp:15: In file included from ../../../src/calibre/utils/imageops/imageops.h:11: In file included from /data/scratch/misc/calibre/work/.buildlink/qt5/include/QtGui/QImage:1: In file included from /data/scratch/misc/calibre/work/.buildlink/qt5/include/QtGui/qimage.h:44: In file included from /data/scratch/misc/calibre/work/.buildlink/qt5/include/QtGui/qcolor.h:46: In file included from /data/scratch/misc/calibre/work/.buildlink/qt5/include/QtCore/qstringlist.h:41: In file included from /data/scratch/misc/calibre/work/.buildlink/qt5/include/QtCore/qlist.h:47: In file included from /data/scratch/misc/calibre/work/.buildlink/qt5/include/QtCore/qhashfunctions.h:44: /data/scratch/misc/calibre/work/.buildlink/qt5/include/QtCore/qstring.h:1229:22: warning: definition of implicit copy constructor for 'QCharRef' is deprecated because it has a user-declared copy assignment operator [-Wdeprecated-copy] inline QCharRef &operator=(const QCharRef &c) { return operator=(QChar(c)); } ^ /data/scratch/misc/calibre/work/.buildlink/qt5/include/QtCore/qstring.h:1329:38: note: in implicit copy constructor for 'QCharRef' first required here { Q_ASSERT(i >= 0); detach(); return QCharRef(*this, i); } ^ --- imageops.o --- ../../../src/calibre/utils/imageops/imageops.cpp:364:22: warning: variables 'i' and 'columns' used in loop condition not modified in loop body [-Wfor-loop-analysis] for(i=0; i < columns; ++k, src+=offset){ ^ ~~~~~~~ --- sipimageopscmodule.o --- 2 warnings generated. --- quantize.o --- 2 warnings generated. --- imageops.o --- 3 warnings generated. --- libimageops.so --- rm -f libimageops.so g++ -shared -L/usr/lib -Wl,-R/usr/lib -L/usr/pkg/lib -Wl,-R/usr/pkg/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 -lexecinfo -L/usr/lib -Wl,-R/usr/lib -L/usr/pkg/lib -Wl,-R/usr/pkg/lib -Wl,-R/usr/pkg/lib -Wl,--version-script=imageops.exp -Wl,-O1 -pthread -Wl,-rpath,/usr/pkg/qt5/lib -shared -o libimageops.so imageops.o quantize.o sipimageopscmodule.o -L/usr/pkg/lib /usr/pkg/qt5/lib/libQt5Widgets.so /usr/pkg/qt5/lib/libQt5Gui.so /usr/pkg/qt5/lib/libQt5Core.so -lGL ####### Building extension qt_hack ####### /usr/pkg/bin/sip2.7 -w -c /data/scratch/misc/calibre/work/calibre-3.40.1/build/pyqt/qt_hack -b /data/scratch/misc/calibre/work/calibre-3.40.1/build/pyqt/qt_hack/qt_hack.sip.sbf -I/usr/pkg/share/sip2.7/PyQt5 -n PyQt5.sip -x VendorID -t WS_X11 -t Qt_5_15_0 -x Py_v3 /data/scratch/misc/calibre/work/calibre-3.40.1/src/calibre/ebooks/pdf/render/qt_hack.sip Info: creating stash file /data/scratch/misc/calibre/work/calibre-3.40.1/build/pyqt/qt_hack/.qmake.stash Project MESSAGE: This project is using private headers and will therefore be tied to this specific Qt module build version. Project MESSAGE: Running this project against other versions of the Qt modules may crash at any arbitrary point. Project MESSAGE: This is not a bug, but a result of using Qt internals. You have been warned! --- qt_hack.o --- --- sipqt_hackcmodule.o --- clang++ -c -O2 -I/usr/include -I/usr/pkg/include -I/usr/pkg/include/freetype2 -I/usr/pkg/include/nss/nss -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/libdrm -O2 -Wno-register -D_NETBSD_SOURCE -I/usr/include -I/usr/pkg/include -I/usr/include/krb5 -I/usr/pkg/lib/dbus-1.0/include/dbus -I/usr/pkg/include/glib-2.0 -I/usr/pkg/include/gio-unix-2.0 -I/usr/pkg/lib/glib-2.0/include -I/usr/pkg/include/freetype2 -I/usr/pkg/include/libdrm -Wall -Wextra -fPIC -DQT_NO_DEBUG -DQT_PLUGIN -DQT_WIDGETS_LIB -DQT_GUI_LIB -DQT_CORE_LIB -I. -I/usr/pkg/include/python2.7 -I/usr/pkg/include/python2.7 -I../../../src/calibre/ebooks/pdf/render -I/usr/pkg/qt5/include -I/usr/pkg/qt5/include/QtWidgets -I/usr/pkg/qt5/include/QtGui/5.15.0 -I/usr/pkg/qt5/include/QtGui/5.15.0/QtGui -I/usr/pkg/qt5/include/QtGui -I/usr/pkg/qt5/include/QtCore/5.15.0 -I/usr/pkg/qt5/include/QtCore/5.15.0/QtCore -I/usr/pkg/qt5/include/QtCore -I. -I/usr/pkg/include -I/usr/pkg/include/libdrm -I/usr/pkg/include -I/usr/pkg/qt5/mkspecs/netbsd-g++ -o sipqt_hackcmodule.o sipqt_hackcmodule.cpp --- qt_hack.o --- clang++ -c -O2 -I/usr/include -I/usr/pkg/include -I/usr/pkg/include/freetype2 -I/usr/pkg/include/nss/nss -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/libdrm -O2 -Wno-register -D_NETBSD_SOURCE -I/usr/include -I/usr/pkg/include -I/usr/include/krb5 -I/usr/pkg/lib/dbus-1.0/include/dbus -I/usr/pkg/include/glib-2.0 -I/usr/pkg/include/gio-unix-2.0 -I/usr/pkg/lib/glib-2.0/include -I/usr/pkg/include/freetype2 -I/usr/pkg/include/libdrm -Wall -Wextra -fPIC -DQT_NO_DEBUG -DQT_PLUGIN -DQT_WIDGETS_LIB -DQT_GUI_LIB -DQT_CORE_LIB -I. -I/usr/pkg/include/python2.7 -I/usr/pkg/include/python2.7 -I../../../src/calibre/ebooks/pdf/render -I/usr/pkg/qt5/include -I/usr/pkg/qt5/include/QtWidgets -I/usr/pkg/qt5/include/QtGui/5.15.0 -I/usr/pkg/qt5/include/QtGui/5.15.0/QtGui -I/usr/pkg/qt5/include/QtGui -I/usr/pkg/qt5/include/QtCore/5.15.0 -I/usr/pkg/qt5/include/QtCore/5.15.0/QtCore -I/usr/pkg/qt5/include/QtCore -I. -I/usr/pkg/include -I/usr/pkg/include/libdrm -I/usr/pkg/include -I/usr/pkg/qt5/mkspecs/netbsd-g++ -o qt_hack.o ../../../src/calibre/ebooks/pdf/render/qt_hack.cpp In file included from ../../../src/calibre/ebooks/pdf/render/qt_hack.cpp:8: In file included from ../../../src/calibre/ebooks/pdf/render/qt_hack.h:12: In file included from /data/scratch/misc/calibre/work/.buildlink/qt5/include/QtGui/QGlyphRun:1: In file included from /data/scratch/misc/calibre/work/.buildlink/qt5/include/QtGui/qglyphrun.h:44: In file included from /data/scratch/misc/calibre/work/.buildlink/qt5/include/QtCore/qsharedpointer.h:45: In file included from /data/scratch/misc/calibre/work/.buildlink/qt5/include/QtCore/qshareddata.h:46: In file included from /data/scratch/misc/calibre/work/.buildlink/qt5/include/QtCore/qhash.h:46: In file included from /data/scratch/misc/calibre/work/.buildlink/qt5/include/QtCore/qlist.h:47: In file included from /data/scratch/misc/calibre/work/.buildlink/qt5/include/QtCore/qhashfunctions.h:44: In file included from /data/scratch/misc/calibre/work/.buildlink/qt5/include/QtCore/qstring.h:50: /data/scratch/misc/calibre/work/.buildlink/qt5/include/QtCore/qbytearray.h:600:22: warning: definition of implicit copy constructor for 'QByteRef' is deprecated because it has a user-declared copy assignment operator [-Wdeprecated-copy] inline QByteRef &operator=(const QByteRef &c) ^ /data/scratch/misc/calibre/work/.buildlink/qt5/include/QtCore/qbytearray.h:619:38: note: in implicit copy constructor for 'QByteRef' first required here { Q_ASSERT(i >= 0); detach(); return QByteRef(*this, i); } ^ --- sipqt_hackcmodule.o --- In file included from sipqt_hackcmodule.cpp:7: In file included from ./sipAPIqt_hack.h:12: In file included from /data/scratch/misc/calibre/work/.buildlink/qt5/include/QtCore/QMetaType:1: In file included from /data/scratch/misc/calibre/work/.buildlink/qt5/include/QtCore/qmetatype.h:47: /data/scratch/misc/calibre/work/.buildlink/qt5/include/QtCore/qbytearray.h:600:22: warning: definition of implicit copy constructor for 'QByteRef' is deprecated because it has a user-declared copy assignment operator [-Wdeprecated-copy] inline QByteRef &operator=(const QByteRef &c) ^ /data/scratch/misc/calibre/work/.buildlink/qt5/include/QtCore/qbytearray.h:619:38: note: in implicit copy constructor for 'QByteRef' first required here { Q_ASSERT(i >= 0); detach(); return QByteRef(*this, i); } ^ --- qt_hack.o --- In file included from ../../../src/calibre/ebooks/pdf/render/qt_hack.cpp:8: In file included from ../../../src/calibre/ebooks/pdf/render/qt_hack.h:12: In file included from /data/scratch/misc/calibre/work/.buildlink/qt5/include/QtGui/QGlyphRun:1: In file included from /data/scratch/misc/calibre/work/.buildlink/qt5/include/QtGui/qglyphrun.h:44: In file included from /data/scratch/misc/calibre/work/.buildlink/qt5/include/QtCore/qsharedpointer.h:45: In file included from /data/scratch/misc/calibre/work/.buildlink/qt5/include/QtCore/qshareddata.h:46: In file included from /data/scratch/misc/calibre/work/.buildlink/qt5/include/QtCore/qhash.h:46: In file included from /data/scratch/misc/calibre/work/.buildlink/qt5/include/QtCore/qlist.h:47: In file included from /data/scratch/misc/calibre/work/.buildlink/qt5/include/QtCore/qhashfunctions.h:44: /data/scratch/misc/calibre/work/.buildlink/qt5/include/QtCore/qstring.h:1229:22: warning: definition of implicit copy constructor for 'QCharRef' is deprecated because it has a user-declared copy assignment operator [-Wdeprecated-copy] inline QCharRef &operator=(const QCharRef &c) { return operator=(QChar(c)); } ^ /data/scratch/misc/calibre/work/.buildlink/qt5/include/QtCore/qstring.h:1329:38: note: in implicit copy constructor for 'QCharRef' first required here { Q_ASSERT(i >= 0); detach(); return QCharRef(*this, i); } ^ --- sipqt_hackcmodule.o --- In file included from sipqt_hackcmodule.cpp:7: In file included from ./sipAPIqt_hack.h:12: In file included from /data/scratch/misc/calibre/work/.buildlink/qt5/include/QtCore/QMetaType:1: In file included from /data/scratch/misc/calibre/work/.buildlink/qt5/include/QtCore/qmetatype.h:48: In file included from /data/scratch/misc/calibre/work/.buildlink/qt5/include/QtCore/qvarlengtharray.h:47: In file included from /data/scratch/misc/calibre/work/.buildlink/qt5/include/QtCore/qhashfunctions.h:44: /data/scratch/misc/calibre/work/.buildlink/qt5/include/QtCore/qstring.h:1229:22: warning: definition of implicit copy constructor for 'QCharRef' is deprecated because it has a user-declared copy assignment operator [-Wdeprecated-copy] inline QCharRef &operator=(const QCharRef &c) { return operator=(QChar(c)); } ^ /data/scratch/misc/calibre/work/.buildlink/qt5/include/QtCore/qstring.h:1329:38: note: in implicit copy constructor for 'QCharRef' first required here { Q_ASSERT(i >= 0); detach(); return QCharRef(*this, i); } ^ 2 warnings generated. --- qt_hack.o --- 2 warnings generated. --- libqt_hack.so --- rm -f libqt_hack.so g++ -shared -L/usr/lib -Wl,-R/usr/lib -L/usr/pkg/lib -Wl,-R/usr/pkg/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 -lexecinfo -L/usr/lib -Wl,-R/usr/lib -L/usr/pkg/lib -Wl,-R/usr/pkg/lib -Wl,-R/usr/pkg/lib -Wl,--version-script=qt_hack.exp -Wl,-O1 -pthread -Wl,-rpath,/usr/pkg/qt5/lib -shared -o libqt_hack.so qt_hack.o sipqt_hackcmodule.o -L/usr/pkg/lib /usr/pkg/qt5/lib/libQt5Widgets.so /usr/pkg/qt5/lib/libQt5Gui.so /usr/pkg/qt5/lib/libQt5Core.so -lGL ####### Building extension lzma_binding ####### Compiling lzma_binding clang -Wall -DNDEBUG -fno-strict-aliasing -pipe -fPIC -O2 -I/usr/include -I/usr/pkg/include -I/usr/pkg/include/freetype2 -I/usr/pkg/include/nss/nss -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/libdrm -fvisibility=hidden -pthread -I/usr/pkg/include/python2.7 -O3 -D_7ZIP_ST -DCALIBRE_MODINIT_FUNC= __attribute__ ((visibility ("default"))) void -c /data/scratch/misc/calibre/work/calibre-3.40.1/src/lzma/LzmaEnc.c -o /data/scratch/misc/calibre/work/calibre-3.40.1/build/objects/lzma_binding/LzmaEnc.o /data/scratch/misc/calibre/work/calibre-3.40.1/src/lzma/LzmaEnc.c:1405:9: warning: misleading indentation; statement is not part of the previous 'if' [-Wmisleading-indentation] { ^ /data/scratch/misc/calibre/work/calibre-3.40.1/src/lzma/LzmaEnc.c:1401:7: note: previous statement is here if (repIndex == 0) ^ 1 warning generated. clang -Wall -DNDEBUG -fno-strict-aliasing -pipe -fPIC -O2 -I/usr/include -I/usr/pkg/include -I/usr/pkg/include/freetype2 -I/usr/pkg/include/nss/nss -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/libdrm -fvisibility=hidden -pthread -I/usr/pkg/include/python2.7 -O3 -D_7ZIP_ST -DCALIBRE_MODINIT_FUNC= __attribute__ ((visibility ("default"))) void -c /data/scratch/misc/calibre/work/calibre-3.40.1/src/lzma/LzmaDec.c -o /data/scratch/misc/calibre/work/calibre-3.40.1/build/objects/lzma_binding/LzmaDec.o clang -Wall -DNDEBUG -fno-strict-aliasing -pipe -fPIC -O2 -I/usr/include -I/usr/pkg/include -I/usr/pkg/include/freetype2 -I/usr/pkg/include/nss/nss -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/libdrm -fvisibility=hidden -pthread -I/usr/pkg/include/python2.7 -O3 -D_7ZIP_ST -DCALIBRE_MODINIT_FUNC= __attribute__ ((visibility ("default"))) void -c /data/scratch/misc/calibre/work/calibre-3.40.1/src/lzma/lzma_binding.c -o /data/scratch/misc/calibre/work/calibre-3.40.1/build/objects/lzma_binding/lzma_binding.o clang -Wall -DNDEBUG -fno-strict-aliasing -pipe -fPIC -O2 -I/usr/include -I/usr/pkg/include -I/usr/pkg/include/freetype2 -I/usr/pkg/include/nss/nss -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/libdrm -fvisibility=hidden -pthread -I/usr/pkg/include/python2.7 -O3 -D_7ZIP_ST -DCALIBRE_MODINIT_FUNC= __attribute__ ((visibility ("default"))) void -c /data/scratch/misc/calibre/work/calibre-3.40.1/src/lzma/Lzma2Enc.c -o /data/scratch/misc/calibre/work/calibre-3.40.1/build/objects/lzma_binding/Lzma2Enc.o clang -Wall -DNDEBUG -fno-strict-aliasing -pipe -fPIC -O2 -I/usr/include -I/usr/pkg/include -I/usr/pkg/include/freetype2 -I/usr/pkg/include/nss/nss -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/libdrm -fvisibility=hidden -pthread -I/usr/pkg/include/python2.7 -O3 -D_7ZIP_ST -DCALIBRE_MODINIT_FUNC= __attribute__ ((visibility ("default"))) void -c /data/scratch/misc/calibre/work/calibre-3.40.1/src/lzma/Lzma2Dec.c -o /data/scratch/misc/calibre/work/calibre-3.40.1/build/objects/lzma_binding/Lzma2Dec.o clang -Wall -DNDEBUG -fno-strict-aliasing -pipe -fPIC -O2 -I/usr/include -I/usr/pkg/include -I/usr/pkg/include/freetype2 -I/usr/pkg/include/nss/nss -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/libdrm -fvisibility=hidden -pthread -I/usr/pkg/include/python2.7 -O3 -D_7ZIP_ST -DCALIBRE_MODINIT_FUNC= __attribute__ ((visibility ("default"))) void -c /data/scratch/misc/calibre/work/calibre-3.40.1/src/lzma/LzFind.c -o /data/scratch/misc/calibre/work/calibre-3.40.1/build/objects/lzma_binding/LzFind.o Linking lzma_binding clang /data/scratch/misc/calibre/work/calibre-3.40.1/build/objects/lzma_binding/LzmaEnc.o /data/scratch/misc/calibre/work/calibre-3.40.1/build/objects/lzma_binding/LzmaDec.o /data/scratch/misc/calibre/work/calibre-3.40.1/build/objects/lzma_binding/lzma_binding.o /data/scratch/misc/calibre/work/calibre-3.40.1/build/objects/lzma_binding/Lzma2Enc.o /data/scratch/misc/calibre/work/calibre-3.40.1/build/objects/lzma_binding/Lzma2Dec.o /data/scratch/misc/calibre/work/calibre-3.40.1/build/objects/lzma_binding/LzFind.o -o /data/scratch/misc/calibre/work/calibre-3.40.1/src/calibre/plugins/lzma_binding.so -Wall -L/usr/lib -Wl,-R/usr/lib -L/usr/pkg/lib -Wl,-R/usr/pkg/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 -shared -lpython2.7 /usr/bin/ld: /data/scratch/misc/calibre/work/.buildlink/lib/libpython2.7.so: warning: warning: tmpnam() possibly used unsafely, use mkstemp() or mkdtemp() /usr/bin/ld: /data/scratch/misc/calibre/work/.buildlink/lib/libpython2.7.so: warning: warning: tempnam() possibly used unsafely, use mkstemp() or mkdtemp() ####### Building headless QPA plugin ####### Info: creating stash file /data/scratch/misc/calibre/work/calibre-3.40.1/build/headless/.qmake.stash Project MESSAGE: This project is using private headers and will therefore be tied to this specific Qt module build version. Project MESSAGE: Running this project against other versions of the Qt modules may crash at any arbitrary point. Project MESSAGE: This is not a bug, but a result of using Qt internals. You have been warned! --- headless_backingstore.o --- --- headless_integration.o --- --- moc_predefs.h --- --- fontconfig_database.o --- --- moc_predefs.h --- clang++ -O2 -Wno-register -D_NETBSD_SOURCE -I/usr/include -I/usr/pkg/include -I/usr/include/krb5 -I/usr/pkg/lib/dbus-1.0/include/dbus -I/usr/pkg/include/glib-2.0 -I/usr/pkg/include/gio-unix-2.0 -I/usr/pkg/lib/glib-2.0/include -I/usr/pkg/include/freetype2 -I/usr/pkg/include/libdrm -Wall -Wextra -dM -E -o moc_predefs.h /usr/pkg/qt5/mkspecs/features/data/dummy.cpp --- headless_integration.o --- clang++ -c -O2 -I/usr/include -I/usr/pkg/include -I/usr/pkg/include/freetype2 -I/usr/pkg/include/nss/nss -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/libdrm -O2 -Wno-register -D_NETBSD_SOURCE -I/usr/include -I/usr/pkg/include -I/usr/include/krb5 -I/usr/pkg/lib/dbus-1.0/include/dbus -I/usr/pkg/include/glib-2.0 -I/usr/pkg/include/gio-unix-2.0 -I/usr/pkg/lib/glib-2.0/include -I/usr/pkg/include/freetype2 -I/usr/pkg/include/libdrm -Wall -Wextra -fPIC -DQT_NO_DEBUG -DQT_PLUGIN -DQT_THEME_SUPPORT_LIB -DQT_FONTDATABASE_SUPPORT_LIB -DQT_SERVICE_SUPPORT_LIB -DQT_EVENTDISPATCHER_SUPPORT_LIB -DQT_GUI_LIB -DQT_DBUS_LIB -DQT_CORE_LIB -I. -I/usr/pkg/include/freetype2 -I/usr/pkg/qt5/include -I/usr/pkg/qt5/include/QtThemeSupport -I/usr/pkg/qt5/include/QtThemeSupport/5.15.0 -I/usr/pkg/qt5/include/QtThemeSupport/5.15.0/QtThemeSupport -I/usr/pkg/qt5/include/QtFontDatabaseSupport -I/usr/pkg/qt5/include/QtFontDatabaseSupport/5.15.0 -I/usr/pkg/qt5/include/QtFontDatabaseSupport/5.15.0/QtFontDatabaseSupport -I/usr/pkg/qt5/include/QtServiceSupport -I/usr/pkg/qt5/include/QtServiceSupport/5.15.0 -I/usr/pkg/qt5/include/QtServiceSupport/5.15.0/QtServiceSupport -I/usr/pkg/qt5/include/QtEventDispatcherSupport -I/usr/pkg/qt5/include/QtEventDispatcherSupport/5.15.0 -I/usr/pkg/qt5/include/QtEventDispatcherSupport/5.15.0/QtEventDispatcherSupport -I/usr/pkg/qt5/include/QtGui/5.15.0 -I/usr/pkg/qt5/include/QtGui/5.15.0/QtGui -I/usr/pkg/qt5/include/QtGui -I/usr/pkg/qt5/include/QtCore/5.15.0 -I/usr/pkg/qt5/include/QtCore/5.15.0/QtCore -I/usr/pkg/qt5/include/QtDBus -I/usr/pkg/qt5/include/QtCore -I. -I/usr/pkg/include -I/usr/pkg/include/libdrm -I/usr/pkg/include -I/usr/pkg/qt5/mkspecs/netbsd-g++ -o headless_integration.o /data/scratch/misc/calibre/work/calibre-3.40.1/src/calibre/headless/headless_integration.cpp --- fontconfig_database.o --- clang++ -c -O2 -I/usr/include -I/usr/pkg/include -I/usr/pkg/include/freetype2 -I/usr/pkg/include/nss/nss -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/libdrm -O2 -Wno-register -D_NETBSD_SOURCE -I/usr/include -I/usr/pkg/include -I/usr/include/krb5 -I/usr/pkg/lib/dbus-1.0/include/dbus -I/usr/pkg/include/glib-2.0 -I/usr/pkg/include/gio-unix-2.0 -I/usr/pkg/lib/glib-2.0/include -I/usr/pkg/include/freetype2 -I/usr/pkg/include/libdrm -Wall -Wextra -fPIC -DQT_NO_DEBUG -DQT_PLUGIN -DQT_THEME_SUPPORT_LIB -DQT_FONTDATABASE_SUPPORT_LIB -DQT_SERVICE_SUPPORT_LIB -DQT_EVENTDISPATCHER_SUPPORT_LIB -DQT_GUI_LIB -DQT_DBUS_LIB -DQT_CORE_LIB -I. -I/usr/pkg/include/freetype2 -I/usr/pkg/qt5/include -I/usr/pkg/qt5/include/QtThemeSupport -I/usr/pkg/qt5/include/QtThemeSupport/5.15.0 -I/usr/pkg/qt5/include/QtThemeSupport/5.15.0/QtThemeSupport -I/usr/pkg/qt5/include/QtFontDatabaseSupport -I/usr/pkg/qt5/include/QtFontDatabaseSupport/5.15.0 -I/usr/pkg/qt5/include/QtFontDatabaseSupport/5.15.0/QtFontDatabaseSupport -I/usr/pkg/qt5/include/QtServiceSupport -I/usr/pkg/qt5/include/QtServiceSupport/5.15.0 -I/usr/pkg/qt5/include/QtServiceSupport/5.15.0/QtServiceSupport -I/usr/pkg/qt5/include/QtEventDispatcherSupport -I/usr/pkg/qt5/include/QtEventDispatcherSupport/5.15.0 -I/usr/pkg/qt5/include/QtEventDispatcherSupport/5.15.0/QtEventDispatcherSupport -I/usr/pkg/qt5/include/QtGui/5.15.0 -I/usr/pkg/qt5/include/QtGui/5.15.0/QtGui -I/usr/pkg/qt5/include/QtGui -I/usr/pkg/qt5/include/QtCore/5.15.0 -I/usr/pkg/qt5/include/QtCore/5.15.0/QtCore -I/usr/pkg/qt5/include/QtDBus -I/usr/pkg/qt5/include/QtCore -I. -I/usr/pkg/include -I/usr/pkg/include/libdrm -I/usr/pkg/include -I/usr/pkg/qt5/mkspecs/netbsd-g++ -o fontconfig_database.o /data/scratch/misc/calibre/work/calibre-3.40.1/src/calibre/headless/fontconfig_database.cpp --- headless_backingstore.o --- clang++ -c -O2 -I/usr/include -I/usr/pkg/include -I/usr/pkg/include/freetype2 -I/usr/pkg/include/nss/nss -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/libdrm -O2 -Wno-register -D_NETBSD_SOURCE -I/usr/include -I/usr/pkg/include -I/usr/include/krb5 -I/usr/pkg/lib/dbus-1.0/include/dbus -I/usr/pkg/include/glib-2.0 -I/usr/pkg/include/gio-unix-2.0 -I/usr/pkg/lib/glib-2.0/include -I/usr/pkg/include/freetype2 -I/usr/pkg/include/libdrm -Wall -Wextra -fPIC -DQT_NO_DEBUG -DQT_PLUGIN -DQT_THEME_SUPPORT_LIB -DQT_FONTDATABASE_SUPPORT_LIB -DQT_SERVICE_SUPPORT_LIB -DQT_EVENTDISPATCHER_SUPPORT_LIB -DQT_GUI_LIB -DQT_DBUS_LIB -DQT_CORE_LIB -I. -I/usr/pkg/include/freetype2 -I/usr/pkg/qt5/include -I/usr/pkg/qt5/include/QtThemeSupport -I/usr/pkg/qt5/include/QtThemeSupport/5.15.0 -I/usr/pkg/qt5/include/QtThemeSupport/5.15.0/QtThemeSupport -I/usr/pkg/qt5/include/QtFontDatabaseSupport -I/usr/pkg/qt5/include/QtFontDatabaseSupport/5.15.0 -I/usr/pkg/qt5/include/QtFontDatabaseSupport/5.15.0/QtFontDatabaseSupport -I/usr/pkg/qt5/include/QtServiceSupport -I/usr/pkg/qt5/include/QtServiceSupport/5.15.0 -I/usr/pkg/qt5/include/QtServiceSupport/5.15.0/QtServiceSupport -I/usr/pkg/qt5/include/QtEventDispatcherSupport -I/usr/pkg/qt5/include/QtEventDispatcherSupport/5.15.0 -I/usr/pkg/qt5/include/QtEventDispatcherSupport/5.15.0/QtEventDispatcherSupport -I/usr/pkg/qt5/include/QtGui/5.15.0 -I/usr/pkg/qt5/include/QtGui/5.15.0/QtGui -I/usr/pkg/qt5/include/QtGui -I/usr/pkg/qt5/include/QtCore/5.15.0 -I/usr/pkg/qt5/include/QtCore/5.15.0/QtCore -I/usr/pkg/qt5/include/QtDBus -I/usr/pkg/qt5/include/QtCore -I. -I/usr/pkg/include -I/usr/pkg/include/libdrm -I/usr/pkg/include -I/usr/pkg/qt5/mkspecs/netbsd-g++ -o headless_backingstore.o /data/scratch/misc/calibre/work/calibre-3.40.1/src/calibre/headless/headless_backingstore.cpp --- main.moc --- /usr/pkg/qt5/bin/moc -DQT_NO_DEBUG -DQT_PLUGIN -DQT_THEME_SUPPORT_LIB -DQT_FONTDATABASE_SUPPORT_LIB -DQT_SERVICE_SUPPORT_LIB -DQT_EVENTDISPATCHER_SUPPORT_LIB -DQT_GUI_LIB -DQT_DBUS_LIB -DQT_CORE_LIB --include /data/scratch/misc/calibre/work/calibre-3.40.1/build/headless/moc_predefs.h -I/usr/pkg/qt5/mkspecs/netbsd-g++ -I/data/scratch/misc/calibre/work/calibre-3.40.1/build/headless -I/usr/pkg/include/freetype2 -I/usr/pkg/qt5/include -I/usr/pkg/qt5/include/QtThemeSupport -I/usr/pkg/qt5/include/QtThemeSupport/5.15.0 -I/usr/pkg/qt5/include/QtThemeSupport/5.15.0/QtThemeSupport -I/usr/pkg/qt5/include/QtFontDatabaseSupport -I/usr/pkg/qt5/include/QtFontDatabaseSupport/5.15.0 -I/usr/pkg/qt5/include/QtFontDatabaseSupport/5.15.0/QtFontDatabaseSupport -I/usr/pkg/qt5/include/QtServiceSupport -I/usr/pkg/qt5/include/QtServiceSupport/5.15.0 -I/usr/pkg/qt5/include/QtServiceSupport/5.15.0/QtServiceSupport -I/usr/pkg/qt5/include/QtEventDispatcherSupport -I/usr/pkg/qt5/include/QtEventDispatcherSupport/5.15.0 -I/usr/pkg/qt5/include/QtEventDispatcherSupport/5.15.0/QtEventDispatcherSupport -I/usr/pkg/qt5/include/QtGui/5.15.0 -I/usr/pkg/qt5/include/QtGui/5.15.0/QtGui -I/usr/pkg/qt5/include/QtGui -I/usr/pkg/qt5/include/QtCore/5.15.0 -I/usr/pkg/qt5/include/QtCore/5.15.0/QtCore -I/usr/pkg/qt5/include/QtDBus -I/usr/pkg/qt5/include/QtCore -I/data/scratch/misc/calibre/work/.buildlink/include -I/usr/include/krb5 -I/data/scratch/misc/calibre/work/.buildlink/lib/dbus-1.0/include/dbus -I/data/scratch/misc/calibre/work/.buildlink/include/glib-2.0 -I/data/scratch/misc/calibre/work/.buildlink/include/gio-unix-2.0 -I/data/scratch/misc/calibre/work/.buildlink/lib/glib-2.0/include -I/data/scratch/misc/calibre/work/.buildlink/include/freetype2 -I/data/scratch/misc/calibre/work/.buildlink/include/libdrm -I/usr/include/c++ -I/usr/include/clang-10.0 -I/usr/include /data/scratch/misc/calibre/work/calibre-3.40.1/src/calibre/headless/main.cpp -o main.moc --- main.o --- clang++ -c -O2 -I/usr/include -I/usr/pkg/include -I/usr/pkg/include/freetype2 -I/usr/pkg/include/nss/nss -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/libdrm -O2 -Wno-register -D_NETBSD_SOURCE -I/usr/include -I/usr/pkg/include -I/usr/include/krb5 -I/usr/pkg/lib/dbus-1.0/include/dbus -I/usr/pkg/include/glib-2.0 -I/usr/pkg/include/gio-unix-2.0 -I/usr/pkg/lib/glib-2.0/include -I/usr/pkg/include/freetype2 -I/usr/pkg/include/libdrm -Wall -Wextra -fPIC -DQT_NO_DEBUG -DQT_PLUGIN -DQT_THEME_SUPPORT_LIB -DQT_FONTDATABASE_SUPPORT_LIB -DQT_SERVICE_SUPPORT_LIB -DQT_EVENTDISPATCHER_SUPPORT_LIB -DQT_GUI_LIB -DQT_DBUS_LIB -DQT_CORE_LIB -I. -I/usr/pkg/include/freetype2 -I/usr/pkg/qt5/include -I/usr/pkg/qt5/include/QtThemeSupport -I/usr/pkg/qt5/include/QtThemeSupport/5.15.0 -I/usr/pkg/qt5/include/QtThemeSupport/5.15.0/QtThemeSupport -I/usr/pkg/qt5/include/QtFontDatabaseSupport -I/usr/pkg/qt5/include/QtFontDatabaseSupport/5.15.0 -I/usr/pkg/qt5/include/QtFontDatabaseSupport/5.15.0/QtFontDatabaseSupport -I/usr/pkg/qt5/include/QtServiceSupport -I/usr/pkg/qt5/include/QtServiceSupport/5.15.0 -I/usr/pkg/qt5/include/QtServiceSupport/5.15.0/QtServiceSupport -I/usr/pkg/qt5/include/QtEventDispatcherSupport -I/usr/pkg/qt5/include/QtEventDispatcherSupport/5.15.0 -I/usr/pkg/qt5/include/QtEventDispatcherSupport/5.15.0/QtEventDispatcherSupport -I/usr/pkg/qt5/include/QtGui/5.15.0 -I/usr/pkg/qt5/include/QtGui/5.15.0/QtGui -I/usr/pkg/qt5/include/QtGui -I/usr/pkg/qt5/include/QtCore/5.15.0 -I/usr/pkg/qt5/include/QtCore/5.15.0/QtCore -I/usr/pkg/qt5/include/QtDBus -I/usr/pkg/qt5/include/QtCore -I. -I/usr/pkg/include -I/usr/pkg/include/libdrm -I/usr/pkg/include -I/usr/pkg/qt5/mkspecs/netbsd-g++ -o main.o /data/scratch/misc/calibre/work/calibre-3.40.1/src/calibre/headless/main.cpp --- headless_integration.o --- In file included from /data/scratch/misc/calibre/work/calibre-3.40.1/src/calibre/headless/headless_integration.cpp:2: In file included from /data/scratch/misc/calibre/work/calibre-3.40.1/src/calibre/headless/headless_integration.h:3: In file included from /data/scratch/misc/calibre/work/.buildlink/qt5/include/QtGui/5.15.0/QtGui/qpa/qplatformintegration.h:54: In file included from /data/scratch/misc/calibre/work/.buildlink/qt5/include/QtGui/5.15.0/QtGui/qpa/qplatformscreen.h:53: In file included from /data/scratch/misc/calibre/work/.buildlink/qt5/include/QtCore/qmetatype.h:47: /data/scratch/misc/calibre/work/.buildlink/qt5/include/QtCore/qbytearray.h:600:22: warning: definition of implicit copy constructor for 'QByteRef' is deprecated because it has a user-declared copy assignment operator [-Wdeprecated-copy] inline QByteRef &operator=(const QByteRef &c) ^ /data/scratch/misc/calibre/work/.buildlink/qt5/include/QtCore/qbytearray.h:619:38: note: in implicit copy constructor for 'QByteRef' first required here { Q_ASSERT(i >= 0); detach(); return QByteRef(*this, i); } ^ --- headless_backingstore.o --- In file included from /data/scratch/misc/calibre/work/calibre-3.40.1/src/calibre/headless/headless_backingstore.cpp:1: In file included from /data/scratch/misc/calibre/work/calibre-3.40.1/src/calibre/headless/headless_backingstore.h:3: In file included from /data/scratch/misc/calibre/work/.buildlink/qt5/include/QtGui/5.15.0/QtGui/qpa/qplatformbackingstore.h:53: In file included from /data/scratch/misc/calibre/work/.buildlink/qt5/include/QtCore/qloggingcategory.h:44: In file included from /data/scratch/misc/calibre/work/.buildlink/qt5/include/QtCore/qdebug.h:45: In file included from /data/scratch/misc/calibre/work/.buildlink/qt5/include/QtCore/qhash.h:46: In file included from /data/scratch/misc/calibre/work/.buildlink/qt5/include/QtCore/qlist.h:47: In file included from /data/scratch/misc/calibre/work/.buildlink/qt5/include/QtCore/qhashfunctions.h:44: In file included from /data/scratch/misc/calibre/work/.buildlink/qt5/include/QtCore/qstring.h:50: /data/scratch/misc/calibre/work/.buildlink/qt5/include/QtCore/qbytearray.h:600:22: warning: definition of implicit copy constructor for 'QByteRef' is deprecated because it has a user-declared copy assignment operator [-Wdeprecated-copy] inline QByteRef &operator=(const QByteRef &c) ^ /data/scratch/misc/calibre/work/.buildlink/qt5/include/QtCore/qbytearray.h:619:38: note: in implicit copy constructor for 'QByteRef' first required here { Q_ASSERT(i >= 0); detach(); return QByteRef(*this, i); } ^ --- fontconfig_database.o --- In file included from /data/scratch/misc/calibre/work/calibre-3.40.1/src/calibre/headless/fontconfig_database.cpp:40: In file included from /data/scratch/misc/calibre/work/calibre-3.40.1/src/calibre/headless/fontconfig_database.h:9: In file included from /data/scratch/misc/calibre/work/.buildlink/qt5/include/QtGui/5.15.0/QtGui/qpa/qplatformfontdatabase.h:53: In file included from /data/scratch/misc/calibre/work/.buildlink/qt5/include/QtCore/QString:1: In file included from /data/scratch/misc/calibre/work/.buildlink/qt5/include/QtCore/qstring.h:50: /data/scratch/misc/calibre/work/.buildlink/qt5/include/QtCore/qbytearray.h:600:22: warning: definition of implicit copy constructor for 'QByteRef' is deprecated because it has a user-declared copy assignment operator [-Wdeprecated-copy] inline QByteRef &operator=(const QByteRef &c) ^ /data/scratch/misc/calibre/work/.buildlink/qt5/include/QtCore/qbytearray.h:619:38: note: in implicit copy constructor for 'QByteRef' first required here { Q_ASSERT(i >= 0); detach(); return QByteRef(*this, i); } ^ --- headless_integration.o --- In file included from /data/scratch/misc/calibre/work/calibre-3.40.1/src/calibre/headless/headless_integration.cpp:2: In file included from /data/scratch/misc/calibre/work/calibre-3.40.1/src/calibre/headless/headless_integration.h:3: In file included from /data/scratch/misc/calibre/work/.buildlink/qt5/include/QtGui/5.15.0/QtGui/qpa/qplatformintegration.h:54: In file included from /data/scratch/misc/calibre/work/.buildlink/qt5/include/QtGui/5.15.0/QtGui/qpa/qplatformscreen.h:53: In file included from /data/scratch/misc/calibre/work/.buildlink/qt5/include/QtCore/qmetatype.h:48: In file included from /data/scratch/misc/calibre/work/.buildlink/qt5/include/QtCore/qvarlengtharray.h:47: In file included from /data/scratch/misc/calibre/work/.buildlink/qt5/include/QtCore/qhashfunctions.h:44: /data/scratch/misc/calibre/work/.buildlink/qt5/include/QtCore/qstring.h:1229:22: warning: definition of implicit copy constructor for 'QCharRef' is deprecated because it has a user-declared copy assignment operator [-Wdeprecated-copy] inline QCharRef &operator=(const QCharRef &c) { return operator=(QChar(c)); } ^ /data/scratch/misc/calibre/work/.buildlink/qt5/include/QtCore/qstring.h:1329:38: note: in implicit copy constructor for 'QCharRef' first required here { Q_ASSERT(i >= 0); detach(); return QCharRef(*this, i); } ^ --- headless_backingstore.o --- In file included from /data/scratch/misc/calibre/work/calibre-3.40.1/src/calibre/headless/headless_backingstore.cpp:1: In file included from /data/scratch/misc/calibre/work/calibre-3.40.1/src/calibre/headless/headless_backingstore.h:3: In file included from /data/scratch/misc/calibre/work/.buildlink/qt5/include/QtGui/5.15.0/QtGui/qpa/qplatformbackingstore.h:53: In file included from /data/scratch/misc/calibre/work/.buildlink/qt5/include/QtCore/qloggingcategory.h:44: In file included from /data/scratch/misc/calibre/work/.buildlink/qt5/include/QtCore/qdebug.h:45: In file included from /data/scratch/misc/calibre/work/.buildlink/qt5/include/QtCore/qhash.h:46: In file included from /data/scratch/misc/calibre/work/.buildlink/qt5/include/QtCore/qlist.h:47: In file included from /data/scratch/misc/calibre/work/.buildlink/qt5/include/QtCore/qhashfunctions.h:44: /data/scratch/misc/calibre/work/.buildlink/qt5/include/QtCore/qstring.h:1229:22: warning: definition of implicit copy constructor for 'QCharRef' is deprecated because it has a user-declared copy assignment operator [-Wdeprecated-copy] inline QCharRef &operator=(const QCharRef &c) { return operator=(QChar(c)); } ^ /data/scratch/misc/calibre/work/.buildlink/qt5/include/QtCore/qstring.h:1329:38: note: in implicit copy constructor for 'QCharRef' first required here { Q_ASSERT(i >= 0); detach(); return QCharRef(*this, i); } ^ --- main.o --- In file included from /data/scratch/misc/calibre/work/calibre-3.40.1/src/calibre/headless/main.cpp:1: In file included from /data/scratch/misc/calibre/work/.buildlink/qt5/include/QtGui/5.15.0/QtGui/qpa/qplatformintegrationplugin.h:53: In file included from /data/scratch/misc/calibre/work/.buildlink/qt5/include/QtCore/qplugin.h:44: In file included from /data/scratch/misc/calibre/work/.buildlink/qt5/include/QtCore/qobject.h:47: In file included from /data/scratch/misc/calibre/work/.buildlink/qt5/include/QtCore/qstring.h:50: /data/scratch/misc/calibre/work/.buildlink/qt5/include/QtCore/qbytearray.h:600:22: warning: definition of implicit copy constructor for 'QByteRef' is deprecated because it has a user-declared copy assignment operator [-Wdeprecated-copy] inline QByteRef &operator=(const QByteRef &c) ^ /data/scratch/misc/calibre/work/.buildlink/qt5/include/QtCore/qbytearray.h:619:38: note: in implicit copy constructor for 'QByteRef' first required here { Q_ASSERT(i >= 0); detach(); return QByteRef(*this, i); } ^ --- fontconfig_database.o --- In file included from /data/scratch/misc/calibre/work/calibre-3.40.1/src/calibre/headless/fontconfig_database.cpp:40: In file included from /data/scratch/misc/calibre/work/calibre-3.40.1/src/calibre/headless/fontconfig_database.h:9: In file included from /data/scratch/misc/calibre/work/.buildlink/qt5/include/QtGui/5.15.0/QtGui/qpa/qplatformfontdatabase.h:53: In file included from /data/scratch/misc/calibre/work/.buildlink/qt5/include/QtCore/QString:1: /data/scratch/misc/calibre/work/.buildlink/qt5/include/QtCore/qstring.h:1229:22: warning: definition of implicit copy constructor for 'QCharRef' is deprecated because it has a user-declared copy assignment operator [-Wdeprecated-copy] inline QCharRef &operator=(const QCharRef &c) { return operator=(QChar(c)); } ^ /data/scratch/misc/calibre/work/.buildlink/qt5/include/QtCore/qstring.h:1329:38: note: in implicit copy constructor for 'QCharRef' first required here { Q_ASSERT(i >= 0); detach(); return QCharRef(*this, i); } ^ --- main.o --- In file included from /data/scratch/misc/calibre/work/calibre-3.40.1/src/calibre/headless/main.cpp:1: In file included from /data/scratch/misc/calibre/work/.buildlink/qt5/include/QtGui/5.15.0/QtGui/qpa/qplatformintegrationplugin.h:53: In file included from /data/scratch/misc/calibre/work/.buildlink/qt5/include/QtCore/qplugin.h:44: In file included from /data/scratch/misc/calibre/work/.buildlink/qt5/include/QtCore/qobject.h:47: /data/scratch/misc/calibre/work/.buildlink/qt5/include/QtCore/qstring.h:1229:22: warning: definition of implicit copy constructor for 'QCharRef' is deprecated because it has a user-declared copy assignment operator [-Wdeprecated-copy] inline QCharRef &operator=(const QCharRef &c) { return operator=(QChar(c)); } ^ /data/scratch/misc/calibre/work/.buildlink/qt5/include/QtCore/qstring.h:1329:38: note: in implicit copy constructor for 'QCharRef' first required here { Q_ASSERT(i >= 0); detach(); return QCharRef(*this, i); } ^ In file included from /data/scratch/misc/calibre/work/calibre-3.40.1/src/calibre/headless/main.cpp:1: In file included from /data/scratch/misc/calibre/work/.buildlink/qt5/include/QtGui/5.15.0/QtGui/qpa/qplatformintegrationplugin.h:53: In file included from /data/scratch/misc/calibre/work/.buildlink/qt5/include/QtCore/qplugin.h:46: In file included from /data/scratch/misc/calibre/work/.buildlink/qt5/include/QtCore/qjsonobject.h:43: /data/scratch/misc/calibre/work/.buildlink/qt5/include/QtCore/qjsonvalue.h:168:20: warning: definition of implicit copy constructor for 'QJsonValueRef' is deprecated because it has a user-declared copy assignment operator [-Wdeprecated-copy] QJsonValueRef &operator = (const QJsonValueRef &val); ^ /data/scratch/misc/calibre/work/.buildlink/qt5/include/QtCore/qjsonobject.h:142:53: note: in implicit copy constructor for 'QJsonValueRef' first required here inline QJsonValueRef value() const { return QJsonValueRef(o, i); } ^ --- headless_integration.o --- 2 warnings generated. --- fontconfig_database.o --- /data/scratch/misc/calibre/work/calibre-3.40.1/src/calibre/headless/fontconfig_database.cpp:310:1: error: static_assert failed due to requirement 'bool(sizeof specialLanguages / sizeof *specialLanguages == QChar::ScriptCount)' "sizeof specialLanguages / sizeof *specialLanguages == QChar::ScriptCount" Q_STATIC_ASSERT(sizeof specialLanguages / sizeof *specialLanguages == QChar::ScriptCount); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /data/scratch/misc/calibre/work/.buildlink/qt5/include/QtCore/qglobal.h:120:38: note: expanded from macro 'Q_STATIC_ASSERT' # define Q_STATIC_ASSERT(Condition) static_assert(bool(Condition), #Condition) ^ ~~~~~~~~~~~~~~~ 2 warnings and 1 error generated. *** [fontconfig_database.o] Error code 1 make: stopped in /data/scratch/misc/calibre/work/calibre-3.40.1/build/headless --- headless_backingstore.o --- 2 warnings generated. --- main.o --- 3 warnings generated. 1 error make: stopped in /data/scratch/misc/calibre/work/calibre-3.40.1/build/headless Error while executing: make -j16 Traceback (most recent call last): File "setup.py", line 121, in sys.exit(main()) File "setup.py", line 106, in main command.run_all(opts) File "/data/scratch/misc/calibre/work/calibre-3.40.1/setup/__init__.py", line 242, in run_all self.run_cmd(self, opts) File "/data/scratch/misc/calibre/work/calibre-3.40.1/setup/__init__.py", line 238, in run_cmd cmd.run(opts) File "/data/scratch/misc/calibre/work/calibre-3.40.1/setup/build.py", line 280, in run self.build_headless() File "/data/scratch/misc/calibre/work/calibre-3.40.1/setup/build.py", line 427, in build_headless self.check_call([self.env.make] + ['-j%d'%(cpu_count or 1)]) File "/data/scratch/misc/calibre/work/calibre-3.40.1/setup/build.py", line 352, in check_call subprocess.check_call(*args, **kwargs) File "/usr/pkg/lib/python2.7/subprocess.py", line 190, in check_call raise CalledProcessError(retcode, cmd) subprocess.CalledProcessError: Command '['make', '-j16']' returned non-zero exit status 2 *** Error code 1 Stop. make[1]: stopped in /data/pkgsrc/misc/calibre *** Error code 1 Stop. make: stopped in /data/pkgsrc/misc/calibre