=> Bootstrap dependency digest>=20010302: found digest-20160304
===> 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-1.48.0nb24
(cd /data/scratch/misc/calibre1/work/calibre/ && /usr/bin/env FC_INC_DIR=/usr/X11R7/include/fontconfig FC_LIB_DIR=/usr/X11R7/lib PODOFO_INC_DIR=/usr/pkg/include/podofo PODOFO_LIB_DIR=/usr/pkg/lib USETOOLS=no PTHREAD_CFLAGS=\ -pthread\  PTHREAD_LDFLAGS=\ -pthread PTHREAD_LIBS= PTHREADBASE=/usr DL_CFLAGS=\ -pthread\  DL_LDFLAGS=\ -pthread DL_LIBS= QTDIR=/usr/pkg/qt4 MOC="/usr/pkg/qt4/bin/moc" UIC="/usr/pkg/qt4/bin/uic" QMAKE="/usr/pkg/qt4/bin/qmake" QMAKESPEC=/usr/pkg/qt4/mkspecs/netbsd-g++ PYTHON=/usr/pkg/bin/python2.7 CC=gcc CFLAGS=-O2\ -I/usr/pkg/include\ -I/usr/include\ -I/usr/X11R7/include\ -I/usr/X11R7/include/freetype2\ -I/usr/pkg/qt4/include\ -I/usr/X11R7/include/libdrm CPPFLAGS=-I/usr/pkg/include\ -I/usr/include\ -I/usr/X11R7/include\ -I/usr/X11R7/include/freetype2\ -I/usr/pkg/qt4/include\ -I/usr/X11R7/include/libdrm CXX=c++ CXXFLAGS=-O2\ -I/usr/pkg/include\ -I/usr/include\ -I/usr/X11R7/include\ -I/usr/X11R7/include/freetype2\ -I/usr/pkg/qt4/include\ -I/usr/X11R7/include/libdrm COMPILER_RPATH_FLAG=-Wl,-R F77=g77 FC=g77 FFLAGS=-O LANG=C LC_ALL=C LC_COLLATE=C LC_CTYPE=C LC_MESSAGES=C LC_MONETARY=C LC_NUMERIC=C LC_TIME=C LDFLAGS=-L/usr/pkg/lib\ -L/usr/lib\ -Wl,-R/usr/lib\ -Wl,-R/usr/pkg/lib\ -L/usr/X11R7/lib\ -Wl,-R/usr/X11R7/lib\ -L/usr/pkg/qt4/lib\ -Wl,-R/usr/pkg/qt4/lib LINKER_RPATH_FLAG=-R PATH=/data/scratch/misc/calibre1/work/.cwrapper/bin:/data/scratch/misc/calibre1/work/.buildlink/bin:/data/scratch/misc/calibre1/work/.gcc/bin:/data/scratch/misc/calibre1/work/.tools/bin:/usr/pkg/bin:/usr/bin:/bin:/usr/pkg/bin:/usr/local/bin:/usr/pkg/bin:/usr/X11R7/bin PREFIX=/usr/pkg MAKELEVEL=0 CONFIG_SITE= PKG_SYSCONFDIR=/usr/pkg/etc HOME=/data/scratch/misc/calibre1/work/.home CWRAPPERS_CONFIG_DIR=/data/scratch/misc/calibre1/work/.cwrapper/config CPP=cpp LINK_ALL_LIBGCC_HACK= LOCALBASE=/usr/pkg X11BASE=/usr/X11R7 PKGMANDIR=man PKGINFODIR=info PKGGNUDIR=gnu/ MAKECONF=/dev/null OBJECT_FMT=ELF USETOOLS=no 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/calibre1/work/.tools/bin/makeinfo FLEX= BISON= PKG_CONFIG=/data/scratch/misc/calibre1/work/.tools/bin/pkg-config PKG_CONFIG_LIBDIR=/data/scratch/misc/calibre1/work/.buildlink/lib/pkgconfig:/data/scratch/misc/calibre1/work/.buildlink/share/pkgconfig PKG_CONFIG_LOG=/data/scratch/misc/calibre1/work/.pkg-config.log PKG_CONFIG_PATH= CWRAPPERS_CONFIG_DIR=/data/scratch/misc/calibre1/work/.cwrapper/config /usr/pkg/bin/python2.7  setup.py  build )

*
* Running build
*


####### Building calibre style #######
--- moc_blurhelper.cpp ---
--- moc_qtcurve.cpp ---
--- moc_shortcuthandler.cpp ---
--- moc_windowmanager.cpp ---
--- moc_blurhelper.cpp ---
/usr/pkg/qt4/bin/moc -DQT_NO_DEBUG -DQT_PLUGIN -DQT_DBUS_LIB -DQT_SVG_LIB -DQT_GUI_LIB -DQT_CORE_LIB -I/usr/pkg/qt4/mkspecs/netbsd-g++ -I. -I/usr/pkg/qt4/include/QtCore -I/usr/pkg/qt4/include/QtGui -I/usr/pkg/qt4/include/QtSvg -I/usr/pkg/qt4/include/QtDBus -I/usr/pkg/qt4/include -I../../src/qtcurve -I../../src/qtcurve/common -I. -I/usr/pkg/include ../../src/qtcurve/style/blurhelper.h -o moc_blurhelper.cpp
--- moc_qtcurve.cpp ---
/usr/pkg/qt4/bin/moc -DQT_NO_DEBUG -DQT_PLUGIN -DQT_DBUS_LIB -DQT_SVG_LIB -DQT_GUI_LIB -DQT_CORE_LIB -I/usr/pkg/qt4/mkspecs/netbsd-g++ -I. -I/usr/pkg/qt4/include/QtCore -I/usr/pkg/qt4/include/QtGui -I/usr/pkg/qt4/include/QtSvg -I/usr/pkg/qt4/include/QtDBus -I/usr/pkg/qt4/include -I../../src/qtcurve -I../../src/qtcurve/common -I. -I/usr/pkg/include ../../src/qtcurve/style/qtcurve.h -o moc_qtcurve.cpp
--- moc_shortcuthandler.cpp ---
/usr/pkg/qt4/bin/moc -DQT_NO_DEBUG -DQT_PLUGIN -DQT_DBUS_LIB -DQT_SVG_LIB -DQT_GUI_LIB -DQT_CORE_LIB -I/usr/pkg/qt4/mkspecs/netbsd-g++ -I. -I/usr/pkg/qt4/include/QtCore -I/usr/pkg/qt4/include/QtGui -I/usr/pkg/qt4/include/QtSvg -I/usr/pkg/qt4/include/QtDBus -I/usr/pkg/qt4/include -I../../src/qtcurve -I../../src/qtcurve/common -I. -I/usr/pkg/include ../../src/qtcurve/style/shortcuthandler.h -o moc_shortcuthandler.cpp
--- moc_windowmanager.cpp ---
/usr/pkg/qt4/bin/moc -DQT_NO_DEBUG -DQT_PLUGIN -DQT_DBUS_LIB -DQT_SVG_LIB -DQT_GUI_LIB -DQT_CORE_LIB -I/usr/pkg/qt4/mkspecs/netbsd-g++ -I. -I/usr/pkg/qt4/include/QtCore -I/usr/pkg/qt4/include/QtGui -I/usr/pkg/qt4/include/QtSvg -I/usr/pkg/qt4/include/QtDBus -I/usr/pkg/qt4/include -I../../src/qtcurve -I../../src/qtcurve/common -I. -I/usr/pkg/include ../../src/qtcurve/style/windowmanager.h -o moc_windowmanager.cpp
--- moc_shadowhelper.cpp ---
--- colorutils.lo ---
--- moc_shadowhelper.cpp ---
/usr/pkg/qt4/bin/moc -DQT_NO_DEBUG -DQT_PLUGIN -DQT_DBUS_LIB -DQT_SVG_LIB -DQT_GUI_LIB -DQT_CORE_LIB -I/usr/pkg/qt4/mkspecs/netbsd-g++ -I. -I/usr/pkg/qt4/include/QtCore -I/usr/pkg/qt4/include/QtGui -I/usr/pkg/qt4/include/QtSvg -I/usr/pkg/qt4/include/QtDBus -I/usr/pkg/qt4/include -I../../src/qtcurve -I../../src/qtcurve/common -I. -I/usr/pkg/include ../../src/qtcurve/style/shadowhelper.h -o moc_shadowhelper.cpp
--- colorutils.lo ---
libtool --silent --mode=compile gcc -c -O2 -I/usr/pkg/include -I/usr/include -I/usr/pkg/qt4/include -I/usr/X11R7/include -I/usr/X11R7/include/freetype2 -I/usr/X11R7/include/libdrm -x c++ -D_REENTRANT -fPIC -DQT_NO_DEBUG -DQT_PLUGIN -DQT_DBUS_LIB -DQT_SVG_LIB -DQT_GUI_LIB -DQT_CORE_LIB -I/usr/pkg/qt4/mkspecs/netbsd-g++ -I. -I/usr/pkg/qt4/include/QtCore -I/usr/pkg/qt4/include/QtGui -I/usr/pkg/qt4/include/QtSvg -I/usr/pkg/qt4/include/QtDBus -I/usr/pkg/qt4/include -I../../src/qtcurve -I../../src/qtcurve/common -I. -I/usr/pkg/include -o colorutils.lo ../../src/qtcurve/common/colorutils.c
--- common.lo ---
--- config_file.lo ---
--- common.lo ---
libtool --silent --mode=compile gcc -c -O2 -I/usr/pkg/include -I/usr/include -I/usr/pkg/qt4/include -I/usr/X11R7/include -I/usr/X11R7/include/freetype2 -I/usr/X11R7/include/libdrm -x c++ -D_REENTRANT -fPIC -DQT_NO_DEBUG -DQT_PLUGIN -DQT_DBUS_LIB -DQT_SVG_LIB -DQT_GUI_LIB -DQT_CORE_LIB -I/usr/pkg/qt4/mkspecs/netbsd-g++ -I. -I/usr/pkg/qt4/include/QtCore -I/usr/pkg/qt4/include/QtGui -I/usr/pkg/qt4/include/QtSvg -I/usr/pkg/qt4/include/QtDBus -I/usr/pkg/qt4/include -I../../src/qtcurve -I../../src/qtcurve/common -I. -I/usr/pkg/include -o common.lo ../../src/qtcurve/common/common.c
--- config_file.lo ---
libtool --silent --mode=compile gcc -c -O2 -I/usr/pkg/include -I/usr/include -I/usr/pkg/qt4/include -I/usr/X11R7/include -I/usr/X11R7/include/freetype2 -I/usr/X11R7/include/libdrm -x c++ -D_REENTRANT -fPIC -DQT_NO_DEBUG -DQT_PLUGIN -DQT_DBUS_LIB -DQT_SVG_LIB -DQT_GUI_LIB -DQT_CORE_LIB -I/usr/pkg/qt4/mkspecs/netbsd-g++ -I. -I/usr/pkg/qt4/include/QtCore -I/usr/pkg/qt4/include/QtGui -I/usr/pkg/qt4/include/QtSvg -I/usr/pkg/qt4/include/QtDBus -I/usr/pkg/qt4/include -I../../src/qtcurve -I../../src/qtcurve/common -I. -I/usr/pkg/include -o config_file.lo ../../src/qtcurve/common/config_file.c
--- blurhelper.lo ---
libtool --silent --mode=compile c++ -c -O2 -I/usr/pkg/include -I/usr/include -I/usr/pkg/qt4/include -I/usr/X11R7/include -I/usr/X11R7/include/freetype2 -I/usr/X11R7/include/libdrm -DQ_TRAILING_DIR_SEP -D_REENTRANT -fPIC -DQT_NO_DEBUG -DQT_PLUGIN -DQT_DBUS_LIB -DQT_SVG_LIB -DQT_GUI_LIB -DQT_CORE_LIB -I/usr/pkg/qt4/mkspecs/netbsd-g++ -I. -I/usr/pkg/qt4/include/QtCore -I/usr/pkg/qt4/include/QtGui -I/usr/pkg/qt4/include/QtSvg -I/usr/pkg/qt4/include/QtDBus -I/usr/pkg/qt4/include -I../../src/qtcurve -I../../src/qtcurve/common -I. -I/usr/pkg/include -o blurhelper.lo ../../src/qtcurve/style/blurhelper.cpp
--- qtcurve.lo ---
libtool --silent --mode=compile c++ -c -O2 -I/usr/pkg/include -I/usr/include -I/usr/pkg/qt4/include -I/usr/X11R7/include -I/usr/X11R7/include/freetype2 -I/usr/X11R7/include/libdrm -DQ_TRAILING_DIR_SEP -D_REENTRANT -fPIC -DQT_NO_DEBUG -DQT_PLUGIN -DQT_DBUS_LIB -DQT_SVG_LIB -DQT_GUI_LIB -DQT_CORE_LIB -I/usr/pkg/qt4/mkspecs/netbsd-g++ -I. -I/usr/pkg/qt4/include/QtCore -I/usr/pkg/qt4/include/QtGui -I/usr/pkg/qt4/include/QtSvg -I/usr/pkg/qt4/include/QtDBus -I/usr/pkg/qt4/include -I../../src/qtcurve -I../../src/qtcurve/common -I. -I/usr/pkg/include -o qtcurve.lo ../../src/qtcurve/style/qtcurve.cpp
--- shortcuthandler.lo ---
libtool --silent --mode=compile c++ -c -O2 -I/usr/pkg/include -I/usr/include -I/usr/pkg/qt4/include -I/usr/X11R7/include -I/usr/X11R7/include/freetype2 -I/usr/X11R7/include/libdrm -DQ_TRAILING_DIR_SEP -D_REENTRANT -fPIC -DQT_NO_DEBUG -DQT_PLUGIN -DQT_DBUS_LIB -DQT_SVG_LIB -DQT_GUI_LIB -DQT_CORE_LIB -I/usr/pkg/qt4/mkspecs/netbsd-g++ -I. -I/usr/pkg/qt4/include/QtCore -I/usr/pkg/qt4/include/QtGui -I/usr/pkg/qt4/include/QtSvg -I/usr/pkg/qt4/include/QtDBus -I/usr/pkg/qt4/include -I../../src/qtcurve -I../../src/qtcurve/common -I. -I/usr/pkg/include -o shortcuthandler.lo ../../src/qtcurve/style/shortcuthandler.cpp
--- utils.lo ---
libtool --silent --mode=compile c++ -c -O2 -I/usr/pkg/include -I/usr/include -I/usr/pkg/qt4/include -I/usr/X11R7/include -I/usr/X11R7/include/freetype2 -I/usr/X11R7/include/libdrm -DQ_TRAILING_DIR_SEP -D_REENTRANT -fPIC -DQT_NO_DEBUG -DQT_PLUGIN -DQT_DBUS_LIB -DQT_SVG_LIB -DQT_GUI_LIB -DQT_CORE_LIB -I/usr/pkg/qt4/mkspecs/netbsd-g++ -I. -I/usr/pkg/qt4/include/QtCore -I/usr/pkg/qt4/include/QtGui -I/usr/pkg/qt4/include/QtSvg -I/usr/pkg/qt4/include/QtDBus -I/usr/pkg/qt4/include -I../../src/qtcurve -I../../src/qtcurve/common -I. -I/usr/pkg/include -o utils.lo ../../src/qtcurve/style/utils.cpp
--- windowmanager.lo ---
libtool --silent --mode=compile c++ -c -O2 -I/usr/pkg/include -I/usr/include -I/usr/pkg/qt4/include -I/usr/X11R7/include -I/usr/X11R7/include/freetype2 -I/usr/X11R7/include/libdrm -DQ_TRAILING_DIR_SEP -D_REENTRANT -fPIC -DQT_NO_DEBUG -DQT_PLUGIN -DQT_DBUS_LIB -DQT_SVG_LIB -DQT_GUI_LIB -DQT_CORE_LIB -I/usr/pkg/qt4/mkspecs/netbsd-g++ -I. -I/usr/pkg/qt4/include/QtCore -I/usr/pkg/qt4/include/QtGui -I/usr/pkg/qt4/include/QtSvg -I/usr/pkg/qt4/include/QtDBus -I/usr/pkg/qt4/include -I../../src/qtcurve -I../../src/qtcurve/common -I. -I/usr/pkg/include -o windowmanager.lo ../../src/qtcurve/style/windowmanager.cpp
--- shadowhelper.lo ---
libtool --silent --mode=compile c++ -c -O2 -I/usr/pkg/include -I/usr/include -I/usr/pkg/qt4/include -I/usr/X11R7/include -I/usr/X11R7/include/freetype2 -I/usr/X11R7/include/libdrm -DQ_TRAILING_DIR_SEP -D_REENTRANT -fPIC -DQT_NO_DEBUG -DQT_PLUGIN -DQT_DBUS_LIB -DQT_SVG_LIB -DQT_GUI_LIB -DQT_CORE_LIB -I/usr/pkg/qt4/mkspecs/netbsd-g++ -I. -I/usr/pkg/qt4/include/QtCore -I/usr/pkg/qt4/include/QtGui -I/usr/pkg/qt4/include/QtSvg -I/usr/pkg/qt4/include/QtDBus -I/usr/pkg/qt4/include -I../../src/qtcurve -I../../src/qtcurve/common -I. -I/usr/pkg/include -o shadowhelper.lo ../../src/qtcurve/style/shadowhelper.cpp
--- moc_shortcuthandler.lo ---
libtool --silent --mode=compile c++ -c -O2 -I/usr/pkg/include -I/usr/include -I/usr/pkg/qt4/include -I/usr/X11R7/include -I/usr/X11R7/include/freetype2 -I/usr/X11R7/include/libdrm -DQ_TRAILING_DIR_SEP -D_REENTRANT -fPIC -DQT_NO_DEBUG -DQT_PLUGIN -DQT_DBUS_LIB -DQT_SVG_LIB -DQT_GUI_LIB -DQT_CORE_LIB -I/usr/pkg/qt4/mkspecs/netbsd-g++ -I. -I/usr/pkg/qt4/include/QtCore -I/usr/pkg/qt4/include/QtGui -I/usr/pkg/qt4/include/QtSvg -I/usr/pkg/qt4/include/QtDBus -I/usr/pkg/qt4/include -I../../src/qtcurve -I../../src/qtcurve/common -I. -I/usr/pkg/include -o moc_shortcuthandler.lo moc_shortcuthandler.cpp
--- moc_blurhelper.lo ---
libtool --silent --mode=compile c++ -c -O2 -I/usr/pkg/include -I/usr/include -I/usr/pkg/qt4/include -I/usr/X11R7/include -I/usr/X11R7/include/freetype2 -I/usr/X11R7/include/libdrm -DQ_TRAILING_DIR_SEP -D_REENTRANT -fPIC -DQT_NO_DEBUG -DQT_PLUGIN -DQT_DBUS_LIB -DQT_SVG_LIB -DQT_GUI_LIB -DQT_CORE_LIB -I/usr/pkg/qt4/mkspecs/netbsd-g++ -I. -I/usr/pkg/qt4/include/QtCore -I/usr/pkg/qt4/include/QtGui -I/usr/pkg/qt4/include/QtSvg -I/usr/pkg/qt4/include/QtDBus -I/usr/pkg/qt4/include -I../../src/qtcurve -I../../src/qtcurve/common -I. -I/usr/pkg/include -o moc_blurhelper.lo moc_blurhelper.cpp
--- moc_shadowhelper.lo ---
libtool --silent --mode=compile c++ -c -O2 -I/usr/pkg/include -I/usr/include -I/usr/pkg/qt4/include -I/usr/X11R7/include -I/usr/X11R7/include/freetype2 -I/usr/X11R7/include/libdrm -DQ_TRAILING_DIR_SEP -D_REENTRANT -fPIC -DQT_NO_DEBUG -DQT_PLUGIN -DQT_DBUS_LIB -DQT_SVG_LIB -DQT_GUI_LIB -DQT_CORE_LIB -I/usr/pkg/qt4/mkspecs/netbsd-g++ -I. -I/usr/pkg/qt4/include/QtCore -I/usr/pkg/qt4/include/QtGui -I/usr/pkg/qt4/include/QtSvg -I/usr/pkg/qt4/include/QtDBus -I/usr/pkg/qt4/include -I../../src/qtcurve -I../../src/qtcurve/common -I. -I/usr/pkg/include -o moc_shadowhelper.lo moc_shadowhelper.cpp
--- moc_windowmanager.lo ---
libtool --silent --mode=compile c++ -c -O2 -I/usr/pkg/include -I/usr/include -I/usr/pkg/qt4/include -I/usr/X11R7/include -I/usr/X11R7/include/freetype2 -I/usr/X11R7/include/libdrm -DQ_TRAILING_DIR_SEP -D_REENTRANT -fPIC -DQT_NO_DEBUG -DQT_PLUGIN -DQT_DBUS_LIB -DQT_SVG_LIB -DQT_GUI_LIB -DQT_CORE_LIB -I/usr/pkg/qt4/mkspecs/netbsd-g++ -I. -I/usr/pkg/qt4/include/QtCore -I/usr/pkg/qt4/include/QtGui -I/usr/pkg/qt4/include/QtSvg -I/usr/pkg/qt4/include/QtDBus -I/usr/pkg/qt4/include -I../../src/qtcurve -I../../src/qtcurve/common -I. -I/usr/pkg/include -o moc_windowmanager.lo moc_windowmanager.cpp
--- moc_qtcurve.lo ---
libtool --silent --mode=compile c++ -c -O2 -I/usr/pkg/include -I/usr/include -I/usr/pkg/qt4/include -I/usr/X11R7/include -I/usr/X11R7/include/freetype2 -I/usr/X11R7/include/libdrm -DQ_TRAILING_DIR_SEP -D_REENTRANT -fPIC -DQT_NO_DEBUG -DQT_PLUGIN -DQT_DBUS_LIB -DQT_SVG_LIB -DQT_GUI_LIB -DQT_CORE_LIB -I/usr/pkg/qt4/mkspecs/netbsd-g++ -I. -I/usr/pkg/qt4/include/QtCore -I/usr/pkg/qt4/include/QtGui -I/usr/pkg/qt4/include/QtSvg -I/usr/pkg/qt4/include/QtDBus -I/usr/pkg/qt4/include -I../../src/qtcurve -I../../src/qtcurve/common -I. -I/usr/pkg/include -o moc_qtcurve.lo moc_qtcurve.cpp
--- libcalibre.la ---
libtool --silent --mode=link c++ -avoid-version -rpath / -module -L/usr/pkg/lib -L/usr/lib -Wl,-R/usr/lib -Wl,-R/usr/pkg/lib -L/usr/X11R7/lib -Wl,-R/usr/X11R7/lib -L/usr/pkg/qt4/lib -Wl,-R/usr/pkg/qt4/lib -L/usr/pkg/qt4/lib -pthread -Wl,-R/usr/pkg/qt4/lib -shared -o libcalibre.la colorutils.lo  common.lo  config_file.lo  blurhelper.lo  qtcurve.lo  shortcuthandler.lo  utils.lo  windowmanager.lo  shadowhelper.lo  moc_blurhelper.lo  moc_qtcurve.lo  moc_shortcuthandler.lo  moc_windowmanager.lo  moc_shadowhelper.lo    -L/usr/pkg/lib -L/usr/pkg/qt4/lib -lQtDBus -lQtSvg -lQtGui -lQtCore

####### Building extension hunspell #######
c++ -Wall -DNDEBUG -fno-strict-aliasing -pipe -fPIC -O2 -I/usr/pkg/include -I/usr/include -I/usr/X11R7/include -I/usr/X11R7/include/freetype2 -I/usr/pkg/qt4/include -I/usr/X11R7/include/libdrm -pthread -I/usr/pkg/include/python2.7 -O2 -DHUNSPELL_STATIC -I/data/scratch/misc/calibre1/work/calibre/src/hunspell -c /data/scratch/misc/calibre1/work/calibre/src/hunspell/hunspell.cxx -o /data/scratch/misc/calibre1/work/calibre/build/objects/hunspell/hunspell.o
c++ -Wall -DNDEBUG -fno-strict-aliasing -pipe -fPIC -O2 -I/usr/pkg/include -I/usr/include -I/usr/X11R7/include -I/usr/X11R7/include/freetype2 -I/usr/pkg/qt4/include -I/usr/X11R7/include/libdrm -pthread -I/usr/pkg/include/python2.7 -O2 -DHUNSPELL_STATIC -I/data/scratch/misc/calibre1/work/calibre/src/hunspell -c /data/scratch/misc/calibre1/work/calibre/src/hunspell/csutil.cxx -o /data/scratch/misc/calibre1/work/calibre/build/objects/hunspell/csutil.o
c++ -Wall -DNDEBUG -fno-strict-aliasing -pipe -fPIC -O2 -I/usr/pkg/include -I/usr/include -I/usr/X11R7/include -I/usr/X11R7/include/freetype2 -I/usr/pkg/qt4/include -I/usr/X11R7/include/libdrm -pthread -I/usr/pkg/include/python2.7 -O2 -DHUNSPELL_STATIC -I/data/scratch/misc/calibre1/work/calibre/src/hunspell -c /data/scratch/misc/calibre1/work/calibre/src/hunspell/hashmgr.cxx -o /data/scratch/misc/calibre1/work/calibre/build/objects/hunspell/hashmgr.o
c++ -Wall -DNDEBUG -fno-strict-aliasing -pipe -fPIC -O2 -I/usr/pkg/include -I/usr/include -I/usr/X11R7/include -I/usr/X11R7/include/freetype2 -I/usr/pkg/qt4/include -I/usr/X11R7/include/libdrm -pthread -I/usr/pkg/include/python2.7 -O2 -DHUNSPELL_STATIC -I/data/scratch/misc/calibre1/work/calibre/src/hunspell -c /data/scratch/misc/calibre1/work/calibre/src/hunspell/affentry.cxx -o /data/scratch/misc/calibre1/work/calibre/build/objects/hunspell/affentry.o
c++ -Wall -DNDEBUG -fno-strict-aliasing -pipe -fPIC -O2 -I/usr/pkg/include -I/usr/include -I/usr/X11R7/include -I/usr/X11R7/include/freetype2 -I/usr/pkg/qt4/include -I/usr/X11R7/include/libdrm -pthread -I/usr/pkg/include/python2.7 -O2 -DHUNSPELL_STATIC -I/data/scratch/misc/calibre1/work/calibre/src/hunspell -c /data/scratch/misc/calibre1/work/calibre/src/hunspell/filemgr.cxx -o /data/scratch/misc/calibre1/work/calibre/build/objects/hunspell/filemgr.o
c++ -Wall -DNDEBUG -fno-strict-aliasing -pipe -fPIC -O2 -I/usr/pkg/include -I/usr/include -I/usr/X11R7/include -I/usr/X11R7/include/freetype2 -I/usr/pkg/qt4/include -I/usr/X11R7/include/libdrm -pthread -I/usr/pkg/include/python2.7 -O2 -DHUNSPELL_STATIC -I/data/scratch/misc/calibre1/work/calibre/src/hunspell -c /data/scratch/misc/calibre1/work/calibre/src/hunspell/phonet.cxx -o /data/scratch/misc/calibre1/work/calibre/build/objects/hunspell/phonet.o
c++ -Wall -DNDEBUG -fno-strict-aliasing -pipe -fPIC -O2 -I/usr/pkg/include -I/usr/include -I/usr/X11R7/include -I/usr/X11R7/include/freetype2 -I/usr/pkg/qt4/include -I/usr/X11R7/include/libdrm -pthread -I/usr/pkg/include/python2.7 -O2 -DHUNSPELL_STATIC -I/data/scratch/misc/calibre1/work/calibre/src/hunspell -c /data/scratch/misc/calibre1/work/calibre/src/hunspell/replist.cxx -o /data/scratch/misc/calibre1/work/calibre/build/objects/hunspell/replist.o
c++ -Wall -DNDEBUG -fno-strict-aliasing -pipe -fPIC -O2 -I/usr/pkg/include -I/usr/include -I/usr/X11R7/include -I/usr/X11R7/include/freetype2 -I/usr/pkg/qt4/include -I/usr/X11R7/include/libdrm -pthread -I/usr/pkg/include/python2.7 -O2 -DHUNSPELL_STATIC -I/data/scratch/misc/calibre1/work/calibre/src/hunspell -c /data/scratch/misc/calibre1/work/calibre/src/hunspell/dictmgr.cxx -o /data/scratch/misc/calibre1/work/calibre/build/objects/hunspell/dictmgr.o
c++ -Wall -DNDEBUG -fno-strict-aliasing -pipe -fPIC -O2 -I/usr/pkg/include -I/usr/include -I/usr/X11R7/include -I/usr/X11R7/include/freetype2 -I/usr/pkg/qt4/include -I/usr/X11R7/include/libdrm -pthread -I/usr/pkg/include/python2.7 -O2 -DHUNSPELL_STATIC -I/data/scratch/misc/calibre1/work/calibre/src/hunspell -c /data/scratch/misc/calibre1/work/calibre/src/calibre/utils/spell/hunspell_wrapper.cpp -o /data/scratch/misc/calibre1/work/calibre/build/objects/hunspell/hunspell_wrapper.o
c++ -Wall -DNDEBUG -fno-strict-aliasing -pipe -fPIC -O2 -I/usr/pkg/include -I/usr/include -I/usr/X11R7/include -I/usr/X11R7/include/freetype2 -I/usr/pkg/qt4/include -I/usr/X11R7/include/libdrm -pthread -I/usr/pkg/include/python2.7 -O2 -DHUNSPELL_STATIC -I/data/scratch/misc/calibre1/work/calibre/src/hunspell -c /data/scratch/misc/calibre1/work/calibre/src/hunspell/suggestmgr.cxx -o /data/scratch/misc/calibre1/work/calibre/build/objects/hunspell/suggestmgr.o
c++ -Wall -DNDEBUG -fno-strict-aliasing -pipe -fPIC -O2 -I/usr/pkg/include -I/usr/include -I/usr/X11R7/include -I/usr/X11R7/include/freetype2 -I/usr/pkg/qt4/include -I/usr/X11R7/include/libdrm -pthread -I/usr/pkg/include/python2.7 -O2 -DHUNSPELL_STATIC -I/data/scratch/misc/calibre1/work/calibre/src/hunspell -c /data/scratch/misc/calibre1/work/calibre/src/hunspell/affixmgr.cxx -o /data/scratch/misc/calibre1/work/calibre/build/objects/hunspell/affixmgr.o
Linking hunspell


 c++ /data/scratch/misc/calibre1/work/calibre/build/objects/hunspell/hunspell.o /data/scratch/misc/calibre1/work/calibre/build/objects/hunspell/csutil.o /data/scratch/misc/calibre1/work/calibre/build/objects/hunspell/hashmgr.o /data/scratch/misc/calibre1/work/calibre/build/objects/hunspell/affentry.o /data/scratch/misc/calibre1/work/calibre/build/objects/hunspell/filemgr.o /data/scratch/misc/calibre1/work/calibre/build/objects/hunspell/phonet.o /data/scratch/misc/calibre1/work/calibre/build/objects/hunspell/replist.o /data/scratch/misc/calibre1/work/calibre/build/objects/hunspell/dictmgr.o /data/scratch/misc/calibre1/work/calibre/build/objects/hunspell/hunspell_wrapper.o /data/scratch/misc/calibre1/work/calibre/build/objects/hunspell/suggestmgr.o /data/scratch/misc/calibre1/work/calibre/build/objects/hunspell/affixmgr.o -o /data/scratch/misc/calibre1/work/calibre/src/calibre/plugins/hunspell.so -Wall -L/usr/pkg/lib -L/usr/lib -Wl,-R/usr/lib -Wl,-R/usr/pkg/lib -L/usr/X11R7/lib -Wl,-R/usr/X11R7/lib -L/usr/pkg/qt4/lib -Wl,-R/usr/pkg/qt4/lib -shared -lpython2.7 



####### Building extension _regex #######
gcc -Wall -DNDEBUG -fno-strict-aliasing -pipe -fPIC -O2 -I/usr/pkg/include -I/usr/include -I/usr/X11R7/include -I/usr/X11R7/include/freetype2 -I/usr/pkg/qt4/include -I/usr/X11R7/include/libdrm -pthread -I/usr/pkg/include/python2.7 -O2 -c /data/scratch/misc/calibre1/work/calibre/src/regex/_regex.c -o /data/scratch/misc/calibre1/work/calibre/build/objects/_regex/_regex.o
gcc -Wall -DNDEBUG -fno-strict-aliasing -pipe -fPIC -O2 -I/usr/pkg/include -I/usr/include -I/usr/X11R7/include -I/usr/X11R7/include/freetype2 -I/usr/pkg/qt4/include -I/usr/X11R7/include/libdrm -pthread -I/usr/pkg/include/python2.7 -O2 -c /data/scratch/misc/calibre1/work/calibre/src/regex/_regex_unicode.c -o /data/scratch/misc/calibre1/work/calibre/build/objects/_regex/_regex_unicode.o
/data/scratch/misc/calibre1/work/calibre/src/regex/_regex_unicode.c:11193:5: warning: missing braces around initializer [-Wmissing-braces]
     {     0,     0,     0},
     ^
/data/scratch/misc/calibre1/work/calibre/src/regex/_regex_unicode.c:11193:5: warning: (near initialization for 're_all_cases_table[0].diffs') [-Wmissing-braces]
/data/scratch/misc/calibre1/work/calibre/src/regex/_regex_unicode.c:11741:5: warning: missing braces around initializer [-Wmissing-braces]
     {     0,    0,   0},
     ^
/data/scratch/misc/calibre1/work/calibre/src/regex/_regex_unicode.c:11741:5: warning: (near initialization for 're_full_case_folding_table[0].codepoints') [-Wmissing-braces]
Linking _regex


 gcc /data/scratch/misc/calibre1/work/calibre/build/objects/_regex/_regex.o /data/scratch/misc/calibre1/work/calibre/build/objects/_regex/_regex_unicode.o -o /data/scratch/misc/calibre1/work/calibre/src/calibre/plugins/_regex.so -Wall -L/usr/pkg/lib -L/usr/lib -Wl,-R/usr/lib -Wl,-R/usr/pkg/lib -L/usr/X11R7/lib -Wl,-R/usr/X11R7/lib -L/usr/pkg/qt4/lib -Wl,-R/usr/pkg/qt4/lib -shared -lpython2.7 



####### Building extension speedup #######
gcc -Wall -DNDEBUG -fno-strict-aliasing -pipe -fPIC -O2 -I/usr/pkg/include -I/usr/include -I/usr/X11R7/include -I/usr/X11R7/include/freetype2 -I/usr/pkg/qt4/include -I/usr/X11R7/include/libdrm -pthread -I/usr/pkg/include/python2.7 -O3 -c /data/scratch/misc/calibre1/work/calibre/src/calibre/utils/speedup.c -o /data/scratch/misc/calibre1/work/calibre/build/objects/speedup/speedup.o
Linking speedup


 gcc /data/scratch/misc/calibre1/work/calibre/build/objects/speedup/speedup.o -o /data/scratch/misc/calibre1/work/calibre/src/calibre/plugins/speedup.so -Wall -L/usr/pkg/lib -L/usr/lib -Wl,-R/usr/lib -Wl,-R/usr/pkg/lib -L/usr/X11R7/lib -Wl,-R/usr/X11R7/lib -L/usr/pkg/qt4/lib -Wl,-R/usr/pkg/qt4/lib -shared -lpython2.7 



####### Building extension html #######
gcc -Wall -DNDEBUG -fno-strict-aliasing -pipe -fPIC -O2 -I/usr/pkg/include -I/usr/include -I/usr/X11R7/include -I/usr/X11R7/include/freetype2 -I/usr/pkg/qt4/include -I/usr/X11R7/include/libdrm -pthread -I/usr/pkg/include/python2.7 -O3 -c /data/scratch/misc/calibre1/work/calibre/src/calibre/gui2/tweak_book/editor/syntax/html.c -o /data/scratch/misc/calibre1/work/calibre/build/objects/html/html.o
Linking html


 gcc /data/scratch/misc/calibre1/work/calibre/build/objects/html/html.o -o /data/scratch/misc/calibre1/work/calibre/src/calibre/plugins/html.so -Wall -L/usr/pkg/lib -L/usr/lib -Wl,-R/usr/lib -Wl,-R/usr/pkg/lib -L/usr/X11R7/lib -Wl,-R/usr/X11R7/lib -L/usr/pkg/qt4/lib -Wl,-R/usr/pkg/qt4/lib -shared -lpython2.7 



####### Building extension tokenizer #######
gcc -Wall -DNDEBUG -fno-strict-aliasing -pipe -fPIC -O2 -I/usr/pkg/include -I/usr/include -I/usr/X11R7/include -I/usr/X11R7/include/freetype2 -I/usr/pkg/qt4/include -I/usr/X11R7/include/libdrm -pthread -I/usr/pkg/include/python2.7 -O3 -c /data/scratch/misc/calibre1/work/calibre/src/tinycss/tokenizer.c -o /data/scratch/misc/calibre1/work/calibre/build/objects/tokenizer/tokenizer.o
Linking tokenizer


 gcc /data/scratch/misc/calibre1/work/calibre/build/objects/tokenizer/tokenizer.o -o /data/scratch/misc/calibre1/work/calibre/src/calibre/plugins/tokenizer.so -Wall -L/usr/pkg/lib -L/usr/lib -Wl,-R/usr/lib -Wl,-R/usr/pkg/lib -L/usr/X11R7/lib -Wl,-R/usr/X11R7/lib -L/usr/pkg/qt4/lib -Wl,-R/usr/pkg/qt4/lib -shared -lpython2.7 



####### Building extension _patiencediff_c #######
gcc -Wall -DNDEBUG -fno-strict-aliasing -pipe -fPIC -O2 -I/usr/pkg/include -I/usr/include -I/usr/X11R7/include -I/usr/X11R7/include/freetype2 -I/usr/pkg/qt4/include -I/usr/X11R7/include/libdrm -pthread -I/usr/pkg/include/python2.7 -O3 -c /data/scratch/misc/calibre1/work/calibre/src/calibre/gui2/tweak_book/diff/_patiencediff_c.c -o /data/scratch/misc/calibre1/work/calibre/build/objects/_patiencediff_c/_patiencediff_c.o
Linking _patiencediff_c


 gcc /data/scratch/misc/calibre1/work/calibre/build/objects/_patiencediff_c/_patiencediff_c.o -o /data/scratch/misc/calibre1/work/calibre/src/calibre/plugins/_patiencediff_c.so -Wall -L/usr/pkg/lib -L/usr/lib -Wl,-R/usr/lib -Wl,-R/usr/pkg/lib -L/usr/X11R7/lib -Wl,-R/usr/X11R7/lib -L/usr/pkg/qt4/lib -Wl,-R/usr/pkg/qt4/lib -shared -lpython2.7 



####### Building extension icu #######
gcc -Wall -DNDEBUG -fno-strict-aliasing -pipe -fPIC -O2 -I/usr/pkg/include -I/usr/include -I/usr/X11R7/include -I/usr/X11R7/include/freetype2 -I/usr/pkg/qt4/include -I/usr/X11R7/include/libdrm -pthread -I/usr/pkg/include/python2.7 -O3 -O3 -c /data/scratch/misc/calibre1/work/calibre/src/calibre/utils/icu.c -o /data/scratch/misc/calibre1/work/calibre/build/objects/icu/icu.o
Linking icu


 gcc /data/scratch/misc/calibre1/work/calibre/build/objects/icu/icu.o -o /data/scratch/misc/calibre1/work/calibre/src/calibre/plugins/icu.so -Wall -L/usr/pkg/lib -L/usr/lib -Wl,-R/usr/lib -Wl,-R/usr/pkg/lib -L/usr/X11R7/lib -Wl,-R/usr/X11R7/lib -L/usr/pkg/qt4/lib -Wl,-R/usr/pkg/qt4/lib -shared -lpython2.7 -licudata -licui18n -licuuc -licuio 



####### Building extension sqlite_custom #######
gcc -Wall -DNDEBUG -fno-strict-aliasing -pipe -fPIC -O2 -I/usr/pkg/include -I/usr/include -I/usr/X11R7/include -I/usr/X11R7/include/freetype2 -I/usr/pkg/qt4/include -I/usr/X11R7/include/libdrm -pthread -I/usr/pkg/include/python2.7 -O3 -c /data/scratch/misc/calibre1/work/calibre/src/calibre/library/sqlite_custom.c -o /data/scratch/misc/calibre1/work/calibre/build/objects/sqlite_custom/sqlite_custom.o
Linking sqlite_custom


 gcc /data/scratch/misc/calibre1/work/calibre/build/objects/sqlite_custom/sqlite_custom.o -o /data/scratch/misc/calibre1/work/calibre/src/calibre/plugins/sqlite_custom.so -Wall -L/usr/pkg/lib -L/usr/lib -Wl,-R/usr/lib -Wl,-R/usr/pkg/lib -L/usr/X11R7/lib -Wl,-R/usr/X11R7/lib -L/usr/pkg/qt4/lib -Wl,-R/usr/pkg/qt4/lib -shared -lpython2.7 



####### Building extension chmlib #######
gcc -Wall -DNDEBUG -fno-strict-aliasing -pipe -fPIC -O2 -I/usr/pkg/include -I/usr/include -I/usr/X11R7/include -I/usr/X11R7/include/freetype2 -I/usr/pkg/qt4/include -I/usr/X11R7/include/libdrm -pthread -I/usr/pkg/include/python2.7 -O3 -DSWIG_COBJECT_TYPES -c /data/scratch/misc/calibre1/work/calibre/src/calibre/utils/chm/swig_chm.c -o /data/scratch/misc/calibre1/work/calibre/build/objects/chmlib/swig_chm.o
Linking chmlib


 gcc /data/scratch/misc/calibre1/work/calibre/build/objects/chmlib/swig_chm.o -o /data/scratch/misc/calibre1/work/calibre/src/calibre/plugins/chmlib.so -Wall -L/usr/pkg/lib -L/usr/lib -Wl,-R/usr/lib -Wl,-R/usr/pkg/lib -L/usr/X11R7/lib -Wl,-R/usr/X11R7/lib -L/usr/pkg/qt4/lib -Wl,-R/usr/pkg/qt4/lib -shared -lpython2.7 -lchm 



####### Building extension chm_extra #######
gcc -Wall -DNDEBUG -fno-strict-aliasing -pipe -fPIC -O2 -I/usr/pkg/include -I/usr/include -I/usr/X11R7/include -I/usr/X11R7/include/freetype2 -I/usr/pkg/qt4/include -I/usr/X11R7/include/libdrm -pthread -I/usr/pkg/include/python2.7 -O3 -D__PYTHON__ -c /data/scratch/misc/calibre1/work/calibre/src/calibre/utils/chm/extra.c -o /data/scratch/misc/calibre1/work/calibre/build/objects/chm_extra/extra.o
Linking chm_extra


 gcc /data/scratch/misc/calibre1/work/calibre/build/objects/chm_extra/extra.o -o /data/scratch/misc/calibre1/work/calibre/src/calibre/plugins/chm_extra.so -Wall -L/usr/pkg/lib -L/usr/lib -Wl,-R/usr/lib -Wl,-R/usr/pkg/lib -L/usr/X11R7/lib -Wl,-R/usr/X11R7/lib -L/usr/pkg/qt4/lib -Wl,-R/usr/pkg/qt4/lib -shared -lpython2.7 -lchm 



####### Building extension magick #######
gcc -Wall -DNDEBUG -fno-strict-aliasing -pipe -fPIC -O2 -I/usr/pkg/include -I/usr/include -I/usr/X11R7/include -I/usr/X11R7/include/freetype2 -I/usr/pkg/qt4/include -I/usr/X11R7/include/libdrm -pthread -I/usr/pkg/include/python2.7 -O3 -DMAGICKCORE_QUANTUM_DEPTH=16 -DMAGICKCORE_HDRI_ENABLE=0 -I/usr/pkg/include/ImageMagick-6 -c /data/scratch/misc/calibre1/work/calibre/src/calibre/utils/magick/magick.c -o /data/scratch/misc/calibre1/work/calibre/build/objects/magick/magick.o
Linking magick


 gcc /data/scratch/misc/calibre1/work/calibre/build/objects/magick/magick.o -o /data/scratch/misc/calibre1/work/calibre/src/calibre/plugins/magick.so -Wall -L/usr/pkg/lib -L/usr/lib -Wl,-R/usr/lib -Wl,-R/usr/pkg/lib -L/usr/X11R7/lib -Wl,-R/usr/X11R7/lib -L/usr/pkg/qt4/lib -Wl,-R/usr/pkg/qt4/lib -shared -lpython2.7 -L/usr/lib -lMagickWand-6.Q16 -lMagickCore-6.Q16 



####### Building extension lzx #######
gcc -Wall -DNDEBUG -fno-strict-aliasing -pipe -fPIC -O2 -I/usr/pkg/include -I/usr/include -I/usr/X11R7/include -I/usr/X11R7/include/freetype2 -I/usr/pkg/qt4/include -I/usr/X11R7/include/libdrm -pthread -I/usr/pkg/include/python2.7 -O3 -I/data/scratch/misc/calibre1/work/calibre/src/calibre/utils/lzx -c /data/scratch/misc/calibre1/work/calibre/src/calibre/utils/lzx/lzxmodule.c -o /data/scratch/misc/calibre1/work/calibre/build/objects/lzx/lzxmodule.o
gcc -Wall -DNDEBUG -fno-strict-aliasing -pipe -fPIC -O2 -I/usr/pkg/include -I/usr/include -I/usr/X11R7/include -I/usr/X11R7/include/freetype2 -I/usr/pkg/qt4/include -I/usr/X11R7/include/libdrm -pthread -I/usr/pkg/include/python2.7 -O3 -I/data/scratch/misc/calibre1/work/calibre/src/calibre/utils/lzx -c /data/scratch/misc/calibre1/work/calibre/src/calibre/utils/lzx/lzxd.c -o /data/scratch/misc/calibre1/work/calibre/build/objects/lzx/lzxd.o
gcc -Wall -DNDEBUG -fno-strict-aliasing -pipe -fPIC -O2 -I/usr/pkg/include -I/usr/include -I/usr/X11R7/include -I/usr/X11R7/include/freetype2 -I/usr/pkg/qt4/include -I/usr/X11R7/include/libdrm -pthread -I/usr/pkg/include/python2.7 -O3 -I/data/scratch/misc/calibre1/work/calibre/src/calibre/utils/lzx -c /data/scratch/misc/calibre1/work/calibre/src/calibre/utils/lzx/lzc.c -o /data/scratch/misc/calibre1/work/calibre/build/objects/lzx/lzc.o
/data/scratch/misc/calibre1/work/calibre/src/calibre/utils/lzx/lzc.c: In function 'lz_compress':
/data/scratch/misc/calibre1/work/calibre/src/calibre/utils/lzx/lzc.c:289:19: warning: variable 'prevtab' set but not used [-Wunused-but-set-variable]
   unsigned char **prevtab, **prevp;
                   ^
/data/scratch/misc/calibre1/work/calibre/src/calibre/utils/lzx/lzc.c:288:8: warning: variable 'lentab' set but not used [-Wunused-but-set-variable]
   int *lentab, *lenp;
        ^
gcc -Wall -DNDEBUG -fno-strict-aliasing -pipe -fPIC -O2 -I/usr/pkg/include -I/usr/include -I/usr/X11R7/include -I/usr/X11R7/include/freetype2 -I/usr/pkg/qt4/include -I/usr/X11R7/include/libdrm -pthread -I/usr/pkg/include/python2.7 -O3 -I/data/scratch/misc/calibre1/work/calibre/src/calibre/utils/lzx -c /data/scratch/misc/calibre1/work/calibre/src/calibre/utils/lzx/lzxc.c -o /data/scratch/misc/calibre1/work/calibre/build/objects/lzx/lzxc.o
gcc -Wall -DNDEBUG -fno-strict-aliasing -pipe -fPIC -O2 -I/usr/pkg/include -I/usr/include -I/usr/X11R7/include -I/usr/X11R7/include/freetype2 -I/usr/pkg/qt4/include -I/usr/X11R7/include/libdrm -pthread -I/usr/pkg/include/python2.7 -O3 -I/data/scratch/misc/calibre1/work/calibre/src/calibre/utils/lzx -c /data/scratch/misc/calibre1/work/calibre/src/calibre/utils/lzx/compressor.c -o /data/scratch/misc/calibre1/work/calibre/build/objects/lzx/compressor.o
Linking lzx


 gcc /data/scratch/misc/calibre1/work/calibre/build/objects/lzx/lzxmodule.o /data/scratch/misc/calibre1/work/calibre/build/objects/lzx/lzxd.o /data/scratch/misc/calibre1/work/calibre/build/objects/lzx/lzc.o /data/scratch/misc/calibre1/work/calibre/build/objects/lzx/lzxc.o /data/scratch/misc/calibre1/work/calibre/build/objects/lzx/compressor.o -o /data/scratch/misc/calibre1/work/calibre/src/calibre/plugins/lzx.so -Wall -L/usr/pkg/lib -L/usr/lib -Wl,-R/usr/lib -Wl,-R/usr/pkg/lib -L/usr/X11R7/lib -Wl,-R/usr/X11R7/lib -L/usr/pkg/qt4/lib -Wl,-R/usr/pkg/qt4/lib -shared -lpython2.7 



####### Building extension freetype #######
c++ -Wall -DNDEBUG -fno-strict-aliasing -pipe -fPIC -O2 -I/usr/pkg/include -I/usr/include -I/usr/X11R7/include -I/usr/X11R7/include/freetype2 -I/usr/pkg/qt4/include -I/usr/X11R7/include/libdrm -pthread -I/usr/pkg/include/python2.7 -O3 -I/usr/X11R7/include/freetype2 -c /data/scratch/misc/calibre1/work/calibre/src/calibre/utils/fonts/freetype.cpp -o /data/scratch/misc/calibre1/work/calibre/build/objects/freetype/freetype.o
Linking freetype


 c++ /data/scratch/misc/calibre1/work/calibre/build/objects/freetype/freetype.o -o /data/scratch/misc/calibre1/work/calibre/src/calibre/plugins/freetype.so -Wall -L/usr/pkg/lib -L/usr/lib -Wl,-R/usr/lib -Wl,-R/usr/pkg/lib -L/usr/X11R7/lib -Wl,-R/usr/X11R7/lib -L/usr/pkg/qt4/lib -Wl,-R/usr/pkg/qt4/lib -shared -lpython2.7 -L/usr/lib -lfreetype -lz -lbz2 



####### Building extension woff #######
gcc -Wall -DNDEBUG -fno-strict-aliasing -pipe -fPIC -O2 -I/usr/pkg/include -I/usr/include -I/usr/X11R7/include -I/usr/X11R7/include/freetype2 -I/usr/pkg/qt4/include -I/usr/X11R7/include/libdrm -pthread -I/usr/pkg/include/python2.7 -O3 -c /data/scratch/misc/calibre1/work/calibre/src/calibre/utils/fonts/woff/woff.c -o /data/scratch/misc/calibre1/work/calibre/build/objects/woff/woff.o
/data/scratch/misc/calibre1/work/calibre/src/calibre/utils/fonts/woff/woff.c: In function 'woffEncode':
/data/scratch/misc/calibre1/work/calibre/src/calibre/utils/fonts/woff/woff.c:135:12: warning: unused variable 'tableBase' [-Wunused-variable]
   uint32_t tableBase;
            ^
/data/scratch/misc/calibre1/work/calibre/src/calibre/utils/fonts/woff/woff.c: In function 'rebuildWoff':
/data/scratch/misc/calibre1/work/calibre/src/calibre/utils/fonts/woff/woff.c:406:13: warning: unused variable 'tableData' [-Wunused-variable]
   uint8_t * tableData = NULL;
             ^
gcc -Wall -DNDEBUG -fno-strict-aliasing -pipe -fPIC -O2 -I/usr/pkg/include -I/usr/include -I/usr/X11R7/include -I/usr/X11R7/include/freetype2 -I/usr/pkg/qt4/include -I/usr/X11R7/include/libdrm -pthread -I/usr/pkg/include/python2.7 -O3 -c /data/scratch/misc/calibre1/work/calibre/src/calibre/utils/fonts/woff/main.c -o /data/scratch/misc/calibre1/work/calibre/build/objects/woff/main.o
Linking woff


 gcc /data/scratch/misc/calibre1/work/calibre/build/objects/woff/woff.o /data/scratch/misc/calibre1/work/calibre/build/objects/woff/main.o -o /data/scratch/misc/calibre1/work/calibre/src/calibre/plugins/woff.so -Wall -L/usr/pkg/lib -L/usr/lib -Wl,-R/usr/lib -Wl,-R/usr/pkg/lib -L/usr/X11R7/lib -Wl,-R/usr/X11R7/lib -L/usr/pkg/qt4/lib -Wl,-R/usr/pkg/qt4/lib -shared -lpython2.7 -lz 



####### Building extension msdes #######
gcc -Wall -DNDEBUG -fno-strict-aliasing -pipe -fPIC -O2 -I/usr/pkg/include -I/usr/include -I/usr/X11R7/include -I/usr/X11R7/include/freetype2 -I/usr/pkg/qt4/include -I/usr/X11R7/include/libdrm -pthread -I/usr/pkg/include/python2.7 -O3 -I/data/scratch/misc/calibre1/work/calibre/src/calibre/utils/msdes -c /data/scratch/misc/calibre1/work/calibre/src/calibre/utils/msdes/msdesmodule.c -o /data/scratch/misc/calibre1/work/calibre/build/objects/msdes/msdesmodule.o
gcc -Wall -DNDEBUG -fno-strict-aliasing -pipe -fPIC -O2 -I/usr/pkg/include -I/usr/include -I/usr/X11R7/include -I/usr/X11R7/include/freetype2 -I/usr/pkg/qt4/include -I/usr/X11R7/include/libdrm -pthread -I/usr/pkg/include/python2.7 -O3 -I/data/scratch/misc/calibre1/work/calibre/src/calibre/utils/msdes -c /data/scratch/misc/calibre1/work/calibre/src/calibre/utils/msdes/des.c -o /data/scratch/misc/calibre1/work/calibre/build/objects/msdes/des.o
Linking msdes


 gcc /data/scratch/misc/calibre1/work/calibre/build/objects/msdes/msdesmodule.o /data/scratch/misc/calibre1/work/calibre/build/objects/msdes/des.o -o /data/scratch/misc/calibre1/work/calibre/src/calibre/plugins/msdes.so -Wall -L/usr/pkg/lib -L/usr/lib -Wl,-R/usr/lib -Wl,-R/usr/pkg/lib -L/usr/X11R7/lib -Wl,-R/usr/X11R7/lib -L/usr/pkg/qt4/lib -Wl,-R/usr/pkg/qt4/lib -shared -lpython2.7 



####### Building extension cPalmdoc #######
gcc -Wall -DNDEBUG -fno-strict-aliasing -pipe -fPIC -O2 -I/usr/pkg/include -I/usr/include -I/usr/X11R7/include -I/usr/X11R7/include/freetype2 -I/usr/pkg/qt4/include -I/usr/X11R7/include/libdrm -pthread -I/usr/pkg/include/python2.7 -O3 -c /data/scratch/misc/calibre1/work/calibre/src/calibre/ebooks/compression/palmdoc.c -o /data/scratch/misc/calibre1/work/calibre/build/objects/cPalmdoc/palmdoc.o
Linking cPalmdoc


 gcc /data/scratch/misc/calibre1/work/calibre/build/objects/cPalmdoc/palmdoc.o -o /data/scratch/misc/calibre1/work/calibre/src/calibre/plugins/cPalmdoc.so -Wall -L/usr/pkg/lib -L/usr/lib -Wl,-R/usr/lib -Wl,-R/usr/pkg/lib -L/usr/X11R7/lib -Wl,-R/usr/X11R7/lib -L/usr/pkg/qt4/lib -Wl,-R/usr/pkg/qt4/lib -shared -lpython2.7 



####### Building extension bzzdec #######
gcc -Wall -DNDEBUG -fno-strict-aliasing -pipe -fPIC -O2 -I/usr/pkg/include -I/usr/include -I/usr/X11R7/include -I/usr/X11R7/include/freetype2 -I/usr/pkg/qt4/include -I/usr/X11R7/include/libdrm -pthread -I/usr/pkg/include/python2.7 -O3 -c /data/scratch/misc/calibre1/work/calibre/src/calibre/ebooks/djvu/bzzdecoder.c -o /data/scratch/misc/calibre1/work/calibre/build/objects/bzzdec/bzzdecoder.o
Linking bzzdec


 gcc /data/scratch/misc/calibre1/work/calibre/build/objects/bzzdec/bzzdecoder.o -o /data/scratch/misc/calibre1/work/calibre/src/calibre/plugins/bzzdec.so -Wall -L/usr/pkg/lib -L/usr/lib -Wl,-R/usr/lib -Wl,-R/usr/pkg/lib -L/usr/X11R7/lib -Wl,-R/usr/X11R7/lib -L/usr/pkg/qt4/lib -Wl,-R/usr/pkg/qt4/lib -shared -lpython2.7 



####### Building extension matcher #######
gcc -Wall -DNDEBUG -fno-strict-aliasing -pipe -fPIC -O2 -I/usr/pkg/include -I/usr/include -I/usr/X11R7/include -I/usr/X11R7/include/freetype2 -I/usr/pkg/qt4/include -I/usr/X11R7/include/libdrm -pthread -I/usr/pkg/include/python2.7 -O3 -O3 -c /data/scratch/misc/calibre1/work/calibre/src/calibre/utils/matcher.c -o /data/scratch/misc/calibre1/work/calibre/build/objects/matcher/matcher.o
Linking matcher


 gcc /data/scratch/misc/calibre1/work/calibre/build/objects/matcher/matcher.o -o /data/scratch/misc/calibre1/work/calibre/src/calibre/plugins/matcher.so -Wall -L/usr/pkg/lib -L/usr/lib -Wl,-R/usr/lib -Wl,-R/usr/pkg/lib -L/usr/X11R7/lib -Wl,-R/usr/X11R7/lib -L/usr/pkg/qt4/lib -Wl,-R/usr/pkg/qt4/lib -shared -lpython2.7 -licudata -licui18n -licuuc -licuio 



####### Building extension podofo #######
c++ -Wall -DNDEBUG -fno-strict-aliasing -pipe -fPIC -O2 -I/usr/pkg/include -I/usr/include -I/usr/X11R7/include -I/usr/X11R7/include/freetype2 -I/usr/pkg/qt4/include -I/usr/X11R7/include/libdrm -pthread -I/usr/pkg/include/python2.7 -O3 -I/usr/pkg/include -I/usr/pkg/include/podofo -c /data/scratch/misc/calibre1/work/calibre/src/calibre/utils/podofo/utils.cpp -o /data/scratch/misc/calibre1/work/calibre/build/objects/podofo/utils.o
c++ -Wall -DNDEBUG -fno-strict-aliasing -pipe -fPIC -O2 -I/usr/pkg/include -I/usr/include -I/usr/X11R7/include -I/usr/X11R7/include/freetype2 -I/usr/pkg/qt4/include -I/usr/X11R7/include/libdrm -pthread -I/usr/pkg/include/python2.7 -O3 -I/usr/pkg/include -I/usr/pkg/include/podofo -c /data/scratch/misc/calibre1/work/calibre/src/calibre/utils/podofo/output.cpp -o /data/scratch/misc/calibre1/work/calibre/build/objects/podofo/output.o
c++ -Wall -DNDEBUG -fno-strict-aliasing -pipe -fPIC -O2 -I/usr/pkg/include -I/usr/include -I/usr/X11R7/include -I/usr/X11R7/include/freetype2 -I/usr/pkg/qt4/include -I/usr/X11R7/include/libdrm -pthread -I/usr/pkg/include/python2.7 -O3 -I/usr/pkg/include -I/usr/pkg/include/podofo -c /data/scratch/misc/calibre1/work/calibre/src/calibre/utils/podofo/podofo.cpp -o /data/scratch/misc/calibre1/work/calibre/build/objects/podofo/podofo.o
c++ -Wall -DNDEBUG -fno-strict-aliasing -pipe -fPIC -O2 -I/usr/pkg/include -I/usr/include -I/usr/X11R7/include -I/usr/X11R7/include/freetype2 -I/usr/pkg/qt4/include -I/usr/X11R7/include/libdrm -pthread -I/usr/pkg/include/python2.7 -O3 -I/usr/pkg/include -I/usr/pkg/include/podofo -c /data/scratch/misc/calibre1/work/calibre/src/calibre/utils/podofo/doc.cpp -o /data/scratch/misc/calibre1/work/calibre/build/objects/podofo/doc.o
c++ -Wall -DNDEBUG -fno-strict-aliasing -pipe -fPIC -O2 -I/usr/pkg/include -I/usr/include -I/usr/X11R7/include -I/usr/X11R7/include/freetype2 -I/usr/pkg/qt4/include -I/usr/X11R7/include/libdrm -pthread -I/usr/pkg/include/python2.7 -O3 -I/usr/pkg/include -I/usr/pkg/include/podofo -c /data/scratch/misc/calibre1/work/calibre/src/calibre/utils/podofo/outline.cpp -o /data/scratch/misc/calibre1/work/calibre/build/objects/podofo/outline.o
Linking podofo


 c++ /data/scratch/misc/calibre1/work/calibre/build/objects/podofo/utils.o /data/scratch/misc/calibre1/work/calibre/build/objects/podofo/output.o /data/scratch/misc/calibre1/work/calibre/build/objects/podofo/podofo.o /data/scratch/misc/calibre1/work/calibre/build/objects/podofo/doc.o /data/scratch/misc/calibre1/work/calibre/build/objects/podofo/outline.o -o /data/scratch/misc/calibre1/work/calibre/src/calibre/plugins/podofo.so -Wall -L/usr/pkg/lib -L/usr/lib -Wl,-R/usr/lib -Wl,-R/usr/pkg/lib -L/usr/X11R7/lib -Wl,-R/usr/X11R7/lib -L/usr/pkg/qt4/lib -Wl,-R/usr/pkg/qt4/lib -shared -lpython2.7 -L/usr/pkg/lib -lpodofo 



####### Building extension pictureflow #######
--- moc_pictureflow.cpp ---
--- pictureflow.lo ---
--- moc_pictureflow.cpp ---
/usr/pkg/qt4/bin/moc -DQT_NO_DEBUG -DQT_GUI_LIB -DQT_CORE_LIB -I/usr/pkg/qt4/mkspecs/netbsd-g++ -I. -I/usr/pkg/qt4/include/QtCore -I/usr/pkg/qt4/include/QtGui -I/usr/pkg/qt4/include -I../../../../src/calibre/gui2/pictureflow -I. -I/usr/pkg/include ../../../../src/calibre/gui2/pictureflow/pictureflow.h -o moc_pictureflow.cpp
--- pictureflow.lo ---
libtool --silent --mode=compile c++ -c -O2 -I/usr/pkg/include -I/usr/include -I/usr/pkg/qt4/include -I/usr/X11R7/include -I/usr/X11R7/include/freetype2 -I/usr/X11R7/include/libdrm -DQ_TRAILING_DIR_SEP -D_REENTRANT -fPIC -DQT_NO_DEBUG -DQT_GUI_LIB -DQT_CORE_LIB -I/usr/pkg/qt4/mkspecs/netbsd-g++ -I. -I/usr/pkg/qt4/include/QtCore -I/usr/pkg/qt4/include/QtGui -I/usr/pkg/qt4/include -I../../../../src/calibre/gui2/pictureflow -I. -I/usr/pkg/include -o pictureflow.lo ../../../../src/calibre/gui2/pictureflow/pictureflow.cpp
--- moc_pictureflow.lo ---
libtool --silent --mode=compile c++ -c -O2 -I/usr/pkg/include -I/usr/include -I/usr/pkg/qt4/include -I/usr/X11R7/include -I/usr/X11R7/include/freetype2 -I/usr/X11R7/include/libdrm -DQ_TRAILING_DIR_SEP -D_REENTRANT -fPIC -DQT_NO_DEBUG -DQT_GUI_LIB -DQT_CORE_LIB -I/usr/pkg/qt4/mkspecs/netbsd-g++ -I. -I/usr/pkg/qt4/include/QtCore -I/usr/pkg/qt4/include/QtGui -I/usr/pkg/qt4/include -I../../../../src/calibre/gui2/pictureflow -I. -I/usr/pkg/include -o moc_pictureflow.lo moc_pictureflow.cpp
--- libpictureflow.la ---
libtool --silent --mode=link c++ -version-info 1:0:0 -rpath / -L/usr/pkg/lib -L/usr/lib -Wl,-R/usr/lib -Wl,-R/usr/pkg/lib -L/usr/X11R7/lib -Wl,-R/usr/X11R7/lib -L/usr/pkg/qt4/lib -Wl,-R/usr/pkg/qt4/lib -L/usr/pkg/qt4/lib -pthread -Wl,-R/usr/pkg/qt4/lib -shared -o libpictureflow.la pictureflow.lo  moc_pictureflow.lo    -L/usr/pkg/lib -L/usr/pkg/qt4/lib -lQtGui -lQtCore
/usr/pkg/bin/sip2.7 -w -c /data/scratch/misc/calibre1/work/calibre/build/pyqt/pictureflow -b /data/scratch/misc/calibre1/work/calibre/build/pyqt/pictureflow/pictureflow.sip.sbf -I/usr/pkg/share/sip2.7 -x VendorID -t WS_X11 -x PyQt_NoPrintRangeBug -t Qt_4_8_6 -x Py_v3 -g /data/scratch/misc/calibre1/work/calibre/src/calibre/gui2/pictureflow/pictureflow.sip
c++ -c -O2 -I/usr/pkg/include -I/usr/include -I/usr/pkg/qt4/include -I/usr/X11R7/include -I/usr/X11R7/include/freetype2 -I/usr/X11R7/include/libdrm -DQ_TRAILING_DIR_SEP -fPIC -D_REENTRANT -DNDEBUG -DQT_NO_DEBUG -DQT_CORE_LIB -DQT_GUI_LIB -I. -I/data/scratch/misc/calibre1/work/calibre/src/calibre/gui2/pictureflow -I/usr/pkg/include -I/usr/pkg/include/python2.7 -I/usr/pkg/qt4/mkspecs/default -I/usr/pkg/qt4/include/QtCore -I/usr/pkg/qt4/include/QtGui -I/usr/pkg/qt4/include -I/usr/X11R7/include -o sippictureflowcmodule.o sippictureflowcmodule.cpp
c++ -c -O2 -I/usr/pkg/include -I/usr/include -I/usr/pkg/qt4/include -I/usr/X11R7/include -I/usr/X11R7/include/freetype2 -I/usr/X11R7/include/libdrm -DQ_TRAILING_DIR_SEP -fPIC -D_REENTRANT -DNDEBUG -DQT_NO_DEBUG -DQT_CORE_LIB -DQT_GUI_LIB -I. -I/data/scratch/misc/calibre1/work/calibre/src/calibre/gui2/pictureflow -I/usr/pkg/include -I/usr/pkg/include/python2.7 -I/usr/pkg/qt4/mkspecs/default -I/usr/pkg/qt4/include/QtCore -I/usr/pkg/qt4/include/QtGui -I/usr/pkg/qt4/include -I/usr/X11R7/include -o sippictureflowPictureFlow.o sippictureflowPictureFlow.cpp
c++ -c -O2 -I/usr/pkg/include -I/usr/include -I/usr/pkg/qt4/include -I/usr/X11R7/include -I/usr/X11R7/include/freetype2 -I/usr/X11R7/include/libdrm -DQ_TRAILING_DIR_SEP -fPIC -D_REENTRANT -DNDEBUG -DQT_NO_DEBUG -DQT_CORE_LIB -DQT_GUI_LIB -I. -I/data/scratch/misc/calibre1/work/calibre/src/calibre/gui2/pictureflow -I/usr/pkg/include -I/usr/pkg/include/python2.7 -I/usr/pkg/qt4/mkspecs/default -I/usr/pkg/qt4/include/QtCore -I/usr/pkg/qt4/include/QtGui -I/usr/pkg/qt4/include -I/usr/X11R7/include -o sippictureflowFlowImages.o sippictureflowFlowImages.cpp
c++ /data/scratch/misc/calibre1/work/calibre/build/pyqt/pictureflow/qt/moc_pictureflow.o /data/scratch/misc/calibre1/work/calibre/build/pyqt/pictureflow/qt/pictureflow.o -L/usr/pkg/lib -L/usr/lib -Wl,-R/usr/lib -Wl,-R/usr/pkg/lib -L/usr/pkg/qt4/lib -Wl,-R/usr/pkg/qt4/lib -L/usr/X11R7/lib -Wl,-R/usr/X11R7/lib -L/usr/pkg/qt4/lib -shared -pthread -Wl,-R/usr/pkg/qt4/lib -o pictureflow.so sippictureflowcmodule.o sippictureflowPictureFlow.o sippictureflowFlowImages.o -L/usr/pkg/lib -L/usr/pkg/qt4/lib -L/usr/X11R7/lib -lQtCore -lQtGui -lXext -lX11 -lm

####### Building extension progress_indicator #######
--- moc_QProgressIndicator.cpp ---
--- QProgressIndicator.lo ---
--- moc_QProgressIndicator.cpp ---
/usr/pkg/qt4/bin/moc -DQT_NO_DEBUG -DQT_GUI_LIB -DQT_CORE_LIB -I/usr/pkg/qt4/mkspecs/netbsd-g++ -I. -I/usr/pkg/qt4/include/QtCore -I/usr/pkg/qt4/include/QtGui -I/usr/pkg/qt4/include -I../../../../src/calibre/gui2/progress_indicator -I. -I/usr/pkg/include ../../../../src/calibre/gui2/progress_indicator/QProgressIndicator.h -o moc_QProgressIndicator.cpp
--- QProgressIndicator.lo ---
libtool --silent --mode=compile c++ -c -O2 -I/usr/pkg/include -I/usr/include -I/usr/pkg/qt4/include -I/usr/X11R7/include -I/usr/X11R7/include/freetype2 -I/usr/X11R7/include/libdrm -DQ_TRAILING_DIR_SEP -D_REENTRANT -fPIC -DQT_NO_DEBUG -DQT_GUI_LIB -DQT_CORE_LIB -I/usr/pkg/qt4/mkspecs/netbsd-g++ -I. -I/usr/pkg/qt4/include/QtCore -I/usr/pkg/qt4/include/QtGui -I/usr/pkg/qt4/include -I../../../../src/calibre/gui2/progress_indicator -I. -I/usr/pkg/include -o QProgressIndicator.lo ../../../../src/calibre/gui2/progress_indicator/QProgressIndicator.cpp
--- moc_QProgressIndicator.lo ---
libtool --silent --mode=compile c++ -c -O2 -I/usr/pkg/include -I/usr/include -I/usr/pkg/qt4/include -I/usr/X11R7/include -I/usr/X11R7/include/freetype2 -I/usr/X11R7/include/libdrm -DQ_TRAILING_DIR_SEP -D_REENTRANT -fPIC -DQT_NO_DEBUG -DQT_GUI_LIB -DQT_CORE_LIB -I/usr/pkg/qt4/mkspecs/netbsd-g++ -I. -I/usr/pkg/qt4/include/QtCore -I/usr/pkg/qt4/include/QtGui -I/usr/pkg/qt4/include -I../../../../src/calibre/gui2/progress_indicator -I. -I/usr/pkg/include -o moc_QProgressIndicator.lo moc_QProgressIndicator.cpp
--- libprogress_indicator.la ---
libtool --silent --mode=link c++ -version-info 1:0:0 -rpath / -L/usr/pkg/lib -L/usr/lib -Wl,-R/usr/lib -Wl,-R/usr/pkg/lib -L/usr/X11R7/lib -Wl,-R/usr/X11R7/lib -L/usr/pkg/qt4/lib -Wl,-R/usr/pkg/qt4/lib -L/usr/pkg/qt4/lib -pthread -Wl,-R/usr/pkg/qt4/lib -shared -o libprogress_indicator.la QProgressIndicator.lo  moc_QProgressIndicator.lo    -L/usr/pkg/lib -L/usr/pkg/qt4/lib -lQtGui -lQtCore
/usr/pkg/bin/sip2.7 -w -c /data/scratch/misc/calibre1/work/calibre/build/pyqt/progress_indicator -b /data/scratch/misc/calibre1/work/calibre/build/pyqt/progress_indicator/QProgressIndicator.sip.sbf -I/usr/pkg/share/sip2.7 -x VendorID -t WS_X11 -x PyQt_NoPrintRangeBug -t Qt_4_8_6 -x Py_v3 -g /data/scratch/misc/calibre1/work/calibre/src/calibre/gui2/progress_indicator/QProgressIndicator.sip
c++ -c -O2 -I/usr/pkg/include -I/usr/include -I/usr/pkg/qt4/include -I/usr/X11R7/include -I/usr/X11R7/include/freetype2 -I/usr/X11R7/include/libdrm -DQ_TRAILING_DIR_SEP -fPIC -D_REENTRANT -DNDEBUG -DQT_NO_DEBUG -DQT_CORE_LIB -DQT_GUI_LIB -I. -I/data/scratch/misc/calibre1/work/calibre/src/calibre/gui2/progress_indicator -I/usr/pkg/include -I/usr/pkg/include/python2.7 -I/usr/pkg/qt4/mkspecs/default -I/usr/pkg/qt4/include/QtCore -I/usr/pkg/qt4/include/QtGui -I/usr/pkg/qt4/include -I/usr/X11R7/include -o sipprogress_indicatorcmodule.o sipprogress_indicatorcmodule.cpp
c++ -c -O2 -I/usr/pkg/include -I/usr/include -I/usr/pkg/qt4/include -I/usr/X11R7/include -I/usr/X11R7/include/freetype2 -I/usr/X11R7/include/libdrm -DQ_TRAILING_DIR_SEP -fPIC -D_REENTRANT -DNDEBUG -DQT_NO_DEBUG -DQT_CORE_LIB -DQT_GUI_LIB -I. -I/data/scratch/misc/calibre1/work/calibre/src/calibre/gui2/progress_indicator -I/usr/pkg/include -I/usr/pkg/include/python2.7 -I/usr/pkg/qt4/mkspecs/default -I/usr/pkg/qt4/include/QtCore -I/usr/pkg/qt4/include/QtGui -I/usr/pkg/qt4/include -I/usr/X11R7/include -o sipprogress_indicatorQProgressIndicator.o sipprogress_indicatorQProgressIndicator.cpp
c++ /data/scratch/misc/calibre1/work/calibre/build/pyqt/progress_indicator/qt/moc_QProgressIndicator.o /data/scratch/misc/calibre1/work/calibre/build/pyqt/progress_indicator/qt/QProgressIndicator.o -L/usr/pkg/lib -L/usr/lib -Wl,-R/usr/lib -Wl,-R/usr/pkg/lib -L/usr/pkg/qt4/lib -Wl,-R/usr/pkg/qt4/lib -L/usr/X11R7/lib -Wl,-R/usr/X11R7/lib -L/usr/pkg/qt4/lib -shared -pthread -Wl,-R/usr/pkg/qt4/lib -o progress_indicator.so sipprogress_indicatorcmodule.o sipprogress_indicatorQProgressIndicator.o -L/usr/pkg/lib -L/usr/pkg/qt4/lib -L/usr/X11R7/lib -lQtCore -lQtGui -lXext -lX11 -lm

####### Building extension qt_hack #######
--- qt_hack.lo ---
libtool --silent --mode=compile c++ -c -O2 -I/usr/pkg/include -I/usr/include -I/usr/pkg/qt4/include -I/usr/X11R7/include -I/usr/X11R7/include/freetype2 -I/usr/X11R7/include/libdrm -DQ_TRAILING_DIR_SEP -D_REENTRANT -fPIC -DQT_NO_DEBUG -DQT_GUI_LIB -DQT_CORE_LIB -I/usr/pkg/qt4/mkspecs/netbsd-g++ -I. -I/usr/pkg/qt4/include/QtCore -I/usr/pkg/qt4/include/QtGui -I/usr/pkg/qt4/include -I../../../../src/calibre/ebooks/pdf/render -I../../../../src/qt-harfbuzz/src -I. -I/usr/pkg/include -o qt_hack.lo ../../../../src/calibre/ebooks/pdf/render/qt_hack.cpp
--- libqt_hack.la ---
libtool --silent --mode=link c++ -version-info 1:0:0 -rpath / -L/usr/pkg/lib -L/usr/lib -Wl,-R/usr/lib -Wl,-R/usr/pkg/lib -L/usr/X11R7/lib -Wl,-R/usr/X11R7/lib -L/usr/pkg/qt4/lib -Wl,-R/usr/pkg/qt4/lib -L/usr/pkg/qt4/lib -pthread -Wl,-R/usr/pkg/qt4/lib -shared -o libqt_hack.la qt_hack.lo    -L/usr/pkg/lib -L/usr/pkg/qt4/lib -lQtGui -lQtCore
/usr/pkg/bin/sip2.7 -w -c /data/scratch/misc/calibre1/work/calibre/build/pyqt/qt_hack -b /data/scratch/misc/calibre1/work/calibre/build/pyqt/qt_hack/qt_hack.sip.sbf -I/usr/pkg/share/sip2.7 -x VendorID -t WS_X11 -x PyQt_NoPrintRangeBug -t Qt_4_8_6 -x Py_v3 -g /data/scratch/misc/calibre1/work/calibre/src/calibre/ebooks/pdf/render/qt_hack.sip
c++ -c -O2 -I/usr/pkg/include -I/usr/include -I/usr/pkg/qt4/include -I/usr/X11R7/include -I/usr/X11R7/include/freetype2 -I/usr/X11R7/include/libdrm -DQ_TRAILING_DIR_SEP -fPIC -D_REENTRANT -DNDEBUG -DQT_NO_DEBUG -DQT_CORE_LIB -DQT_GUI_LIB -I. -I/data/scratch/misc/calibre1/work/calibre/src/calibre/ebooks/pdf/render -I/data/scratch/misc/calibre1/work/calibre/src/qt-harfbuzz/src -I/usr/pkg/include -I/usr/pkg/include/python2.7 -I/usr/pkg/qt4/mkspecs/default -I/usr/pkg/qt4/include/QtCore -I/usr/pkg/qt4/include/QtGui -I/usr/pkg/qt4/include -I/usr/X11R7/include -o sipqt_hackcmodule.o sipqt_hackcmodule.cpp
c++ -c -O2 -I/usr/pkg/include -I/usr/include -I/usr/pkg/qt4/include -I/usr/X11R7/include -I/usr/X11R7/include/freetype2 -I/usr/X11R7/include/libdrm -DQ_TRAILING_DIR_SEP -fPIC -D_REENTRANT -DNDEBUG -DQT_NO_DEBUG -DQT_CORE_LIB -DQT_GUI_LIB -I. -I/data/scratch/misc/calibre1/work/calibre/src/calibre/ebooks/pdf/render -I/data/scratch/misc/calibre1/work/calibre/src/qt-harfbuzz/src -I/usr/pkg/include -I/usr/pkg/include/python2.7 -I/usr/pkg/qt4/mkspecs/default -I/usr/pkg/qt4/include/QtCore -I/usr/pkg/qt4/include/QtGui -I/usr/pkg/qt4/include -I/usr/X11R7/include -o sipqt_hackGlyphInfo.o sipqt_hackGlyphInfo.cpp
c++ /data/scratch/misc/calibre1/work/calibre/build/pyqt/qt_hack/qt/qt_hack.o -L/usr/pkg/lib -L/usr/lib -Wl,-R/usr/lib -Wl,-R/usr/pkg/lib -L/usr/pkg/qt4/lib -Wl,-R/usr/pkg/qt4/lib -L/usr/X11R7/lib -Wl,-R/usr/X11R7/lib -L/usr/pkg/qt4/lib -shared -pthread -Wl,-R/usr/pkg/qt4/lib -o qt_hack.so sipqt_hackcmodule.o sipqt_hackGlyphInfo.o -L/usr/pkg/lib -L/usr/pkg/qt4/lib -L/usr/X11R7/lib -lQtCore -lQtGui -lXext -lX11 -lm

####### Building extension unrar #######
c++ -Wall -DNDEBUG -fno-strict-aliasing -pipe -fPIC -O2 -I/usr/pkg/include -I/usr/include -I/usr/X11R7/include -I/usr/X11R7/include/freetype2 -I/usr/pkg/qt4/include -I/usr/X11R7/include/libdrm -pthread -I/usr/pkg/include/python2.7 -O2 -DSILENT -DRARDLL -DUNRAR -D_FILE_OFFSET_BITS=64 -D_LARGEFILE_SOURCE -I/data/scratch/misc/calibre1/work/calibre/src/unrar -c /data/scratch/misc/calibre1/work/calibre/src/unrar/list.cpp -o /data/scratch/misc/calibre1/work/calibre/build/objects/unrar/list.o
/data/scratch/misc/calibre1/work/calibre/src/unrar/list.cpp: In function 'void ListArchive(CommandData*)':
/data/scratch/misc/calibre1/work/calibre/src/unrar/list.cpp:109:12: warning: suggest explicit braces to avoid ambiguous 'else' [-Wparentheses]
         if (!Bare)
            ^
/data/scratch/misc/calibre1/work/calibre/src/unrar/list.cpp:142:46: warning: suggest parentheses around '&&' within '||' [-Wparentheses]
             Arc.GetHeaderType()==ENDARC_HEAD &&
                                              ^
/data/scratch/misc/calibre1/work/calibre/src/unrar/list.cpp: In function 'void ListFileHeader(FileHeader&, bool, bool, bool&, bool)':
/data/scratch/misc/calibre1/work/calibre/src/unrar/list.cpp:195:9: warning: variable 'Name' set but not used [-Wunused-but-set-variable]
   char *Name=hd.FileName;
         ^
/data/scratch/misc/calibre1/work/calibre/src/unrar/list.cpp:254:22: warning: unused variable 'RarOS' [-Wunused-variable]
   static const char *RarOS[]={
                      ^
/data/scratch/misc/calibre1/work/calibre/src/unrar/list.cpp: In function 'void ListSymLink(Archive&)':
/data/scratch/misc/calibre1/work/calibre/src/unrar/list.cpp:268:6: warning: suggest explicit braces to avoid ambiguous 'else' [-Wparentheses]
   if (Arc.NewLhd.HostOS==HOST_UNIX && (Arc.NewLhd.FileAttr & 0xF000)==0xA000)
      ^
c++ -Wall -DNDEBUG -fno-strict-aliasing -pipe -fPIC -O2 -I/usr/pkg/include -I/usr/include -I/usr/X11R7/include -I/usr/X11R7/include/freetype2 -I/usr/pkg/qt4/include -I/usr/X11R7/include/libdrm -pthread -I/usr/pkg/include/python2.7 -O2 -DSILENT -DRARDLL -DUNRAR -D_FILE_OFFSET_BITS=64 -D_LARGEFILE_SOURCE -I/data/scratch/misc/calibre1/work/calibre/src/unrar -c /data/scratch/misc/calibre1/work/calibre/src/unrar/getbits.cpp -o /data/scratch/misc/calibre1/work/calibre/build/objects/unrar/getbits.o
c++ -Wall -DNDEBUG -fno-strict-aliasing -pipe -fPIC -O2 -I/usr/pkg/include -I/usr/include -I/usr/X11R7/include -I/usr/X11R7/include/freetype2 -I/usr/pkg/qt4/include -I/usr/X11R7/include/libdrm -pthread -I/usr/pkg/include/python2.7 -O2 -DSILENT -DRARDLL -DUNRAR -D_FILE_OFFSET_BITS=64 -D_LARGEFILE_SOURCE -I/data/scratch/misc/calibre1/work/calibre/src/unrar -c /data/scratch/misc/calibre1/work/calibre/src/calibre/utils/unrar.cpp -o /data/scratch/misc/calibre1/work/calibre/build/objects/unrar/unrar.o
c++ -Wall -DNDEBUG -fno-strict-aliasing -pipe -fPIC -O2 -I/usr/pkg/include -I/usr/include -I/usr/X11R7/include -I/usr/X11R7/include/freetype2 -I/usr/pkg/qt4/include -I/usr/X11R7/include/libdrm -pthread -I/usr/pkg/include/python2.7 -O2 -DSILENT -DRARDLL -DUNRAR -D_FILE_OFFSET_BITS=64 -D_LARGEFILE_SOURCE -I/data/scratch/misc/calibre1/work/calibre/src/unrar -c /data/scratch/misc/calibre1/work/calibre/src/unrar/savepos.cpp -o /data/scratch/misc/calibre1/work/calibre/build/objects/unrar/savepos.o
c++ -Wall -DNDEBUG -fno-strict-aliasing -pipe -fPIC -O2 -I/usr/pkg/include -I/usr/include -I/usr/X11R7/include -I/usr/X11R7/include/freetype2 -I/usr/pkg/qt4/include -I/usr/X11R7/include/libdrm -pthread -I/usr/pkg/include/python2.7 -O2 -DSILENT -DRARDLL -DUNRAR -D_FILE_OFFSET_BITS=64 -D_LARGEFILE_SOURCE -I/data/scratch/misc/calibre1/work/calibre/src/unrar -c /data/scratch/misc/calibre1/work/calibre/src/unrar/cmddata.cpp -o /data/scratch/misc/calibre1/work/calibre/build/objects/unrar/cmddata.o
/data/scratch/misc/calibre1/work/calibre/src/unrar/cmddata.cpp: In member function 'void CommandData::ProcessSwitch(const char*, const wchar*)':
/data/scratch/misc/calibre1/work/calibre/src/unrar/cmddata.cpp:893:18: warning: suggest explicit braces to avoid ambiguous 'else' [-Wparentheses]
               if (!AlreadyBad)
                  ^
/data/scratch/misc/calibre1/work/calibre/src/unrar/cmddata.cpp: In member function 'int CommandData::IsProcessFile(FileHeader&, bool*, int)':
/data/scratch/misc/calibre1/work/calibre/src/unrar/cmddata.cpp:1242:58: warning: suggest parentheses around '&&' within '||' [-Wparentheses]
   if ((NewLhd.FileAttr & ExclFileAttr)!=0 || InclAttrSet && (NewLhd.FileAttr & InclFileAttr)==0)
                                                          ^
/data/scratch/misc/calibre1/work/calibre/src/unrar/cmddata.cpp:1253:65: warning: suggest parentheses around '&&' within '||' [-Wparentheses]
     bool Unicode=(NewLhd.Flags & LHD_UNICODE) || ArgNameW!=NULL && *ArgNameW!=0;
                                                                 ^
/data/scratch/misc/calibre1/work/calibre/src/unrar/cmddata.cpp: In member function 'void CommandData::ProcessCommand()':
/data/scratch/misc/calibre1/work/calibre/src/unrar/cmddata.cpp:1297:38: warning: suggest parentheses around '&&' within '||' [-Wparentheses]
   if (Command[0]!=0 && Command[1]!=0 && strchr(SingleCharCommands,*Command)!=NULL || *ArcName==0)
                                      ^
/data/scratch/misc/calibre1/work/calibre/src/unrar/cmddata.cpp: In member function 'bool CommandData::CheckWinSize()':
/data/scratch/misc/calibre1/work/calibre/src/unrar/cmddata.cpp:1425:55: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
   for (int I=0;I<sizeof(ValidSize)/sizeof(ValidSize[0]);I++)
                                                       ^
/data/scratch/misc/calibre1/work/calibre/src/unrar/cmddata.cpp:1426:29: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
     if (WinSize==ValidSize[I])
                             ^
c++ -Wall -DNDEBUG -fno-strict-aliasing -pipe -fPIC -O2 -I/usr/pkg/include -I/usr/include -I/usr/X11R7/include -I/usr/X11R7/include/freetype2 -I/usr/pkg/qt4/include -I/usr/X11R7/include/libdrm -pthread -I/usr/pkg/include/python2.7 -O2 -DSILENT -DRARDLL -DUNRAR -D_FILE_OFFSET_BITS=64 -D_LARGEFILE_SOURCE -I/data/scratch/misc/calibre1/work/calibre/src/unrar -c /data/scratch/misc/calibre1/work/calibre/src/unrar/rdwrfn.cpp -o /data/scratch/misc/calibre1/work/calibre/build/objects/unrar/rdwrfn.o
/data/scratch/misc/calibre1/work/calibre/src/unrar/rdwrfn.cpp: In member function 'int ComprDataIO::UnpRead(byte*, size_t)':
/data/scratch/misc/calibre1/work/calibre/src/unrar/rdwrfn.cpp:93:8: warning: suggest explicit braces to avoid ambiguous 'else' [-Wparentheses]
     if (Decryption)
        ^
/data/scratch/misc/calibre1/work/calibre/src/unrar/rdwrfn.cpp: In member function 'void ComprDataIO::UnpWrite(byte*, size_t)':
/data/scratch/misc/calibre1/work/calibre/src/unrar/rdwrfn.cpp:176:6: warning: suggest explicit braces to avoid ambiguous 'else' [-Wparentheses]
   if (!SkipUnpCRC)
      ^
c++ -Wall -DNDEBUG -fno-strict-aliasing -pipe -fPIC -O2 -I/usr/pkg/include -I/usr/include -I/usr/X11R7/include -I/usr/X11R7/include/freetype2 -I/usr/pkg/qt4/include -I/usr/X11R7/include/libdrm -pthread -I/usr/pkg/include/python2.7 -O2 -DSILENT -DRARDLL -DUNRAR -D_FILE_OFFSET_BITS=64 -D_LARGEFILE_SOURCE -I/data/scratch/misc/calibre1/work/calibre/src/unrar -c /data/scratch/misc/calibre1/work/calibre/src/unrar/find.cpp -o /data/scratch/misc/calibre1/work/calibre/build/objects/unrar/find.o
c++ -Wall -DNDEBUG -fno-strict-aliasing -pipe -fPIC -O2 -I/usr/pkg/include -I/usr/include -I/usr/X11R7/include -I/usr/X11R7/include/freetype2 -I/usr/pkg/qt4/include -I/usr/X11R7/include/libdrm -pthread -I/usr/pkg/include/python2.7 -O2 -DSILENT -DRARDLL -DUNRAR -D_FILE_OFFSET_BITS=64 -D_LARGEFILE_SOURCE -I/data/scratch/misc/calibre1/work/calibre/src/unrar -c /data/scratch/misc/calibre1/work/calibre/src/unrar/pathfn.cpp -o /data/scratch/misc/calibre1/work/calibre/build/objects/unrar/pathfn.o
/data/scratch/misc/calibre1/work/calibre/src/unrar/pathfn.cpp: In function 'bool EnumConfigPaths(char*, int)':
/data/scratch/misc/calibre1/work/calibre/src/unrar/pathfn.cpp:461:60: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
   if (Number<0 || Number>=sizeof(AltPath)/sizeof(AltPath[0]))
                                                            ^
/data/scratch/misc/calibre1/work/calibre/src/unrar/pathfn.cpp: In function 'void NextVolumeName(char*, wchar*, uint, bool)':
/data/scratch/misc/calibre1/work/calibre/src/unrar/pathfn.cpp:611:23: warning: suggest parentheses around '&&' within '||' [-Wparentheses]
       if (ChPtr[1]==0 && strlen(ArcName)<MaxLength-3 || stricomp(ChPtr+1,"exe")==0 || stricomp(ChPtr+1,"sfx")==0)
                       ^
/data/scratch/misc/calibre1/work/calibre/src/unrar/pathfn.cpp:659:23: warning: suggest parentheses around '&&' within '||' [-Wparentheses]
       if (ChPtr[1]==0 && wcslen(ArcNameW)<MaxLength-3 || wcsicomp(ChPtr+1,L"exe")==0 || wcsicomp(ChPtr+1,L"sfx")==0)
                       ^
/data/scratch/misc/calibre1/work/calibre/src/unrar/pathfn.cpp: In function 'void MakeNameUsable(char*, bool)':
/data/scratch/misc/calibre1/work/calibre/src/unrar/pathfn.cpp:757:64: warning: suggest parentheses around '&&' within '||' [-Wparentheses]
     if (strchr(Extended ? "?*<>|\"":"?*",*s)!=NULL || Extended && (byte)*s<32)
                                                                ^
/data/scratch/misc/calibre1/work/calibre/src/unrar/pathfn.cpp: In function 'void MakeNameUsable(wchar*, bool)':
/data/scratch/misc/calibre1/work/calibre/src/unrar/pathfn.cpp:777:66: warning: suggest parentheses around '&&' within '||' [-Wparentheses]
     if (wcschr(Extended ? L"?*<>|\"":L"?*",*s)!=NULL || Extended && (uint)*s<32)
                                                                  ^
/data/scratch/misc/calibre1/work/calibre/src/unrar/pathfn.cpp: In function 'char* UnixSlashToDos(char*, char*, uint)':
/data/scratch/misc/calibre1/work/calibre/src/unrar/pathfn.cpp:791:6: warning: suggest explicit braces to avoid ambiguous 'else' [-Wparentheses]
   if (DestName!=NULL && DestName!=SrcName)
      ^
/data/scratch/misc/calibre1/work/calibre/src/unrar/pathfn.cpp:801:8: warning: suggest explicit braces to avoid ambiguous 'else' [-Wparentheses]
     if (*s=='/')
        ^
/data/scratch/misc/calibre1/work/calibre/src/unrar/pathfn.cpp: In function 'char* DosSlashToUnix(char*, char*, uint)':
/data/scratch/misc/calibre1/work/calibre/src/unrar/pathfn.cpp:813:6: warning: suggest explicit braces to avoid ambiguous 'else' [-Wparentheses]
   if (DestName!=NULL && DestName!=SrcName)
      ^
/data/scratch/misc/calibre1/work/calibre/src/unrar/pathfn.cpp:823:8: warning: suggest explicit braces to avoid ambiguous 'else' [-Wparentheses]
     if (*s=='\\')
        ^
/data/scratch/misc/calibre1/work/calibre/src/unrar/pathfn.cpp: In function 'wchar* UnixSlashToDos(wchar*, wchar*, uint)':
/data/scratch/misc/calibre1/work/calibre/src/unrar/pathfn.cpp:835:6: warning: suggest explicit braces to avoid ambiguous 'else' [-Wparentheses]
   if (DestName!=NULL && DestName!=SrcName)
      ^
/data/scratch/misc/calibre1/work/calibre/src/unrar/pathfn.cpp:845:8: warning: suggest explicit braces to avoid ambiguous 'else' [-Wparentheses]
     if (*s=='/')
        ^
/data/scratch/misc/calibre1/work/calibre/src/unrar/pathfn.cpp: In function 'wchar* DosSlashToUnix(wchar*, wchar*, uint)':
/data/scratch/misc/calibre1/work/calibre/src/unrar/pathfn.cpp:857:6: warning: suggest explicit braces to avoid ambiguous 'else' [-Wparentheses]
   if (DestName!=NULL && DestName!=SrcName)
      ^
/data/scratch/misc/calibre1/work/calibre/src/unrar/pathfn.cpp:867:8: warning: suggest explicit braces to avoid ambiguous 'else' [-Wparentheses]
     if (*s=='\\')
        ^
/data/scratch/misc/calibre1/work/calibre/src/unrar/pathfn.cpp: In function 'void GenArcName(char*, wchar*, char*, uint, bool&)':
/data/scratch/misc/calibre1/work/calibre/src/unrar/pathfn.cpp:1312:6: warning: suggest explicit braces to avoid ambiguous 'else' [-Wparentheses]
   if (StartWeekDay<0)
      ^
c++ -Wall -DNDEBUG -fno-strict-aliasing -pipe -fPIC -O2 -I/usr/pkg/include -I/usr/include -I/usr/X11R7/include -I/usr/X11R7/include/freetype2 -I/usr/pkg/qt4/include -I/usr/X11R7/include/libdrm -pthread -I/usr/pkg/include/python2.7 -O2 -DSILENT -DRARDLL -DUNRAR -D_FILE_OFFSET_BITS=64 -D_LARGEFILE_SOURCE -I/data/scratch/misc/calibre1/work/calibre/src/unrar -c /data/scratch/misc/calibre1/work/calibre/src/unrar/unicode.cpp -o /data/scratch/misc/calibre1/work/calibre/build/objects/unrar/unicode.o
/data/scratch/misc/calibre1/work/calibre/src/unrar/unicode.cpp: In function 'bool WideToChar(const wchar*, char*, size_t)':
/data/scratch/misc/calibre1/work/calibre/src/unrar/unicode.cpp:26:29: warning: suggest parentheses around '&&' within '||' [-Wparentheses]
   if ((!RetCode || *Dest==0 && *Src!=0) && DestSize>NM && wcslen(Src)<NM)
                             ^
/data/scratch/misc/calibre1/work/calibre/src/unrar/unicode.cpp: In function 'bool CharToWide(const char*, wchar*, size_t)':
/data/scratch/misc/calibre1/work/calibre/src/unrar/unicode.cpp:86:29: warning: suggest parentheses around '&&' within '||' [-Wparentheses]
   if ((!RetCode || *Dest==0 && *Src!=0) && DestSize>NM && strlen(Src)<NM)
                             ^
c++ -Wall -DNDEBUG -fno-strict-aliasing -pipe -fPIC -O2 -I/usr/pkg/include -I/usr/include -I/usr/X11R7/include -I/usr/X11R7/include/freetype2 -I/usr/pkg/qt4/include -I/usr/X11R7/include/libdrm -pthread -I/usr/pkg/include/python2.7 -O2 -DSILENT -DRARDLL -DUNRAR -D_FILE_OFFSET_BITS=64 -D_LARGEFILE_SOURCE -I/data/scratch/misc/calibre1/work/calibre/src/unrar -c /data/scratch/misc/calibre1/work/calibre/src/unrar/timefn.cpp -o /data/scratch/misc/calibre1/work/calibre/build/objects/unrar/timefn.o
/data/scratch/misc/calibre1/work/calibre/src/unrar/timefn.cpp: In member function 'void RarTime::SetIsoText(const char*)':
/data/scratch/misc/calibre1/work/calibre/src/unrar/timefn.cpp:250:49: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
       if (FieldPos<sizeof(Field)/sizeof(Field[0]))
                                                 ^
c++ -Wall -DNDEBUG -fno-strict-aliasing -pipe -fPIC -O2 -I/usr/pkg/include -I/usr/include -I/usr/X11R7/include -I/usr/X11R7/include/freetype2 -I/usr/pkg/qt4/include -I/usr/X11R7/include/libdrm -pthread -I/usr/pkg/include/python2.7 -O2 -DSILENT -DRARDLL -DUNRAR -D_FILE_OFFSET_BITS=64 -D_LARGEFILE_SOURCE -I/data/scratch/misc/calibre1/work/calibre/src/unrar -c /data/scratch/misc/calibre1/work/calibre/src/unrar/filefn.cpp -o /data/scratch/misc/calibre1/work/calibre/build/objects/unrar/filefn.o
c++ -Wall -DNDEBUG -fno-strict-aliasing -pipe -fPIC -O2 -I/usr/pkg/include -I/usr/include -I/usr/X11R7/include -I/usr/X11R7/include/freetype2 -I/usr/pkg/qt4/include -I/usr/X11R7/include/libdrm -pthread -I/usr/pkg/include/python2.7 -O2 -DSILENT -DRARDLL -DUNRAR -D_FILE_OFFSET_BITS=64 -D_LARGEFILE_SOURCE -I/data/scratch/misc/calibre1/work/calibre/src/unrar -c /data/scratch/misc/calibre1/work/calibre/src/unrar/consio.cpp -o /data/scratch/misc/calibre1/work/calibre/build/objects/unrar/consio.o
/data/scratch/misc/calibre1/work/calibre/src/unrar/consio.cpp:7:12: warning: 'int KbdAnsi(char*, int)' declared 'static' but never defined [-Wunused-function]
 static int KbdAnsi(char *Addr,int Size);
            ^
c++ -Wall -DNDEBUG -fno-strict-aliasing -pipe -fPIC -O2 -I/usr/pkg/include -I/usr/include -I/usr/X11R7/include -I/usr/X11R7/include/freetype2 -I/usr/pkg/qt4/include -I/usr/X11R7/include/libdrm -pthread -I/usr/pkg/include/python2.7 -O2 -DSILENT -DRARDLL -DUNRAR -D_FILE_OFFSET_BITS=64 -D_LARGEFILE_SOURCE -I/data/scratch/misc/calibre1/work/calibre/src/unrar -c /data/scratch/misc/calibre1/work/calibre/src/unrar/system.cpp -o /data/scratch/misc/calibre1/work/calibre/build/objects/unrar/system.o
c++ -Wall -DNDEBUG -fno-strict-aliasing -pipe -fPIC -O2 -I/usr/pkg/include -I/usr/include -I/usr/X11R7/include -I/usr/X11R7/include/freetype2 -I/usr/pkg/qt4/include -I/usr/X11R7/include/libdrm -pthread -I/usr/pkg/include/python2.7 -O2 -DSILENT -DRARDLL -DUNRAR -D_FILE_OFFSET_BITS=64 -D_LARGEFILE_SOURCE -I/data/scratch/misc/calibre1/work/calibre/src/unrar -c /data/scratch/misc/calibre1/work/calibre/src/unrar/scantree.cpp -o /data/scratch/misc/calibre1/work/calibre/build/objects/unrar/scantree.o
/data/scratch/misc/calibre1/work/calibre/src/unrar/scantree.cpp: In member function 'bool ScanTree::GetNextMask()':
/data/scratch/misc/calibre1/work/calibre/src/unrar/scantree.cpp:90:51: warning: suggest parentheses around '&&' within '||' [-Wparentheses]
   if (Name[0]=='.' && (Name[1]==0 || Name[1]=='.' && Name[2]==0))
                                                   ^
/data/scratch/misc/calibre1/work/calibre/src/unrar/scantree.cpp:104:56: warning: suggest parentheses around '&&' within '||' [-Wparentheses]
     if (NameW[0]=='.' && (NameW[1]==0 || NameW[1]=='.' && NameW[2]==0))
                                                        ^
/data/scratch/misc/calibre1/work/calibre/src/unrar/scantree.cpp: In member function 'SCAN_CODE ScanTree::FindProc(FindData*)':
/data/scratch/misc/calibre1/work/calibre/src/unrar/scantree.cpp:152:30: warning: suggest parentheses around '&&' within '||' [-Wparentheses]
                    Wildcards && Recurse==RECURSE_WILDCARDS || 
                              ^
/data/scratch/misc/calibre1/work/calibre/src/unrar/scantree.cpp:153:35: warning: suggest parentheses around '&&' within '||' [-Wparentheses]
                    ScanEntireDisk && Recurse!=RECURSE_DISABLE);
                                   ^
c++ -Wall -DNDEBUG -fno-strict-aliasing -pipe -fPIC -O2 -I/usr/pkg/include -I/usr/include -I/usr/X11R7/include -I/usr/X11R7/include/freetype2 -I/usr/pkg/qt4/include -I/usr/X11R7/include/libdrm -pthread -I/usr/pkg/include/python2.7 -O2 -DSILENT -DRARDLL -DUNRAR -D_FILE_OFFSET_BITS=64 -D_LARGEFILE_SOURCE -I/data/scratch/misc/calibre1/work/calibre/src/unrar -c /data/scratch/misc/calibre1/work/calibre/src/unrar/strfn.cpp -o /data/scratch/misc/calibre1/work/calibre/build/objects/unrar/strfn.o
/data/scratch/misc/calibre1/work/calibre/src/unrar/strfn.cpp: In function 'bool IsAlpha(int)':
/data/scratch/misc/calibre1/work/calibre/src/unrar/strfn.cpp:182:18: warning: suggest parentheses around '&&' within '||' [-Wparentheses]
   return(ch>='A' && ch<='Z' || ch>='a' && ch<='z');
                  ^
c++ -Wall -DNDEBUG -fno-strict-aliasing -pipe -fPIC -O2 -I/usr/pkg/include -I/usr/include -I/usr/X11R7/include -I/usr/X11R7/include/freetype2 -I/usr/pkg/qt4/include -I/usr/X11R7/include/libdrm -pthread -I/usr/pkg/include/python2.7 -O2 -DSILENT -DRARDLL -DUNRAR -D_FILE_OFFSET_BITS=64 -D_LARGEFILE_SOURCE -I/data/scratch/misc/calibre1/work/calibre/src/unrar -c /data/scratch/misc/calibre1/work/calibre/src/unrar/sha1.cpp -o /data/scratch/misc/calibre1/work/calibre/build/objects/unrar/sha1.o
c++ -Wall -DNDEBUG -fno-strict-aliasing -pipe -fPIC -O2 -I/usr/pkg/include -I/usr/include -I/usr/X11R7/include -I/usr/X11R7/include/freetype2 -I/usr/pkg/qt4/include -I/usr/X11R7/include/libdrm -pthread -I/usr/pkg/include/python2.7 -O2 -DSILENT -DRARDLL -DUNRAR -D_FILE_OFFSET_BITS=64 -D_LARGEFILE_SOURCE -I/data/scratch/misc/calibre1/work/calibre/src/unrar -c /data/scratch/misc/calibre1/work/calibre/src/unrar/isnt.cpp -o /data/scratch/misc/calibre1/work/calibre/build/objects/unrar/isnt.o
c++ -Wall -DNDEBUG -fno-strict-aliasing -pipe -fPIC -O2 -I/usr/pkg/include -I/usr/include -I/usr/X11R7/include -I/usr/X11R7/include/freetype2 -I/usr/pkg/qt4/include -I/usr/X11R7/include/libdrm -pthread -I/usr/pkg/include/python2.7 -O2 -DSILENT -DRARDLL -DUNRAR -D_FILE_OFFSET_BITS=64 -D_LARGEFILE_SOURCE -I/data/scratch/misc/calibre1/work/calibre/src/unrar -c /data/scratch/misc/calibre1/work/calibre/src/unrar/crc.cpp -o /data/scratch/misc/calibre1/work/calibre/build/objects/unrar/crc.o
c++ -Wall -DNDEBUG -fno-strict-aliasing -pipe -fPIC -O2 -I/usr/pkg/include -I/usr/include -I/usr/X11R7/include -I/usr/X11R7/include/freetype2 -I/usr/pkg/qt4/include -I/usr/X11R7/include/libdrm -pthread -I/usr/pkg/include/python2.7 -O2 -DSILENT -DRARDLL -DUNRAR -D_FILE_OFFSET_BITS=64 -D_LARGEFILE_SOURCE -I/data/scratch/misc/calibre1/work/calibre/src/unrar -c /data/scratch/misc/calibre1/work/calibre/src/unrar/global.cpp -o /data/scratch/misc/calibre1/work/calibre/build/objects/unrar/global.o
c++ -Wall -DNDEBUG -fno-strict-aliasing -pipe -fPIC -O2 -I/usr/pkg/include -I/usr/include -I/usr/X11R7/include -I/usr/X11R7/include/freetype2 -I/usr/pkg/qt4/include -I/usr/X11R7/include/libdrm -pthread -I/usr/pkg/include/python2.7 -O2 -DSILENT -DRARDLL -DUNRAR -D_FILE_OFFSET_BITS=64 -D_LARGEFILE_SOURCE -I/data/scratch/misc/calibre1/work/calibre/src/unrar -c /data/scratch/misc/calibre1/work/calibre/src/unrar/unpack.cpp -o /data/scratch/misc/calibre1/work/calibre/build/objects/unrar/unpack.o
In file included from /data/scratch/misc/calibre1/work/calibre/src/unrar/unpack.cpp:3:0:
/data/scratch/misc/calibre1/work/calibre/src/unrar/model.cpp: In member function 'int ModelPPM::DecodeChar()':
/data/scratch/misc/calibre1/work/calibre/src/unrar/coder.cpp:23:45: warning: suggest parentheses around '&&' within '||' [-Wparentheses]
   while ((low^(low+range))<TOP || range<BOT && ((range=-(int)low&(BOT-1)),1)) \
                                             ^
/data/scratch/misc/calibre1/work/calibre/src/unrar/model.cpp:587:5: note: in expansion of macro 'ARI_DEC_NORMALIZE'
     ARI_DEC_NORMALIZE(Coder.code,Coder.low,Coder.range,Coder.UnpackRead);
     ^
/data/scratch/misc/calibre1/work/calibre/src/unrar/coder.cpp:23:45: warning: suggest parentheses around '&&' within '||' [-Wparentheses]
   while ((low^(low+range))<TOP || range<BOT && ((range=-(int)low&(BOT-1)),1)) \
                                             ^
/data/scratch/misc/calibre1/work/calibre/src/unrar/model.cpp:608:3: note: in expansion of macro 'ARI_DEC_NORMALIZE'
   ARI_DEC_NORMALIZE(Coder.code,Coder.low,Coder.range,Coder.UnpackRead);
   ^
In file included from /data/scratch/misc/calibre1/work/calibre/src/unrar/unpack.cpp:7:0:
/data/scratch/misc/calibre1/work/calibre/src/unrar/unpack15.cpp: In member function 'void Unpack::LongLZ()':
/data/scratch/misc/calibre1/work/calibre/src/unrar/unpack15.cpp:320:6: warning: suggest explicit braces to avoid ambiguous 'else' [-Wparentheses]
   if (Length!=1 && Length!=4)
      ^
/data/scratch/misc/calibre1/work/calibre/src/unrar/unpack15.cpp:334:42: warning: suggest parentheses around '&&' within '||' [-Wparentheses]
   if (OldAvr3 > 0xb0 || AvrPlc >= 0x2a00 && OldAvr2 < 0x40)
                                          ^
In file included from /data/scratch/misc/calibre1/work/calibre/src/unrar/unpack.cpp:8:0:
/data/scratch/misc/calibre1/work/calibre/src/unrar/unpack20.cpp: In member function 'void Unpack::ReadLastTables()':
/data/scratch/misc/calibre1/work/calibre/src/unrar/unpack20.cpp:256:6: warning: suggest explicit braces to avoid ambiguous 'else' [-Wparentheses]
   if (ReadTop>=InAddr+5)
      ^
/data/scratch/misc/calibre1/work/calibre/src/unrar/unpack20.cpp: In member function 'byte Unpack::DecodeAudio(int)':
/data/scratch/misc/calibre1/work/calibre/src/unrar/unpack20.cpp:316:51: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
     for (int I=1;I<sizeof(V->Dif)/sizeof(V->Dif[0]);I++)
                                                   ^
In file included from /data/scratch/misc/calibre1/work/calibre/src/unrar/rar.hpp:16:0,
                 from /data/scratch/misc/calibre1/work/calibre/src/unrar/unpack.cpp:1:
/data/scratch/misc/calibre1/work/calibre/src/unrar/unpack.cpp: In member function 'void Unpack::Unpack29(bool)':
/data/scratch/misc/calibre1/work/calibre/src/unrar/rardefs.hpp:7:42: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
 #define  ASIZE(x) (sizeof(x)/sizeof(x[0]))
                                          ^
/data/scratch/misc/calibre1/work/calibre/src/unrar/unpack.cpp:201:20: note: in expansion of macro 'ASIZE'
     for (int I=0;I<ASIZE(DBitLengthCounts);I++,BitLength++)
                    ^
/data/scratch/misc/calibre1/work/calibre/src/unrar/unpack.cpp: In member function 'bool Unpack::ReadTables()':
/data/scratch/misc/calibre1/work/calibre/src/unrar/unpack.cpp:934:74: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
         while (ZeroCount-- > 0 && I<sizeof(BitLength)/sizeof(BitLength[0]))
                                                                          ^
/data/scratch/misc/calibre1/work/calibre/src/unrar/unpack.cpp: In member function 'void Unpack::Unpack29(bool)':
/data/scratch/misc/calibre1/work/calibre/src/unrar/unpack.cpp:289:42: warning: 'Length' may be used uninitialized in this function [-Wmaybe-uninitialized]
           CopyString(Length+32,Distance+2);
                                          ^
c++ -Wall -DNDEBUG -fno-strict-aliasing -pipe -fPIC -O2 -I/usr/pkg/include -I/usr/include -I/usr/X11R7/include -I/usr/X11R7/include/freetype2 -I/usr/pkg/qt4/include -I/usr/X11R7/include/libdrm -pthread -I/usr/pkg/include/python2.7 -O2 -DSILENT -DRARDLL -DUNRAR -D_FILE_OFFSET_BITS=64 -D_LARGEFILE_SOURCE -I/data/scratch/misc/calibre1/work/calibre/src/unrar -c /data/scratch/misc/calibre1/work/calibre/src/unrar/rawread.cpp -o /data/scratch/misc/calibre1/work/calibre/build/objects/unrar/rawread.o
c++ -Wall -DNDEBUG -fno-strict-aliasing -pipe -fPIC -O2 -I/usr/pkg/include -I/usr/include -I/usr/X11R7/include -I/usr/X11R7/include/freetype2 -I/usr/pkg/qt4/include -I/usr/X11R7/include/libdrm -pthread -I/usr/pkg/include/python2.7 -O2 -DSILENT -DRARDLL -DUNRAR -D_FILE_OFFSET_BITS=64 -D_LARGEFILE_SOURCE -I/data/scratch/misc/calibre1/work/calibre/src/unrar -c /data/scratch/misc/calibre1/work/calibre/src/unrar/rijndael.cpp -o /data/scratch/misc/calibre1/work/calibre/build/objects/unrar/rijndael.o
/data/scratch/misc/calibre1/work/calibre/src/unrar/rijndael.cpp: In member function 'void Rijndael::GenerateTables()':
/data/scratch/misc/calibre1/work/calibre/src/unrar/rijndael.cpp:281:56: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
   for (int i = 0,w = 1; i < sizeof(rcon)/sizeof(rcon[0]); i++)
                                                        ^
c++ -Wall -DNDEBUG -fno-strict-aliasing -pipe -fPIC -O2 -I/usr/pkg/include -I/usr/include -I/usr/X11R7/include -I/usr/X11R7/include/freetype2 -I/usr/pkg/qt4/include -I/usr/X11R7/include/libdrm -pthread -I/usr/pkg/include/python2.7 -O2 -DSILENT -DRARDLL -DUNRAR -D_FILE_OFFSET_BITS=64 -D_LARGEFILE_SOURCE -I/data/scratch/misc/calibre1/work/calibre/src/unrar -c /data/scratch/misc/calibre1/work/calibre/src/unrar/smallfn.cpp -o /data/scratch/misc/calibre1/work/calibre/build/objects/unrar/smallfn.o
c++ -Wall -DNDEBUG -fno-strict-aliasing -pipe -fPIC -O2 -I/usr/pkg/include -I/usr/include -I/usr/X11R7/include -I/usr/X11R7/include/freetype2 -I/usr/pkg/qt4/include -I/usr/X11R7/include/libdrm -pthread -I/usr/pkg/include/python2.7 -O2 -DSILENT -DRARDLL -DUNRAR -D_FILE_OFFSET_BITS=64 -D_LARGEFILE_SOURCE -I/data/scratch/misc/calibre1/work/calibre/src/unrar -c /data/scratch/misc/calibre1/work/calibre/src/unrar/strlist.cpp -o /data/scratch/misc/calibre1/work/calibre/build/objects/unrar/strlist.o
c++ -Wall -DNDEBUG -fno-strict-aliasing -pipe -fPIC -O2 -I/usr/pkg/include -I/usr/include -I/usr/X11R7/include -I/usr/X11R7/include/freetype2 -I/usr/pkg/qt4/include -I/usr/X11R7/include/libdrm -pthread -I/usr/pkg/include/python2.7 -O2 -DSILENT -DRARDLL -DUNRAR -D_FILE_OFFSET_BITS=64 -D_LARGEFILE_SOURCE -I/data/scratch/misc/calibre1/work/calibre/src/unrar -c /data/scratch/misc/calibre1/work/calibre/src/unrar/file.cpp -o /data/scratch/misc/calibre1/work/calibre/build/objects/unrar/file.o
/data/scratch/misc/calibre1/work/calibre/src/unrar/file.cpp: In destructor 'virtual File::~File()':
/data/scratch/misc/calibre1/work/calibre/src/unrar/file.cpp:30:6: warning: suggest explicit braces to avoid ambiguous 'else' [-Wparentheses]
   if (hFile!=BAD_HANDLE && !SkipClose)
      ^
/data/scratch/misc/calibre1/work/calibre/src/unrar/file.cpp: In member function 'virtual bool File::Create(const char*, const wchar*, uint)':
/data/scratch/misc/calibre1/work/calibre/src/unrar/file.cpp:152:8: warning: unused variable 'ShareRead' [-Wunused-variable]
   bool ShareRead=(Mode & FMF_SHAREREAD)!=0 || File::OpenShared;
        ^
/data/scratch/misc/calibre1/work/calibre/src/unrar/file.cpp: In member function 'void File::AddFileToList(FileHandle)':
/data/scratch/misc/calibre1/work/calibre/src/unrar/file.cpp:183:63: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
     for (int I=0;I<sizeof(CreatedFiles)/sizeof(CreatedFiles[0]);I++)
                                                               ^
/data/scratch/misc/calibre1/work/calibre/src/unrar/file.cpp: In member function 'virtual bool File::Close()':
/data/scratch/misc/calibre1/work/calibre/src/unrar/file.cpp:227:69: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
           for (int I=0;I<sizeof(CreatedFiles)/sizeof(CreatedFiles[0]);I++)
                                                                     ^
/data/scratch/misc/calibre1/work/calibre/src/unrar/file.cpp: In member function 'virtual void File::Write(const void*, size_t)':
/data/scratch/misc/calibre1/work/calibre/src/unrar/file.cpp:291:11: warning: enumeration value 'FILE_HANDLENORMAL' not handled in switch [-Wswitch]
     switch(HandleType)
           ^
/data/scratch/misc/calibre1/work/calibre/src/unrar/file.cpp:329:22: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
     Success=Written==Size && !ferror(hFile);
                      ^
/data/scratch/misc/calibre1/work/calibre/src/unrar/file.cpp:346:21: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
         if (Written<Size && Written>0)
                     ^
/data/scratch/misc/calibre1/work/calibre/src/unrar/file.cpp: In member function 'virtual int File::Read(void*, size_t)':
/data/scratch/misc/calibre1/work/calibre/src/unrar/file.cpp:371:10: warning: suggest explicit braces to avoid ambiguous 'else' [-Wparentheses]
       if (AllowExceptions)
          ^
/data/scratch/misc/calibre1/work/calibre/src/unrar/file.cpp: In member function 'virtual int64 File::Tell()':
/data/scratch/misc/calibre1/work/calibre/src/unrar/file.cpp:476:6: warning: suggest explicit braces to avoid ambiguous 'else' [-Wparentheses]
   if (hFile==BAD_HANDLE)
      ^
/data/scratch/misc/calibre1/work/calibre/src/unrar/file.cpp: In static member function 'static bool File::RemoveCreated()':
/data/scratch/misc/calibre1/work/calibre/src/unrar/file.cpp:670:61: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
   for (int I=0;I<sizeof(CreatedFiles)/sizeof(CreatedFiles[0]);I++)
                                                             ^
c++ -Wall -DNDEBUG -fno-strict-aliasing -pipe -fPIC -O2 -I/usr/pkg/include -I/usr/include -I/usr/X11R7/include -I/usr/X11R7/include/freetype2 -I/usr/pkg/qt4/include -I/usr/X11R7/include/libdrm -pthread -I/usr/pkg/include/python2.7 -O2 -DSILENT -DRARDLL -DUNRAR -D_FILE_OFFSET_BITS=64 -D_LARGEFILE_SOURCE -I/data/scratch/misc/calibre1/work/calibre/src/unrar -c /data/scratch/misc/calibre1/work/calibre/src/unrar/rar.cpp -o /data/scratch/misc/calibre1/work/calibre/build/objects/unrar/rar.o
c++ -Wall -DNDEBUG -fno-strict-aliasing -pipe -fPIC -O2 -I/usr/pkg/include -I/usr/include -I/usr/X11R7/include -I/usr/X11R7/include/freetype2 -I/usr/pkg/qt4/include -I/usr/X11R7/include/libdrm -pthread -I/usr/pkg/include/python2.7 -O2 -DSILENT -DRARDLL -DUNRAR -D_FILE_OFFSET_BITS=64 -D_LARGEFILE_SOURCE -I/data/scratch/misc/calibre1/work/calibre/src/unrar -c /data/scratch/misc/calibre1/work/calibre/src/unrar/archive.cpp -o /data/scratch/misc/calibre1/work/calibre/build/objects/unrar/archive.o
In file included from /data/scratch/misc/calibre1/work/calibre/src/unrar/archive.cpp:4:0:
/data/scratch/misc/calibre1/work/calibre/src/unrar/arccmt.cpp: In member function 'bool Archive::GetComment(Array<unsigned char>*, Array<wchar_t>*)':
/data/scratch/misc/calibre1/work/calibre/src/unrar/arccmt.cpp:46:17: warning: suggest parentheses around '&&' within '||' [-Wparentheses]
   if (OldFormat && (OldMhd.Flags & MHD_PACK_COMMENT)!=0 || !OldFormat && CommHead.Method!=0x30)
                 ^
/data/scratch/misc/calibre1/work/calibre/src/unrar/archive.cpp: In member function 'ARCSIGN_TYPE Archive::IsSignature(const byte*, size_t)':
/data/scratch/misc/calibre1/work/calibre/src/unrar/archive.cpp:96:6: warning: suggest explicit braces to avoid ambiguous 'else' [-Wparentheses]
   if (Size>=1 && D[0]==0x52)
      ^
/data/scratch/misc/calibre1/work/calibre/src/unrar/archive.cpp: In member function 'bool Archive::IsArchive(bool)':
/data/scratch/misc/calibre1/work/calibre/src/unrar/archive.cpp:235:20: warning: suggest parentheses around '&&' within '||' [-Wparentheses]
             Volume && (NewMhd.Flags & MHD_FIRSTVOLUME)==0)
                    ^
/data/scratch/misc/calibre1/work/calibre/src/unrar/archive.cpp:241:41: warning: suggest parentheses around '&&' within '||' [-Wparentheses]
             Volume && NewLhd.UnpVer>=29 && (NewMhd.Flags & MHD_FIRSTVOLUME)==0))
                                         ^
c++ -Wall -DNDEBUG -fno-strict-aliasing -pipe -fPIC -O2 -I/usr/pkg/include -I/usr/include -I/usr/X11R7/include -I/usr/X11R7/include/freetype2 -I/usr/pkg/qt4/include -I/usr/X11R7/include/libdrm -pthread -I/usr/pkg/include/python2.7 -O2 -DSILENT -DRARDLL -DUNRAR -D_FILE_OFFSET_BITS=64 -D_LARGEFILE_SOURCE -I/data/scratch/misc/calibre1/work/calibre/src/unrar -c /data/scratch/misc/calibre1/work/calibre/src/unrar/encname.cpp -o /data/scratch/misc/calibre1/work/calibre/build/objects/unrar/encname.o
c++ -Wall -DNDEBUG -fno-strict-aliasing -pipe -fPIC -O2 -I/usr/pkg/include -I/usr/include -I/usr/X11R7/include -I/usr/X11R7/include/freetype2 -I/usr/pkg/qt4/include -I/usr/X11R7/include/libdrm -pthread -I/usr/pkg/include/python2.7 -O2 -DSILENT -DRARDLL -DUNRAR -D_FILE_OFFSET_BITS=64 -D_LARGEFILE_SOURCE -I/data/scratch/misc/calibre1/work/calibre/src/unrar -c /data/scratch/misc/calibre1/work/calibre/src/unrar/filcreat.cpp -o /data/scratch/misc/calibre1/work/calibre/build/objects/unrar/filcreat.o
/data/scratch/misc/calibre1/work/calibre/src/unrar/filcreat.cpp: In function 'bool FileCreate(RAROptions*, File*, char*, wchar*, OVERWRITE_MODE, bool*, int64, uint, bool)':
/data/scratch/misc/calibre1/work/calibre/src/unrar/filcreat.cpp:116:12: warning: suggest explicit braces to avoid ambiguous 'else' [-Wparentheses]
         if (NameW!=NULL)
            ^
/data/scratch/misc/calibre1/work/calibre/src/unrar/filcreat.cpp: In function 'bool GetAutoRenamedName(char*, wchar*)':
/data/scratch/misc/calibre1/work/calibre/src/unrar/filcreat.cpp:141:18: warning: suggest parentheses around '&&' within '||' [-Wparentheses]
   if (Name!=NULL && strlen(Name)>ASIZE(NewName)-10 || 
                  ^
c++ -Wall -DNDEBUG -fno-strict-aliasing -pipe -fPIC -O2 -I/usr/pkg/include -I/usr/include -I/usr/X11R7/include -I/usr/X11R7/include/freetype2 -I/usr/pkg/qt4/include -I/usr/X11R7/include/libdrm -pthread -I/usr/pkg/include/python2.7 -O2 -DSILENT -DRARDLL -DUNRAR -D_FILE_OFFSET_BITS=64 -D_LARGEFILE_SOURCE -I/data/scratch/misc/calibre1/work/calibre/src/unrar -c /data/scratch/misc/calibre1/work/calibre/src/unrar/secpassword.cpp -o /data/scratch/misc/calibre1/work/calibre/build/objects/unrar/secpassword.o
c++ -Wall -DNDEBUG -fno-strict-aliasing -pipe -fPIC -O2 -I/usr/pkg/include -I/usr/include -I/usr/X11R7/include -I/usr/X11R7/include/freetype2 -I/usr/pkg/qt4/include -I/usr/X11R7/include/libdrm -pthread -I/usr/pkg/include/python2.7 -O2 -DSILENT -DRARDLL -DUNRAR -D_FILE_OFFSET_BITS=64 -D_LARGEFILE_SOURCE -I/data/scratch/misc/calibre1/work/calibre/src/unrar -c /data/scratch/misc/calibre1/work/calibre/src/unrar/rarvm.cpp -o /data/scratch/misc/calibre1/work/calibre/build/objects/unrar/rarvm.o
/data/scratch/misc/calibre1/work/calibre/src/unrar/rarvm.cpp: In member function 'bool RarVM::ExecuteCode(VM_PreparedCommand*, uint)':
/data/scratch/misc/calibre1/work/calibre/src/unrar/rarvm.cpp:502:50: warning: suggest parentheses around '&&' within '||' [-Wparentheses]
           Flags=(Result<Value1 || Result==Value1 && FC)|(Result==0 ? VM_FZ:(Result&VM_FS));
                                                  ^
/data/scratch/misc/calibre1/work/calibre/src/unrar/rarvm.cpp:513:50: warning: suggest parentheses around '&&' within '||' [-Wparentheses]
           Flags=(Result>Value1 || Result==Value1 && FC)|(Result==0 ? VM_FZ:(Result&VM_FS));
                                                  ^
/data/scratch/misc/calibre1/work/calibre/src/unrar/rarvm.cpp: In member function 'void RarVM::Optimize(VM_PreparedProgram*)':
/data/scratch/misc/calibre1/work/calibre/src/unrar/rarvm.cpp:787:11: warning: enumeration value 'VM_ADD' not handled in switch [-Wswitch]
     switch(Cmd->OpCode)
           ^
/data/scratch/misc/calibre1/work/calibre/src/unrar/rarvm.cpp:787:11: warning: enumeration value 'VM_SUB' not handled in switch [-Wswitch]
/data/scratch/misc/calibre1/work/calibre/src/unrar/rarvm.cpp:787:11: warning: enumeration value 'VM_JZ' not handled in switch [-Wswitch]
/data/scratch/misc/calibre1/work/calibre/src/unrar/rarvm.cpp:787:11: warning: enumeration value 'VM_JNZ' not handled in switch [-Wswitch]
/data/scratch/misc/calibre1/work/calibre/src/unrar/rarvm.cpp:787:11: warning: enumeration value 'VM_INC' not handled in switch [-Wswitch]
/data/scratch/misc/calibre1/work/calibre/src/unrar/rarvm.cpp:787:11: warning: enumeration value 'VM_DEC' not handled in switch [-Wswitch]
/data/scratch/misc/calibre1/work/calibre/src/unrar/rarvm.cpp:787:11: warning: enumeration value 'VM_JMP' not handled in switch [-Wswitch]
/data/scratch/misc/calibre1/work/calibre/src/unrar/rarvm.cpp:787:11: warning: enumeration value 'VM_XOR' not handled in switch [-Wswitch]
/data/scratch/misc/calibre1/work/calibre/src/unrar/rarvm.cpp:787:11: warning: enumeration value 'VM_AND' not handled in switch [-Wswitch]
/data/scratch/misc/calibre1/work/calibre/src/unrar/rarvm.cpp:787:11: warning: enumeration value 'VM_OR' not handled in switch [-Wswitch]
/data/scratch/misc/calibre1/work/calibre/src/unrar/rarvm.cpp:787:11: warning: enumeration value 'VM_TEST' not handled in switch [-Wswitch]
/data/scratch/misc/calibre1/work/calibre/src/unrar/rarvm.cpp:787:11: warning: enumeration value 'VM_JS' not handled in switch [-Wswitch]
/data/scratch/misc/calibre1/work/calibre/src/unrar/rarvm.cpp:787:11: warning: enumeration value 'VM_JNS' not handled in switch [-Wswitch]
/data/scratch/misc/calibre1/work/calibre/src/unrar/rarvm.cpp:787:11: warning: enumeration value 'VM_JB' not handled in switch [-Wswitch]
/data/scratch/misc/calibre1/work/calibre/src/unrar/rarvm.cpp:787:11: warning: enumeration value 'VM_JBE' not handled in switch [-Wswitch]
/data/scratch/misc/calibre1/work/calibre/src/unrar/rarvm.cpp:787:11: warning: enumeration value 'VM_JA' not handled in switch [-Wswitch]
/data/scratch/misc/calibre1/work/calibre/src/unrar/rarvm.cpp:787:11: warning: enumeration value 'VM_JAE' not handled in switch [-Wswitch]
/data/scratch/misc/calibre1/work/calibre/src/unrar/rarvm.cpp:787:11: warning: enumeration value 'VM_PUSH' not handled in switch [-Wswitch]
/data/scratch/misc/calibre1/work/calibre/src/unrar/rarvm.cpp:787:11: warning: enumeration value 'VM_POP' not handled in switch [-Wswitch]
/data/scratch/misc/calibre1/work/calibre/src/unrar/rarvm.cpp:787:11: warning: enumeration value 'VM_CALL' not handled in switch [-Wswitch]
/data/scratch/misc/calibre1/work/calibre/src/unrar/rarvm.cpp:787:11: warning: enumeration value 'VM_RET' not handled in switch [-Wswitch]
/data/scratch/misc/calibre1/work/calibre/src/unrar/rarvm.cpp:787:11: warning: enumeration value 'VM_NOT' not handled in switch [-Wswitch]
/data/scratch/misc/calibre1/work/calibre/src/unrar/rarvm.cpp:787:11: warning: enumeration value 'VM_SHL' not handled in switch [-Wswitch]
/data/scratch/misc/calibre1/work/calibre/src/unrar/rarvm.cpp:787:11: warning: enumeration value 'VM_SHR' not handled in switch [-Wswitch]
/data/scratch/misc/calibre1/work/calibre/src/unrar/rarvm.cpp:787:11: warning: enumeration value 'VM_SAR' not handled in switch [-Wswitch]
/data/scratch/misc/calibre1/work/calibre/src/unrar/rarvm.cpp:787:11: warning: enumeration value 'VM_NEG' not handled in switch [-Wswitch]
/data/scratch/misc/calibre1/work/calibre/src/unrar/rarvm.cpp:787:11: warning: enumeration value 'VM_PUSHA' not handled in switch [-Wswitch]
/data/scratch/misc/calibre1/work/calibre/src/unrar/rarvm.cpp:787:11: warning: enumeration value 'VM_POPA' not handled in switch [-Wswitch]
/data/scratch/misc/calibre1/work/calibre/src/unrar/rarvm.cpp:787:11: warning: enumeration value 'VM_PUSHF' not handled in switch [-Wswitch]
/data/scratch/misc/calibre1/work/calibre/src/unrar/rarvm.cpp:787:11: warning: enumeration value 'VM_POPF' not handled in switch [-Wswitch]
/data/scratch/misc/calibre1/work/calibre/src/unrar/rarvm.cpp:787:11: warning: enumeration value 'VM_MOVZX' not handled in switch [-Wswitch]
/data/scratch/misc/calibre1/work/calibre/src/unrar/rarvm.cpp:787:11: warning: enumeration value 'VM_MOVSX' not handled in switch [-Wswitch]
/data/scratch/misc/calibre1/work/calibre/src/unrar/rarvm.cpp:787:11: warning: enumeration value 'VM_XCHG' not handled in switch [-Wswitch]
/data/scratch/misc/calibre1/work/calibre/src/unrar/rarvm.cpp:787:11: warning: enumeration value 'VM_MUL' not handled in switch [-Wswitch]
/data/scratch/misc/calibre1/work/calibre/src/unrar/rarvm.cpp:787:11: warning: enumeration value 'VM_DIV' not handled in switch [-Wswitch]
/data/scratch/misc/calibre1/work/calibre/src/unrar/rarvm.cpp:787:11: warning: enumeration value 'VM_ADC' not handled in switch [-Wswitch]
/data/scratch/misc/calibre1/work/calibre/src/unrar/rarvm.cpp:787:11: warning: enumeration value 'VM_SBB' not handled in switch [-Wswitch]
/data/scratch/misc/calibre1/work/calibre/src/unrar/rarvm.cpp:787:11: warning: enumeration value 'VM_PRINT' not handled in switch [-Wswitch]
/data/scratch/misc/calibre1/work/calibre/src/unrar/rarvm.cpp:787:11: warning: enumeration value 'VM_MOVB' not handled in switch [-Wswitch]
/data/scratch/misc/calibre1/work/calibre/src/unrar/rarvm.cpp:787:11: warning: enumeration value 'VM_MOVD' not handled in switch [-Wswitch]
/data/scratch/misc/calibre1/work/calibre/src/unrar/rarvm.cpp:787:11: warning: enumeration value 'VM_CMPB' not handled in switch [-Wswitch]
/data/scratch/misc/calibre1/work/calibre/src/unrar/rarvm.cpp:787:11: warning: enumeration value 'VM_CMPD' not handled in switch [-Wswitch]
/data/scratch/misc/calibre1/work/calibre/src/unrar/rarvm.cpp:787:11: warning: enumeration value 'VM_ADDB' not handled in switch [-Wswitch]
/data/scratch/misc/calibre1/work/calibre/src/unrar/rarvm.cpp:787:11: warning: enumeration value 'VM_ADDD' not handled in switch [-Wswitch]
/data/scratch/misc/calibre1/work/calibre/src/unrar/rarvm.cpp:787:11: warning: enumeration value 'VM_SUBB' not handled in switch [-Wswitch]
/data/scratch/misc/calibre1/work/calibre/src/unrar/rarvm.cpp:787:11: warning: enumeration value 'VM_SUBD' not handled in switch [-Wswitch]
/data/scratch/misc/calibre1/work/calibre/src/unrar/rarvm.cpp:787:11: warning: enumeration value 'VM_INCB' not handled in switch [-Wswitch]
/data/scratch/misc/calibre1/work/calibre/src/unrar/rarvm.cpp:787:11: warning: enumeration value 'VM_INCD' not handled in switch [-Wswitch]
/data/scratch/misc/calibre1/work/calibre/src/unrar/rarvm.cpp:787:11: warning: enumeration value 'VM_DECB' not handled in switch [-Wswitch]
/data/scratch/misc/calibre1/work/calibre/src/unrar/rarvm.cpp:787:11: warning: enumeration value 'VM_DECD' not handled in switch [-Wswitch]
/data/scratch/misc/calibre1/work/calibre/src/unrar/rarvm.cpp:787:11: warning: enumeration value 'VM_NEGB' not handled in switch [-Wswitch]
/data/scratch/misc/calibre1/work/calibre/src/unrar/rarvm.cpp:787:11: warning: enumeration value 'VM_NEGD' not handled in switch [-Wswitch]
/data/scratch/misc/calibre1/work/calibre/src/unrar/rarvm.cpp:787:11: warning: enumeration value 'VM_STANDARD' not handled in switch [-Wswitch]
/data/scratch/misc/calibre1/work/calibre/src/unrar/rarvm.cpp:821:11: warning: enumeration value 'VM_MOV' not handled in switch [-Wswitch]
     switch(Cmd->OpCode)
           ^
/data/scratch/misc/calibre1/work/calibre/src/unrar/rarvm.cpp:821:11: warning: enumeration value 'VM_CMP' not handled in switch [-Wswitch]
/data/scratch/misc/calibre1/work/calibre/src/unrar/rarvm.cpp:821:11: warning: enumeration value 'VM_JZ' not handled in switch [-Wswitch]
/data/scratch/misc/calibre1/work/calibre/src/unrar/rarvm.cpp:821:11: warning: enumeration value 'VM_JNZ' not handled in switch [-Wswitch]
/data/scratch/misc/calibre1/work/calibre/src/unrar/rarvm.cpp:821:11: warning: enumeration value 'VM_JMP' not handled in switch [-Wswitch]
/data/scratch/misc/calibre1/work/calibre/src/unrar/rarvm.cpp:821:11: warning: enumeration value 'VM_XOR' not handled in switch [-Wswitch]
/data/scratch/misc/calibre1/work/calibre/src/unrar/rarvm.cpp:821:11: warning: enumeration value 'VM_AND' not handled in switch [-Wswitch]
/data/scratch/misc/calibre1/work/calibre/src/unrar/rarvm.cpp:821:11: warning: enumeration value 'VM_OR' not handled in switch [-Wswitch]
/data/scratch/misc/calibre1/work/calibre/src/unrar/rarvm.cpp:821:11: warning: enumeration value 'VM_TEST' not handled in switch [-Wswitch]
/data/scratch/misc/calibre1/work/calibre/src/unrar/rarvm.cpp:821:11: warning: enumeration value 'VM_JS' not handled in switch [-Wswitch]
/data/scratch/misc/calibre1/work/calibre/src/unrar/rarvm.cpp:821:11: warning: enumeration value 'VM_JNS' not handled in switch [-Wswitch]
/data/scratch/misc/calibre1/work/calibre/src/unrar/rarvm.cpp:821:11: warning: enumeration value 'VM_JB' not handled in switch [-Wswitch]
/data/scratch/misc/calibre1/work/calibre/src/unrar/rarvm.cpp:821:11: warning: enumeration value 'VM_JBE' not handled in switch [-Wswitch]
/data/scratch/misc/calibre1/work/calibre/src/unrar/rarvm.cpp:821:11: warning: enumeration value 'VM_JA' not handled in switch [-Wswitch]
/data/scratch/misc/calibre1/work/calibre/src/unrar/rarvm.cpp:821:11: warning: enumeration value 'VM_JAE' not handled in switch [-Wswitch]
/data/scratch/misc/calibre1/work/calibre/src/unrar/rarvm.cpp:821:11: warning: enumeration value 'VM_PUSH' not handled in switch [-Wswitch]
/data/scratch/misc/calibre1/work/calibre/src/unrar/rarvm.cpp:821:11: warning: enumeration value 'VM_POP' not handled in switch [-Wswitch]
/data/scratch/misc/calibre1/work/calibre/src/unrar/rarvm.cpp:821:11: warning: enumeration value 'VM_CALL' not handled in switch [-Wswitch]
/data/scratch/misc/calibre1/work/calibre/src/unrar/rarvm.cpp:821:11: warning: enumeration value 'VM_RET' not handled in switch [-Wswitch]
/data/scratch/misc/calibre1/work/calibre/src/unrar/rarvm.cpp:821:11: warning: enumeration value 'VM_NOT' not handled in switch [-Wswitch]
/data/scratch/misc/calibre1/work/calibre/src/unrar/rarvm.cpp:821:11: warning: enumeration value 'VM_SHL' not handled in switch [-Wswitch]
/data/scratch/misc/calibre1/work/calibre/src/unrar/rarvm.cpp:821:11: warning: enumeration value 'VM_SHR' not handled in switch [-Wswitch]
/data/scratch/misc/calibre1/work/calibre/src/unrar/rarvm.cpp:821:11: warning: enumeration value 'VM_SAR' not handled in switch [-Wswitch]
/data/scratch/misc/calibre1/work/calibre/src/unrar/rarvm.cpp:821:11: warning: enumeration value 'VM_PUSHA' not handled in switch [-Wswitch]
/data/scratch/misc/calibre1/work/calibre/src/unrar/rarvm.cpp:821:11: warning: enumeration value 'VM_POPA' not handled in switch [-Wswitch]
/data/scratch/misc/calibre1/work/calibre/src/unrar/rarvm.cpp:821:11: warning: enumeration value 'VM_PUSHF' not handled in switch [-Wswitch]
/data/scratch/misc/calibre1/work/calibre/src/unrar/rarvm.cpp:821:11: warning: enumeration value 'VM_POPF' not handled in switch [-Wswitch]
/data/scratch/misc/calibre1/work/calibre/src/unrar/rarvm.cpp:821:11: warning: enumeration value 'VM_MOVZX' not handled in switch [-Wswitch]
/data/scratch/misc/calibre1/work/calibre/src/unrar/rarvm.cpp:821:11: warning: enumeration value 'VM_MOVSX' not handled in switch [-Wswitch]
/data/scratch/misc/calibre1/work/calibre/src/unrar/rarvm.cpp:821:11: warning: enumeration value 'VM_XCHG' not handled in switch [-Wswitch]
/data/scratch/misc/calibre1/work/calibre/src/unrar/rarvm.cpp:821:11: warning: enumeration value 'VM_MUL' not handled in switch [-Wswitch]
/data/scratch/misc/calibre1/work/calibre/src/unrar/rarvm.cpp:821:11: warning: enumeration value 'VM_DIV' not handled in switch [-Wswitch]
/data/scratch/misc/calibre1/work/calibre/src/unrar/rarvm.cpp:821:11: warning: enumeration value 'VM_ADC' not handled in switch [-Wswitch]
/data/scratch/misc/calibre1/work/calibre/src/unrar/rarvm.cpp:821:11: warning: enumeration value 'VM_SBB' not handled in switch [-Wswitch]
/data/scratch/misc/calibre1/work/calibre/src/unrar/rarvm.cpp:821:11: warning: enumeration value 'VM_PRINT' not handled in switch [-Wswitch]
/data/scratch/misc/calibre1/work/calibre/src/unrar/rarvm.cpp:821:11: warning: enumeration value 'VM_MOVB' not handled in switch [-Wswitch]
/data/scratch/misc/calibre1/work/calibre/src/unrar/rarvm.cpp:821:11: warning: enumeration value 'VM_MOVD' not handled in switch [-Wswitch]
/data/scratch/misc/calibre1/work/calibre/src/unrar/rarvm.cpp:821:11: warning: enumeration value 'VM_CMPB' not handled in switch [-Wswitch]
/data/scratch/misc/calibre1/work/calibre/src/unrar/rarvm.cpp:821:11: warning: enumeration value 'VM_CMPD' not handled in switch [-Wswitch]
/data/scratch/misc/calibre1/work/calibre/src/unrar/rarvm.cpp:821:11: warning: enumeration value 'VM_ADDB' not handled in switch [-Wswitch]
/data/scratch/misc/calibre1/work/calibre/src/unrar/rarvm.cpp:821:11: warning: enumeration value 'VM_ADDD' not handled in switch [-Wswitch]
/data/scratch/misc/calibre1/work/calibre/src/unrar/rarvm.cpp:821:11: warning: enumeration value 'VM_SUBB' not handled in switch [-Wswitch]
/data/scratch/misc/calibre1/work/calibre/src/unrar/rarvm.cpp:821:11: warning: enumeration value 'VM_SUBD' not handled in switch [-Wswitch]
/data/scratch/misc/calibre1/work/calibre/src/unrar/rarvm.cpp:821:11: warning: enumeration value 'VM_INCB' not handled in switch [-Wswitch]
/data/scratch/misc/calibre1/work/calibre/src/unrar/rarvm.cpp:821:11: warning: enumeration value 'VM_INCD' not handled in switch [-Wswitch]
/data/scratch/misc/calibre1/work/calibre/src/unrar/rarvm.cpp:821:11: warning: enumeration value 'VM_DECB' not handled in switch [-Wswitch]
/data/scratch/misc/calibre1/work/calibre/src/unrar/rarvm.cpp:821:11: warning: enumeration value 'VM_DECD' not handled in switch [-Wswitch]
/data/scratch/misc/calibre1/work/calibre/src/unrar/rarvm.cpp:821:11: warning: enumeration value 'VM_NEGB' not handled in switch [-Wswitch]
/data/scratch/misc/calibre1/work/calibre/src/unrar/rarvm.cpp:821:11: warning: enumeration value 'VM_NEGD' not handled in switch [-Wswitch]
/data/scratch/misc/calibre1/work/calibre/src/unrar/rarvm.cpp:821:11: warning: enumeration value 'VM_STANDARD' not handled in switch [-Wswitch]
/data/scratch/misc/calibre1/work/calibre/src/unrar/rarvm.cpp: In member function 'VM_StandardFilters RarVM::IsStandardFilter(byte*, uint)':
/data/scratch/misc/calibre1/work/calibre/src/unrar/rarvm.cpp:863:55: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
     if (StdList[I].CRC==CodeCRC && StdList[I].Length==CodeSize)
                                                       ^
/data/scratch/misc/calibre1/work/calibre/src/unrar/rarvm.cpp: In member function 'void RarVM::ExecuteStandardFilter(VM_StandardFilters)':
/data/scratch/misc/calibre1/work/calibre/src/unrar/rarvm.cpp:1066:55: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
               for (int J=1;J<sizeof(Dif)/sizeof(Dif[0]);J++)
                                                       ^
/data/scratch/misc/calibre1/work/calibre/src/unrar/rarvm.cpp:871:9: warning: enumeration value 'VMSF_NONE' not handled in switch [-Wswitch]
   switch(FilterType)
         ^
c++ -Wall -DNDEBUG -fno-strict-aliasing -pipe -fPIC -O2 -I/usr/pkg/include -I/usr/include -I/usr/X11R7/include -I/usr/X11R7/include/freetype2 -I/usr/pkg/qt4/include -I/usr/X11R7/include/libdrm -pthread -I/usr/pkg/include/python2.7 -O2 -DSILENT -DRARDLL -DUNRAR -D_FILE_OFFSET_BITS=64 -D_LARGEFILE_SOURCE -I/data/scratch/misc/calibre1/work/calibre/src/unrar -c /data/scratch/misc/calibre1/work/calibre/src/unrar/extinfo.cpp -o /data/scratch/misc/calibre1/work/calibre/build/objects/unrar/extinfo.o
c++ -Wall -DNDEBUG -fno-strict-aliasing -pipe -fPIC -O2 -I/usr/pkg/include -I/usr/include -I/usr/X11R7/include -I/usr/X11R7/include/freetype2 -I/usr/pkg/qt4/include -I/usr/X11R7/include/libdrm -pthread -I/usr/pkg/include/python2.7 -O2 -DSILENT -DRARDLL -DUNRAR -D_FILE_OFFSET_BITS=64 -D_LARGEFILE_SOURCE -I/data/scratch/misc/calibre1/work/calibre/src/unrar -c /data/scratch/misc/calibre1/work/calibre/src/unrar/filestr.cpp -o /data/scratch/misc/calibre1/work/calibre/build/objects/unrar/filestr.o
/data/scratch/misc/calibre1/work/calibre/src/unrar/filestr.cpp: In function 'bool ReadTextFile(const char*, const wchar*, StringList*, bool, bool, RAR_CHARSET, bool, bool, bool)':
/data/scratch/misc/calibre1/work/calibre/src/unrar/filestr.cpp:18:6: warning: suggest explicit braces to avoid ambiguous 'else' [-Wparentheses]
   if (Name!=NULL)
      ^
/data/scratch/misc/calibre1/work/calibre/src/unrar/filestr.cpp:36:22: warning: suggest parentheses around '&&' within '||' [-Wparentheses]
   if (FileName!=NULL && *FileName!=0 || FileNameW!=NULL && *FileNameW!=0)
                      ^
/data/scratch/misc/calibre1/work/calibre/src/unrar/filestr.cpp:62:31: warning: suggest parentheses around '&&' within '||' [-Wparentheses]
       SrcCharset==RCH_DEFAULT && IsUnicode((byte *)&Data[0],DataSize))
                               ^
c++ -Wall -DNDEBUG -fno-strict-aliasing -pipe -fPIC -O2 -I/usr/pkg/include -I/usr/include -I/usr/X11R7/include -I/usr/X11R7/include/freetype2 -I/usr/pkg/qt4/include -I/usr/X11R7/include/libdrm -pthread -I/usr/pkg/include/python2.7 -O2 -DSILENT -DRARDLL -DUNRAR -D_FILE_OFFSET_BITS=64 -D_LARGEFILE_SOURCE -I/data/scratch/misc/calibre1/work/calibre/src/unrar -c /data/scratch/misc/calibre1/work/calibre/src/unrar/match.cpp -o /data/scratch/misc/calibre1/work/calibre/build/objects/unrar/match.o
/data/scratch/misc/calibre1/work/calibre/src/unrar/match.cpp: In function 'bool CmpName(const char*, const char*, int)':
/data/scratch/misc/calibre1/work/calibre/src/unrar/match.cpp:67:8: warning: suggest explicit braces to avoid ambiguous 'else' [-Wparentheses]
     if (CmpMode==MATCH_SUBPATH || CmpMode==MATCH_WILDSUBPATH)
        ^
/data/scratch/misc/calibre1/work/calibre/src/unrar/match.cpp: In function 'bool CmpName(const wchar*, const wchar*, int)':
/data/scratch/misc/calibre1/work/calibre/src/unrar/match.cpp:126:8: warning: suggest explicit braces to avoid ambiguous 'else' [-Wparentheses]
     if (CmpMode==MATCH_SUBPATH || CmpMode==MATCH_WILDSUBPATH)
        ^
c++ -Wall -DNDEBUG -fno-strict-aliasing -pipe -fPIC -O2 -I/usr/pkg/include -I/usr/include -I/usr/X11R7/include -I/usr/X11R7/include/freetype2 -I/usr/pkg/qt4/include -I/usr/X11R7/include/libdrm -pthread -I/usr/pkg/include/python2.7 -O2 -DSILENT -DRARDLL -DUNRAR -D_FILE_OFFSET_BITS=64 -D_LARGEFILE_SOURCE -I/data/scratch/misc/calibre1/work/calibre/src/unrar -c /data/scratch/misc/calibre1/work/calibre/src/unrar/errhnd.cpp -o /data/scratch/misc/calibre1/work/calibre/build/objects/unrar/errhnd.o
c++ -Wall -DNDEBUG -fno-strict-aliasing -pipe -fPIC -O2 -I/usr/pkg/include -I/usr/include -I/usr/X11R7/include -I/usr/X11R7/include/freetype2 -I/usr/pkg/qt4/include -I/usr/X11R7/include/libdrm -pthread -I/usr/pkg/include/python2.7 -O2 -DSILENT -DRARDLL -DUNRAR -D_FILE_OFFSET_BITS=64 -D_LARGEFILE_SOURCE -I/data/scratch/misc/calibre1/work/calibre/src/unrar -c /data/scratch/misc/calibre1/work/calibre/src/unrar/ulinks.cpp -o /data/scratch/misc/calibre1/work/calibre/build/objects/unrar/ulinks.o
/data/scratch/misc/calibre1/work/calibre/src/unrar/ulinks.cpp: In function 'bool ExtractLink(ComprDataIO&, Archive&, const char*, uint&, bool)':
/data/scratch/misc/calibre1/work/calibre/src/unrar/ulinks.cpp:17:10: warning: suggest explicit braces to avoid ambiguous 'else' [-Wparentheses]
       if (symlink(LinkTarget,LinkName)==-1) // Error.
          ^
In file included from /data/scratch/misc/calibre1/work/calibre/src/unrar/rar.hpp:16:0,
                 from /data/scratch/misc/calibre1/work/calibre/src/unrar/ulinks.cpp:1:
/data/scratch/misc/calibre1/work/calibre/src/unrar/rardefs.hpp:4:27: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
 #define  Min(x,y) (((x)<(y)) ? (x):(y))
                           ^
/data/scratch/misc/calibre1/work/calibre/src/unrar/ulinks.cpp:29:18: note: in expansion of macro 'Min'
     int NameSize=Min(DataSize,strlen(LinkTarget));
                  ^
c++ -Wall -DNDEBUG -fno-strict-aliasing -pipe -fPIC -O2 -I/usr/pkg/include -I/usr/include -I/usr/X11R7/include -I/usr/X11R7/include/freetype2 -I/usr/pkg/qt4/include -I/usr/X11R7/include/libdrm -pthread -I/usr/pkg/include/python2.7 -O2 -DSILENT -DRARDLL -DUNRAR -D_FILE_OFFSET_BITS=64 -D_LARGEFILE_SOURCE -I/data/scratch/misc/calibre1/work/calibre/src/unrar -c /data/scratch/misc/calibre1/work/calibre/src/unrar/crypt.cpp -o /data/scratch/misc/calibre1/work/calibre/build/objects/unrar/crypt.o
/data/scratch/misc/calibre1/work/calibre/src/unrar/crypt.cpp: In member function 'void CryptData::SetCryptKeys(SecPassword*, const byte*, bool, bool, bool)':
/data/scratch/misc/calibre1/work/calibre/src/unrar/crypt.cpp:234:21: warning: suggest parentheses around '&&' within '||' [-Wparentheses]
         (Salt==NULL && !Cache[I].SaltPresent || Salt!=NULL &&
                     ^
c++ -Wall -DNDEBUG -fno-strict-aliasing -pipe -fPIC -O2 -I/usr/pkg/include -I/usr/include -I/usr/X11R7/include -I/usr/X11R7/include/freetype2 -I/usr/pkg/qt4/include -I/usr/X11R7/include/libdrm -pthread -I/usr/pkg/include/python2.7 -O2 -DSILENT -DRARDLL -DUNRAR -D_FILE_OFFSET_BITS=64 -D_LARGEFILE_SOURCE -I/data/scratch/misc/calibre1/work/calibre/src/unrar -c /data/scratch/misc/calibre1/work/calibre/src/unrar/resource.cpp -o /data/scratch/misc/calibre1/work/calibre/build/objects/unrar/resource.o
c++ -Wall -DNDEBUG -fno-strict-aliasing -pipe -fPIC -O2 -I/usr/pkg/include -I/usr/include -I/usr/X11R7/include -I/usr/X11R7/include/freetype2 -I/usr/pkg/qt4/include -I/usr/X11R7/include/libdrm -pthread -I/usr/pkg/include/python2.7 -O2 -DSILENT -DRARDLL -DUNRAR -D_FILE_OFFSET_BITS=64 -D_LARGEFILE_SOURCE -I/data/scratch/misc/calibre1/work/calibre/src/unrar -c /data/scratch/misc/calibre1/work/calibre/src/unrar/volume.cpp -o /data/scratch/misc/calibre1/work/calibre/build/objects/unrar/volume.o
c++ -Wall -DNDEBUG -fno-strict-aliasing -pipe -fPIC -O2 -I/usr/pkg/include -I/usr/include -I/usr/X11R7/include -I/usr/X11R7/include/freetype2 -I/usr/pkg/qt4/include -I/usr/X11R7/include/libdrm -pthread -I/usr/pkg/include/python2.7 -O2 -DSILENT -DRARDLL -DUNRAR -D_FILE_OFFSET_BITS=64 -D_LARGEFILE_SOURCE -I/data/scratch/misc/calibre1/work/calibre/src/unrar -c /data/scratch/misc/calibre1/work/calibre/src/unrar/arcread.cpp -o /data/scratch/misc/calibre1/work/calibre/build/objects/unrar/arcread.o
/data/scratch/misc/calibre1/work/calibre/src/unrar/arcread.cpp: In member function 'bool Archive::ReadSubData(Array<unsigned char>*, File*)':
/data/scratch/misc/calibre1/work/calibre/src/unrar/arcread.cpp:735:6: warning: suggest explicit braces to avoid ambiguous 'else' [-Wparentheses]
   if (SubHead.Flags & LHD_PASSWORD)
      ^
c++ -Wall -DNDEBUG -fno-strict-aliasing -pipe -fPIC -O2 -I/usr/pkg/include -I/usr/include -I/usr/X11R7/include -I/usr/X11R7/include/freetype2 -I/usr/pkg/qt4/include -I/usr/X11R7/include/libdrm -pthread -I/usr/pkg/include/python2.7 -O2 -DSILENT -DRARDLL -DUNRAR -D_FILE_OFFSET_BITS=64 -D_LARGEFILE_SOURCE -I/data/scratch/misc/calibre1/work/calibre/src/unrar -c /data/scratch/misc/calibre1/work/calibre/src/unrar/options.cpp -o /data/scratch/misc/calibre1/work/calibre/build/objects/unrar/options.o
c++ -Wall -DNDEBUG -fno-strict-aliasing -pipe -fPIC -O2 -I/usr/pkg/include -I/usr/include -I/usr/X11R7/include -I/usr/X11R7/include/freetype2 -I/usr/pkg/qt4/include -I/usr/X11R7/include/libdrm -pthread -I/usr/pkg/include/python2.7 -O2 -DSILENT -DRARDLL -DUNRAR -D_FILE_OFFSET_BITS=64 -D_LARGEFILE_SOURCE -I/data/scratch/misc/calibre1/work/calibre/src/unrar -c /data/scratch/misc/calibre1/work/calibre/src/unrar/extract.cpp -o /data/scratch/misc/calibre1/work/calibre/build/objects/unrar/extract.o
/data/scratch/misc/calibre1/work/calibre/src/unrar/extract.cpp: In member function 'void CmdExtract::DoExtract(CommandData*)':
/data/scratch/misc/calibre1/work/calibre/src/unrar/extract.cpp:65:8: warning: suggest explicit braces to avoid ambiguous 'else' [-Wparentheses]
     if (!Cmd->DisableDone)
        ^
/data/scratch/misc/calibre1/work/calibre/src/unrar/extract.cpp: In member function 'EXTRACT_ARC_CODE CmdExtract::ExtractArchive(CommandData*)':
/data/scratch/misc/calibre1/work/calibre/src/unrar/extract.cpp:196:8: warning: suggest explicit braces to avoid ambiguous 'else' [-Wparentheses]
     if (!ExtractCurrentFile(Cmd,Arc,Size,Repeat))
        ^
/data/scratch/misc/calibre1/work/calibre/src/unrar/extract.cpp: In member function 'bool CmdExtract::ExtractCurrentFile(CommandData*, Archive&, size_t, bool&)':
/data/scratch/misc/calibre1/work/calibre/src/unrar/extract.cpp:221:6: warning: suggest explicit braces to avoid ambiguous 'else' [-Wparentheses]
   if (HeaderSize==0)
      ^
/data/scratch/misc/calibre1/work/calibre/src/unrar/extract.cpp:255:8: warning: suggest explicit braces to avoid ambiguous 'else' [-Wparentheses]
     if (HeadType==ENDARC_HEAD)
        ^
/data/scratch/misc/calibre1/work/calibre/src/unrar/extract.cpp:277:65: warning: suggest parentheses around '&&' within '||' [-Wparentheses]
       !Cmd->Recurse && MatchedArgs>=Cmd->FileArgs->ItemsCount() &&
                                                                 ^
/data/scratch/misc/calibre1/work/calibre/src/unrar/extract.cpp:351:34: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
       if (Cmd->VersionControl-1==Version)
                                  ^
/data/scratch/misc/calibre1/work/calibre/src/unrar/extract.cpp:680:8: warning: suggest explicit braces to avoid ambiguous 'else' [-Wparentheses]
     if (!IsLink(Arc.NewLhd.FileAttr))
        ^
/data/scratch/misc/calibre1/work/calibre/src/unrar/extract.cpp:832:10: warning: suggest explicit braces to avoid ambiguous 'else' [-Wparentheses]
       if (Command!='I')
          ^
/data/scratch/misc/calibre1/work/calibre/src/unrar/extract.cpp:901:12: warning: suggest explicit braces to avoid ambiguous 'else' [-Wparentheses]
         if ((Arc.NewLhd.Flags & LHD_SPLIT_BEFORE)==0)
            ^
/data/scratch/misc/calibre1/work/calibre/src/unrar/extract.cpp:918:35: warning: suggest parentheses around '&&' within '||' [-Wparentheses]
       bool ValidCRC=Arc.OldFormat && GET_UINT32(DataIO.UnpFileCRC)==GET_UINT32(Arc.NewLhd.FileCRC) ||
                                   ^
/data/scratch/misc/calibre1/work/calibre/src/unrar/extract.cpp:1002:6: warning: suggest explicit braces to avoid ambiguous 'else' [-Wparentheses]
   if (!ExtrFile)
      ^
Linking unrar


 c++ /data/scratch/misc/calibre1/work/calibre/build/objects/unrar/list.o /data/scratch/misc/calibre1/work/calibre/build/objects/unrar/getbits.o /data/scratch/misc/calibre1/work/calibre/build/objects/unrar/unrar.o /data/scratch/misc/calibre1/work/calibre/build/objects/unrar/savepos.o /data/scratch/misc/calibre1/work/calibre/build/objects/unrar/cmddata.o /data/scratch/misc/calibre1/work/calibre/build/objects/unrar/rdwrfn.o /data/scratch/misc/calibre1/work/calibre/build/objects/unrar/find.o /data/scratch/misc/calibre1/work/calibre/build/objects/unrar/pathfn.o /data/scratch/misc/calibre1/work/calibre/build/objects/unrar/unicode.o /data/scratch/misc/calibre1/work/calibre/build/objects/unrar/timefn.o /data/scratch/misc/calibre1/work/calibre/build/objects/unrar/filefn.o /data/scratch/misc/calibre1/work/calibre/build/objects/unrar/consio.o /data/scratch/misc/calibre1/work/calibre/build/objects/unrar/system.o /data/scratch/misc/calibre1/work/calibre/build/objects/unrar/scantree.o /data/scratch/misc/calibre1/work/calibre/build/objects/unrar/strfn.o /data/scratch/misc/calibre1/work/calibre/build/objects/unrar/sha1.o /data/scratch/misc/calibre1/work/calibre/build/objects/unrar/isnt.o /data/scratch/misc/calibre1/work/calibre/build/objects/unrar/crc.o /data/scratch/misc/calibre1/work/calibre/build/objects/unrar/global.o /data/scratch/misc/calibre1/work/calibre/build/objects/unrar/unpack.o /data/scratch/misc/calibre1/work/calibre/build/objects/unrar/rawread.o /data/scratch/misc/calibre1/work/calibre/build/objects/unrar/rijndael.o /data/scratch/misc/calibre1/work/calibre/build/objects/unrar/smallfn.o /data/scratch/misc/calibre1/work/calibre/build/objects/unrar/strlist.o /data/scratch/misc/calibre1/work/calibre/build/objects/unrar/file.o /data/scratch/misc/calibre1/work/calibre/build/objects/unrar/rar.o /data/scratch/misc/calibre1/work/calibre/build/objects/unrar/archive.o /data/scratch/misc/calibre1/work/calibre/build/objects/unrar/encname.o /data/scratch/misc/calibre1/work/calibre/build/objects/unrar/filcreat.o /data/scratch/misc/calibre1/work/calibre/build/objects/unrar/secpassword.o /data/scratch/misc/calibre1/work/calibre/build/objects/unrar/rarvm.o /data/scratch/misc/calibre1/work/calibre/build/objects/unrar/extinfo.o /data/scratch/misc/calibre1/work/calibre/build/objects/unrar/filestr.o /data/scratch/misc/calibre1/work/calibre/build/objects/unrar/match.o /data/scratch/misc/calibre1/work/calibre/build/objects/unrar/errhnd.o /data/scratch/misc/calibre1/work/calibre/build/objects/unrar/ulinks.o /data/scratch/misc/calibre1/work/calibre/build/objects/unrar/crypt.o /data/scratch/misc/calibre1/work/calibre/build/objects/unrar/resource.o /data/scratch/misc/calibre1/work/calibre/build/objects/unrar/volume.o /data/scratch/misc/calibre1/work/calibre/build/objects/unrar/arcread.o /data/scratch/misc/calibre1/work/calibre/build/objects/unrar/options.o /data/scratch/misc/calibre1/work/calibre/build/objects/unrar/extract.o -o /data/scratch/misc/calibre1/work/calibre/src/calibre/plugins/unrar.so -Wall -L/usr/pkg/lib -L/usr/lib -Wl,-R/usr/lib -Wl,-R/usr/pkg/lib -L/usr/X11R7/lib -Wl,-R/usr/X11R7/lib -L/usr/pkg/qt4/lib -Wl,-R/usr/pkg/qt4/lib -shared -lpython2.7 


*** Please use pkgtools/verifypc to sanity check dependencies.