Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 154953 - x11-libs/qt-4.1.4-r2 build failure
Summary: x11-libs/qt-4.1.4-r2 build failure
Status: RESOLVED NEEDINFO
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: [OLD] Library (show other bugs)
Hardware: All Linux
: High major (vote)
Assignee: Gentoo Linux bug wranglers
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2006-11-12 18:13 UTC by Stuart Shelton
Modified: 2006-11-13 01:08 UTC (History)
0 users

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 Stuart Shelton 2006-11-12 18:13:27 UTC
Attempting to rebuild qt-4 (due to a broken dependancy reported by revdep-rebuild) results in the following failure:

make[4]: Entering directory `/var/tmp/portage/qt-4.1.4-r2/work/qt-x11-opensource-src-4.1.4/src/plugins/imageformats/jpeg'
make -f Makefile.Release all
make[5]: Entering directory `/var/tmp/portage/qt-4.1.4-r2/work/qt-x11-opensource-src-4.1.4/src/plugins/imageformats/jpeg'
g++ -c -pipe -I/usr/include/mysql -I/usr/include/postgresql/pgsql -O2 -march=pentium-m -pipe -fvisibility=hidden -fvisibility-inlines-hidden -D_REENTRANT -Wall -W -fPIC  -DQT_NO_DEBUG -DQT_PLUGIN -DQT_GUI_LIB -DQT_CORE_LIB -D_LARGEFILE64_SOURCE -D_LARGEFILE_SOURCE -DQT_SHARED -I../../../../mkspecs/linux-g++ -I. -I../../../../include/QtCore -I../../../../include/QtGui -I../../../../include -I.moc/release-shared -I. -o .obj/release-shared/main.o main.cpp
g++ -c -pipe -I/usr/include/mysql -I/usr/include/postgresql/pgsql -O2 -march=pentium-m -pipe -fvisibility=hidden -fvisibility-inlines-hidden -D_REENTRANT -Wall -W -fPIC  -DQT_NO_DEBUG -DQT_PLUGIN -DQT_GUI_LIB -DQT_CORE_LIB -D_LARGEFILE64_SOURCE -D_LARGEFILE_SOURCE -DQT_SHARED -I../../../../mkspecs/linux-g++ -I. -I../../../../include/QtCore -I../../../../include/QtGui -I../../../../include -I.moc/release-shared -I. -o .obj/release-shared/qjpeghandler.o qjpeghandler.cpp
/usr/local/include/langinfo.h:83: internal compiler error: Segmentation fault
Please submit a full bug report,
with preprocessed source if appropriate.
See <URL:http://bugs.gentoo.org/> for instructions.
The bug is not reproducible, so it is likely a hardware or OS problem.
make[5]: *** [.obj/release-shared/qjpeghandler.o] Error 1
make[5]: Leaving directory `/var/tmp/portage/qt-4.1.4-r2/work/qt-x11-opensource-src-4.1.4/src/plugins/imageformats/jpeg'
make[4]: *** [release-all] Error 2
make[4]: Leaving directory `/var/tmp/portage/qt-4.1.4-r2/work/qt-x11-opensource-src-4.1.4/src/plugins/imageformats/jpeg'
make[3]: *** [sub-jpeg-all] Error 2
make[3]: Leaving directory `/var/tmp/portage/qt-4.1.4-r2/work/qt-x11-opensource-src-4.1.4/src/plugins/imageformats'
make[2]: *** [sub-imageformats-all] Error 2
make[2]: Leaving directory `/var/tmp/portage/qt-4.1.4-r2/work/qt-x11-opensource-src-4.1.4/src/plugins'
make[1]: *** [sub-plugins-all-ordered] Error 2
make[1]: Leaving directory `/var/tmp/portage/qt-4.1.4-r2/work/qt-x11-opensource-src-4.1.4/src'
make: *** [sub-src-all-ordered] Error 2

!!! ERROR: x11-libs/qt-4.1.4-r2 failed.
Call stack:
  ebuild.sh, line 1546:   Called dyn_compile
  ebuild.sh, line 937:   Called src_compile
  qt-4.1.4-r2.ebuild, line 171:   Called die

Note that, despite what the build process outputs, this failure is entirely repeatable: the failure is always identical and at the same point.

I don't use any crazy CFLAGS, and I've encountered no other build failures with this same compiler - which has by now been used to rebuild the majority of the system (over 2180 packages).

emerge --info:
Portage 2.1.1-r1 (default-linux/x86/2006.1, gcc-4.1.1, glibc-2.4-r4, 2.6.18-gentoo-r2 i686)
=================================================================
System uname: 2.6.18-gentoo-r2 i686 Intel(R) Pentium(R) M processor 1700MHz
Gentoo Base System version 1.12.6
Last Sync: Fri, 10 Nov 2006 14:50:01 +0000
distcc 2.18.3 i686-pc-linux-gnu (protocols 1 and 2) (default port 3632) [disabled]
app-admin/eselect-compiler: [Not Present]
dev-java/java-config: 1.3.7, 2.0.30
dev-lang/python:     2.4.3-r4
dev-python/pycrypto: 2.0.1-r5
dev-util/ccache:     [Not Present]
dev-util/confcache:  [Not Present]
sys-apps/sandbox:    1.2.17
sys-devel/autoconf:  2.13, 2.60
sys-devel/automake:  1.4_p6, 1.5, 1.6.3, 1.7.9-r1, 1.8.5-r3, 1.9.6-r2, 1.10
sys-devel/binutils:  2.16.1-r3
sys-devel/gcc-config: 1.3.13-r4
sys-devel/libtool:   1.5.22
virtual/os-headers:  2.6.17-r1
ACCEPT_KEYWORDS="x86"
AUTOCLEAN="yes"
CBUILD="i686-pc-linux-gnu"
CFLAGS="-O2 -march=pentium-m -mfpmath=sse -mmmx -msse -msse2 -fomit-frame-pointer -fprefetch-loop-arrays -pipe"
CHOST="i686-pc-linux-gnu"
CONFIG_PROTECT="/etc /etc/env.d /opt/openjms/config /usr/kde/3.5/env /usr/kde/3.5/share/config /usr/kde/3.5/shutdown /usr/lib/fax /usr/lib/mozilla/defaults/pref /usr/share/X11/xkb /usr/share/config /var/spool/fax/etc"
CONFIG_PROTECT_MASK="/etc/X11/xkb /etc/chipcard2-server /etc/env.d /etc/env.d/java/ /etc/gconf /etc/java-config/vms/ /etc/revdep-rebuild /etc/terminfo /etc/texmf/web2c"
CXXFLAGS="-O2 -march=pentium-m -mfpmath=sse -mmmx -msse -msse2 -fomit-frame-pointer -fprefetch-loop-arrays -pipe"
DISTDIR="/usr/portage/distfiles"
EMERGE_DEFAULT_OPTS="--alphabetical"
FEATURES="autoconfig distlocks fixpackages metadata-transfer parallel-fetch sandbox sfperms strict test userfetch userpriv usersandbox"
GENTOO_MIRRORS="        http://distfiles.gentoo.org     http://www.ibiblio.org/pub/Linux/distributions/gentoo   http://ftp.heanet.ie/pub/gentoo         http://www.mirror.ac.uk/sites/www.ibiblio.org/gentoo      http://gentoo.osuosl.org        http://gentoo.oregonstate.edu "
LINGUAS="en_GB"
PKGDIR="/usr/portage/packages"
PORTAGE_RSYNC_OPTS="--recursive --links --safe-links --perms --times --compress --force --whole-file --delete --delete-after --stats --timeout=180 --exclude='/distfiles' --exclude='/local' --exclude='/packages'"
PORTAGE_TMPDIR="/var/tmp"
PORTDIR="/usr/portage"
PORTDIR_OVERLAY="/usr/local/portage"
SYNC="rsync://rsync.europe.gentoo.org/gentoo-portage"
USE="x86 X a52 aac aalib accessibility acl acpi adns aio alsa amr ao arts async audiofile automount avahi avi bash-completion berkdb bitmap-fonts bluetooth bonobo browserplugin bzip2 cairo caps cdr cli cracklib crypt cscope cups curl dbus dga directfb dlloader dri dts dv dvd dvdread eds elibc_glibc encode esd ethereal evo exif expat fam fastcgi fbcon ffmpeg fftw firebird flac flash fltk fluidsynth font-server foomaticdb fortran freetds freetype gb gd gdbm ggi gif gimp glut gmp gnome gnomedb gnutls gphoto2 gpm gs gstreamer gtk gtk2 gtkhtml guile hal howl icc-pgo iconv idn ieee1394 imagemagick imap imlib informix innodb input_devices_evdev input_devices_keyboard input_devices_mouse input_devices_synaptics input_devices_vmmouse input_devices_void ipv6 isdnlog jack java javamail javascript jbig jms jmx jpeg jpeg2k junit kde kdeenablefinal kdehiddenvisibility kerberos kernel_linux kipi krb4 ladcca lash lcms ldap lesstif libcaca libedit libg++ libgda libsamplerate libwww linguas_en_GB logrotate lua lzo mad maildir mailwrapper matroska mbox mcal memlimit mikmod milter mmap mmx mng modplug mono motif mozilla mp3 mpeg mpi mplayer msn mssql musepack mysql nas ncurses neXt net netboot network nis njb nls nntp nptl nptlonly nsplugin numeric ocaml oci8 odbc ogg oggvorbis openal openexr opengl oss pam pam_console pango pcmcia pcre pdf pdflib perl pic plotutils png pnp portaudio postgres ppds pppd prelude python qdbm qt qt3 qt4 quicktime radius rar readline real reflection ruby samba sasl scanner sdl session shorten sid skey slang slp smartcard sndfile snmp socks5 sox spamassassin speex spell spl sqlite sse sse2 ssl startup-notification subtitles svg svga sysfs syslog t1lib tcl tcltk tcpd test tetex theora threads tiff timidity tk truetype truetype-fonts type1-fonts udev unicode urandom usb userland_GNU v4l v4l2 vcd video_cards_ati video_cards_fbdev video_cards_fglrx video_cards_radeon video_cards_vesa video_cards_vmware vidix vorbis win32codecs wmf wxwindows x264 xanim xbase xface xim xine xinerama xinetd xml xml2 xorg xosd xpm xprint xscreensaver xv xvid zeo zlib"
Unset:  CTARGET, INSTALL_MASK, LANG, LC_ALL, LDFLAGS, MAKEOPTS, PORTAGE_RSYNC_EXTRA_OPTS
Comment 1 Jakub Moc (RETIRED) gentoo-dev 2006-11-12 23:54:46 UTC
> /usr/local/include/langinfo.h:83: internal compiler error: Segmentation fault

Err, we don't install anything into /usr/local; so wipe the cruft you have in there and try again.
Comment 2 Stuart Shelton 2006-11-13 01:04:54 UTC
/usr/local/* is symlinked back to /usr (because I'm sure around Gentoo 1.4 when I first installed, some packages *did* install into /usr/local/) so the paths below are misleading...

Just to prove this isn't the issue, I'll remove these symlinks and build again ;)
Comment 3 Jakub Moc (RETIRED) gentoo-dev 2006-11-13 01:08:20 UTC
(In reply to comment #2)
> /usr/local/* is symlinked back to /usr

o_O ??? I don't think your system is sane. (Plus we need the preprocessed source).