Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 267531 - X11-libs/qt-gui-4.5.0-r2 fails to compile (segfault)
Summary: X11-libs/qt-gui-4.5.0-r2 fails to compile (segfault)
Status: RESOLVED TEST-REQUEST
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: New packages (show other bugs)
Hardware: All Linux
: High normal (vote)
Assignee: Qt Bug Alias
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2009-04-26 12:24 UTC by brent
Modified: 2009-06-13 21:17 UTC (History)
0 users

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


Attachments
build log for qt-qui-4.5.0-r2 (build.log,82.49 KB, text/plain)
2009-04-26 12:24 UTC, brent
Details
build log for second attempt (build.log,59.29 KB, text/plain)
2009-04-26 15:01 UTC, brent
Details

Note You need to log in before you can comment on or make changes to this bug.
Description brent 2009-04-26 12:24:16 UTC
i'm thinking this may instead be a bug with gcc-4.3.3, but everything else seems to compile fine, so i'm not sure about that.

relevant info:

compiling ../shared/profileevaluator.cpp
../shared/proitems.cpp: In member function 'QString ProFile::displayFileName() const':
../shared/proitems.cpp:293: internal compiler error: Segmentation fault
Please submit a full bug report,
with preprocessed source if appropriate.
See <http://bugs.gentoo.org/> for instructions.
make[1]: *** [.obj/release-shared/proitems.o] Error 1
make[1]: *** Waiting for unfinished jobs....
make[1]: Leaving directory `/var/tmp/portage/x11-libs/qt-gui-4.5.0-r2/work/qt-x11-opensource-src-4.5.0/tools/linguist/lupdate'
make: *** [sub-lupdate-make_default-ordered] Error 2
 * 
 * ERROR: x11-libs/qt-gui-4.5.0-r2 failed.
 * Call stack:
 *               ebuild.sh, line   49:  Called src_compile
 *             environment, line 3145:  Called qt4-build_src_compile
 *             environment, line 2864:  Called build_directories '
 * src/gui
 * src/scripttools/
 * tools/designer
 * tools/linguist
 * src/plugins/imageformats/gif
 * src/plugins/imageformats/ico
 * src/plugins/imageformats/jpeg
 * src/plugins/inputmethods tools/qdbus/qdbusviewer src/plugins/imageformats/tiff src/plugins/accessible/widgets'
 *             environment, line  499:  Called die
 * The specific snippet of code:
 *           emake || die "emake failed";
 *  The die message:
 *   emake failed
 * 
 * If you need support, post the topmost build error, and the call stack if relevant.
 * A complete build log is located at '/var/tmp/portage/x11-libs/qt-gui-4.5.0-r2/temp/build.log'.
 * The ebuild environment file is located at '/var/tmp/portage/x11-libs/qt-gui-4.5.0-r2/temp/environment'.
 * 

>>> Failed to emerge x11-libs/qt-gui-4.5.0-r2, Log file:

>>>  '/var/tmp/portage/x11-libs/qt-gui-4.5.0-r2/temp/build.log'




zsh 798 [1] # emerge --info
Portage 2.1.6.7 (default/linux/amd64/2008.0/desktop, gcc-4.3.3, glibc-2.9_p20081201-r2, 2.6.29-gentoo-r1 x86_64)
=================================================================
System uname: Linux-2.6.29-gentoo-r1-x86_64-AMD_Athlon-tm-_64_FX-62_Dual_Core_Processor-with-glibc2.2.5
Timestamp of tree: Sun, 26 Apr 2009 09:15:02 +0000
app-shells/bash:     3.2_p39
dev-java/java-config: 2.1.7
dev-lang/python:     2.5.4-r2
dev-util/cmake:      2.6.2-r1
sys-apps/baselayout: 1.12.11.1
sys-apps/sandbox:    1.6-r2
sys-devel/autoconf:  2.63
sys-devel/automake:  1.7.9-r1, 1.8.5-r3, 1.9.6-r2, 1.10.2
sys-devel/binutils:  2.18-r3
sys-devel/gcc-config: 1.4.0-r4
sys-devel/libtool:   1.5.26
virtual/os-headers:  2.6.27-r2
ACCEPT_KEYWORDS="amd64"
CBUILD="x86_64-pc-linux-gnu"
CFLAGS="-march=athlon-fx -O2 -pipe"
CHOST="x86_64-pc-linux-gnu"
CONFIG_PROTECT="/etc"
CONFIG_PROTECT_MASK="/etc/ca-certificates.conf /etc/env.d /etc/env.d/java/ /etc/fonts/fonts.conf /etc/gconf /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="-march=athlon-fx -O2 -pipe"
DISTDIR="/usr/portage/distfiles"
FEATURES="candy ccache distlocks fixpackages parallel-fetch protect-owned sandbox sfperms strict unmerge-orphans userfetch"
GENTOO_MIRRORS="http://gentoo.chem.wisc.edu/gentoo"
LDFLAGS="-Wl,-O1"
MAKEOPTS="-j2"
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="   "
SYNC="rsync://rsync21.us.gentoo.org/gentoo-portage"
USE="X acl acpi alsa amd64 async automount avahi bash-completion berkdb branding bzip2 cairo caps cdr cli cracklib crypt cups dbus directfb disk-partition dri dvd dvdr dvdread eds emboss encode esd evo fam firefox fortran fuse gdbm gif glitz gnome gnutls gpm gstreamer gtk hal iconv idn ipv6 isdnlog jpeg ldap libnotify lzo mad midi mikmod mmx motif mp3 mpeg mudflap multilib ncurses nls nptl nptlonly offensive ogg opengl openmp overlays pam pcre pdf perl php pic png ppds pppd python qt3 qt3support qt4 quicktime quotas readline reflection samba sasl sdl session smbkrb5passwd spell spl sse sse2 ssl startup-notification svg sysfs syslog tcpd tiff tools truetype tslib unicode usb utils vde vim-pager vim-syntax vim-with-x vorbis winbind xcb xinetd xml xorg xulrunner xv zeroconf 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 asis auth_digest cern_meta dumpio ident imagemap log_forensic proxy proxy_ajp proxy_balancer proxy_connect proxy_ftp proxy_http substitute" APACHE2_MPMS="worker" ELIBC="glibc" INPUT_DEVICES="keyboard mouse evdev" KERNEL="linux" LCD_DEVICES="bayrad cfontz cfontz633 glk hd44780 lb216 lcdm001 mtxorb ncurses text" USERLAND="GNU" VIDEO_CARDS="fbdev glint i810 intel mach64 mga neomagic nv r128 radeon savage sis tdfx trident vesa vga via vmware voodoo"
Unset:  CPPFLAGS, CTARGET, EMERGE_DEFAULT_OPTS, FFLAGS, INSTALL_MASK, LANG, LC_ALL, LINGUAS, PORTAGE_COMPRESS, PORTAGE_COMPRESS_FLAGS, PORTAGE_RSYNC_EXTRA_OPTS


will also include the build log file as an attachment.
Comment 1 brent 2009-04-26 12:24:55 UTC
Created attachment 189479 [details]
build log for qt-qui-4.5.0-r2
Comment 2 Peter Alfredsen (RETIRED) gentoo-dev 2009-04-26 12:54:25 UTC
This is most likely a case of hardware failure. Can you reproduce this so it segfaults in precisely the same place?
Comment 3 Markos Chandras (RETIRED) gentoo-dev 2009-04-26 13:44:00 UTC
Are you using custom-cxx use flag for qt packages?

And I am not sure if athlon-fx is a valid CFLAG :\
Comment 4 brent 2009-04-26 13:48:32 UTC
(In reply to comment #3)
> Are you using custom-cxx use flag for qt packages?

no; should i try enabling that?

> 
> And I am not sure if athlon-fx is a valid CFLAG :\
> 

it is, according to the GCC documentation, a valid march option.

if it weren't, i'd have a helluva hard time compiling things like gcc, etc. wouldn't i? ;) (it's been there since the install)
Comment 5 brent 2009-04-26 14:44:39 UTC
(In reply to comment #2)
> This is most likely a case of hardware failure. Can you reproduce this so it
> segfaults in precisely the same place?
> 

just realized i never responded- whoops!

yeah, kicking off another attempt now. i'll attach the build log as build2.log
Comment 6 brent 2009-04-26 15:00:55 UTC
compiling ../../../shared/qtpropertybrowser/qtpropertymanager.cpp
compiling ../../../shared/qtpropertybrowser/qteditorfactory.cpp
In file included from ../../../shared/qtpropertybrowser/qteditorfactory.cpp:2591:
../../../../include/QtCore/../../src/corelib/tools/qmap.h: In member function 'void QMap<Key, T>::detach() [with Key = QtProperty*, T = QList<QSpinBox*>]':
../../../../include/QtCore/../../src/corelib/tools/qmap.h:172: internal compiler error: Segmentation fault
Please submit a full bug report,
with preprocessed source if appropriate.
See <http://bugs.gentoo.org/> for instructions.
make[2]: *** [.obj/release-shared/qteditorfactory.o] Error 1
make[2]: *** Waiting for unfinished jobs....
make[2]: Leaving directory `/var/tmp/portage/x11-libs/qt-gui-4.5.0-r2/work/qt-x11-opensource-src-4.5.0/tools/designer/src/lib'
make[1]: *** [sub-lib-make_default-ordered] Error 2
make[1]: Leaving directory `/var/tmp/portage/x11-libs/qt-gui-4.5.0-r2/work/qt-x11-opensource-src-4.5.0/tools/designer/src'
make: *** [sub-src-make_default] Error 2
 * 
 * ERROR: x11-libs/qt-gui-4.5.0-r2 failed.
 * Call stack:
 *               ebuild.sh, line   49:  Called src_compile
 *             environment, line 3145:  Called qt4-build_src_compile
 *             environment, line 2864:  Called build_directories '
 * src/gui
 * src/scripttools/
 * tools/designer
 * tools/linguist
 * src/plugins/imageformats/gif
 * src/plugins/imageformats/ico
 * src/plugins/imageformats/jpeg
 * src/plugins/inputmethods tools/qdbus/qdbusviewer src/plugins/imageformats/tiff src/plugins/accessible/widgets'
 *             environment, line  499:  Called die
 * The specific snippet of code:
 *           emake || die "emake failed";
 *  The die message:
 *   emake failed
 * 
 * If you need support, post the topmost build error, and the call stack if relevant.
 * A complete build log is located at '/var/tmp/portage/x11-libs/qt-gui-4.5.0-r2/temp/build.log'.
 * The ebuild environment file is located at '/var/tmp/portage/x11-libs/qt-gui-4.5.0-r2/temp/environment'.
 * 

attaching build2.log as well
Comment 7 brent 2009-04-26 15:01:51 UTC
Created attachment 189504 [details]
build log for second attempt
Comment 8 Markos Chandras (RETIRED) gentoo-dev 2009-04-26 16:46:24 UTC
(In reply to comment #4)
> (In reply to comment #3)
> > Are you using custom-cxx use flag for qt packages?
> 
> no; should i try enabling that?
> 

You could try that, as I dont have anything else to suggest for now :\
Comment 9 Jake Nickoloff 2009-06-02 06:34:13 UTC
I believe I had this exact problem. Segfault in the same spot while emerging 4.4.2-r3.

I emerged again and it worked fine. I'm running Gentoo on an old PIII.
Comment 10 Markos Chandras (RETIRED) gentoo-dev 2009-06-13 21:17:22 UTC
Please re-open if you still have problems with the latest qt-gui package

Thanks