Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 309663 - x11-libs/qt-gui-4.6.2 fails to compile
Summary: x11-libs/qt-gui-4.6.2 fails to compile
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: New packages (show other bugs)
Hardware: AMD64 Linux
: High normal (vote)
Assignee: Qt Bug Alias
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2010-03-15 22:10 UTC by Viacheslav Prisivko
Modified: 2010-04-30 19:23 UTC (History)
0 users

See Also:
Package list:
Runtime testing required: ---


Attachments
Portage information (emerge.info,4.02 KB, text/plain)
2010-03-15 22:14 UTC, Viacheslav Prisivko
Details
Build log (build.log,56.64 KB, text/plain)
2010-03-15 22:17 UTC, Viacheslav Prisivko
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Viacheslav Prisivko 2010-03-15 22:10:14 UTC
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.
Comment 1 Viacheslav Prisivko 2010-03-15 22:14:17 UTC
Created attachment 223801 [details]
Portage information

emerge --info =x11-libs/qt-gui-4.6.2
Comment 2 Viacheslav Prisivko 2010-03-15 22:17:34 UTC
Created attachment 223807 [details]
Build log
Comment 3 Rafał Mużyło 2010-03-15 22:19:03 UTC
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.
Comment 4 Dror Levin (RETIRED) gentoo-dev 2010-03-15 22:25:25 UTC
Please try again with ccache disabled and report back.
Comment 5 Viacheslav Prisivko 2010-03-15 22:50:24 UTC
(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?
Comment 6 Chí-Thanh Christopher Nguyễn gentoo-dev 2010-04-30 19:23:44 UTC
(In reply to comment #5)

Hardware problems, filesystem corruption or a ccache bug. See bug 79519.