Cannot build x11-libs/qt-webkit-4.5.1. Reproducible: Always Steps to Reproduce: 1. emerge qt-webkit 2. 3. Actual Results: End of log: compiling .moc/release-shared/moc_qwebhistoryinterface.cpp compiling .rcc/release-shared/qrc_WebKit.cpp compiling .rcc/release-shared/qrc_WebCore.cpp rm -f libQtWebKit.so.4.5.1 libQtWebKit.so libQtWebKit.so.4 libQtWebKit.so.4.5 linking ../../../../lib/libQtWebKit.so.4.5.1 /usr/lib/gcc/x86_64-pc-linux-gnu/4.3.3/../../../../x86_64-pc-linux-gnu/bin/ld:.obj/release-shared/ImageQt.o: file format not recognized; treating as linker script /usr/lib/gcc/x86_64-pc-linux-gnu/4.3.3/../../../../x86_64-pc-linux-gnu/bin/ld:.obj/release-shared/ImageQt.o:1: syntax error collect2: ld returned 1 exit status make: *** [../../../../lib/libQtWebKit.so.4.5.1] Error 1 * * ERROR: x11-libs/qt-webkit-4.5.1 failed. * Call stack: * ebuild.sh, line 49: Called src_compile * environment, line 3130: Called qt4-build_src_compile * environment, line 2849: Called build_directories 'src/3rdparty/webkit/WebCore tools/designer/src/plugins/qwebview' * environment, line 493: Called die * The specific snippet of code: * emake || die "emake failed"; * The die message: * emake failed Expected Results: Successful build
Created attachment 190040 [details] emerge --info
hmm I cant reproduce it here. Could you comment out the LDFLAGS section on your /etc/make.conf and try again?
Those are very safe LDFLAGS. I'd rather suggest disabling ccache first.
Away for the weekend, but I'll try these suggestions when I return. Thanks for the insights.
Disabling ccache did the trick. For what it's worth, when I tried building after disabling ccache, I was browsing on the internet using Firefox and after about 10 minutes, everything froze (to my knowledge, I was not using any KDE or QT apps at the time---I was using xfce). After rebooting, I stayed in console mode and qt-webkit built successfully and all was well.