I tried to emerge dcgui-qt, but when it comes to compilation it quits with a segmentation fault at file "DCDialogFileBrowser.h". My hardware is new and I already tested my RAM (as suggested by the guys on IRC) with memtest86, but it returns no errors. This is the first and only segmentation fault I got with emerge and compiling in common. Reproducible: Always Steps to Reproduce: 1. emerge dcgui-qt Actual Results: [...] make[3]: Entering directory `/var/tmp/portage/dcgui-qt-0.2.21/work/dcgui-qt-0.2. 21/dcgui/ui' /usr/qt/3/bin/uic -o DCDialogFileBrowser.h ./DCDialogFileBrowser.ui make[3]: *** [DCDialogFileBrowser.h] Segmentation fault [...] make: *** [all] Error 2 !!! ERROR: net-p2p/dcgui-qt-0.2.21 failed. !!! Function src_compile, Line 28, Exitcode 2 !!! (no error message) Expected Results: dcgui-qt compiles fully and installs. Portage 2.0.50-r6 (default-x86-1.4, gcc-3.3.2, glibc-2.3.2-r9, 2.6.4) ================================================================= System uname: 2.6.4 i686 Intel(R) Pentium(R) 4 CPU 2.80GHz Gentoo Base System version 1.4.9 Autoconf: sys-devel/autoconf-2.58-r1 Automake: sys-devel/automake-1.8.3 ACCEPT_KEYWORDS="x86" AUTOCLEAN="yes" CFLAGS="-march=pentium4 -O3 -pipe -fomit-frame-pointer" CHOST="i686-pc-linux-gnu" COMPILER="gcc3" CONFIG_PROTECT="/etc /usr/X11R6/lib/X11/xkb /usr/kde/2/share/config /usr/kde/3. 1/share/config /usr/kde/3.2/share/config /usr/kde/3/share/config /usr/share/config /var/qmail/control" CONFIG_PROTECT_MASK="/etc/gconf /etc/terminfo /etc/env.d" CXXFLAGS="-march=pentium4 -O3 -pipe -fomit-frame-pointer" DISTDIR="/usr/portage/distfiles" FEATURES="autoaddcvs buildpkg ccache sandbox" GENTOO_MIRRORS="http://gentoo.inode.at/" MAKEOPTS="-j3" PKGDIR="/usr/portage/packages" PORTAGE_TMPDIR="/var/tmp" PORTDIR="/usr/portage" PORTDIR_OVERLAY="/usr/local/portage" SYNC="rsync://rsync.de.gentoo.org/gentoo-portage" USE="3dnow X aalib alsa apache2 apm avi berkdb cdr cgi crypt cups dvd dvdr encode ethereal foomaticdb gdbm gif gpm gtk gtk2 guile imlib ipv6 java jpeg kde libg++ libwww lirc mad mikmod mmx motif mpeg mysql ncurses nls oggvorbis opengl oss pam pdflib perl png python qt quicktime readline sdl slang spell ssl svga tcltk tcpd tetex truetype usb x86 xml2 xmms xv xvid zlib"
QT version installed is 3.2.3-r1
I'm getting a similar segfault from the uic compiler, but at a different place: g++ -c -pipe -fno-exceptions -w -O2 -D_REENTRANT -DQT_INTERNAL_NETWORK -DQT_INTERNAL_XML -DQT_TABLET_SUPPORT -DQT_NO_DEBUG -DQT_THREAD_SUPPORT -DQT_SHARED -I/var/tmp/portage/qt-3.3.2/work/qt-x11-free-3.3.2/mkspecs/linux-g++ -I. -I/usr/include/freetype2 -I../../include -I/usr/X11R6/include -I.moc/release-shared-mt/ -o .obj/release-shared-mt/config.o config.cpp /var/tmp/portage/qt-3.3.2/work/qt-x11-free-3.3.2/bin/uic -L /var/tmp/portage/qt-3.3.2/work/qt-x11-free-3.3.2/plugins topicchooser.ui -i topicchooser.h -o topicchooser.cpp /var/tmp/portage/qt-3.3.2/work/qt-x11-free-3.3.2/bin/uic -L /var/tmp/portage/qt-3.3.2/work/qt-x11-free-3.3.2/plugins finddialog.ui -i finddialog.h -o finddialog.cpp make[2]: *** [topicchooser.cpp] Segmentation fault make[2]: *** Deleting file `topicchooser.cpp' make[2]: *** Waiting for unfinished jobs.... make[2]: *** [finddialog.cpp] Segmentation fault make[2]: *** Deleting file `finddialog.cpp' make[2]: Leaving directory `/var/tmp/portage/qt-3.3.2/work/qt-x11-free-3.3.2/tools/assistant' make[1]: *** [sub-assistant] Error 2 make[1]: Leaving directory `/var/tmp/portage/qt-3.3.2/work/qt-x11-free-3.3.2/tools' make: *** [sub-tools] Error 2 !!! ERROR: x11-libs/qt-3.3.2 failed. !!! Function src_compile, Line 94, Exitcode 2 !!! (no error message) My pooter is a PPC. I saw some of the other related bugs about qt segfaults, but a lot of the "cures" seem to be voodoo. Can someone answer some questions about Gentoo for me? I've resolved one bug so far, but I'm missing some tools to help: 1) Is there a reportbug script to dump lots of info for y'all? Like the reportbug in debian? 2) How do I find out what files are in a each package? 3) I tried to run GDB on uic, but I am uncertain how to build debug versions via the whole emerge system so I can properly debug it. Ciao!
recompile dclib and then try dcgui-qt again; that's what got it to work for me.
Okay, tried it but no change here. Thanks for the help but I recently switched to net-p2p/dc-gui-0.80 depending on net-p2p/dctc-0.85.9. I am not dependent on a Qt program so it doesn't matter what I'm using. Main goal was getting DC to work. Regards, Florian