Once again with english error messages:
Building package with
apt-get build-dep python-sip
apt-get source --compile python-sip
works, no problems
Starting calibre with gdb:
gdb /usr/bin/python2.7
(gdb) run /usr/bin/calibre
Starting program: /usr/bin/python2.7 /usr/bin/calibre
[Thread debugging using libthread_db enabled]
Using host libthread_db library "/lib/x86_64-linux-gnu/libthread_db.so.1".
Program received signal SIGSEGV, Segmentation fault.
Python Exception <class 'gdb.error'> There is no member named ma_mask.:
createClassType (client=client@entry=0x7fffe2decea0,
ctd=ctd@entry=0x7fffe2ded020, mod_dict=mod_dict@entry=)
at /tmp/sip4-4.13.2/siplib/siplib.c:5502
5502 Py_INCREF(st);
(gdb) where
Python Exception <class 'gdb.error'> There is no member named ma_mask.:
#0 createClassType (client=client@entry=0x7fffe2decea0,
ctd=ctd@entry=0x7fffe2ded020, mod_dict=mod_dict@entry=)
at /tmp/sip4-4.13.2/siplib/siplib.c:5502
Python Exception <class 'gdb.error'> There is no member named ma_mask.:
#1 0x00007ffff22f6f31 in sip_api_init_module (client=0x7fffe2decea0,
mod_dict=)
at /tmp/sip4-4.13.2/siplib/siplib.c:1396
#2 0x00007fffe2bdf9f7 in initpictureflow () from
/usr/lib/calibre/calibre/plugins/pictureflow.so
#3 0x00000000004a2ac4 in _PyImport_LoadDynamicModule ()
#4 0x000000000041f47b in import_submodule.39130 ()
#5 0x000000000043caff in load_next.39135 ()
#6 0x000000000041fd44 in import_module_level.isra.3.39156 ()
#7 0x000000000050917b in builtin___import__.32811 ()
#8 0x00000000004eaa3b in PyEval_EvalFrameEx ()
#9 0x00000000004f1db0 in PyEval_EvalCodeEx ()
#10 0x00000000004eafd8 in PyEval_EvalFrameEx ()
#11 0x00000000004eb222 in PyEval_EvalFrameEx ()
#12 0x00000000004f1db0 in PyEval_EvalCodeEx ()
#13 0x00000000004f2e00 in function_call.15047 ()
#14 0x000000000044a176 in PyObject_Call ()
#15 0x000000000047cc7a in instancemethod_call.8523 ()
#16 0x000000000044a176 in PyObject_Call ()
#17 0x00000000004dd7b7 in call_method.25480 ()
#18 0x00000000004ebd03 in PyEval_EvalFrameEx ()
#19 0x00000000004f1db0 in PyEval_EvalCodeEx ()
#20 0x00000000004d8d98 in PyImport_ExecCodeModuleEx ()
#21 0x000000000041ea88 in load_source_module.39076 ()
#22 0x000000000041f47b in import_submodule.39130 ()
#23 0x000000000043caff in load_next.39135 ()
#24 0x000000000041ff01 in import_module_level.isra.3.39156 ()
#25 0x000000000050917b in builtin___import__.32811 ()
#26 0x000000000044a176 in PyObject_Call ()
#27 0x000000000044c666 in PyEval_CallObjectWithKeywords ()
#28 0x00000000004ed1f3 in PyEval_EvalFrameEx ()
#29 0x00000000004f1db0 in PyEval_EvalCodeEx ()
#30 0x00000000004d8d98 in PyImport_ExecCodeModuleEx ()
#31 0x000000000041ea88 in load_source_module.39076 ()
#32 0x000000000041f47b in import_submodule.39130 ()
#33 0x000000000043caff in load_next.39135 ()
#34 0x000000000041ff01 in import_module_level.isra.3.39156 ()
#35 0x000000000050917b in builtin___import__.32811 ()
#36 0x000000000044a176 in PyObject_Call ()
#37 0x000000000044c666 in PyEval_CallObjectWithKeywords ()
#38 0x00000000004ed1f3 in PyEval_EvalFrameEx ()
#39 0x00000000004eb222 in PyEval_EvalFrameEx ()
#40 0x00000000004f1db0 in PyEval_EvalCodeEx ()
#41 0x00000000004eafd8 in PyEval_EvalFrameEx ()
#42 0x00000000004f1db0 in PyEval_EvalCodeEx ()
#43 0x00000000004d980d in PyRun_FileExFlags ()
#44 0x00000000004d9a96 in PyRun_SimpleFileExFlags ()
#45 0x00000000004da39e in Py_Main ()
#46 0x00007ffff6977ead in __libc_start_main (main=<optimized out>,
argc=<optimized out>, ubp_av=<optimized out>,
init=<optimized out>, fini=<optimized out>, rtld_fini=<optimized
out>, stack_end=0x7fffffffe2c8)
at libc-start.c:228
#47 0x000000000041e131 in _start ()
Next suggestet try: Rebuild calibre
apt-get build-dep calibre
apt-get source --compile calibre
=> build failed, log is attached.
I will open another bug for calibre, because build is failing without
any message, but the first problem still exists.
I think the lib should never crash, even the call may be wrong.
With regards
Tom
Reading package lists...
Building dependency tree...
Reading state information...
NOTICE: 'calibre' packaging is maintained in the 'Bzr' version control system
at:
https://code.launchpad.net/~calibre-packagers/calibre/debian
Please use:
bzr get https://code.launchpad.net/~calibre-packagers/calibre/debian
to retrieve the latest (possibly unreleased) updates to the package.
Need to get 24.2 MB of source archives.
Get:1 http://ftp.de.debian.org/debian/ sid/main calibre 0.8.49+dfsg-0.1 (dsc)
[1,763 B]
Get:2 http://ftp.de.debian.org/debian/ sid/main calibre 0.8.49+dfsg-0.1 (tar)
[24.2 MB]
Get:3 http://ftp.de.debian.org/debian/ sid/main calibre 0.8.49+dfsg-0.1 (diff)
[21.0 kB]
dpkg-source: info: extracting calibre in calibre-0.8.49+dfsg
dpkg-source: info: unpacking calibre_0.8.49+dfsg.orig.tar.xz
dpkg-source: info: unpacking calibre_0.8.49+dfsg-0.1.debian.tar.gz
dpkg-source: info: applying no_updates_dialog.patch
dpkg-source: info: applying manpages-installation.patch
dpkg-source: info: applying disable_plugins.py
dpkg-source: info: applying use-system-feedparser.patch
dpkg-buildpackage: source package calibre
dpkg-buildpackage: source version 0.8.49+dfsg-0.1
dpkg-buildpackage: source changed by Kefu Chai <tchai...@gmail.com>
dpkg-source --before-build calibre-0.8.49+dfsg
dpkg-buildpackage: host architecture amd64
debian/rules clean
test -x debian/rules
dh_testroot
dh_clean
rm -rf debian/orig
[ ! -d build ] || python2.7 setup.py build -c
/usr/bin/make -C debian/man clean
make[1]: Entering directory `/tmp/calibre-0.8.49+dfsg/debian/man'
rm -f *.1
make[1]: Leaving directory `/tmp/calibre-0.8.49+dfsg/debian/man'
debian/rules build
test -x debian/rules
mkdir -p "."
/usr/share/cdbs/1/rules/buildcore.mk:109: WARNING: DEB_DH_INSTALL_ARGS is a
deprecated variable
[ -d build ] || python2.7 setup.py build
*
* Running build
*
####### Building extension speedup #######
gcc -O3 -Wall -DNDEBUG -fno-strict-aliasing -pipe -fPIC -pthread
-I/usr/include/python2.7 -c
/tmp/calibre-0.8.49+dfsg/src/calibre/utils/speedup.c -o
/tmp/calibre-0.8.49+dfsg/build/objects/speedup/speedup.o
Linking speedup
gcc /tmp/calibre-0.8.49+dfsg/build/objects/speedup/speedup.o -o
/tmp/calibre-0.8.49+dfsg/src/calibre/plugins/speedup.so -Wall -shared
-lpython2.7
####### Building extension icu #######
gcc -O3 -Wall -DNDEBUG -fno-strict-aliasing -pipe -fPIC -pthread
-I/usr/include/python2.7 -c /tmp/calibre-0.8.49+dfsg/src/calibre/utils/icu.c -o
/tmp/calibre-0.8.49+dfsg/build/objects/icu/icu.o
Linking icu
gcc /tmp/calibre-0.8.49+dfsg/build/objects/icu/icu.o -o
/tmp/calibre-0.8.49+dfsg/src/calibre/plugins/icu.so -Wall -shared -lpython2.7
-licudata -licui18n -licuuc -licuio
####### Building extension sqlite_custom #######
gcc -O3 -Wall -DNDEBUG -fno-strict-aliasing -pipe -fPIC -pthread
-I/usr/include/python2.7 -c
/tmp/calibre-0.8.49+dfsg/src/calibre/library/sqlite_custom.c -o
/tmp/calibre-0.8.49+dfsg/build/objects/sqlite_custom/sqlite_custom.o
Linking sqlite_custom
gcc /tmp/calibre-0.8.49+dfsg/build/objects/sqlite_custom/sqlite_custom.o -o
/tmp/calibre-0.8.49+dfsg/src/calibre/plugins/sqlite_custom.so -Wall -shared
-lpython2.7
####### Building extension chmlib #######
gcc -O3 -Wall -DNDEBUG -fno-strict-aliasing -pipe -fPIC -pthread
-I/usr/include/python2.7 -DSWIG_COBJECT_TYPES -c
/tmp/calibre-0.8.49+dfsg/src/calibre/utils/chm/swig_chm.c -o
/tmp/calibre-0.8.49+dfsg/build/objects/chmlib/swig_chm.o
Linking chmlib
gcc /tmp/calibre-0.8.49+dfsg/build/objects/chmlib/swig_chm.o -o
/tmp/calibre-0.8.49+dfsg/src/calibre/plugins/chmlib.so -Wall -shared
-lpython2.7 -lchm
####### Building extension chm_extra #######
gcc -O3 -Wall -DNDEBUG -fno-strict-aliasing -pipe -fPIC -pthread
-I/usr/include/python2.7 -D__PYTHON__ -c
/tmp/calibre-0.8.49+dfsg/src/calibre/utils/chm/extra.c -o
/tmp/calibre-0.8.49+dfsg/build/objects/chm_extra/extra.o
Linking chm_extra
gcc /tmp/calibre-0.8.49+dfsg/build/objects/chm_extra/extra.o -o
/tmp/calibre-0.8.49+dfsg/src/calibre/plugins/chm_extra.so -Wall -shared
-lpython2.7 -lchm
####### Building extension magick #######
gcc -O3 -Wall -DNDEBUG -fno-strict-aliasing -pipe -fPIC -pthread
-I/usr/include/python2.7 -I/usr/include/ImageMagick -c
/tmp/calibre-0.8.49+dfsg/src/calibre/utils/magick/magick.c -o
/tmp/calibre-0.8.49+dfsg/build/objects/magick/magick.o
Linking magick
gcc /tmp/calibre-0.8.49+dfsg/build/objects/magick/magick.o -o
/tmp/calibre-0.8.49+dfsg/src/calibre/plugins/magick.so -Wall -shared
-lpython2.7 -L/usr/lib -lMagickWand -lMagickCore
####### Building extension pdfreflow #######
g++ -O3 -Wall -DNDEBUG -fno-strict-aliasing -pipe -fPIC -pthread
-I/usr/include/python2.7 -DPNG_SKIP_SETJMP_CHECK -DPOPPLER_OLD_LINK_TYPE
-I/usr/include -I/usr/include/ImageMagick -I/usr/include/poppler -c
/tmp/calibre-0.8.49+dfsg/src/calibre/ebooks/pdf/fonts.cpp -o
/tmp/calibre-0.8.49+dfsg/build/objects/pdfreflow/fonts.o
g++ -O3 -Wall -DNDEBUG -fno-strict-aliasing -pipe -fPIC -pthread
-I/usr/include/python2.7 -DPNG_SKIP_SETJMP_CHECK -DPOPPLER_OLD_LINK_TYPE
-I/usr/include -I/usr/include/ImageMagick -I/usr/include/poppler -c
/tmp/calibre-0.8.49+dfsg/src/calibre/ebooks/pdf/main.cpp -o
/tmp/calibre-0.8.49+dfsg/build/objects/pdfreflow/main.o
g++ -O3 -Wall -DNDEBUG -fno-strict-aliasing -pipe -fPIC -pthread
-I/usr/include/python2.7 -DPNG_SKIP_SETJMP_CHECK -DPOPPLER_OLD_LINK_TYPE
-I/usr/include -I/usr/include/ImageMagick -I/usr/include/poppler -c
/tmp/calibre-0.8.49+dfsg/src/calibre/ebooks/pdf/links.cpp -o
/tmp/calibre-0.8.49+dfsg/build/objects/pdfreflow/links.o
g++ -O3 -Wall -DNDEBUG -fno-strict-aliasing -pipe -fPIC -pthread
-I/usr/include/python2.7 -DPNG_SKIP_SETJMP_CHECK -DPOPPLER_OLD_LINK_TYPE
-I/usr/include -I/usr/include/ImageMagick -I/usr/include/poppler -c
/tmp/calibre-0.8.49+dfsg/src/calibre/ebooks/pdf/reflow.cpp -o
/tmp/calibre-0.8.49+dfsg/build/objects/pdfreflow/reflow.o
/tmp/calibre-0.8.49+dfsg/src/calibre/ebooks/pdf/reflow.cpp: In member function
âvoid calibre_reflow::XMLPage::end()â:
/tmp/calibre-0.8.49+dfsg/src/calibre/ebooks/pdf/reflow.cpp:300:12: warning:
variable âhâ set but not used [-Wunused-but-set-variable]
/tmp/calibre-0.8.49+dfsg/src/calibre/ebooks/pdf/reflow.cpp: In member function
âvoid calibre_reflow::XMLPage::coalesce()â:
/tmp/calibre-0.8.49+dfsg/src/calibre/ebooks/pdf/reflow.cpp:358:30: warning:
variable âvert_spaceâ set but not used [-Wunused-but-set-variable]
/tmp/calibre-0.8.49+dfsg/src/calibre/ebooks/pdf/reflow.cpp:358:42: warning:
variable âvert_overlapâ set but not used [-Wunused-but-set-variable]
g++ -O3 -Wall -DNDEBUG -fno-strict-aliasing -pipe -fPIC -pthread
-I/usr/include/python2.7 -DPNG_SKIP_SETJMP_CHECK -DPOPPLER_OLD_LINK_TYPE
-I/usr/include -I/usr/include/ImageMagick -I/usr/include/poppler -c
/tmp/calibre-0.8.49+dfsg/src/calibre/ebooks/pdf/images.cpp -o
/tmp/calibre-0.8.49+dfsg/build/objects/pdfreflow/images.o
Linking pdfreflow
g++ /tmp/calibre-0.8.49+dfsg/build/objects/pdfreflow/fonts.o
/tmp/calibre-0.8.49+dfsg/build/objects/pdfreflow/main.o
/tmp/calibre-0.8.49+dfsg/build/objects/pdfreflow/links.o
/tmp/calibre-0.8.49+dfsg/build/objects/pdfreflow/reflow.o
/tmp/calibre-0.8.49+dfsg/build/objects/pdfreflow/images.o -o
/tmp/calibre-0.8.49+dfsg/src/calibre/plugins/pdfreflow.so -Wall -shared
-lpython2.7 -L/usr/lib -lpoppler -lMagickWand -lMagickCore -lpng
####### Building extension lzx #######
gcc -O3 -Wall -DNDEBUG -fno-strict-aliasing -pipe -fPIC -pthread
-I/usr/include/python2.7 -I/tmp/calibre-0.8.49+dfsg/src/calibre/utils/lzx -c
/tmp/calibre-0.8.49+dfsg/src/calibre/utils/lzx/compressor.c -o
/tmp/calibre-0.8.49+dfsg/build/objects/lzx/compressor.o
gcc -O3 -Wall -DNDEBUG -fno-strict-aliasing -pipe -fPIC -pthread
-I/usr/include/python2.7 -I/tmp/calibre-0.8.49+dfsg/src/calibre/utils/lzx -c
/tmp/calibre-0.8.49+dfsg/src/calibre/utils/lzx/lzxd.c -o
/tmp/calibre-0.8.49+dfsg/build/objects/lzx/lzxd.o
gcc -O3 -Wall -DNDEBUG -fno-strict-aliasing -pipe -fPIC -pthread
-I/usr/include/python2.7 -I/tmp/calibre-0.8.49+dfsg/src/calibre/utils/lzx -c
/tmp/calibre-0.8.49+dfsg/src/calibre/utils/lzx/lzxc.c -o
/tmp/calibre-0.8.49+dfsg/build/objects/lzx/lzxc.o
gcc -O3 -Wall -DNDEBUG -fno-strict-aliasing -pipe -fPIC -pthread
-I/usr/include/python2.7 -I/tmp/calibre-0.8.49+dfsg/src/calibre/utils/lzx -c
/tmp/calibre-0.8.49+dfsg/src/calibre/utils/lzx/lzc.c -o
/tmp/calibre-0.8.49+dfsg/build/objects/lzx/lzc.o
/tmp/calibre-0.8.49+dfsg/src/calibre/utils/lzx/lzc.c: In function
âlz_compressâ:
/tmp/calibre-0.8.49+dfsg/src/calibre/utils/lzx/lzc.c:289:19: warning: variable
âprevtabâ set but not used [-Wunused-but-set-variable]
/tmp/calibre-0.8.49+dfsg/src/calibre/utils/lzx/lzc.c:288:8: warning: variable
âlentabâ set but not used [-Wunused-but-set-variable]
gcc -O3 -Wall -DNDEBUG -fno-strict-aliasing -pipe -fPIC -pthread
-I/usr/include/python2.7 -I/tmp/calibre-0.8.49+dfsg/src/calibre/utils/lzx -c
/tmp/calibre-0.8.49+dfsg/src/calibre/utils/lzx/lzxmodule.c -o
/tmp/calibre-0.8.49+dfsg/build/objects/lzx/lzxmodule.o
Linking lzx
gcc /tmp/calibre-0.8.49+dfsg/build/objects/lzx/compressor.o
/tmp/calibre-0.8.49+dfsg/build/objects/lzx/lzxd.o
/tmp/calibre-0.8.49+dfsg/build/objects/lzx/lzxc.o
/tmp/calibre-0.8.49+dfsg/build/objects/lzx/lzc.o
/tmp/calibre-0.8.49+dfsg/build/objects/lzx/lzxmodule.o -o
/tmp/calibre-0.8.49+dfsg/src/calibre/plugins/lzx.so -Wall -shared -lpython2.7
####### Building extension fontconfig #######
gcc -O3 -Wall -DNDEBUG -fno-strict-aliasing -pipe -fPIC -pthread
-I/usr/include/python2.7 -I/usr/include/fontconfig -c
/tmp/calibre-0.8.49+dfsg/src/calibre/utils/fonts/fontconfig.c -o
/tmp/calibre-0.8.49+dfsg/build/objects/fontconfig/fontconfig.o
Linking fontconfig
gcc /tmp/calibre-0.8.49+dfsg/build/objects/fontconfig/fontconfig.o -o
/tmp/calibre-0.8.49+dfsg/src/calibre/plugins/fontconfig.so -Wall -shared
-lpython2.7 -L/usr/lib -lfontconfig
####### Building extension msdes #######
gcc -O3 -Wall -DNDEBUG -fno-strict-aliasing -pipe -fPIC -pthread
-I/usr/include/python2.7 -I/tmp/calibre-0.8.49+dfsg/src/calibre/utils/msdes -c
/tmp/calibre-0.8.49+dfsg/src/calibre/utils/msdes/des.c -o
/tmp/calibre-0.8.49+dfsg/build/objects/msdes/des.o
gcc -O3 -Wall -DNDEBUG -fno-strict-aliasing -pipe -fPIC -pthread
-I/usr/include/python2.7 -I/tmp/calibre-0.8.49+dfsg/src/calibre/utils/msdes -c
/tmp/calibre-0.8.49+dfsg/src/calibre/utils/msdes/msdesmodule.c -o
/tmp/calibre-0.8.49+dfsg/build/objects/msdes/msdesmodule.o
Linking msdes
gcc /tmp/calibre-0.8.49+dfsg/build/objects/msdes/des.o
/tmp/calibre-0.8.49+dfsg/build/objects/msdes/msdesmodule.o -o
/tmp/calibre-0.8.49+dfsg/src/calibre/plugins/msdes.so -Wall -shared -lpython2.7
####### Building extension cPalmdoc #######
gcc -O3 -Wall -DNDEBUG -fno-strict-aliasing -pipe -fPIC -pthread
-I/usr/include/python2.7 -c
/tmp/calibre-0.8.49+dfsg/src/calibre/ebooks/compression/palmdoc.c -o
/tmp/calibre-0.8.49+dfsg/build/objects/cPalmdoc/palmdoc.o
Linking cPalmdoc
gcc /tmp/calibre-0.8.49+dfsg/build/objects/cPalmdoc/palmdoc.o -o
/tmp/calibre-0.8.49+dfsg/src/calibre/plugins/cPalmdoc.so -Wall -shared
-lpython2.7
####### Building extension podofo #######
g++ -O3 -Wall -DNDEBUG -fno-strict-aliasing -pipe -fPIC -pthread
-I/usr/include/python2.7 -I/usr/include/podofo -c
/tmp/calibre-0.8.49+dfsg/src/calibre/utils/podofo/podofo.cpp -o
/tmp/calibre-0.8.49+dfsg/build/objects/podofo/podofo.o
Linking podofo
g++ /tmp/calibre-0.8.49+dfsg/build/objects/podofo/podofo.o -o
/tmp/calibre-0.8.49+dfsg/src/calibre/plugins/podofo.so -Wall -shared
-lpython2.7 -L/usr/lib -lpodofo
####### Building extension pictureflow #######
make[1]: Entering directory `/tmp/calibre-0.8.49+dfsg/build/pyqt/pictureflow/qt'
g++ -c -m64 -pipe -O2 -Wall -W -D_REENTRANT -fPIC -DQT_WEBKIT -DQT_NO_DEBUG
-DQT_GUI_LIB -DQT_CORE_LIB -DQT_SHARED -I/usr/share/qt4/mkspecs/linux-g++-64
-I. -I/usr/include/qt4/QtCore -I/usr/include/qt4/QtGui -I/usr/include/qt4 -I.
-o pictureflow.o ../../../../src/calibre/gui2/pictureflow/pictureflow.cpp
/usr/bin/moc-qt4 -DQT_WEBKIT -DQT_NO_DEBUG -DQT_GUI_LIB -DQT_CORE_LIB
-DQT_SHARED -I/usr/share/qt4/mkspecs/linux-g++-64 -I. -I/usr/include/qt4/QtCore
-I/usr/include/qt4/QtGui -I/usr/include/qt4 -I.
../../../../src/calibre/gui2/pictureflow/pictureflow.h -o moc_pictureflow.cpp
g++ -c -m64 -pipe -O2 -Wall -W -D_REENTRANT -fPIC -DQT_WEBKIT -DQT_NO_DEBUG
-DQT_GUI_LIB -DQT_CORE_LIB -DQT_SHARED -I/usr/share/qt4/mkspecs/linux-g++-64
-I. -I/usr/include/qt4/QtCore -I/usr/include/qt4/QtGui -I/usr/include/qt4 -I.
-o moc_pictureflow.o moc_pictureflow.cpp
rm -f libpictureflow.so.1.0.0 libpictureflow.so libpictureflow.so.1
libpictureflow.so.1.0
g++ -m64 -Wl,-O1 -shared -Wl,-soname,libpictureflow.so.1 -o
libpictureflow.so.1.0.0 pictureflow.o moc_pictureflow.o
-L/usr/lib/x86_64-linux-gnu -lQtGui -lQtCore -lpthread
ln -s libpictureflow.so.1.0.0 libpictureflow.so
ln -s libpictureflow.so.1.0.0 libpictureflow.so.1
ln -s libpictureflow.so.1.0.0 libpictureflow.so.1.0
make[1]: Leaving directory `/tmp/calibre-0.8.49+dfsg/build/pyqt/pictureflow/qt'
/usr/bin/sip -w -c /tmp/calibre-0.8.49+dfsg/build/pyqt/pictureflow -b
/tmp/calibre-0.8.49+dfsg/build/pyqt/pictureflow/pictureflow.sip.sbf
-I/usr/share/sip/PyQt4 -x VendorID -t WS_X11 -x PyQt_NoPrintRangeBug -t
Qt_4_8_0 -x Py_v3 -g
/tmp/calibre-0.8.49+dfsg/src/calibre/gui2/pictureflow/pictureflow.sip
make[1]: Entering directory `/tmp/calibre-0.8.49+dfsg/build/pyqt/pictureflow'
g++ -c -pipe -fPIC -Os -Wall -W -D_REENTRANT -DNDEBUG -DQT_NO_DEBUG
-DQT_CORE_LIB -DQT_GUI_LIB -I.
-I/tmp/calibre-0.8.49+dfsg/src/calibre/gui2/pictureflow
-I/usr/include/python2.7 -I/usr/share/qt4/mkspecs/default
-I/usr/include/qt4/QtCore -I/usr/include/qt4/QtGui -I/usr/include/qt4
-I/usr/X11R6/include -o sippictureflowcmodule.o sippictureflowcmodule.cpp
g++ -c -pipe -fPIC -Os -Wall -W -D_REENTRANT -DNDEBUG -DQT_NO_DEBUG
-DQT_CORE_LIB -DQT_GUI_LIB -I.
-I/tmp/calibre-0.8.49+dfsg/src/calibre/gui2/pictureflow
-I/usr/include/python2.7 -I/usr/share/qt4/mkspecs/default
-I/usr/include/qt4/QtCore -I/usr/include/qt4/QtGui -I/usr/include/qt4
-I/usr/X11R6/include -o sippictureflowPictureFlow.o
sippictureflowPictureFlow.cpp
g++ -c -pipe -fPIC -Os -Wall -W -D_REENTRANT -DNDEBUG -DQT_NO_DEBUG
-DQT_CORE_LIB -DQT_GUI_LIB -I.
-I/tmp/calibre-0.8.49+dfsg/src/calibre/gui2/pictureflow
-I/usr/include/python2.7 -I/usr/share/qt4/mkspecs/default
-I/usr/include/qt4/QtCore -I/usr/include/qt4/QtGui -I/usr/include/qt4
-I/usr/X11R6/include -o sippictureflowFlowImages.o sippictureflowFlowImages.cpp
g++ /tmp/calibre-0.8.49+dfsg/build/pyqt/pictureflow/qt/moc_pictureflow.o
/tmp/calibre-0.8.49+dfsg/build/pyqt/pictureflow/qt/pictureflow.o -shared
-Wl,-O1 -Wl,--version-script=pictureflow.exp -o pictureflow.so
sippictureflowcmodule.o sippictureflowPictureFlow.o sippictureflowFlowImages.o
-L/usr/lib -L/usr/X11R6/lib -lQtCore -lQtGui
make[1]: Leaving directory `/tmp/calibre-0.8.49+dfsg/build/pyqt/pictureflow'
####### Building extension progress_indicator #######
make[1]: Entering directory
`/tmp/calibre-0.8.49+dfsg/build/pyqt/progress_indicator/qt'
g++ -c -m64 -pipe -O2 -Wall -W -D_REENTRANT -fPIC -DQT_WEBKIT -DQT_NO_DEBUG
-DQT_GUI_LIB -DQT_CORE_LIB -DQT_SHARED -I/usr/share/qt4/mkspecs/linux-g++-64
-I. -I/usr/include/qt4/QtCore -I/usr/include/qt4/QtGui -I/usr/include/qt4 -I.
-o QProgressIndicator.o
../../../../src/calibre/gui2/progress_indicator/QProgressIndicator.cpp
/usr/bin/moc-qt4 -DQT_WEBKIT -DQT_NO_DEBUG -DQT_GUI_LIB -DQT_CORE_LIB
-DQT_SHARED -I/usr/share/qt4/mkspecs/linux-g++-64 -I. -I/usr/include/qt4/QtCore
-I/usr/include/qt4/QtGui -I/usr/include/qt4 -I.
../../../../src/calibre/gui2/progress_indicator/QProgressIndicator.h -o
moc_QProgressIndicator.cpp
g++ -c -m64 -pipe -O2 -Wall -W -D_REENTRANT -fPIC -DQT_WEBKIT -DQT_NO_DEBUG
-DQT_GUI_LIB -DQT_CORE_LIB -DQT_SHARED -I/usr/share/qt4/mkspecs/linux-g++-64
-I. -I/usr/include/qt4/QtCore -I/usr/include/qt4/QtGui -I/usr/include/qt4 -I.
-o moc_QProgressIndicator.o moc_QProgressIndicator.cpp
rm -f libprogress_indicator.so.1.0.0 libprogress_indicator.so
libprogress_indicator.so.1 libprogress_indicator.so.1.0
g++ -m64 -Wl,-O1 -shared -Wl,-soname,libprogress_indicator.so.1 -o
libprogress_indicator.so.1.0.0 QProgressIndicator.o moc_QProgressIndicator.o
-L/usr/lib/x86_64-linux-gnu -lQtGui -lQtCore -lpthread
ln -s libprogress_indicator.so.1.0.0 libprogress_indicator.so
ln -s libprogress_indicator.so.1.0.0 libprogress_indicator.so.1
ln -s libprogress_indicator.so.1.0.0 libprogress_indicator.so.1.0
make[1]: Leaving directory
`/tmp/calibre-0.8.49+dfsg/build/pyqt/progress_indicator/qt'
/usr/bin/sip -w -c /tmp/calibre-0.8.49+dfsg/build/pyqt/progress_indicator -b
/tmp/calibre-0.8.49+dfsg/build/pyqt/progress_indicator/QProgressIndicator.sip.sbf
-I/usr/share/sip/PyQt4 -x VendorID -t WS_X11 -x PyQt_NoPrintRangeBug -t
Qt_4_8_0 -x Py_v3 -g
/tmp/calibre-0.8.49+dfsg/src/calibre/gui2/progress_indicator/QProgressIndicator.sip
make[1]: Entering directory
`/tmp/calibre-0.8.49+dfsg/build/pyqt/progress_indicator'
g++ -c -pipe -fPIC -Os -Wall -W -D_REENTRANT -DNDEBUG -DQT_NO_DEBUG
-DQT_CORE_LIB -DQT_GUI_LIB -I.
-I/tmp/calibre-0.8.49+dfsg/src/calibre/gui2/progress_indicator
-I/usr/include/python2.7 -I/usr/share/qt4/mkspecs/default
-I/usr/include/qt4/QtCore -I/usr/include/qt4/QtGui -I/usr/include/qt4
-I/usr/X11R6/include -o sipprogress_indicatorcmodule.o
sipprogress_indicatorcmodule.cpp
g++ -c -pipe -fPIC -Os -Wall -W -D_REENTRANT -DNDEBUG -DQT_NO_DEBUG
-DQT_CORE_LIB -DQT_GUI_LIB -I.
-I/tmp/calibre-0.8.49+dfsg/src/calibre/gui2/progress_indicator
-I/usr/include/python2.7 -I/usr/share/qt4/mkspecs/default
-I/usr/include/qt4/QtCore -I/usr/include/qt4/QtGui -I/usr/include/qt4
-I/usr/X11R6/include -o sipprogress_indicatorQProgressIndicator.o
sipprogress_indicatorQProgressIndicator.cpp
g++
/tmp/calibre-0.8.49+dfsg/build/pyqt/progress_indicator/qt/moc_QProgressIndicator.o
/tmp/calibre-0.8.49+dfsg/build/pyqt/progress_indicator/qt/QProgressIndicator.o
-shared -Wl,-O1 -Wl,--version-script=progress_indicator.exp -o
progress_indicator.so sipprogress_indicatorcmodule.o
sipprogress_indicatorQProgressIndicator.o -L/usr/lib -L/usr/X11R6/lib -lQtCore
-lQtGui
make[1]: Leaving directory
`/tmp/calibre-0.8.49+dfsg/build/pyqt/progress_indicator'
debian/rules binary
test -x debian/rules
dh_testroot
dh_prep
dh_installdirs -A
mkdir -p "."
/usr/share/cdbs/1/rules/buildcore.mk:109: WARNING: DEB_DH_INSTALL_ARGS is a
deprecated variable
env -u LANG -u LC_ALL -u LANGUAGE -u LC_MESSAGES
CALIBRE_CONFIG_DIRECTORY=debian/tmp/config python2.7 setup.py install
--root=debian/tmp/usr
WARNING: You do not have the LANG environment variable set. This will cause
problems with non-ascii filenames. Set it to something like en_US.UTF-8.
*
* Running build
*
####### Building extension speedup #######
####### Building extension icu #######
####### Building extension sqlite_custom #######
####### Building extension chmlib #######
####### Building extension chm_extra #######
####### Building extension magick #######
####### Building extension pdfreflow #######
####### Building extension lzx #######
####### Building extension fontconfig #######
####### Building extension msdes #######
####### Building extension cPalmdoc #######
####### Building extension podofo #######
####### Building extension pictureflow #######
####### Building extension progress_indicator #######
*
* Running gui
*
Compiling form
/tmp/calibre-0.8.49+dfsg/src/calibre/gui2/filename_pattern.ui
make: *** [debian/tmp] Segmentation fault
dpkg-buildpackage: error: debian/rules binary gave error exit status 2
Build command 'cd calibre-0.8.49+dfsg && dpkg-buildpackage -b -uc' failed.
Fetched 24.2 MB in 37s (645 kB/s)
E: Child process failed