Building process ends in compilation error Reproducible: Always Steps to Reproduce: 1. emerge qt-gui Actual Results: moc debugging/qscripterrorlogwidget_p.h compiling .moc/release-shared/moc_qscripterrorlogwidget_p.cpp rcc debugging/scripttools_debugging.qrc compiling .rcc/release-shared/qrc_scripttools_debugging.cpp rm -f libQtScriptTools.so.4.6.2 libQtScriptTools.so libQtScriptTools.so.4 libQtScriptTools.so.4.6 linking ../../lib/libQtScriptTools.so.4.6.2 .obj/release-shared/qscriptdebugger.o: file not recognized: File truncated collect2: ld returned 1 exit status make: *** [../../lib/libQtScriptTools.so.4.6.2] Error 1 * ERROR: x11-libs/qt-gui-4.6.2 failed: * emake failed * * Call stack: * ebuild.sh, line 48: Called src_compile * environment, line 3813: Called qt4-build_src_compile * environment, line 3456: Called build_directories 'src/gui' 'src/scripttools' 'tools/designer' 'tools/linguist/linguist' 'src/plugins/imageformats/gif' 'src/plugins/imageformats/ico' 'src/plugins/imageformats/jpeg' 'src/plugins/inputmethods' 'tools/qdbus/qdbusviewer' 'src/plugins/imageformats/mng' 'src/plugins/imageformats/tiff' 'src/plugins/accessible/widgets' * environment, line 683: Called die * The specific snippet of code: * emake CC="@echo compiling \$< && $(tc-getCC)" CXX="@echo compiling \$< && $(tc-getCXX)" LINK="@echo linking \$@ && $(tc-getCXX)" || die "emake failed"; * * If you need support, post the output of 'emerge --info =x11-libs/qt-gui-4.6.2', * the complete build log and the output of 'emerge -pqv =x11-libs/qt-gui-4.6.2'. * The complete build log is located at '/var/tmp/portage/x11-libs/qt-gui-4.6.2/temp/build.log'. * The ebuild environment file is located at '/var/tmp/portage/x11-libs/qt-gui-4.6.2/temp/environment'. * S: '/var/tmp/portage/x11-libs/qt-gui-4.6.2/work/qt-everywhere-opensource-src-4.6.2' >>> Failed to emerge x11-libs/qt-gui-4.6.2, Log file: >>> '/var/tmp/portage/x11-libs/qt-gui-4.6.2/temp/build.log' Expected Results: The package should have been built.
Created attachment 223801 [details] Portage information emerge --info =x11-libs/qt-gui-4.6.2
Created attachment 223807 [details] Build log
While unrelated, what's the point of 'LC_ALL=""' ? As for the problem, are you sure you're not running out of memory/disk space ? It may also be a problem with ccache - try purging it.
Please try again with ccache disabled and report back.
(In reply to comment #4) > Please try again with ccache disabled and report back. > I've cleaned up the ccache according to the Rafał Mużyło's advice and the package has compiled successfully. Thank you. But by the way, what's the matter of such weird behaviour?
(In reply to comment #5) Hardware problems, filesystem corruption or a ccache bug. See bug 79519.