Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 283598 - x11-libs/qt-core-4.5.1/2 fails to emerge: maxes out RAM (4Gb + swap) & CPU at .../codecs/kr
Summary: x11-libs/qt-core-4.5.1/2 fails to emerge: maxes out RAM (4Gb + swap) & CPU at...
Status: RESOLVED INVALID
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: [OLD] Development (show other bugs)
Hardware: AMD64 Linux
: High major (vote)
Assignee: Qt Bug Alias
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2009-09-03 18:00 UTC by joe piskor
Modified: 2009-09-05 22:10 UTC (History)
1 user (show)

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


Attachments
dmesg dump at time of crash (dmesg.txt,30.07 KB, text/plain)
2009-09-03 18:24 UTC, joe piskor
Details

Note You need to log in before you can comment on or make changes to this bug.
Description joe piskor 2009-09-03 18:00:57 UTC
Trying to merge x11-libs/qt-core-4.5.2 - compile appears to go well until building foreign language codecs. cn, jp, tw compile successfully, on kr the compile hangs, qmake eats 99% of the CPU and eventually fails.



Reproducible: Always

Steps to Reproduce:
1.emerge qt-core
2.wait...
3....a while

Actual Results:  

tail of emerge log:
===================
compiling main.cpp                                                                                                                                                      
rm -f libqtwcodecs.so                                                                                                                                                   
linking ../../../../plugins/codecs/libqtwcodecs.so                                                                                                                      
mv -f libqtwcodecs.so ../../../../plugins/codecs/                                                                                                                       
make[1]: Leaving directory `/var/tmp/portage/x11-libs/qt-core-4.5.2/work/qt-x11-opensource-src-4.5.2/src/plugins/codecs/tw'                                             
cd kr/ && make -f Makefile                                                                                                                                              
make[1]: Entering directory `/var/tmp/portage/x11-libs/qt-core-4.5.2/work/qt-x11-opensource-src-4.5.2/src/plugins/codecs/kr'                                            
"/var/tmp/portage/x11-libs/qt-core-4.5.2/work/qt-x11-opensource-src-4.5.2/bin/qmake"  -spec /var/tmp/portage/x11-libs/qt-core-4.5.2/work/qt-x11-opensource-src-4.5.2/mkspecs/linux-g++ -o "/var/tmp/portage/x11-libs/qt-core-4.5.2/work/qt-x11-opensource-src-4.5.2/./src/plugins/codecs/kr" "/var/tmp/portage/x11-libs/qt-core-4.5.2/work/qt-x11-opensource-src-4.5.2/src/plugins/codecs/kr/kr.pro"                                                                                                                    
cd "/var/tmp/portage/x11-libs/qt-core-4.5.2/work/qt-x11-opensource-src-4.5.2/./src/plugins/codecs/kr"                                                                   
make Makefile                                                                                                                                                           
make[2]: Entering directory `/var/tmp/portage/x11-libs/qt-core-4.5.2/work/qt-x11-opensource-src-4.5.2/src/plugins/codecs/kr'                                            
make[2]: `Makefile' is up to date.
make[2]: Leaving directory `/var/tmp/portage/x11-libs/qt-core-4.5.2/work/qt-x11-opensource-src-4.5.2/src/plugins/codecs/kr'
make[1]: Leaving directory `/var/tmp/portage/x11-libs/qt-core-4.5.2/work/qt-x11-opensource-src-4.5.2/src/plugins/codecs/kr'
make[1]: Entering directory `/var/tmp/portage/x11-libs/qt-core-4.5.2/work/qt-x11-opensource-src-4.5.2/src/plugins/codecs/kr'
compiling qeuckrcodec.cpp
compiling main.cpp
rm -f libqkrcodecs.so
linking ../../../../plugins/codecs/libqkrcodecs.so
mv -f libqkrcodecs.so ../../../../plugins/codecs/
make[1]: Leaving directory `/var/tmp/portage/x11-libs/qt-core-4.5.2/work/qt-x11-opensource-src-4.5.2/src/plugins/codecs/kr'
/var/tmp/portage/x11-libs/qt-core-4.5.2/temp/environment: line 637: 18158 Killed                  "${S}"/bin/qmake "LIBS+=-L${QTLIBDIR}" "CONFIG+=nostrip"
 *
 * ERROR: x11-libs/qt-core-4.5.2 failed.
 * Call stack:
 *               ebuild.sh, line   49:  Called src_compile
 *             environment, line 3404:  Called qt4-build_src_compile
 *             environment, line 3097:  Called build_directories '
 * src/tools/bootstrap
 * src/tools/moc/
 * src/tools/rcc/
 * src/tools/uic/
 * src/corelib/
 * src/xml/
 * src/network/
 * src/plugins/codecs/
 *                                      tools/qdoc3'
 *             environment, line  641:  Called die
 * The specific snippet of code:
 *           "${S}"/bin/qmake "LIBS+=-L${QTLIBDIR}" "CONFIG+=nostrip" || die "qmake failed";
 *  The die message:
 *   qmake failed
 *
 * If you need support, post the topmost build error, and the call stack if relevant.
 * A complete build log is located at '/var/log/portage/x11-libs:qt-core-4.5.2:20090903-173006.log'.
 * The ebuild environment file is located at '/var/tmp/portage/x11-libs/qt-core-4.5.2/temp/environment'.
 *

>>> Failed to emerge x11-libs/qt-core-4.5.2, Log file:

>>>  '/var/log/portage/x11-libs:qt-core-4.5.2:20090903-173006.log'


Expected Results:  
qt-core-4.5.2 installs and follow-on emerges proceed normally
Comment 1 joe piskor 2009-09-03 18:20:03 UTC
Portage 2.1.6.13 (default/linux/amd64/2008.0, gcc-4.3.4, glibc-2.10.1-r0, 2.6.31-rc8-git2 x86_64)
=================================================================                                
System uname: Linux-2.6.31-rc8-git2-x86_64-Intel-R-_Core-TM-2_Duo_CPU_T9400_@_2.53GHz-with-gentoo-2.0.1
Timestamp of tree: Thu, 03 Sep 2009 13:45:01 +0000                                                     
app-shells/bash:     4.0_p28                                                                           
dev-java/java-config: 1.3.7-r1, 2.1.9                                                                  
dev-lang/python:     2.5.4-r2, 2.6.2-r1, 3.1.1                                                         
dev-util/cmake:      2.6.4-r2                                                                          
sys-apps/baselayout: 2.0.1                                                                             
sys-apps/openrc:     0.4.3-r3                                                                          
sys-apps/sandbox:    2.1                                                                               
sys-devel/autoconf:  2.13, 2.63-r1                                                                     
sys-devel/automake:  1.5, 1.6.3, 1.7.9-r1, 1.8.5-r3, 1.9.6-r2, 1.10.2, 1.11                            
sys-devel/binutils:  2.19.1-r1                                                                         
sys-devel/gcc-config: 1.4.1                                                                            
sys-devel/libtool:   2.2.6a                                                                            
virtual/os-headers:  2.6.30-r1
ACCEPT_KEYWORDS="amd64 ~amd64"
CBUILD="x86_64-pc-linux-gnu"
CFLAGS="-O2 -pipe -march=native"
CHOST="x86_64-pc-linux-gnu"
CONFIG_PROTECT="/etc /usr/kde/3.5/env /usr/kde/3.5/share/config /usr/kde/3.5/shutdown /usr/share/config"
CONFIG_PROTECT_MASK="/etc/ca-certificates.conf /etc/env.d /etc/env.d/java/ /etc/fonts/fonts.conf /etc/gconf /etc/gentoo-release /etc/php/apache2-php5/ext-active/ /etc/php/cgi-php5/ext-active/ /etc/php/cli-php5/ext-active/ /etc/revdep-rebuild /etc/sandbox.d /etc/terminfo /etc/texmf/language.dat.d /etc/texmf/language.def.d /etc/texmf/updmap.d /etc/texmf/web2c /etc/udev/rules.d"
CXXFLAGS="-O2 -pipe"
DISTDIR="/usr/portage/distfiles"
FEATURES="distlocks fixpackages metadata-transfer parallel-fetch protect-owned sandbox sfperms unmerge-orphans userfetch"
GENTOO_MIRRORS="http://distfiles.gentoo.org http://distro.ibiblio.org/pub/linux/distributions/gentoo"
LDFLAGS="-Wl,-O1"
LINGUAS="en es"
MAKEOPTS="-j1"
PKGDIR="/usr/portage/packages"
PORTAGE_CONFIGROOT="/"
PORTAGE_RSYNC_OPTS="--recursive --links --safe-links --perms --times --compress --force --whole-file --delete --stats --timeout=180 --exclude=/distfiles --exclude=/local --exclude=/packages"
PORTAGE_TMPDIR="/var/tmp"
PORTDIR="/usr/portage"
PORTDIR_OVERLAY="/usr/local/portage/layman/java-overlay /usr/local/portage"
SYNC="rsync://rsync.europe.gentoo.org/gentoo-portage"
USE="X a52 aac ac3 accessibility acl acpi administrator alsa amd64 apache2 apm avi berkdb bzip2 cairo cdparanoia cli cpudetection cracklib crypt curl dbus divx divx4 divx4linux dlloader doc dri dts dv dvd dvdr dvdread encode fame fbcon flac foomaticdb fortran gd gdbm gdk ghostscript gimp git gmedia gpm gtk2 hal htmlhandbook iconv isdnlog ithreads jpeg kde libcaca live lm_sensors mad matroska mmx mozdevelop mozsvg mp3 mpeg mudflap multilib musepack musicbrainz mysql ncurses network nls nptl nptlonly nsplugin nvidia ogg openal opengl openmp oss pam pcre pdf perl pic png ppds pppd python qt qt3support qt4 query-browser quicktime readline reflection rtc server session spl sse sse2 ssl subtitles svg synaptics sysfs tcpd theora threadsafe tiff unicode usb v4l v4l2 vdpau visualization vorbis wma wmp workbench x264 xcomposite xorg xv xvid xvmc zlib" ALSA_CARDS="ali5451 als4000 atiixp atiixp-modem bt87x ca0106 cmipci emu10k1x ens1370 ens1371 es1938 es1968 fm801 hda-intel intel8x0 intel8x0m maestro3 trident usb-audio via82xx via82xx-modem ymfpci" ALSA_PCM_PLUGINS="adpcm alaw asym copy dmix dshare dsnoop empty extplug file hooks iec958 ioplug ladspa lfloat linear meter mmap_emul mulaw multi null plug rate route share shm softvol" APACHE2_MODULES="actions alias auth_basic authn_alias authn_anon authn_dbm authn_default authn_file authz_dbm authz_default authz_groupfile authz_host authz_owner authz_user autoindex cache dav dav_fs dav_lock deflate dir disk_cache env expires ext_filter file_cache filter headers include info log_config logio mem_cache mime mime_magic negotiation rewrite setenvif speling status unique_id userdir usertrack vhost_alias" ELIBC="glibc" INPUT_DEVICES="keyboard mouse jamstudio" KERNEL="linux" LCD_DEVICES="bayrad cfontz cfontz633 glk hd44780 lb216 lcdm001 mtxorb ncurses text" LINGUAS="en es" USERLAND="GNU" VIDEO_CARDS="nvidia"
Unset:  CPPFLAGS, CTARGET, EMERGE_DEFAULT_OPTS, FFLAGS, INSTALL_MASK, LANG, LC_ALL, PORTAGE_COMPRESS, PORTAGE_COMPRESS_FLAGS, PORTAGE_RSYNC_EXTRA_OPTS
Comment 2 joe piskor 2009-09-03 18:24:23 UTC
Created attachment 203071 [details]
dmesg dump at time of crash

dump reflects qmake out-of-memory conditions
Comment 3 joe piskor 2009-09-03 18:53:12 UTC
just tried reverting to 4.5.1 and had the same problem. WIll try under earlier kernel version...
Comment 4 joe piskor 2009-09-03 20:42:10 UTC
build also fails under kernels 2.6.30-rc8 and 2.6.31-rc2
Comment 5 joe piskor 2009-09-04 08:18:20 UTC
build fails under kernel 2.6.30-gentoo and qt-4.5.1 at the same spot...
Comment 6 Davide Pesavento (RETIRED) gentoo-dev 2009-09-04 09:49:50 UTC
Actually, ${S}/src/plugins/codecs/kr compiles and links fine AFAICS. The build dies right after that.
Comment 7 joe piskor 2009-09-04 19:20:20 UTC
(In reply to comment #6)
> Actually, ${S}/src/plugins/codecs/kr compiles and links fine AFAICS. The build
> dies right after that.
> 

agreed - I looked at things a bit closer and came to that conclusion as well.
Comment 8 joe piskor 2009-09-04 19:22:40 UTC
I did get qt-core-4.5.2 to compile on 2.6.30-gentoo, but run into similar problems trying to move further down in the chain, specifically w/qt-dbus
Comment 9 Davide Pesavento (RETIRED) gentoo-dev 2009-09-05 19:15:08 UTC
Well, I can't reproduce here...
Comment 10 joe piskor 2009-09-05 22:10:26 UTC
I added additional swap space on the system (+3Gb swapfile) and successfully built qt-core-4.6.9999 from the qting-edge overlay, so I presume that 4.5.2 wuld probably build ok...

I've marked the bug as invalid...