When building kdelibs-3.5.5-r7, /bin/sh segfaults when attempting to run /usr/qt/3/bin/uic. Relevant lines from the output of the build are: if test "$ret" = 0; then echo '#include "kshortcutdialog_advanced.moc"' >> kshortcutdialog_advanced.cpp; else rm -f kshortcutdialog_advanced.cpp ; exit $ret ; fi /bin/sh: line 3: 3801 Segmentation fault /usr/qt/3/bin/uic -nounload -tr t r2i18n -i kshortcutdialog_simple.h ./kshortcutdialog_simple.ui > kshortcutdialog _simple.cpp.temp /bin/sh: line 3: 3806 Segmentation fault /usr/qt/3/bin/uic -nounload -tr t r2i18n -i kshortcutdialog_advanced.h ./kshortcutdialog_advanced.ui > kshortcutdi alog_advanced.cpp.temp Make fails immediately afterward. Reproducible: Always Steps to Reproduce: 1. run 'emerge kdelibs' 2. wait 2 minutes 3. watch the fireworks Actual Results: Segfault in running /usr/qt/3/bin/uic from /bin/sh Expected Results: Completed build, installed kdelibs. Portage 2.1.2 (default-linux/x86/2006.0, gcc-3.4.6, glibc-2.5-r0, 2.6.19-gentoo-r3 i686) ================================================================= System uname: 2.6.19-gentoo-r3 i686 AMD Sempron(tm) 2500+ Gentoo Base System version 1.12.8 Timestamp of tree: Wed, 17 Jan 2007 08:00:01 +0000 dev-java/java-config: 1.3.7, 2.0.31-r2 dev-lang/python: 2.3.6, 2.4.4 dev-python/pycrypto: 2.0.1-r5 sys-apps/sandbox: 1.2.18.1 sys-devel/autoconf: 2.13, 2.61 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.17 sys-devel/gcc-config: 1.3.14 sys-devel/libtool: 1.5.22 virtual/os-headers: 2.6.19.2-r1 ACCEPT_KEYWORDS="x86 ~x86" AUTOCLEAN="yes" CBUILD="i686-pc-linux-gnu" CFLAGS="-O2 -march=athlon-xp -fomit-frame-pointer -pipe" CHOST="i686-pc-linux-gnu" CONFIG_PROTECT="/etc /usr/kde/3.3/env /usr/kde/3.3/share/config /usr/kde/3.3/shutdown /usr/kde/3.5/env /usr/kde/3.5/share/config /usr/kde/3.5/shutdown /usr/share/X11/xkb /usr/share/config" CONFIG_PROTECT_MASK="/etc/env.d /etc/env.d/java/ /etc/gconf /etc/java-config/vms/ /etc/revdep-rebuild /etc/terminfo /etc/texmf/web2c" CXXFLAGS="-O2 -march=athlon-xp -fomit-frame-pointer -pipe" DISTDIR="/usr/portage/distfiles" FEATURES="autoconfig distlocks metadata-transfer sandbox sfperms strict" GENTOO_MIRRORS="http://gentoo.cites.uiuc.edu/pub/gentoo/ ftp://gentoo.chem.wisc.edu/gentoo/ http://gentoo.chem.wisc.edu/gentoo/ http://www.gtlib.gatech.edu/pub/gentoo http://mirror.phy.olemiss.edu/mirror/gentoo ftp://gentoo.cites.uiuc.edu/pub/gentoo/ ftp://ftp.ussg.iu.edu/pub/linux/gentoo http://mirror.mcs.anl.gov/pub/gentoo/ http://prometheus.cs.wmich.edu/gentoo http://mirror.datapipe.net/gentoo" MAKEOPTS="-j2" 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" SYNC="rsync://rsync.gentoo.org/gentoo-portage" USE="3dnow X aalib acc aim alsa apache2 apm arts avi bash-completion berkdb bitmap-fonts bonobo browserplugin bzip2 cairo cdparanoia cdr cjk cli cracklib crypt cups curl curlwrappers directfb divx4linux dlloader dri dvd dvdr dvdread eds emboss encode esd examples exif fbcon ffmpeg fftw firefox flac foomaticdb fortran ftp gdbm gif glitz glut gpm gstreamer gtk gtk2 iconv imagemagick imap imlib ipv6 isdnlog java javascript jikes jpeg kde kdeenablefinal kerberos libg++ libwww mad mikmod mime mmap mmx mng motif mozbranding mozilla mozsvg mp3 mpeg mpm-worker mysql ncurses nls nptl nptlonly nsplugin ogg oggvorbis openal opengl oss pam pcre pdf perl php png pppd python qt qt3 qt3support quicktime readline recode reflection samba sasl sdl session sharedmem spell spl sse ssl svg svga tcpd tetex theora threads tiff truetype truetype-fonts type1-fonts udev unicode usb utempter vorbis win32codecs x86 xine xml xorg xv xvid 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 mulaw multi null plug rate route share shm softvol" ELIBC="glibc" INPUT_DEVICES="keyboard mouse" KERNEL="linux" LCD_DEVICES="bayrad cfontz cfontz633 glk hd44780 lb216 lcdm001 mtxorb ncurses text" USERLAND="GNU" VIDEO_CARDS="vga nvidia nv" Unset: CTARGET, EMERGE_DEFAULT_OPTS, INSTALL_MASK, LANG, LC_ALL, LDFLAGS, LINGUAS, PORTAGE_RSYNC_EXTRA_OPTS, PORTDIR_OVERLAY
Portage 2.1.2 (default-linux/x86/2006.0, gcc-3.4.6, glibc-2.5-r0, 2.6.19-gentoo-r3 i686) ================================================================= System uname: 2.6.19-gentoo-r3 i686 AMD Sempron(tm) 2500+ Gentoo Base System version 1.12.8 Timestamp of tree: Wed, 17 Jan 2007 08:00:01 +0000 dev-java/java-config: 1.3.7, 2.0.31-r2 dev-lang/python: 2.3.6, 2.4.4 dev-python/pycrypto: 2.0.1-r5 sys-apps/sandbox: 1.2.18.1 sys-devel/autoconf: 2.13, 2.61 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.17 sys-devel/gcc-config: 1.3.14 sys-devel/libtool: 1.5.22 virtual/os-headers: 2.6.19.2-r1 ACCEPT_KEYWORDS="x86 ~x86" AUTOCLEAN="yes" CBUILD="i686-pc-linux-gnu" CFLAGS="-O2 -march=athlon-xp -fomit-frame-pointer -pipe" CHOST="i686-pc-linux-gnu" CONFIG_PROTECT="/etc /usr/kde/3.3/env /usr/kde/3.3/share/config /usr/kde/3.3/shutdown /usr/kde/3.5/env /usr/kde/3.5/share/config /usr/kde/3.5/shutdown /usr/share/X11/xkb /usr/share/config" CONFIG_PROTECT_MASK="/etc/env.d /etc/env.d/java/ /etc/gconf /etc/java-config/vms/ /etc/revdep-rebuild /etc/terminfo /etc/texmf/web2c" CXXFLAGS="-O2 -march=athlon-xp -fomit-frame-pointer -pipe" DISTDIR="/usr/portage/distfiles" FEATURES="autoconfig distlocks metadata-transfer sandbox sfperms strict" GENTOO_MIRRORS="http://gentoo.cites.uiuc.edu/pub/gentoo/ ftp://gentoo.chem.wisc.edu/gentoo/ http://gentoo.chem.wisc.edu/gentoo/ http://www.gtlib.gatech.edu/pub/gentoo http://mirror.phy.olemiss.edu/mirror/gentoo ftp://gentoo.cites.uiuc.edu/pub/gentoo/ ftp://ftp.ussg.iu.edu/pub/linux/gentoo http://mirror.mcs.anl.gov/pub/gentoo/ http://prometheus.cs.wmich.edu/gentoo http://mirror.datapipe.net/gentoo" MAKEOPTS="-j2" 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" SYNC="rsync://rsync.gentoo.org/gentoo-portage" USE="3dnow X aalib acc aim alsa apache2 apm arts avi bash-completion berkdb bitmap-fonts bonobo browserplugin bzip2 cairo cdparanoia cdr cjk cli cracklib crypt cups curl curlwrappers directfb divx4linux dlloader dri dvd dvdr dvdread eds emboss encode esd examples exif fbcon ffmpeg fftw firefox flac foomaticdb fortran ftp gdbm gif glitz glut gpm gstreamer gtk gtk2 iconv imagemagick imap imlib ipv6 isdnlog java javascript jikes jpeg kde kdeenablefinal kerberos libg++ libwww mad mikmod mime mmap mmx mng motif mozbranding mozilla mozsvg mp3 mpeg mpm-worker mysql ncurses nls nptl nptlonly nsplugin ogg oggvorbis openal opengl oss pam pcre pdf perl php png pppd python qt qt3 qt3support quicktime readline recode reflection samba sasl sdl session sharedmem spell spl sse ssl svg svga tcpd tetex theora threads tiff truetype truetype-fonts type1-fonts udev unicode usb utempter vorbis win32codecs x86 xine xml xorg xv xvid 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 mulaw multi null plug rate route share shm softvol" ELIBC="glibc" INPUT_DEVICES="keyboard mouse" KERNEL="linux" LCD_DEVICES="bayrad cfontz cfontz633 glk hd44780 lb216 lcdm001 mtxorb ncurses text" USERLAND="GNU" VIDEO_CARDS="vga nvidia nv" Unset: CTARGET, EMERGE_DEFAULT_OPTS, INSTALL_MASK, LANG, LC_ALL, LDFLAGS, LINGUAS, PORTAGE_RSYNC_EXTRA_OPTS, PORTDIR_OVERLAY
Created attachment 107289 [details] Build log
Still a problem? If so, does rebuilding Qt 3 help? With the information uic segfaulting we can only guess what's going on. strace output or a backtrace would be helpful. Unlikely that it's not a local problem.
(In reply to comment #3) > Still a problem? If so, does rebuilding Qt 3 help? With the information uic > segfaulting we can only guess what's going on. strace output or a backtrace > would be helpful. Unlikely that it's not a local problem. > Apparently I had compiled Qt 4 with gcc 3.4, and was attempting to build kdelibs with gcc 4.0. Switching to Qt 3 fixed the problem, but so did rebuilding both Qt 4 and kdelibs with gcc 4.1.
uh
not a bug then