=> Bootstrap dependency digest>=20010302: found digest-20121220
===> 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'.
===> Installing for calibre-0.9.7nb15
=> Generating pre-install file lists
=> Creating installation directories
(cd /scratch/misc/calibre/work/calibre/ && /usr/bin/env PKGSRC_PYTHON_NO_EGG=defined DESTDIR=/scratch/misc/calibre/work/.destdir FC_INC_DIR=/usr/pkg/include/fontconfig FC_LIB_DIR=/usr/pkg/lib PODOFO_INC_DIR=/usr/pkg/include/podofo PODOFO_LIB_DIR=/usr/pkg/lib 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=clang CFLAGS=-O2\ -I/usr/include\ -I/usr/pkg/include\ -I/usr/pkg/include/freetype2\ -I/usr/pkg/lib/dbus-1.0/include/dbus\ -I/usr/pkg/qt4/include\ -I/usr/pkg/include/libdrm CPPFLAGS=-I/usr/include\ -I/usr/pkg/include\ -I/usr/pkg/include/freetype2\ -I/usr/pkg/lib/dbus-1.0/include/dbus\ -I/usr/pkg/qt4/include\ -I/usr/pkg/include/libdrm CXX=clang++ CXXFLAGS=-O2\ -I/usr/include\ -I/usr/pkg/include\ -I/usr/pkg/include/freetype2\ -I/usr/pkg/lib/dbus-1.0/include/dbus\ -I/usr/pkg/qt4/include\ -I/usr/pkg/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/lib\ -Wl,-R/usr/lib\ -L/usr/pkg/lib\ -Wl,-R/usr/pkg/lib\ -L/usr/pkg/qt4/lib\ -Wl,-R/usr/pkg/qt4/lib LINKER_RPATH_FLAG=-R PATH=/scratch/misc/calibre/work/.wrapper/bin:/scratch/misc/calibre/work/.buildlink/bin:/scratch/misc/calibre/work/.tools/bin:/usr/pkg/bin:/usr/bin:/bin:/usr/pkg/bin:/usr/local/bin:/usr/pkg/bin:/usr/pkg/bin PREFIX=/usr/pkg MAKELEVEL=0 PKG_SYSCONFDIR=/usr/pkg/etc HOME=/scratch/misc/calibre/work/.home CPP=clang-cpp LINK_ALL_LIBGCC_HACK= LOCALBASE=/usr/pkg NO_WHOLE_ARCHIVE_FLAG=-Wl,--no-whole-archive WHOLE_ARCHIVE_FLAG=-Wl,--whole-archive X11BASE=/usr/pkg X11PREFIX=/usr/pkg 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=/scratch/misc/calibre/work/.tools/bin/makeinfo FLEX= BISON= PKG_CONFIG=/scratch/misc/calibre/work/.tools/bin/pkg-config PKG_CONFIG_LIBDIR=/scratch/misc/calibre/work/.buildlink/lib/pkgconfig:/scratch/misc/calibre/work/.buildlink/share/pkgconfig PKG_CONFIG_LOG=/scratch/misc/calibre/work/.pkg-config.log PKG_CONFIG_PATH= WRAPPER_DEBUG=no WRAPPER_UPDATE_CACHE=yes WRAPPER_REORDER=yes VIEWBASE=/usr/pkg  /usr/pkg/bin/python2.7 setup.py  "install" --prefix=/usr/pkg --root=/scratch/misc/calibre/work/.destdir/usr/pkg  )

*
* Running build
*


####### Building calibre style #######

####### Building extension speedup #######

####### Building extension icu #######

####### Building extension sqlite_custom #######

####### Building extension chmlib #######

####### Building extension chm_extra #######

####### Building extension magick #######

####### Building extension lzx #######

####### Building extension freetype #######

####### Building extension woff #######

####### Building extension msdes #######

####### Building extension cPalmdoc #######

####### Building extension podofo #######

####### Building extension pictureflow #######

####### Building extension progress_indicator #######

*
* Running gui
*

WARNING: You do not have the LANG environment variable set correctly. This will cause problems with non-ascii filenames. Set it to something like en_US.UTF-8.

	Compiling form /scratch/misc/calibre/work/calibre/src/calibre/gui2/shortcuts.ui
	Compiling form /scratch/misc/calibre/work/calibre/src/calibre/gui2/filename_pattern.ui
	Compiling form /scratch/misc/calibre/work/calibre/src/calibre/gui2/catalog/catalog_epub_mobi.ui
	Compiling form /scratch/misc/calibre/work/calibre/src/calibre/gui2/catalog/catalog_bibtex.ui
	Compiling form /scratch/misc/calibre/work/calibre/src/calibre/gui2/catalog/catalog_tab_template.ui
	Compiling form /scratch/misc/calibre/work/calibre/src/calibre/gui2/catalog/catalog_csv_xml.ui
	Compiling form /scratch/misc/calibre/work/calibre/src/calibre/gui2/viewer/main.ui
	Compiling form /scratch/misc/calibre/work/calibre/src/calibre/gui2/viewer/config.ui
	Compiling form /scratch/misc/calibre/work/calibre/src/calibre/gui2/viewer/bookmarkmanager.ui
	Compiling form /scratch/misc/calibre/work/calibre/src/calibre/gui2/preferences/adding.ui
	Compiling form /scratch/misc/calibre/work/calibre/src/calibre/gui2/preferences/columns.ui
	Compiling form /scratch/misc/calibre/work/calibre/src/calibre/gui2/preferences/toolbar.ui
	Compiling form /scratch/misc/calibre/work/calibre/src/calibre/gui2/preferences/misc.ui
	Compiling form /scratch/misc/calibre/work/calibre/src/calibre/gui2/preferences/saving.ui
	Compiling form /scratch/misc/calibre/work/calibre/src/calibre/gui2/preferences/template_functions.ui
	Compiling form /scratch/misc/calibre/work/calibre/src/calibre/gui2/preferences/behavior.ui
	Compiling form /scratch/misc/calibre/work/calibre/src/calibre/gui2/preferences/look_feel.ui
	Compiling form /scratch/misc/calibre/work/calibre/src/calibre/gui2/preferences/save_template.ui
	Compiling form /scratch/misc/calibre/work/calibre/src/calibre/gui2/preferences/conversion.ui
	Compiling form /scratch/misc/calibre/work/calibre/src/calibre/gui2/preferences/tweaks.ui
	Compiling form /scratch/misc/calibre/work/calibre/src/calibre/gui2/preferences/email.ui
	Compiling form /scratch/misc/calibre/work/calibre/src/calibre/gui2/preferences/sending.ui
	Compiling form /scratch/misc/calibre/work/calibre/src/calibre/gui2/preferences/metadata_sources.ui
	Compiling form /scratch/misc/calibre/work/calibre/src/calibre/gui2/preferences/plugboard.ui
	Compiling form /scratch/misc/calibre/work/calibre/src/calibre/gui2/preferences/server.ui
	Compiling form /scratch/misc/calibre/work/calibre/src/calibre/gui2/preferences/search.ui
	Compiling form /scratch/misc/calibre/work/calibre/src/calibre/gui2/preferences/plugins.ui
	Compiling form /scratch/misc/calibre/work/calibre/src/calibre/gui2/preferences/create_custom_column.ui
	Compiling form /scratch/misc/calibre/work/calibre/src/calibre/gui2/dialogs/template_dialog.ui
	Compiling form /scratch/misc/calibre/work/calibre/src/calibre/gui2/dialogs/saved_search_editor.ui
	Compiling form /scratch/misc/calibre/work/calibre/src/calibre/gui2/dialogs/comicconf.ui
	Compiling form /scratch/misc/calibre/work/calibre/src/calibre/gui2/dialogs/confirm_delete.ui
	Compiling form /scratch/misc/calibre/work/calibre/src/calibre/gui2/dialogs/delete_matching_from_device.ui
	Compiling form /scratch/misc/calibre/work/calibre/src/calibre/gui2/dialogs/edit_authors_dialog.ui
	Compiling form /scratch/misc/calibre/work/calibre/src/calibre/gui2/dialogs/comments_dialog.ui
	Compiling form /scratch/misc/calibre/work/calibre/src/calibre/gui2/dialogs/jobs.ui
	Compiling form /scratch/misc/calibre/work/calibre/src/calibre/gui2/dialogs/conversion_error.ui
	Compiling form /scratch/misc/calibre/work/calibre/src/calibre/gui2/dialogs/tag_list_editor.ui
	Compiling form /scratch/misc/calibre/work/calibre/src/calibre/gui2/dialogs/metadata_bulk.ui
	Compiling form /scratch/misc/calibre/work/calibre/src/calibre/gui2/dialogs/choose_format_device.ui
	Compiling form /scratch/misc/calibre/work/calibre/src/calibre/gui2/dialogs/quickview.ui
	Compiling form /scratch/misc/calibre/work/calibre/src/calibre/gui2/dialogs/catalog.ui
	Compiling form /scratch/misc/calibre/work/calibre/src/calibre/gui2/dialogs/scheduler.ui
	Compiling form /scratch/misc/calibre/work/calibre/src/calibre/gui2/dialogs/progress.ui
	Compiling form /scratch/misc/calibre/work/calibre/src/calibre/gui2/dialogs/tag_categories.ui
	Compiling form /scratch/misc/calibre/work/calibre/src/calibre/gui2/dialogs/choose_format.ui
	Compiling form /scratch/misc/calibre/work/calibre/src/calibre/gui2/dialogs/smartdevice.ui
	Compiling form /scratch/misc/calibre/work/calibre/src/calibre/gui2/dialogs/add_from_isbn.ui
	Compiling form /scratch/misc/calibre/work/calibre/src/calibre/gui2/dialogs/book_info.ui
	Compiling form /scratch/misc/calibre/work/calibre/src/calibre/gui2/dialogs/device_category_editor.ui
	Compiling form /scratch/misc/calibre/work/calibre/src/calibre/gui2/dialogs/test_email.ui
	Compiling form /scratch/misc/calibre/work/calibre/src/calibre/gui2/dialogs/password.ui
	Compiling form /scratch/misc/calibre/work/calibre/src/calibre/gui2/dialogs/search.ui
	Compiling form /scratch/misc/calibre/work/calibre/src/calibre/gui2/dialogs/choose_library.ui
	Compiling form /scratch/misc/calibre/work/calibre/src/calibre/gui2/dialogs/user_profiles.ui
	Compiling form /scratch/misc/calibre/work/calibre/src/calibre/gui2/dialogs/search_item.ui
	Compiling form /scratch/misc/calibre/work/calibre/src/calibre/gui2/dialogs/job_view.ui
	Compiling form /scratch/misc/calibre/work/calibre/src/calibre/gui2/dialogs/tag_editor.ui
	Compiling form /scratch/misc/calibre/work/calibre/src/calibre/gui2/dialogs/confirm_delete_location.ui
	Compiling form /scratch/misc/calibre/work/calibre/src/calibre/gui2/dialogs/message_box.ui
	Compiling form /scratch/misc/calibre/work/calibre/src/calibre/gui2/dialogs/drm_error.ui
	Compiling form /scratch/misc/calibre/work/calibre/src/calibre/gui2/wizard/library.ui
	Compiling form /scratch/misc/calibre/work/calibre/src/calibre/gui2/wizard/finish.ui
	Compiling form /scratch/misc/calibre/work/calibre/src/calibre/gui2/wizard/device.ui
	Compiling form /scratch/misc/calibre/work/calibre/src/calibre/gui2/wizard/stanza.ui
	Compiling form /scratch/misc/calibre/work/calibre/src/calibre/gui2/wizard/send_email.ui
	Compiling form /scratch/misc/calibre/work/calibre/src/calibre/gui2/wizard/kindle.ui
	Compiling form /scratch/misc/calibre/work/calibre/src/calibre/gui2/add_wizard/welcome.ui
	Compiling form /scratch/misc/calibre/work/calibre/src/calibre/gui2/add_wizard/scan.ui
	Compiling form /scratch/misc/calibre/work/calibre/src/calibre/gui2/device_drivers/configwidget.ui
	Compiling form /scratch/misc/calibre/work/calibre/src/calibre/gui2/convert/txt_input.ui
	Compiling form /scratch/misc/calibre/work/calibre/src/calibre/gui2/convert/pdf_output.ui
	Compiling form /scratch/misc/calibre/work/calibre/src/calibre/gui2/convert/pdf_input.ui
	Compiling form /scratch/misc/calibre/work/calibre/src/calibre/gui2/convert/snb_output.ui
	Compiling form /scratch/misc/calibre/work/calibre/src/calibre/gui2/convert/rb_output.ui
	Compiling form /scratch/misc/calibre/work/calibre/src/calibre/gui2/convert/fb2_output.ui
	Compiling form /scratch/misc/calibre/work/calibre/src/calibre/gui2/convert/txt_output.ui
	Compiling form /scratch/misc/calibre/work/calibre/src/calibre/gui2/convert/font_key.ui
	Compiling form /scratch/misc/calibre/work/calibre/src/calibre/gui2/convert/epub_output.ui
	Compiling form /scratch/misc/calibre/work/calibre/src/calibre/gui2/convert/pdb_output.ui
	Compiling form /scratch/misc/calibre/work/calibre/src/calibre/gui2/convert/toc.ui
	Compiling form /scratch/misc/calibre/work/calibre/src/calibre/gui2/convert/pmlz_output.ui
	Compiling form /scratch/misc/calibre/work/calibre/src/calibre/gui2/convert/azw3_output.ui
	Compiling form /scratch/misc/calibre/work/calibre/src/calibre/gui2/convert/djvu_input.ui
	Compiling form /scratch/misc/calibre/work/calibre/src/calibre/gui2/convert/xexp_edit.ui
	Compiling form /scratch/misc/calibre/work/calibre/src/calibre/gui2/convert/fb2_input.ui
	Compiling form /scratch/misc/calibre/work/calibre/src/calibre/gui2/convert/metadata.ui
	Compiling form /scratch/misc/calibre/work/calibre/src/calibre/gui2/convert/structure_detection.ui
	Compiling form /scratch/misc/calibre/work/calibre/src/calibre/gui2/convert/regex_builder.ui
	Compiling form /scratch/misc/calibre/work/calibre/src/calibre/gui2/convert/debug.ui
	Compiling form /scratch/misc/calibre/work/calibre/src/calibre/gui2/convert/single.ui
	Compiling form /scratch/misc/calibre/work/calibre/src/calibre/gui2/convert/page_setup.ui
	Compiling form /scratch/misc/calibre/work/calibre/src/calibre/gui2/convert/comic_input.ui
	Compiling form /scratch/misc/calibre/work/calibre/src/calibre/gui2/convert/htmlz_output.ui
	Compiling form /scratch/misc/calibre/work/calibre/src/calibre/gui2/convert/mobi_output.ui
	Compiling form /scratch/misc/calibre/work/calibre/src/calibre/gui2/convert/xpath_wizard.ui
	Compiling form /scratch/misc/calibre/work/calibre/src/calibre/gui2/convert/lrf_output.ui
	Compiling form /scratch/misc/calibre/work/calibre/src/calibre/gui2/convert/search_and_replace.ui
	Compiling form /scratch/misc/calibre/work/calibre/src/calibre/gui2/convert/heuristics.ui
	Compiling form /scratch/misc/calibre/work/calibre/src/calibre/gui2/convert/look_and_feel.ui
	Compiling form /scratch/misc/calibre/work/calibre/src/calibre/gui2/lrf_renderer/main.ui
	Compiling form /scratch/misc/calibre/work/calibre/src/calibre/gui2/lrf_renderer/config.ui
	Compiling form /scratch/misc/calibre/work/calibre/src/calibre/gui2/store/basic_config_widget.ui
	Compiling form /scratch/misc/calibre/work/calibre/src/calibre/gui2/store/web_store_dialog.ui
	Compiling form /scratch/misc/calibre/work/calibre/src/calibre/gui2/store/config/search/search_widget.ui
	Compiling form /scratch/misc/calibre/work/calibre/src/calibre/gui2/store/config/chooser/chooser_widget.ui
	Compiling form /scratch/misc/calibre/work/calibre/src/calibre/gui2/store/config/chooser/adv_search_builder.ui
	Compiling form /scratch/misc/calibre/work/calibre/src/calibre/gui2/store/search/search.ui
	Compiling form /scratch/misc/calibre/work/calibre/src/calibre/gui2/store/search/adv_search_builder.ui
	Compiling form /scratch/misc/calibre/work/calibre/src/calibre/gui2/store/stores/mobileread/cache_progress_dialog.ui
	Compiling form /scratch/misc/calibre/work/calibre/src/calibre/gui2/store/stores/mobileread/adv_search_builder.ui
	Compiling form /scratch/misc/calibre/work/calibre/src/calibre/gui2/store/stores/mobileread/store_dialog.ui
Creating images.qrc

*
* Running install
*

INSTALL paths:
	LIB: /scratch/misc/calibre/work/.destdir/usr/pkg/lib/calibre
	SHARE: /scratch/misc/calibre/work/.destdir/usr/pkg/share/calibre
Installing binary: /scratch/misc/calibre/work/.destdir/usr/pkg/bin/ebook-device
Installing binary: /scratch/misc/calibre/work/.destdir/usr/pkg/bin/ebook-meta
Installing binary: /scratch/misc/calibre/work/.destdir/usr/pkg/bin/ebook-convert
Installing binary: /scratch/misc/calibre/work/.destdir/usr/pkg/bin/markdown-calibre
Installing binary: /scratch/misc/calibre/work/.destdir/usr/pkg/bin/web2disk
Installing binary: /scratch/misc/calibre/work/.destdir/usr/pkg/bin/calibre-server
Installing binary: /scratch/misc/calibre/work/.destdir/usr/pkg/bin/lrf2lrs
Installing binary: /scratch/misc/calibre/work/.destdir/usr/pkg/bin/lrs2lrf
Installing binary: /scratch/misc/calibre/work/.destdir/usr/pkg/bin/calibre-debug
Installing binary: /scratch/misc/calibre/work/.destdir/usr/pkg/bin/calibredb
Installing binary: /scratch/misc/calibre/work/.destdir/usr/pkg/bin/calibre-parallel
Installing binary: /scratch/misc/calibre/work/.destdir/usr/pkg/bin/calibre-customize
Installing binary: /scratch/misc/calibre/work/.destdir/usr/pkg/bin/calibre-complete
Installing binary: /scratch/misc/calibre/work/.destdir/usr/pkg/bin/fetch-ebook-metadata
Installing binary: /scratch/misc/calibre/work/.destdir/usr/pkg/bin/epub-fix
Installing binary: /scratch/misc/calibre/work/.destdir/usr/pkg/bin/calibre-smtp
Installing binary: /scratch/misc/calibre/work/.destdir/usr/pkg/bin/calibre
Installing binary: /scratch/misc/calibre/work/.destdir/usr/pkg/bin/lrfviewer
Installing binary: /scratch/misc/calibre/work/.destdir/usr/pkg/bin/ebook-viewer
Installing mount helper to /scratch/misc/calibre/work/.destdir/usr/pkg/bin/calibre-mount-helper
Installing code to /scratch/misc/calibre/work/.destdir/usr/pkg/lib/calibre
Installing resources to /scratch/misc/calibre/work/.destdir/usr/pkg/share/calibre
Setting up bash completion...

____________________ WARNING ____________________
Setting up completion failed with error:
__________________________________________________
	Traceback (most recent call last):
	  File "/scratch/misc/calibre/work/calibre/src/calibre/linux.py", line 210, in setup_completion
	    from calibre.gui2.lrf_renderer.main import option_parser as lrfviewerop
	  File "/scratch/misc/calibre/work/calibre/src/calibre/gui2/lrf_renderer/main.py", line 13, in <module>
	    from calibre.gui2.dialogs.conversion_error import ConversionErrorDialog
	  File "/scratch/misc/calibre/work/calibre/src/calibre/gui2/dialogs/conversion_error.py", line 5, in <module>
	    from calibre.gui2.dialogs.conversion_error_ui import Ui_ConversionErrorDialog
	  File "/scratch/misc/calibre/work/calibre/src/calibre/gui2/dialogs/conversion_error_ui.py", line 21
	    return _("ERROR"))
	                     ^
	SyntaxError: invalid syntax

Setting up desktop integration...
Installing calibre environment module: /scratch/misc/calibre/work/.destdir/usr/pkg/lib/python2.7/site-packages/init_calibre.py


calibre successfully installed. You can start it by running the command calibre

There were 1 warning(s):

* Setting up completion failed with error:

cd /scratch/misc/calibre/work/calibre/recipes && pax -wr -pma *.recipe  /scratch/misc/calibre/work/.destdir/usr/pkg/share/calibre/recipes
cd /scratch/misc/calibre/work/calibre && pax -wr -pma Changelog* README  COPYRIGHT INSTALL LICENSE.*  /scratch/misc/calibre/work/.destdir/usr/pkg/share/doc/calibre
=> Automatic manual page handling
=> Generating post-install file lists
pkg_create: can't stat `/scratch/misc/calibre/work/.destdir/usr/pkg/share/bash_completion.d/calibre'
=> Checking file-check results for calibre-0.9.7nb15
ERROR: ************************************************************
ERROR: The following files are in the PLIST but not in /scratch/misc/calibre/work/.destdir/usr/pkg:
ERROR:         /scratch/misc/calibre/work/.destdir/usr/pkg/share/bash_completion.d/calibre
*** Error code 1

Stop.
make[1]: stopped in /data/pkgsrc/misc/calibre
*** Error code 1

Stop.
make: stopped in /data/pkgsrc/misc/calibre
