* Package: app-text/calibre-0.8.20 * Repository: gentoo * Maintainer: zmedico@gentoo.org * USE: elibc_glibc kernel_linux test userland_GNU x86 * FEATURES: sandbox test userpriv usersandbox >>> Unpacking source... >>> Unpacking calibre-0.8.20.tar.gz to /var/tmp/portage/app-text/calibre-0.8.20/work >>> Source unpacked in /var/tmp/portage/app-text/calibre-0.8.20/work >>> Preparing source in /var/tmp/portage/app-text/calibre-0.8.20/work/calibre ... >>> Source prepared. >>> Configuring source in /var/tmp/portage/app-text/calibre-0.8.20/work/calibre ... >>> Source configured. >>> Compiling source in /var/tmp/portage/app-text/calibre-0.8.20/work/calibre ... python2.7 setup.py build * * Running build * ####### Building extension speedup ####### gcc -O3 -Wall -DNDEBUG -fno-strict-aliasing -pipe -fPIC -O2 -pipe -march=native -pthread -I/usr/include/python2.7 -c /var/tmp/portage/app-text/calibre-0.8.20/work/calibre/src/calibre/utils/speedup.c -o /var/tmp/portage/app-text/calibre-0.8.20/work/calibre/build/objects/speedup/speedup.o Linking speedup gcc /var/tmp/portage/app-text/calibre-0.8.20/work/calibre/build/objects/speedup/speedup.o -o /var/tmp/portage/app-text/calibre-0.8.20/work/calibre/src/calibre/plugins/speedup.so -Wall -Wl,-O1 -Wl,--as-needed -Wl,--hash-style=gnu -shared -lpython2.7 ####### Building extension icu ####### gcc -O3 -Wall -DNDEBUG -fno-strict-aliasing -pipe -fPIC -O2 -pipe -march=native -pthread -I/usr/include/python2.7 -c /var/tmp/portage/app-text/calibre-0.8.20/work/calibre/src/calibre/utils/icu.c -o /var/tmp/portage/app-text/calibre-0.8.20/work/calibre/build/objects/icu/icu.o Linking icu gcc /var/tmp/portage/app-text/calibre-0.8.20/work/calibre/build/objects/icu/icu.o -o /var/tmp/portage/app-text/calibre-0.8.20/work/calibre/src/calibre/plugins/icu.so -Wall -Wl,-O1 -Wl,--as-needed -Wl,--hash-style=gnu -shared -lpython2.7 -licudata -licui18n -licuuc -licuio ####### Building extension sqlite_custom ####### gcc -O3 -Wall -DNDEBUG -fno-strict-aliasing -pipe -fPIC -O2 -pipe -march=native -pthread -I/usr/include/python2.7 -c /var/tmp/portage/app-text/calibre-0.8.20/work/calibre/src/calibre/library/sqlite_custom.c -o /var/tmp/portage/app-text/calibre-0.8.20/work/calibre/build/objects/sqlite_custom/sqlite_custom.o Linking sqlite_custom gcc /var/tmp/portage/app-text/calibre-0.8.20/work/calibre/build/objects/sqlite_custom/sqlite_custom.o -o /var/tmp/portage/app-text/calibre-0.8.20/work/calibre/src/calibre/plugins/sqlite_custom.so -Wall -Wl,-O1 -Wl,--as-needed -Wl,--hash-style=gnu -shared -lpython2.7 ####### Building extension chmlib ####### gcc -O3 -Wall -DNDEBUG -fno-strict-aliasing -pipe -fPIC -O2 -pipe -march=native -pthread -I/usr/include/python2.7 -DSWIG_COBJECT_TYPES -c /var/tmp/portage/app-text/calibre-0.8.20/work/calibre/src/calibre/utils/chm/swig_chm.c -o /var/tmp/portage/app-text/calibre-0.8.20/work/calibre/build/objects/chmlib/swig_chm.o Linking chmlib gcc /var/tmp/portage/app-text/calibre-0.8.20/work/calibre/build/objects/chmlib/swig_chm.o -o /var/tmp/portage/app-text/calibre-0.8.20/work/calibre/src/calibre/plugins/chmlib.so -Wall -Wl,-O1 -Wl,--as-needed -Wl,--hash-style=gnu -shared -lpython2.7 -lchm ####### Building extension chm_extra ####### gcc -O3 -Wall -DNDEBUG -fno-strict-aliasing -pipe -fPIC -O2 -pipe -march=native -pthread -I/usr/include/python2.7 -D__PYTHON__ -c /var/tmp/portage/app-text/calibre-0.8.20/work/calibre/src/calibre/utils/chm/extra.c -o /var/tmp/portage/app-text/calibre-0.8.20/work/calibre/build/objects/chm_extra/extra.o Linking chm_extra gcc /var/tmp/portage/app-text/calibre-0.8.20/work/calibre/build/objects/chm_extra/extra.o -o /var/tmp/portage/app-text/calibre-0.8.20/work/calibre/src/calibre/plugins/chm_extra.so -Wall -Wl,-O1 -Wl,--as-needed -Wl,--hash-style=gnu -shared -lpython2.7 -lchm ####### Building extension magick ####### gcc -O3 -Wall -DNDEBUG -fno-strict-aliasing -pipe -fPIC -O2 -pipe -march=native -pthread -I/usr/include/python2.7 -I/usr/include/ImageMagick -c /var/tmp/portage/app-text/calibre-0.8.20/work/calibre/src/calibre/utils/magick/magick.c -o /var/tmp/portage/app-text/calibre-0.8.20/work/calibre/build/objects/magick/magick.o Linking magick gcc /var/tmp/portage/app-text/calibre-0.8.20/work/calibre/build/objects/magick/magick.o -o /var/tmp/portage/app-text/calibre-0.8.20/work/calibre/src/calibre/plugins/magick.so -Wall -Wl,-O1 -Wl,--as-needed -Wl,--hash-style=gnu -shared -lpython2.7 -L/usr/lib -lMagickWand -lMagickCore ####### Building extension pdfreflow ####### g++ -O3 -Wall -DNDEBUG -fno-strict-aliasing -pipe -fPIC -O2 -pipe -march=native -pthread -I/usr/include/python2.7 -DPNG_SKIP_SETJMP_CHECK -I/usr/include -I/usr/include/ImageMagick -I/usr/include/poppler -c /var/tmp/portage/app-text/calibre-0.8.20/work/calibre/src/calibre/ebooks/pdf/links.cpp -o /var/tmp/portage/app-text/calibre-0.8.20/work/calibre/build/objects/pdfreflow/links.o g++ -O3 -Wall -DNDEBUG -fno-strict-aliasing -pipe -fPIC -O2 -pipe -march=native -pthread -I/usr/include/python2.7 -DPNG_SKIP_SETJMP_CHECK -I/usr/include -I/usr/include/ImageMagick -I/usr/include/poppler -c /var/tmp/portage/app-text/calibre-0.8.20/work/calibre/src/calibre/ebooks/pdf/main.cpp -o /var/tmp/portage/app-text/calibre-0.8.20/work/calibre/build/objects/pdfreflow/main.o In file included from /var/tmp/portage/app-text/calibre-0.8.20/work/calibre/src/calibre/ebooks/pdf/reflow.h:20:0, from /var/tmp/portage/app-text/calibre-0.8.20/work/calibre/src/calibre/ebooks/pdf/main.cpp:14: /usr/include/poppler/GfxState.h: In member function ‘virtual void GfxColorSpace::getGrayLine(Guchar*, Guchar*, int)’: /usr/include/poppler/GfxState.h:205:142: warning: deprecated conversion from string constant to ‘char*’ [-Wwrite-strings] /usr/include/poppler/GfxState.h: In member function ‘virtual void GfxColorSpace::getRGBLine(Guchar*, unsigned int*, int)’: /usr/include/poppler/GfxState.h:206:162: warning: deprecated conversion from string constant to ‘char*’ [-Wwrite-strings] /usr/include/poppler/GfxState.h: In member function ‘virtual void GfxColorSpace::getRGBLine(Guchar*, Guchar*, int)’: /usr/include/poppler/GfxState.h:207:158: warning: deprecated conversion from string constant to ‘char*’ [-Wwrite-strings] /usr/include/poppler/GfxState.h: In member function ‘virtual void GfxColorSpace::getRGBXLine(Guchar*, Guchar*, int)’: /usr/include/poppler/GfxState.h:208:143: warning: deprecated conversion from string constant to ‘char*’ [-Wwrite-strings] In file included from /var/tmp/portage/app-text/calibre-0.8.20/work/calibre/src/calibre/ebooks/pdf/main.cpp:14:0: /var/tmp/portage/app-text/calibre-0.8.20/work/calibre/src/calibre/ebooks/pdf/reflow.h: At global scope: /var/tmp/portage/app-text/calibre-0.8.20/work/calibre/src/calibre/ebooks/pdf/reflow.h:247:23: error: ‘Link’ has not been declared Traceback (most recent call last): File "setup.py", line 99, in sys.exit(main()) File "setup.py", line 85, in main command.run_all(opts) File "/var/tmp/portage/app-text/calibre-0.8.20/work/calibre/setup/__init__.py", line 163, in run_all self.run_cmd(self, opts) File "/var/tmp/portage/app-text/calibre-0.8.20/work/calibre/setup/__init__.py", line 159, in run_cmd cmd.run(opts) File "/var/tmp/portage/app-text/calibre-0.8.20/work/calibre/setup/extensions.py", line 298, in run self.build(ext, dest) File "/var/tmp/portage/app-text/calibre-0.8.20/work/calibre/setup/extensions.py", line 339, in build subprocess.check_call(cmd) File "/usr/lib/python2.7/subprocess.py", line 511, in check_call raise CalledProcessError(retcode, cmd) subprocess.CalledProcessError: Command '['g++', '-O3', '-Wall', '-DNDEBUG', '-fno-strict-aliasing', '-pipe', '-fPIC', '-O2', '-pipe', '-march=native', '-pthread', '-I/usr/include/python2.7', '-DPNG_SKIP_SETJMP_CHECK', '-I/usr/include', '-I/usr/include/ImageMagick', '-I/usr/include/poppler', '-c', '/var/tmp/portage/app-text/calibre-0.8.20/work/calibre/src/calibre/ebooks/pdf/main.cpp', '-o', '/var/tmp/portage/app-text/calibre-0.8.20/work/calibre/build/objects/pdfreflow/main.o']' returned non-zero exit status 1 * ERROR: app-text/calibre-0.8.20 failed (compile phase): * Building failed * * Call stack: * ebuild.sh, line 91: Called src_compile * environment, line 5435: Called distutils_src_compile * environment, line 1520: Called die * The specific snippet of code: * "$(PYTHON)" "${setup_file#*|}" "${_DISTUTILS_GLOBAL_OPTIONS[@]}" build "$@" || die "Building failed"; * * If you need support, post the output of 'emerge --info =app-text/calibre-0.8.20', * the complete build log and the output of 'emerge -pqv =app-text/calibre-0.8.20'. * The complete build log is located at '/var/log/portage/build/app-text/calibre-0.8.20:20110929-201105.log'. * The ebuild environment file is located at '/var/tmp/portage/app-text/calibre-0.8.20/temp/environment'. * S: '/var/tmp/portage/app-text/calibre-0.8.20/work/calibre'