Summary: | app-text/poppler-0.44.0: IOError: [Errno 2] No such file or directory [...] /.cache-version.tmp' | ||
---|---|---|---|
Product: | Gentoo Linux | Reporter: | Michał Górny <mgorny> |
Component: | Current packages | Assignee: | Maciej Mrozowski <reavertm> |
Status: | RESOLVED FIXED | ||
Severity: | normal | CC: | gentoo-bugs-augustin, kde, patrick, peter_sliepenbeek, printing |
Priority: | Normal | ||
Version: | unspecified | ||
Hardware: | All | ||
OS: | Linux | ||
See Also: |
https://bugs.gentoo.org/show_bug.cgi?id=553440 https://bugs.gentoo.org/show_bug.cgi?id=567192 |
||
Whiteboard: | |||
Package list: | Runtime testing required: | --- | |
Attachments: | Build log (.gz) |
Description
Michał Górny
2014-11-13 22:08:29 UTC
Just had same issue with =app-text/poppler-0.32.0 Workaround that with MAKEOPTS="-j1" 2 more users in the forum very recently encountered this same bug during an emerge @world: https://forums.gentoo.org/viewtopic-p-7757226.html#7757226 One with poppler-0.32.0 The other with poppler-0.33.0-r1 We easily solved the problem by emerning poppler alone, although a long term fix would still be nice for future users. *** Bug 559304 has been marked as a duplicate of this bug. *** Here are the errors I'm getting with poppler: Linking CXX executable pdftocairo cd /var/tmp/portage/app-text/poppler-0.32.0/work/poppler-0.32.0_build/utils && /usr/bin/cmake -E cmake_link_script CMakeFiles/pdftocairo.dir/link.txt --verbose=1 /usr/bin/x86_64-pc-linux-gnu-g++ -Wall -Wcast-align -fno-exceptions -fno-check-new -fno-common -march=nocona -O2 -pipe -Wnon-virtual-dtor -Woverloaded-virtual -Wl,-O1 -Wl,--as-needed CMakeFiles/pdftocairo.dir/parseargs.cc.o CMakeFiles/pdftocairo.dir/pdftocairo.cc.o CMakeFiles/pdftocairo.dir/pdftocairo-win32.cc.o CMakeFiles/pdftocairo.dir/__/poppler/CairoFontEngine.cc.o CMakeFiles/pdftocairo.dir/__/poppler/CairoOutputDev.cc.o CMakeFiles/pdftocairo.dir/__/poppler/CairoRescaleBox.cc.o -o pdftocairo -rdynamic -lcairo -lfreetype ../libpoppler.so.51.0.0 -lpthread -llcms2 -Wl,-rpath,/var/tmp/portage/app-text/poppler-0.32.0/work/poppler-0.32.0_build: /usr/lib64/libtiff.so.5: undefined reference to `jpeg_finish_compress@LIBJPEG_6.2' /usr/lib64/libtiff.so.5: undefined reference to `jpeg_write_scanlines@LIBJPEG_6.2' /usr/lib64/libtiff.so.5: undefined reference to `jpeg_std_error@LIBJPEG_6.2' /usr/lib64/libtiff.so.5: undefined reference to `jpeg_set_quality@LIBJPEG_6.2' /usr/lib64/libtiff.so.5: undefined reference to `jpeg_finish_decompress@LIBJPEG_6.2' /usr/lib64/libtiff.so.5: undefined reference to `jpeg_destroy@LIBJPEG_6.2' /usr/lib64/libtiff.so.5: undefined reference to `jpeg_set_defaults@LIBJPEG_6.2' /usr/lib64/libtiff.so.5: undefined reference to `jpeg_read_scanlines@LIBJPEG_6.2' /usr/lib64/libtiff.so.5: undefined reference to `jpeg_CreateCompress@LIBJPEG_6.2' /usr/lib64/libtiff.so.5: undefined reference to `jpeg_read_raw_data@LIBJPEG_6.2' /usr/lib64/libtiff.so.5: undefined reference to `jpeg_start_compress@LIBJPEG_6.2' /usr/lib64/libtiff.so.5: undefined reference to `jpeg_CreateDecompress@LIBJPEG_6.2' /usr/lib64/libtiff.so.5: undefined reference to `jpeg_start_decompress@LIBJPEG_6.2' /usr/lib64/libtiff.so.5: undefined reference to `jpeg_write_tables@LIBJPEG_6.2' /usr/lib64/libtiff.so.5: undefined reference to `jpeg_resync_to_restart@LIBJPEG_6.2' /usr/lib64/libtiff.so.5: undefined reference to `jpeg_set_colorspace@LIBJPEG_6.2' /usr/lib64/libtiff.so.5: undefined reference to `jpeg_read_header@LIBJPEG_6.2' /usr/lib64/libtiff.so.5: undefined reference to `jpeg_write_raw_data@LIBJPEG_6.2' /usr/lib64/libtiff.so.5: undefined reference to `jpeg_abort@LIBJPEG_6.2' /usr/lib64/libtiff.so.5: undefined reference to `jpeg_suppress_tables@LIBJPEG_6.2' collect2: error: ld returned 1 exit status utils/CMakeFiles/pdftocairo.dir/build.make:214: recipe for target 'utils/pdftocairo' failed make[2]: *** [utils/pdftocairo] Error 1 make[2]: Leaving directory '/var/tmp/portage/app-text/poppler-0.32.0/work/poppler-0.32.0_build' CMakeFiles/Makefile2:305: recipe for target 'utils/CMakeFiles/pdftocairo.dir/all' failed make[1]: *** [utils/CMakeFiles/pdftocairo.dir/all] Error 2 make[1]: Leaving directory '/var/tmp/portage/app-text/poppler-0.32.0/work/poppler-0.32.0_build' Makefile:126: recipe for target 'all' failed make: *** [all] Error 2 * ERROR: app-text/poppler-0.32.0::gentoo failed (compile phase): * emake failed * * If you need support, post the output of `emerge --info '=app-text/poppler-0.32.0::gentoo'`, * the complete build log and the output of `emerge -pqv '=app-text/poppler-0.32.0::gentoo'`. * The complete build log is located at '/var/log/portage/app-text:poppler-0.32.0:20150901-171555.log'. * For convenience, a symlink to the build log is located at '/var/tmp/portage/app-text/poppler-0.32.0/temp/build.log'. * The ebuild environment file is located at '/var/tmp/portage/app-text/poppler-0.32.0/temp/environment'. * Working directory: '/var/tmp/portage/app-text/poppler-0.32.0/work/poppler-0.32.0_build' * S: '/var/tmp/portage/app-text/poppler-0.32.0/work/poppler-0.32.0' Re-emerging poppler doesn't help. I've tried (is it how you use it?) MAKEOPTS="-j1" emerge -1aNDv app-text/poppler It doesn't help either. poppler-0.34.0 doesn't compile either. collect2: error: ld returned 1 exit status utils/CMakeFiles/pdftocairo.dir/build.make:214: recipe for target 'utils/pdftocairo' failed make[2]: *** [utils/pdftocairo] Error 1 make[2]: Leaving directory '/var/tmp/portage/app-text/poppler-0.34.0/work/poppler-0.34.0_build' CMakeFiles/Makefile2:305: recipe for target 'utils/CMakeFiles/pdftocairo.dir/all' failed make[1]: *** [utils/CMakeFiles/pdftocairo.dir/all] Error 2 make[1]: Leaving directory '/var/tmp/portage/app-text/poppler-0.34.0/work/poppler-0.34.0_build' Makefile:126: recipe for target 'all' failed make: *** [all] Error 2 * ERROR: app-text/poppler-0.34.0::gentoo failed (compile phase): * emake failed * * If you need support, post the output of `emerge --info '=app-text/poppler-0.34.0::gentoo'`, * the complete build log and the output of `emerge -pqv '=app-text/poppler-0.34.0::gentoo'`. * The complete build log is located at '/var/log/portage/app-text:poppler-0.34.0:20150901-193306.log'. * For convenience, a symlink to the build log is located at '/var/tmp/portage/app-text/poppler-0.34.0/temp/build.log'. * The ebuild environment file is located at '/var/tmp/portage/app-text/poppler-0.34.0/temp/environment'. * Working directory: '/var/tmp/portage/app-text/poppler-0.34.0/work/poppler-0.34.0_build' * S: '/var/tmp/portage/app-text/poppler-0.34.0/work/poppler-0.34.0' *** Bug 535874 has been marked as a duplicate of this bug. *** Was this reproducible with newer versions? app-text/poppler-0.32.0 builds on AMD64. this is still happens with 0.44 /var/tmp/portage/app-text/poppler-0.44.0/work/poppler-0.44.0_build/glib/Poppler-0.18.gir Traceback (most recent call last): File "/usr/bin/g-ir-scanner", line 55, in <module> sys.exit(scanner_main(sys.argv)) File "/usr/lib64/gobject-introspection/giscanner/scannermain.py", line 508, in scanner_main transformer = create_transformer(namespace, options) File "/usr/lib64/gobject-introspection/giscanner/scannermain.py", line 370, in create_transformer identifier_filter_cmd=options.identifier_filter_cmd) File "/usr/lib64/gobject-introspection/giscanner/transformer.py", line 54, in __init__ self._cachestore = CacheStore() File "/usr/lib64/gobject-introspection/giscanner/cachestore.py", line 83, in __init__ self._check_cache_version() File "/usr/lib64/gobject-introspection/giscanner/cachestore.py", line 119, in _check_cache_version shutil.move(versiontmp, version) File "/usr/lib64/python2.7/shutil.py", line 303, in move os.unlink(src) OSError: [Errno 2] No such file or directory: '/var/tmp/portage/app-text/poppler-0.44.0/homedir/.cache/g-ir-scanner/.cache-version.tmp' glib/CMakeFiles/gir-typelibs.dir/build.make:93: recipe for target 'glib/Poppler-0.18.gir' failed make[2]: *** [glib/Poppler-0.18.gir] Error 1 make[2]: Leaving directory '/var/tmp/portage/app-text/poppler-0.44.0/work/poppler-0.44.0_build' CMakeFiles/Makefile2:571: recipe for target 'glib/CMakeFiles/gir-typelibs.dir/all' failed make[1]: *** [glib/CMakeFiles/gir-typelibs.dir/all] Error 2 still failing with 0.44: /var/tmp/portage/app-text/poppler-0.44.0/work/poppler-0.44.0_build/glib/Poppler-0.18.gir Traceback (most recent call last): File "/usr/bin/g-ir-scanner", line 55, in <module> sys.exit(scanner_main(sys.argv)) File "/usr/lib64/gobject-introspection/giscanner/scannermain.py", line 508, in scanner_main transformer = create_transformer(namespace, options) File "/usr/lib64/gobject-introspection/giscanner/scannermain.py", line 370, in create_transformer identifier_filter_cmd=options.identifier_filter_cmd) File "/usr/lib64/gobject-introspection/giscanner/transformer.py", line 54, in __init__ self._cachestore = CacheStore() File "/usr/lib64/gobject-introspection/giscanner/cachestore.py", line 83, in __init__ self._check_cache_version() File "/usr/lib64/gobject-introspection/giscanner/cachestore.py", line 119, in _check_cache_version shutil.move(versiontmp, version) File "/usr/lib64/python2.7/shutil.py", line 303, in move os.unlink(src) OSError: [Errno 2] No such file or directory: '/var/tmp/portage/app-text/poppler-0.44.0/homedir/.cache/g-ir-scanner/.cache-version.tmp' glib/CMakeFiles/gir-typelibs.dir/build.make:93: recipe for target 'glib/Poppler-0.18.gir' failed make[2]: *** [glib/Poppler-0.18.gir] Error 1 make[2]: Leaving directory '/var/tmp/portage/app-text/poppler-0.44.0/work/poppler-0.44.0_build' CMakeFiles/Makefile2:571: recipe for target 'glib/CMakeFiles/gir-typelibs.dir/all' failed make[1]: *** [glib/CMakeFiles/gir-typelibs.dir/all] Error 2 a real workaround to this is restrict makeopts in poppler ebuild. it is known to have parallel make failures. src_compile() { cmake-utils_src_compile -j1 } and we are safe for all time, unless someone finds real cause of parallel make filures. Can you reproduce that issue with latest stable 0.57.0? Reproducibility was itself an issue: see above. The workaround was to install poppler on its own before performing a larger update @world. I can only say that I have had app-text/poppler-0.57.0 installed for a while, and I don't recall having encountered this problem since I last reported it, above, but others apparently did. 2.5 years after the last report, can we assume this to be fixed? This was probably fixed by upstream commit 376ae2f8b8a92fd7bd751fbfcd0aa46530b59ca4. |