Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 261418 - x11-libs/qt-core-4.5.0 fails to build on AMD64
Summary: x11-libs/qt-core-4.5.0 fails to build on AMD64
Status: RESOLVED INVALID
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: [OLD] Library (show other bugs)
Hardware: AMD64 Linux
: High normal
Assignee: Qt Bug Alias
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2009-03-06 08:46 UTC by Daniel Douglas
Modified: 2009-03-07 09:01 UTC (History)
2 users (show)

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


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Daniel Douglas 2009-03-06 08:46:27 UTC
qt-core from the tree fails on amd64. I'm running kdeprefix & kde live from kde-testing. qt-copy from qting-edge does still work.

Reproducible: Always
Comment 1 Daniel Douglas 2009-03-06 08:50:11 UTC
>>> Unpacking source...                                                                                                                                                                  
tar xjpf /var/tmp/portage/x11-libs/qt-core-4.5.0/distdir/qt-x11-opensource-src-4.5.0.tar.bz2 qt-x11-opensource-src-4.5.0/configure qt-x11-opensource-src-4.5.0/LICENSE.GPL3 qt-x11-opensource-src-4.5.0/LICENSE.LGPL qt-x11-opensource-src-4.5.0/projects.pro qt-x11-opensource-src-4.5.0/src/qbase.pri qt-x11-opensource-src-4.5.0/src/qt_targets.pri qt-x11-opensource-src-4.5.0/src/qt_install.pri qt-x11-opensource-src-4.5.0/bin qt-x11-opensource-src-4.5.0/config.tests qt-x11-opensource-src-4.5.0/mkspecs qt-x11-opensource-src-4.5.0/qmake qt-x11-opensource-src-4.5.0/src/tools/bootstrap qt-x11-opensource-src-4.5.0/src/tools/moc/ qt-x11-opensource-src-4.5.0/src/tools/rcc/ qt-x11-opensource-src-4.5.0/src/tools/uic/ qt-x11-opensource-src-4.5.0/src/corelib/ qt-x11-opensource-src-4.5.0/src/xml/ qt-x11-opensource-src-4.5.0/src/network/ qt-x11-opensource-src-4.5.0/src/plugins/codecs/ qt-x11-opensource-src-4.5.0/include/Qt/ qt-x11-opensource-src-4.5.0/include/QtCore/ qt-x11-opensource-src-4.5.0/include/QtNetwork/ qt-x11-opensource-src-4.5.0/include/QtScript/ qt-x11-opensource-src-4.5.0/include/QtXml/ qt-x11-opensource-src-4.5.0/src/plugins/plugins.pro qt-x11-opensource-src-4.5.0/src/plugins/qpluginbase.pri qt-x11-opensource-src-4.5.0/src/src.pro qt-x11-opensource-src-4.5.0/src/3rdparty/des/ qt-x11-opensource-src-4.5.0/src/3rdparty/harfbuzz/ qt-x11-opensource-src-4.5.0/src/3rdparty/md4/ qt-x11-opensource-src-4.5.0/src/3rdparty/md5/ qt-x11-opensource-src-4.5.0/src/3rdparty/sha1/ qt-x11-opensource-src-4.5.0/src/script/ qt-x11-opensource-src-4.5.0/translations/                                                                                                                
>>> Source unpacked in /var/tmp/portage/x11-libs/qt-core-4.5.0/work                                                                                                                       
>>> Configuring source in /var/tmp/portage/x11-libs/qt-core-4.5.0/work/qt-x11-opensource-src-4.5.0 ...                                                                                    
./configure -L/usr/lib64 -no-pch -release -no-separate-debug-info -arch x86_64 -stl -verbose -largefile -confirm-license -no-rpath -prefix /usr -bindir /usr/bin -libdir /usr/lib64/qt4 -datadir /usr/share/qt4 -docdir /usr/share/doc/qt-4.5.0 -headerdir /usr/include/qt4 -plugindir /usr/lib64/qt4/plugins -sysconfdir /etc/qt4 -translationdir /usr/share/qt4/translations -examplesdir /usr/share/qt4/examples -demosdir /usr/share/qt4/demos -silent -fast -no-exceptions -reduce-relocations -nomake examples -nomake demos -glib -iconv -openssl -qt3support -no-xkb -no-fontconfig -no-xrender -no-xrandr -no-xfixes -no-xcursor -no-xinerama -no-xshape -no-sm -no-opengl -no-nas-sound -no-dbus -no-cups -no-gif -no-libpng -no-libmng -no-libjpeg -system-zlib -no-webkit -no-phonon -no-xmlpatterns -no-freetype -no-libtiff -no-accessibility -no-fontconfig -no-opengl -no-svg -no-gtkstyle -nomake docs                                           

This is the Qt/X11 Open Source Edition.

Determining system architecture... (Linux:2.6.28.7:x86_64)
    64-bit AMD 80x86 (x86_64)
    'x86_64' is supported
System architecture: 'x86_64'
Symbol visibility control enabled.
Symbolic function binding enabled.
You are licensed to use this software under the terms of
the GNU Lesser General Public License (LGPL) version 2.1 or
the GNU General Public License (GPL) version 3.

You have already accepted the terms of the  license.

Creating qmake. Please wait...
main.cpp: In function 'int runQMake(int, char**)':
main.cpp:103: warning: ignoring return value of 'int system(const char*)', declared with attribute warn_unused_result
qscriptcontext_p.o: file not recognized: File truncated
collect2: ld returned 1 exit status
gmake: *** [/var/tmp/portage/x11-libs/qt-core-4.5.0/work/qt-x11-opensource-src-4.5.0/bin/qmake] Error 1
 *
 * ERROR: x11-libs/qt-core-4.5.0 failed.
 * Call stack:
 *               ebuild.sh, line   49:  Called src_configure
 *             environment, line 3193:  Called qt4-build_src_configure
 *             environment, line 2896:  Called die
 * The specific snippet of code:
 *       ./configure ${myconf} || die "./configure failed"
 *  The die message:
 *   ./configure failed

info:

Portage 2.2_rc23 (default/linux/amd64/2008.0/desktop, gcc-4.3.3, glibc-2.9_p20081201-r2, 2.6.28.7 x86_64)
=================================================================
System uname: Linux-2.6.28.7-x86_64-Intel-R-_Core-TM-_i7_CPU_920_@_2.67GHz-with-glibc2.2.5
Timestamp of tree: Fri, 06 Mar 2009 05:00:01 +0000
ccache version 2.4 [enabled]
app-shells/bash:     3.2_p48-r1
dev-java/java-config: 2.1.7
dev-lang/python:     2.5.4-r2
dev-util/ccache:     2.4-r8
dev-util/cmake:      2.6.3
sys-apps/baselayout: 2.0.0
sys-apps/openrc:     0.4.3-r1
sys-apps/sandbox:    1.3.9
sys-devel/autoconf:  2.13, 2.63
sys-devel/automake:  1.5, 1.7.9-r1, 1.8.5-r3, 1.9.6-r2, 1.10.2
sys-devel/binutils:  2.19.1
sys-devel/gcc-config: 1.4.1
sys-devel/libtool:   2.2.6a
virtual/os-headers:  2.6.28-r1
ACCEPT_KEYWORDS="amd64 ~amd64"
CBUILD="x86_64-pc-linux-gnu"
CFLAGS="-march=native -O3 -pipe -fomit-frame-pointer"
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/kde/live/env /usr/kde/live/share/config /usr/kde/live/shutdown /usr/share/config /var/lib/hsqldb"
CONFIG_PROTECT_MASK="/etc/ca-certificates.conf /etc/env.d /etc/env.d/java/ /etc/fonts/fonts.conf /etc/gconf /etc/gentoo-release /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="-march=native -O3 -pipe -fomit-frame-pointer"
DISTDIR="/usr/portage/distfiles"
FEATURES="ccache distlocks fixpackages metadata-transfer parallel-fetch preserve-libs protect-owned sandbox sfperms strict unmerge-orphans userfetch"
GENTOO_MIRRORS="http://gentoo.osuosl.org/ http://gentoo.chem.wisc.edu/gentoo/ "
LDFLAGS="-Wl,-O1"
LINGUAS="en"
MAKEOPTS="-j8"
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/kde-testing /usr/local/portage/layman/science /usr/local/portage/layman/zugaina /usr/local/portage/layman/nx /usr/local/portage/layman /usr/local/portage/custom"
SYNC="rsync://rsync.gentoo.org/gentoo-portage"
USE="X aac acl acpi aiglx alsa alsa-lib amd64 apm bash-completion bluetooth branding bzip2 cairo cdaudio cdparanoia cdr cli cracklib crypt cups daap dbus dri dssi dvd dvdr dvdread eds emboss encode esd evo exif fam fbdev ffmpeg firefox flac fortran fuse gdbm gif gimp glib glitz gphoto2 gpm gstreamer gtk hal htmlhandbook iconv imagemagick isdnlog jack jpeg kde kde4 kdeprefix ldap libnotify mad midi mikmod mmx mng mp3 mpeg mudflap multilib mysql ncurses nls nptl nptlonly ogg openexr opengl openmp pam pcre pdf perl png ppds pppd python qt3support qt4 quicktime raster raw readline reflection rtc sdl semantic-desktop session spell spl sse sse2 sse4.1 sse4.2 ssl ssse3 startup-notification svg sysfs tcpd theora tiff truetype tunepimp unicode usb vorbis xcomposite xine xml xorg xulrunner 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 joystick" KERNEL="linux" LCD_DEVICES="bayrad cfontz cfontz633 glk hd44780 lb216 lcdm001 mtxorb ncurses text" LINGUAS="en" USERLAND="GNU" VIDEO_CARDS="radeonhd radeon vesa"
Unset:  CPPFLAGS, CTARGET, EMERGE_DEFAULT_OPTS, FFLAGS, INSTALL_MASK, LANG, LC_ALL, PORTAGE_COMPRESS, PORTAGE_COMPRESS_FLAGS, PORTAGE_RSYNC_EXTRA_OPTS
Comment 2 Anders Aagaard 2009-03-06 09:40:53 UTC
qt-gui-4.5.0 fails for me with a very similar error.

I did a emerge -Du world, from qt noka 4.9999 from qting-edge to qt 4.5 stable and kde 4.2.1, that built world perfectly, 0 errors.  Then I tried to rebuild qt-gui 4.5 with +raster, and the build failed, now building -raster also fails in the exact same spot.

compiling itemviews/qtableview.cpp                                                                    
compiling itemviews/qlistwidget.cpp                                                                   
rm -f libQtGui.so.4.5.0 libQtGui.so libQtGui.so.4 libQtGui.so.4.5                                     
linking ../../lib/libQtGui.so.4.5.0                                                                   
.obj/release-shared/qstyle.o: file not recognized: File truncated                                     
collect2: ld returned 1 exit status                                                                   
make: *** [../../lib/libQtGui.so.4.5.0] Error 1


Note that I tried both -raster and +raster, and MAKEOPTS j1


Portage 2.2_rc23 (default/linux/amd64/2008.0/desktop, gcc-4.3.3, glibc-2.9_p20081201-r2, 2.6.28-gentoo-r2 x86_64)                                                                                           
=================================================================                                     
System uname: Linux-2.6.28-gentoo-r2-x86_64-Intel-R-_Core-TM-2_Quad_CPU_Q6600_@_2.40GHz-with-glibc2.2.5                                                                                                     
Timestamp of tree: Thu, 05 Mar 2009 08:20:01 +0000                                                    
ccache version 2.4 [enabled]                                                                          
app-shells/bash:     3.2_p48-r1                                                                       
dev-java/java-config: 2.1.7                                                                           
dev-lang/python:     2.5.4-r2                                                                         
dev-util/ccache:     2.4-r8                                                                           
dev-util/cmake:      2.6.3                                                                            
sys-apps/baselayout: 2.0.0                                                                            
sys-apps/openrc:     0.4.3-r1                                                                         
sys-apps/sandbox:    1.3.9                                                                            
sys-devel/autoconf:  2.13, 2.63                                                                       
sys-devel/automake:  1.5, 1.7.9-r1, 1.8.5-r3, 1.9.6-r2, 1.10.2                                        
sys-devel/binutils:  2.19.1                                                                           
sys-devel/gcc-config: 1.4.1                                                                           
sys-devel/libtool:   2.2.6a                                                                           
virtual/os-headers:  2.6.28-r1                                                                        
ACCEPT_KEYWORDS="amd64 ~amd64"                                                                        
CBUILD="x86_64-pc-linux-gnu"                                                                          
CFLAGS="-march=native -O2 -pipe -g"                                                                   
CHOST="x86_64-pc-linux-gnu"                                                                           
CONFIG_PROTECT="/etc /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/revdep-rebuild /etc/sandbox.d /etc/terminfo /etc/udev/rules.d"         
CXXFLAGS="-march=native -O2 -pipe -g"                                                                 
DISTDIR="/usr/portage/distfiles"                                                                      
FEATURES="ccache distlocks fixpackages parallel-fetch preserve-libs protect-owned sandbox sfperms splitdebug strict unmerge-orphans userfetch userpriv usersandbox"                                         
GENTOO_MIRRORS="http://distfiles.gentoo.org http://distro.ibiblio.org/pub/linux/distributions/gentoo" 
LANG="en_GB.UTF-8"                                                                                    
LDFLAGS="-Wl,-O1,--hash-style=gnu,--as-needed"                                                        
LINGUAS="en"                                                                                          
MAKEOPTS="-j6 --load-average=8"                                                                       
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/portage/local/layman/lcd-filtering /usr/portage/local/misc"
SYNC="rsync://rsync.europe.gentoo.org/gentoo-portage"
USE="X a52 aac acl acpi alsa amd64 berkdb bluetooth branding bzip2 cairo cdr cli cracklib crypt cups dbus dri dvd dvdr dvdread emboss encode firefox fortran gdbm gif gnome gpm gstreamer gtk hal htmlhandbook iconv isdnlog jpeg kde ldap libnotify lm_sensors mad midi mikmod mmx mmxext mp3 mpeg mudflap multilib ncurses nls nptl nptlonly nsplugin ogg opengl openmp pam pcre pdf plasma png ppds pppd pulseaudio python qt3support qt4 quicktime readline reflection sdl session spell spl sse sse2 ssl ssse3 startup-notification stream svg sysfs tcpd theora threads tiff truetype unicode usb vdpau vorbis webkit x264 xcomposite xinerama xml xorg xscreensaver xulrunner xv xvid zlib" ALSA_CARDS="hda-intel" ALSA_PCM_PLUGINS="adpcm alaw asym copy dmix dshare dsnoop empty extplug file hooks iec958 ioplug ladspa lfloat linearmeter 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 evdev" KERNEL="linux" LCD_DEVICES="bayrad cfontz cfontz633 glk hd44780 lb216lcdm001 mtxorb ncurses text" LINGUAS="en" USERLAND="GNU"
Unset:  CPPFLAGS, CTARGET, EMERGE_DEFAULT_OPTS, FFLAGS, INSTALL_MASK, LC_ALL, PORTAGE_COMPRESS, PORTAGE_COMPRESS_FLAGS, PORTAGE_RSYNC_EXTRA_OPTS
Comment 3 emerald 2009-03-06 13:09:00 UTC
Try to build without ccache, possibly some of your ccache files are broken.
Comment 4 Anders Aagaard 2009-03-07 00:59:58 UTC
Cleared my ccache, and the build worked for me.

I had a ext3 file system corruption while building this due to a bad kernel, but after fixing that, completing a fsck, and mounting /var/tmp/portage in tmpfs I thought I had ruled out the filesystem in that test.
Comment 5 Ben de Groot (RETIRED) gentoo-dev 2009-03-07 09:01:01 UTC
Closing as invalid. Please reopen if the problem reappears when disabling ccache.