Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 40906 - qt-x11-free-3.2.3 fails to compile
Summary: qt-x11-free-3.2.3 fails to compile
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: New packages (show other bugs)
Hardware: x86 Linux
: High major (vote)
Assignee: Caleb Tennis (RETIRED)
URL:
Whiteboard:
Keywords: EBUILD
Depends on:
Blocks:
 
Reported: 2004-02-08 16:58 UTC by Alan Murray
Modified: 2004-02-12 15:09 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 Alan Murray 2004-02-08 16:58:01 UTC
When I emerge squirrelmail, The qt-x11-free-3.2.3 package (a dependency) fails to compile.  Bug 33190 may be similar.  Here is the last few lines of the output:

make[1]: Entering directory `/var/tmp/portage/qt-3.2.3/work/qt-x11-free-3.2.3/src'
g++ -c -pipe -fno-exceptions -Wall -W -O2 -D_REENTRANT -fPIC -DQT_SHARED -DQT_TABLET_SUPPORT -DQT_NO_DEBUG -DQT_THREAD_SUPPORT -DQT_THREAD_SUPPORT -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -DQT_BUILTIN_GIF_READER=1 -DQT_NO_STYLE_MAC -DQT_NO_STYLE_AQUA -DQT_NO_STYLE_INTERLACE -DQT_NO_STYLE_WINDOWSXP -DQT_NO_STYLE_COMPACT -I/var/tmp/portage/qt-3.2.3/work/qt-x11-free-3.2.3/mkspecs/linux-g++ -I. -I/usr/include/freetype2 -I3rdparty/opentype -I../include -I/usr/X11R6/include -I/usr/X11R6/include -I.moc/release-shared-mt/ -o .obj/release-shared-mt/qtaddons_x11.o kernel/qtaddons_x11.cpp
/var/tmp/portage/qt-3.2.3/work/qt-x11-free-3.2.3/bin/moc kernel/qapplication_x11.cpp -o .moc/release-shared-mt/qapplication_x11.moc
g++ -c -pipe -fno-exceptions -Wall -W -O2 -D_REENTRANT -fPIC -DQT_SHARED -DQT_TABLET_SUPPORT -DQT_NO_DEBUG -DQT_THREAD_SUPPORT -DQT_THREAD_SUPPORT -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -DQT_BUILTIN_GIF_READER=1 -DQT_NO_STYLE_MAC -DQT_NO_STYLE_AQUA -DQT_NO_STYLE_INTERLACE -DQT_NO_STYLE_WINDOWSXP -DQT_NO_STYLE_COMPACT -I/var/tmp/portage/qt-3.2.3/work/qt-x11-free-3.2.3/mkspecs/linux-g++ -I. -I/usr/include/freetype2 -I3rdparty/opentype -I../include -I/usr/X11R6/include -I/usr/X11R6/include -I.moc/release-shared-mt/ -o .obj/release-shared-mt/qclipboard_x11.o kernel/qclipboard_x11.cpp
g++ -c -pipe -fno-exceptions -Wall -W -O2 -D_REENTRANT -fPIC -DQT_SHARED -DQT_TABLET_SUPPORT -DQT_NO_DEBUG -DQT_THREAD_SUPPORT -DQT_THREAD_SUPPORT -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -DQT_BUILTIN_GIF_READER=1 -DQT_NO_STYLE_MAC -DQT_NO_STYLE_AQUA -DQT_NO_STYLE_INTERLACE -DQT_NO_STYLE_WINDOWSXP -DQT_NO_STYLE_COMPACT -I/var/tmp/portage/qt-3.2.3/work/qt-x11-free-3.2.3/mkspecs/linux-g++ -I. -I/usr/include/freetype2 -I3rdparty/opentype -I../include -I/usr/X11R6/include -I/usr/X11R6/include -I.moc/release-shared-mt/ -o .obj/release-shared-mt/qcolor_x11.o kernel/qcolor_x11.cpp
g++ -c -pipe -fno-exceptions -Wall -W -O2 -D_REENTRANT -fPIC -DQT_SHARED -DQT_TABLET_SUPPORT -DQT_NO_DEBUG -DQT_THREAD_SUPPORT -DQT_THREAD_SUPPORT -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -DQT_BUILTIN_GIF_READER=1 -DQT_NO_STYLE_MAC -DQT_NO_STYLE_AQUA -DQT_NO_STYLE_INTERLACE -DQT_NO_STYLE_WINDOWSXP -DQT_NO_STYLE_COMPACT -I/var/tmp/portage/qt-3.2.3/work/qt-x11-free-3.2.3/mkspecs/linux-g++ -I. -I/usr/include/freetype2 -I3rdparty/opentype -I../include -I/usr/X11R6/include -I/usr/X11R6/include -I.moc/release-shared-mt/ -o .obj/release-shared-mt/qcursor_x11.o kernel/qcursor_x11.cpp
g++ -c -pipe -fno-exceptions -Wall -W -O2 -D_REENTRANT -fPIC -DQT_SHARED -DQT_TABLET_SUPPORT -DQT_NO_DEBUG -DQT_THREAD_SUPPORT -DQT_THREAD_SUPPORT -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -DQT_BUILTIN_GIF_READER=1 -DQT_NO_STYLE_MAC -DQT_NO_STYLE_AQUA -DQT_NO_STYLE_INTERLACE -DQT_NO_STYLE_WINDOWSXP -DQT_NO_STYLE_COMPACT -I/var/tmp/portage/qt-3.2.3/work/qt-x11-free-3.2.3/mkspecs/linux-g++ -I. -I/usr/include/freetype2 -I3rdparty/opentype -I../include -I/usr/X11R6/include -I/usr/X11R6/include -I.moc/release-shared-mt/ -o .obj/release-shared-mt/qdnd_x11.o kernel/qdnd_x11.cpp
g++ -c -pipe -fno-exceptions -Wall -W -O2 -D_REENTRANT -fPIC -DQT_SHARED -DQT_TABLET_SUPPORT -DQT_NO_DEBUG -DQT_THREAD_SUPPORT -DQT_THREAD_SUPPORT -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -DQT_BUILTIN_GIF_READER=1 -DQT_NO_STYLE_MAC -DQT_NO_STYLE_AQUA -DQT_NO_STYLE_INTERLACE -DQT_NO_STYLE_WINDOWSXP -DQT_NO_STYLE_COMPACT -I/var/tmp/portage/qt-3.2.3/work/qt-x11-free-3.2.3/mkspecs/linux-g++ -I. -I/usr/include/freetype2 -I3rdparty/opentype -I../include -I/usr/X11R6/include -I/usr/X11R6/include -I.moc/release-shared-mt/ -o .obj/release-shared-mt/qdesktopwidget_x11.o kernel/qdesktopwidget_x11.cpp
g++ -c -pipe -fno-exceptions -Wall -W -O2 -D_REENTRANT -fPIC -DQT_SHARED -DQT_TABLET_SUPPORT -DQT_NO_DEBUG -DQT_THREAD_SUPPORT -DQT_THREAD_SUPPORT -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -DQT_BUILTIN_GIF_READER=1 -DQT_NO_STYLE_MAC -DQT_NO_STYLE_AQUA -DQT_NO_STYLE_INTERLACE -DQT_NO_STYLE_WINDOWSXP -DQT_NO_STYLE_COMPACT -I/var/tmp/portage/qt-3.2.3/work/qt-x11-free-3.2.3/mkspecs/linux-g++ -I. -I/usr/include/freetype2 -I3rdparty/opentype -I../include -I/usr/X11R6/include -I/usr/X11R6/include -I.moc/release-shared-mt/ -o .obj/release-shared-mt/qeventloop_x11.o kernel/qeventloop_x11.cpp
g++ -c -pipe -fno-exceptions -Wall -W -O2 -D_REENTRANT -fPIC -DQT_SHARED -DQT_TABLET_SUPPORT -DQT_NO_DEBUG -DQT_THREAD_SUPPORT -DQT_THREAD_SUPPORT -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -DQT_BUILTIN_GIF_READER=1 -DQT_NO_STYLE_MAC -DQT_NO_STYLE_AQUA -DQT_NO_STYLE_INTERLACE -DQT_NO_STYLE_WINDOWSXP -DQT_NO_STYLE_COMPACT -I/var/tmp/portage/qt-3.2.3/work/qt-x11-free-3.2.3/mkspecs/linux-g++ -I. -I/usr/include/freetype2 -I3rdparty/opentype -I../include -I/usr/X11R6/include -I/usr/X11R6/include -I.moc/release-shared-mt/ -o .obj/release-shared-mt/qfont_x11.o kernel/qfont_x11.cpp
g++ -c -pipe -fno-exceptions -Wall -W -O2 -D_REENTRANT -fPIC -DQT_SHARED -DQT_TABLET_SUPPORT -DQT_NO_DEBUG -DQT_THREAD_SUPPORT -DQT_THREAD_SUPPORT -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -DQT_BUILTIN_GIF_READER=1 -DQT_NO_STYLE_MAC -DQT_NO_STYLE_AQUA -DQT_NO_STYLE_INTERLACE -DQT_NO_STYLE_WINDOWSXP -DQT_NO_STYLE_COMPACT -I/var/tmp/portage/qt-3.2.3/work/qt-x11-free-3.2.3/mkspecs/linux-g++ -I. -I/usr/include/freetype2 -I3rdparty/opentype -I../include -I/usr/X11R6/include -I/usr/X11R6/include -I.moc/release-shared-mt/ -o .obj/release-shared-mt/qinputcontext_x11.o kernel/qinputcontext_x11.cpp
g++ -c -pipe -fno-exceptions -Wall -W -O2 -D_REENTRANT -fPIC -DQT_SHARED -DQT_TABLET_SUPPORT -DQT_NO_DEBUG -DQT_THREAD_SUPPORT -DQT_THREAD_SUPPORT -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -DQT_BUILTIN_GIF_READER=1 -DQT_NO_STYLE_MAC -DQT_NO_STYLE_AQUA -DQT_NO_STYLE_INTERLACE -DQT_NO_STYLE_WINDOWSXP -DQT_NO_STYLE_COMPACT -I/var/tmp/portage/qt-3.2.3/work/qt-x11-free-3.2.3/mkspecs/linux-g++ -I. -I/usr/include/freetype2 -I3rdparty/opentype -I../include -I/usr/X11R6/include -I/usr/X11R6/include -I.moc/release-shared-mt/ -o .obj/release-shared-mt/qmotifdnd_x11.o kernel/qmotifdnd_x11.cpp
g++ -c -pipe -fno-exceptions -Wall -W -O2 -D_REENTRANT -fPIC -DQT_SHARED -DQT_TABLET_SUPPORT -DQT_NO_DEBUG -DQT_THREAD_SUPPORT -DQT_THREAD_SUPPORT -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -DQT_BUILTIN_GIF_READER=1 -DQT_NO_STYLE_MAC -DQT_NO_STYLE_AQUA -DQT_NO_STYLE_INTERLACE -DQT_NO_STYLE_WINDOWSXP -DQT_NO_STYLE_COMPACT -I/var/tmp/portage/qt-3.2.3/work/qt-x11-free-3.2.3/mkspecs/linux-g++ -I. -I/usr/include/freetype2 -I3rdparty/opentype -I../include -I/usr/X11R6/include -I/usr/X11R6/include -I.moc/release-shared-mt/ -o .obj/release-shared-mt/qpixmap_x11.o kernel/qpixmap_x11.cpp
g++ -c -pipe -fno-exceptions -Wall -W -O2 -D_REENTRANT -fPIC -DQT_SHARED -DQT_TABLET_SUPPORT -DQT_NO_DEBUG -DQT_THREAD_SUPPORT -DQT_THREAD_SUPPORT -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -DQT_BUILTIN_GIF_READER=1 -DQT_NO_STYLE_MAC -DQT_NO_STYLE_AQUA -DQT_NO_STYLE_INTERLACE -DQT_NO_STYLE_WINDOWSXP -DQT_NO_STYLE_COMPACT -I/var/tmp/portage/qt-3.2.3/work/qt-x11-free-3.2.3/mkspecs/linux-g++ -I. -I/usr/include/freetype2 -I3rdparty/opentype -I../include -I/usr/X11R6/include -I/usr/X11R6/include -I.moc/release-shared-mt/ -o .obj/release-shared-mt/qpaintdevice_x11.o kernel/qpaintdevice_x11.cpp
g++ -c -pipe -fno-exceptions -Wall -W -O2 -D_REENTRANT -fPIC -DQT_SHARED -DQT_TABLET_SUPPORT -DQT_NO_DEBUG -DQT_THREAD_SUPPORT -DQT_THREAD_SUPPORT -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -DQT_BUILTIN_GIF_READER=1 -DQT_NO_STYLE_MAC -DQT_NO_STYLE_AQUA -DQT_NO_STYLE_INTERLACE -DQT_NO_STYLE_WINDOWSXP -DQT_NO_STYLE_COMPACT -I/var/tmp/portage/qt-3.2.3/work/qt-x11-free-3.2.3/mkspecs/linux-g++ -I. -I/usr/include/freetype2 -I3rdparty/opentype -I../include -I/usr/X11R6/include -I/usr/X11R6/include -I.moc/release-shared-mt/ -o .obj/release-shared-mt/qpainter_x11.o kernel/qpainter_x11.cpp
g++ -c -pipe -fno-exceptions -Wall -W -O2 -D_REENTRANT -fPIC -DQT_SHARED -DQT_TABLET_SUPPORT -DQT_NO_DEBUG -DQT_THREAD_SUPPORT -DQT_THREAD_SUPPORT -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -DQT_BUILTIN_GIF_READER=1 -DQT_NO_STYLE_MAC -DQT_NO_STYLE_AQUA -DQT_NO_STYLE_INTERLACE -DQT_NO_STYLE_WINDOWSXP -DQT_NO_STYLE_COMPACT -I/var/tmp/portage/qt-3.2.3/work/qt-x11-free-3.2.3/mkspecs/linux-g++ -I. -I/usr/include/freetype2 -I3rdparty/opentype -I../include -I/usr/X11R6/include -I/usr/X11R6/include -I.moc/release-shared-mt/ -o .obj/release-shared-mt/qregion_x11.o kernel/qregion_x11.cpp
/var/tmp/portage/qt-3.2.3/work/qt-x11-free-3.2.3/bin/moc kernel/qsound_x11.cpp -o .moc/release-shared-mt/qsound_x11.moc
g++ -c -pipe -fno-exceptions -Wall -W -O2 -D_REENTRANT -fPIC -DQT_SHARED -DQT_TABLET_SUPPORT -DQT_NO_DEBUG -DQT_THREAD_SUPPORT -DQT_THREAD_SUPPORT -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -DQT_BUILTIN_GIF_READER=1 -DQT_NO_STYLE_MAC -DQT_NO_STYLE_AQUA -DQT_NO_STYLE_INTERLACE -DQT_NO_STYLE_WINDOWSXP -DQT_NO_STYLE_COMPACT -I/var/tmp/portage/qt-3.2.3/work/qt-x11-free-3.2.3/mkspecs/linux-g++ -I. -I/usr/include/freetype2 -I3rdparty/opentype -I../include -I/usr/X11R6/include -I/usr/X11R6/include -I.moc/release-shared-mt/ -o .obj/release-shared-mt/qwidget_x11.o kernel/qwidget_x11.cpp
g++ -c -pipe -fno-exceptions -Wall -W -O2 -D_REENTRANT -fPIC -DQT_SHARED -DQT_TABLET_SUPPORT -DQT_NO_DEBUG -DQT_THREAD_SUPPORT -DQT_THREAD_SUPPORT -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -DQT_BUILTIN_GIF_READER=1 -DQT_NO_STYLE_MAC -DQT_NO_STYLE_AQUA -DQT_NO_STYLE_INTERLACE -DQT_NO_STYLE_WINDOWSXP -DQT_NO_STYLE_COMPACT -I/var/tmp/portage/qt-3.2.3/work/qt-x11-free-3.2.3/mkspecs/linux-g++ -I. -I/usr/include/freetype2 -I3rdparty/opentype -I../include -I/usr/X11R6/include -I/usr/X11R6/include -I.moc/release-shared-mt/ -o .obj/release-shared-mt/qwidgetcreate_x11.o kernel/qwidgetcreate_x11.cpp
g++ -c -pipe -fno-exceptions -Wall -W -O2 -D_REENTRANT -fPIC -DQT_SHARED -DQT_TABLET_SUPPORT -DQT_NO_DEBUG -DQT_THREAD_SUPPORT -DQT_THREAD_SUPPORT -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -DQT_BUILTIN_GIF_READER=1 -DQT_NO_STYLE_MAC -DQT_NO_STYLE_AQUA -DQT_NO_STYLE_INTERLACE -DQT_NO_STYLE_WINDOWSXP -DQT_NO_STYLE_COMPACT -I/var/tmp/portage/qt-3.2.3/work/qt-x11-free-3.2.3/mkspecs/linux-g++ -I. -I/usr/include/freetype2 -I3rdparty/opentype -I../include -I/usr/X11R6/include -I/usr/X11R6/include -I.moc/release-shared-mt/ -o .obj/release-shared-mt/qfontengine_x11.o kernel/qfontengine_x11.cpp
g++ -c -pipe -fno-exceptions -Wall -W -O2 -D_REENTRANT -fPIC -DQT_SHARED -DQT_TABLET_SUPPORT -DQT_NO_DEBUG -DQT_THREAD_SUPPORT -DQT_THREAD_SUPPORT -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -DQT_BUILTIN_GIF_READER=1 -DQT_NO_STYLE_MAC -DQT_NO_STYLE_AQUA -DQT_NO_STYLE_INTERLACE -DQT_NO_STYLE_WINDOWSXP -DQT_NO_STYLE_COMPACT -I/var/tmp/portage/qt-3.2.3/work/qt-x11-free-3.2.3/mkspecs/linux-g++ -I. -I/usr/include/freetype2 -I3rdparty/opentype -I../include -I/usr/X11R6/include -I/usr/X11R6/include -I.moc/release-shared-mt/ -o .obj/release-shared-mt/qprinter_unix.o kernel/qprinter_unix.cpp
g++ -c -pipe -fno-exceptions -Wall -W -O2 -D_REENTRANT -fPIC -DQT_SHARED -DQT_TABLET_SUPPORT -DQT_NO_DEBUG -DQT_THREAD_SUPPORT -DQT_THREAD_SUPPORT -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -DQT_BUILTIN_GIF_READER=1 -DQT_NO_STYLE_MAC -DQT_NO_STYLE_AQUA -DQT_NO_STYLE_INTERLACE -DQT_NO_STYLE_WINDOWSXP -DQT_NO_STYLE_COMPACT -I/var/tmp/portage/qt-3.2.3/work/qt-x11-free-3.2.3/mkspecs/linux-g++ -I. -I/usr/include/freetype2 -I3rdparty/opentype -I../include -I/usr/X11R6/include -I/usr/X11R6/include -I.moc/release-shared-mt/ -o .obj/release-shared-mt/qpsprinter.o kernel/qpsprinter.cpp
g++ -c -pipe -fno-exceptions -Wall -W -O2 -D_REENTRANT -fPIC -DQT_SHARED -DQT_TABLET_SUPPORT -DQT_NO_DEBUG -DQT_THREAD_SUPPORT -DQT_THREAD_SUPPORT -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -DQT_BUILTIN_GIF_READER=1 -DQT_NO_STYLE_MAC -DQT_NO_STYLE_AQUA -DQT_NO_STYLE_INTERLACE -DQT_NO_STYLE_WINDOWSXP -DQT_NO_STYLE_COMPACT -I/var/tmp/portage/qt-3.2.3/work/qt-x11-free-3.2.3/mkspecs/linux-g++ -I. -I/usr/include/freetype2 -I3rdparty/opentype -I../include -I/usr/X11R6/include -I/usr/X11R6/include -I.moc/release-shared-mt/ -o .obj/release-shared-mt/qeventloop_unix.o kernel/qeventloop_unix.cpp
/var/tmp/portage/qt-3.2.3/work/qt-x11-free-3.2.3/bin/moc kernel/qprocess_unix.cpp -o .moc/release-shared-mt/qprocess_unix.moc
g++ -c -pipe -fno-exceptions -Wall -W -O2 -D_REENTRANT -fPIC -DQT_SHARED -DQT_TABLET_SUPPORT -DQT_NO_DEBUG -DQT_THREAD_SUPPORT -DQT_THREAD_SUPPORT -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -DQT_BUILTIN_GIF_READER=1 -DQT_NO_STYLE_MAC -DQT_NO_STYLE_AQUA -DQT_NO_STYLE_INTERLACE -DQT_NO_STYLE_WINDOWSXP -DQT_NO_STYLE_COMPACT -I/var/tmp/portage/qt-3.2.3/work/qt-x11-free-3.2.3/mkspecs/linux-g++ -I. -I/usr/include/freetype2 -I3rdparty/opentype -I../include -I/usr/X11R6/include -I/usr/X11R6/include -I.moc/release-shared-mt/ -o .obj/release-shared-mt/qthread_unix.o kernel/qthread_unix.cpp
g++ -c -pipe -fno-exceptions -Wall -W -O2 -D_REENTRANT -fPIC -DQT_SHARED -DQT_TABLET_SUPPORT -DQT_NO_DEBUG -DQT_THREAD_SUPPORT -DQT_THREAD_SUPPORT -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -DQT_BUILTIN_GIF_READER=1 -DQT_NO_STYLE_MAC -DQT_NO_STYLE_AQUA -DQT_NO_STYLE_INTERLACE -DQT_NO_STYLE_WINDOWSXP -DQT_NO_STYLE_COMPACT -I/var/tmp/portage/qt-3.2.3/work/qt-x11-free-3.2.3/mkspecs/linux-g++ -I. -I/usr/include/freetype2 -I3rdparty/opentype -I../include -I/usr/X11R6/include -I/usr/X11R6/include -I.moc/release-shared-mt/ -o .obj/release-shared-mt/qabstractlayout.o kernel/qabstractlayout.cpp
g++ -c -pipe -fno-exceptions -Wall -W -O2 -D_REENTRANT -fPIC -DQT_SHARED -DQT_TABLET_SUPPORT -DQT_NO_DEBUG -DQT_THREAD_SUPPORT -DQT_THREAD_SUPPORT -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -DQT_BUILTIN_GIF_READER=1 -DQT_NO_STYLE_MAC -DQT_NO_STYLE_AQUA -DQT_NO_STYLE_INTERLACE -DQT_NO_STYLE_WINDOWSXP -DQT_NO_STYLE_COMPACT -I/var/tmp/portage/qt-3.2.3/work/qt-x11-free-3.2.3/mkspecs/linux-g++ -I. -I/usr/include/freetype2 -I3rdparty/opentype -I../include -I/usr/X11R6/include -I/usr/X11R6/include -I.moc/release-shared-mt/ -o .obj/release-shared-mt/qucomextra.o kernel/qucomextra.cpp
g++ -c -pipe -fno-exceptions -Wall -W -O2 -D_REENTRANT -fPIC -DQT_SHARED -DQT_TABLET_SUPPORT -DQT_NO_DEBUG -DQT_THREAD_SUPPORT -DQT_THREAD_SUPPORT -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -DQT_BUILTIN_GIF_READER=1 -DQT_NO_STYLE_MAC -DQT_NO_STYLE_AQUA -DQT_NO_STYLE_INTERLACE -DQT_NO_STYLE_WINDOWSXP -DQT_NO_STYLE_COMPACT -I/var/tmp/portage/qt-3.2.3/work/qt-x11-free-3.2.3/mkspecs/linux-g++ -I. -I/usr/include/freetype2 -I3rdparty/opentype -I../include -I/usr/X11R6/include -I/usr/X11R6/include -I.moc/release-shared-mt/ -o .obj/release-shared-mt/qaccel.o kernel/qaccel.cpp
kernel/qpsprinter.cpp: In function `QByteArray compress(const QImage&, bool)':
kernel/qpsprinter.cpp:5352: internal error: Segmentation fault
Please submit a full bug report,
with preprocessed source if appropriate.
See <URL:http://bugs.gentoo.org/> for instructions.
{standard input}: Assembler messages:
{standard input}:22407: Fatal error: Case value 0 unexpected at line 2289 of file "write.c"

make[1]: *** [.obj/release-shared-mt/qpsprinter.o] Error 1
make[1]: *** Waiting for unfinished jobs....
make[1]: Leaving directory `/var/tmp/portage/qt-3.2.3/work/qt-x11-free-3.2.3/src'
make: *** [sub-src] Error 2

!!! ERROR: x11-libs/qt-3.2.3 failed.
!!! Function src_compile, Line 108, Exitcode 2
!!! (no error message)

Calculating dependencies    ...done!
>>> emerge (1 of 7) x11-libs/qt-3.2.3 to /
>>> md5 src_uri ;-) qt-x11-free-3.2.3.tar.bz2


Reproducible: Always
Steps to Reproduce:
1. emerge net-mail/squirrelmail
2.
3.

Actual Results:  
...
...
g++ -c -pipe -fno-exceptions -Wall -W -O2 -D_REENTRANT -fPIC -DQT_SHARED -
DQT_TABLET_SUPPORT -DQT_NO_DEBUG -DQT_THREAD_SUPPORT -DQT_THREAD_SUPPORT -
D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -DQT_BUILTIN_GIF_READER=1 -
DQT_NO_STYLE_MAC -DQT_NO_STYLE_AQUA -DQT_NO_STYLE_INTERLACE -
DQT_NO_STYLE_WINDOWSXP -DQT_NO_STYLE_COMPACT -I/var/tmp/portage/qt-
3.2.3/work/qt-x11-free-3.2.3/mkspecs/linux-g++ -I. -I/usr/include/freetype2 -
I3rdparty/opentype -I../include -I/usr/X11R6/include -I/usr/X11R6/include -
I.moc/release-shared-mt/ -o .obj/release-shared-mt/qeventloop_unix.o 
kernel/qeventloop_unix.cpp
/var/tmp/portage/qt-3.2.3/work/qt-x11-free-3.2.3/bin/moc 
kernel/qprocess_unix.cpp -o .moc/release-shared-mt/qprocess_unix.moc
g++ -c -pipe -fno-exceptions -Wall -W -O2 -D_REENTRANT -fPIC -DQT_SHARED -
DQT_TABLET_SUPPORT -DQT_NO_DEBUG -DQT_THREAD_SUPPORT -DQT_THREAD_SUPPORT -
D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -DQT_BUILTIN_GIF_READER=1 -
DQT_NO_STYLE_MAC -DQT_NO_STYLE_AQUA -DQT_NO_STYLE_INTERLACE -
DQT_NO_STYLE_WINDOWSXP -DQT_NO_STYLE_COMPACT -I/var/tmp/portage/qt-
3.2.3/work/qt-x11-free-3.2.3/mkspecs/linux-g++ -I. -I/usr/include/freetype2 -
I3rdparty/opentype -I../include -I/usr/X11R6/include -I/usr/X11R6/include -
I.moc/release-shared-mt/ -o .obj/release-shared-mt/qthread_unix.o 
kernel/qthread_unix.cpp
g++ -c -pipe -fno-exceptions -Wall -W -O2 -D_REENTRANT -fPIC -DQT_SHARED -
DQT_TABLET_SUPPORT -DQT_NO_DEBUG -DQT_THREAD_SUPPORT -DQT_THREAD_SUPPORT -
D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -DQT_BUILTIN_GIF_READER=1 -
DQT_NO_STYLE_MAC -DQT_NO_STYLE_AQUA -DQT_NO_STYLE_INTERLACE -
DQT_NO_STYLE_WINDOWSXP -DQT_NO_STYLE_COMPACT -I/var/tmp/portage/qt-
3.2.3/work/qt-x11-free-3.2.3/mkspecs/linux-g++ -I. -I/usr/include/freetype2 -
I3rdparty/opentype -I../include -I/usr/X11R6/include -I/usr/X11R6/include -
I.moc/release-shared-mt/ -o .obj/release-shared-mt/qabstractlayout.o 
kernel/qabstractlayout.cpp
g++ -c -pipe -fno-exceptions -Wall -W -O2 -D_REENTRANT -fPIC -DQT_SHARED -
DQT_TABLET_SUPPORT -DQT_NO_DEBUG -DQT_THREAD_SUPPORT -DQT_THREAD_SUPPORT -
D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -DQT_BUILTIN_GIF_READER=1 -
DQT_NO_STYLE_MAC -DQT_NO_STYLE_AQUA -DQT_NO_STYLE_INTERLACE -
DQT_NO_STYLE_WINDOWSXP -DQT_NO_STYLE_COMPACT -I/var/tmp/portage/qt-
3.2.3/work/qt-x11-free-3.2.3/mkspecs/linux-g++ -I. -I/usr/include/freetype2 -
I3rdparty/opentype -I../include -I/usr/X11R6/include -I/usr/X11R6/include -
I.moc/release-shared-mt/ -o .obj/release-shared-mt/qucomextra.o 
kernel/qucomextra.cpp
g++ -c -pipe -fno-exceptions -Wall -W -O2 -D_REENTRANT -fPIC -DQT_SHARED -
DQT_TABLET_SUPPORT -DQT_NO_DEBUG -DQT_THREAD_SUPPORT -DQT_THREAD_SUPPORT -
D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -DQT_BUILTIN_GIF_READER=1 -
DQT_NO_STYLE_MAC -DQT_NO_STYLE_AQUA -DQT_NO_STYLE_INTERLACE -
DQT_NO_STYLE_WINDOWSXP -DQT_NO_STYLE_COMPACT -I/var/tmp/portage/qt-
3.2.3/work/qt-x11-free-3.2.3/mkspecs/linux-g++ -I. -I/usr/include/freetype2 -
I3rdparty/opentype -I../include -I/usr/X11R6/include -I/usr/X11R6/include -
I.moc/release-shared-mt/ -o .obj/release-shared-mt/qaccel.o kernel/qaccel.cpp
kernel/qpsprinter.cpp: In function `QByteArray compress(const QImage&, bool)':
kernel/qpsprinter.cpp:5352: internal error: Segmentation fault
Please submit a full bug report,
with preprocessed source if appropriate.
See <URL:http://bugs.gentoo.org/> for instructions.
{standard input}: Assembler messages:
{standard input}:22407: Fatal error: Case value 0 unexpected at line 2289 of 
file "write.c"

make[1]: *** [.obj/release-shared-mt/qpsprinter.o] Error 1
make[1]: *** Waiting for unfinished jobs....
make[1]: Leaving directory `/var/tmp/portage/qt-3.2.3/work/qt-x11-free-
3.2.3/src'
make: *** [sub-src] Error 2

!!! ERROR: x11-libs/qt-3.2.3 failed.
!!! Function src_compile, Line 108, Exitcode 2
!!! (no error message)

Calculating dependencies    ...done!
>>> emerge (1 of 7) x11-libs/qt-3.2.3 to /
>>> md5 src_uri ;-) qt-x11-free-3.2.3.tar.bz2


Expected Results:  
Emerged squirrelmail.


Gentoo Base System version 1.4.3.10
Portage 2.0.49-r20 (default-x86-1.4, gcc-3.2.3, glibc-2.3.2-r3, 2.4.22-gentoo-
r2)
=================================================================
System uname: 2.4.22-gentoo-r2 i586 Pentium MMX
ACCEPT_KEYWORDS="x86"
AUTOCLEAN="yes"
CFLAGS="-O3 -mcpu=pentium-mmx -march=pentium-mmx -funroll-loops -pipe"
CHOST="i586-pc-linux-gnu"
COMPILER="gcc3"
CONFIG_PROTECT="/etc /usr/X11R6/lib/X11/xkb /usr/kde/2/share/config /usr/kde/3/
share/config /usr/share/config /var/qmail/alias /var/qmail/control"
CONFIG_PROTECT_MASK="/etc/gconf /etc/env.d"
CXXFLAGS="-O3 -mcpu=pentium-mmx -march=pentium-mmx -funroll-loops -pipe"
DISTDIR="/usr/portage/distfiles"
FEATURES="autoaddcvs ccache sandbox"
GENTOO_MIRRORS="http://212.219.247.15/sites/www.ibiblio.org/gentoo/ 
http://212.219.247.11/sites/www.ibiblio.org/gentoo/ 
http://212.219.247.10/sites/www.ibiblio.org/gentoo/ 
http://212.219.247.16/sites/www.ibiblio.org/gentoo/"
MAKEOPTS="-j2"
PKGDIR="/usr/portage/packages"
PORTAGE_TMPDIR="/var/tmp"
PORTDIR="/usr/portage"
PORTDIR_OVERLAY=""
SYNC="rsync://rsync.gentoo.org/gentoo-portage"
USE="X apm arts avi berkdb crypt cups encode esd foomaticdb gdbm gif gnome gpm 
gtk gtk2 imlib jpeg kde libg++ libwww mad mikmod motif mpeg ncurses nls 
oggvorbis opengl oss pam pdflib perl png python qt quicktime readline sdl 
slang spell ssl svga tcpd truetype x86 xml2 xmms xv zlib"
Comment 1 Caleb Tennis (RETIRED) gentoo-dev 2004-02-09 13:53:31 UTC
I can't do much to fix compiler segfaults other than suggest you upgrade gcc to a newer version, and compile it with less aggressive cflags.
Comment 2 Alan Murray 2004-02-11 15:56:06 UTC
Caleb - many thanks for getting back to me so soon!  I have upgraded gcc/g++ to:

gcc version 3.3.2 20031218 (Gentoo Linux 3.3.2-r5, propolice-3.3-7)

The results are better, and the ebuild progresses much, much further - about 5 hours into the build before failing (I guess it is close to the end).  I am running kernel 2.4.22-gentoo-r2 on a Pentium 200MMX with 64MB RAM.  All other ebuilds that I have emerged before have never had a problem.

However, I am still getting a similar problem; the output from which I enclose below.  The CXXflags that are being used with g++ seem to include: -O2, and not the optimisation setting that I have defined in /etc/make.conf (-O3).  Whilst I am an experienced UNIX sysadmin (Solaris, Digital, AIX), I am new to Gentoo, so I don't know how to override settings for an individual e-build.

This package is preventing me from emerging squirrelmail.  My goal (which is almost complete) is to use my old hardware as a mail server (qmail - already installed) with a squirrelmail front end, and this ebuild is preventing me from achieving this.

I am very grateful for any help received.

Best regards

Alan

---snip-start---

g++ -c -pipe -fno-exceptions -Wall -W -O2 -D_REENTRANT  -DQT_INTERNAL_XML -DUIC -DQT_TABLET_SUPPORT -DQT_NO_DEBUG -DQT_THREAD_SUPPORT -DQT_SHARED -I/var/tmp/portage/qt-3.2.3-r1/work/qt-x11-free-3.2.3/mkspecs/linux-g++ -I. -I/usr/include/freetype2 -I../shared -I../../../include -I/usr/X11R6/include -I/usr/X11R6/include -I.moc/release-shared-mt/ -o .obj/release-shared-mt/embed.o embed.cpp
g++ -c -pipe -fno-exceptions -Wall -W -O2 -D_REENTRANT  -DQT_INTERNAL_XML -DUIC -DQT_TABLET_SUPPORT -DQT_NO_DEBUG -DQT_THREAD_SUPPORT -DQT_SHARED -I/var/tmp/portage/qt-3.2.3-r1/work/qt-x11-free-3.2.3/mkspecs/linux-g++ -I. -I/usr/include/freetype2 -I../shared -I../../../include -I/usr/X11R6/include -I/usr/X11R6/include -I.moc/release-shared-mt/ -o .obj/release-shared-mt/widgetdatabase.o ../shared/widgetdatabase.cpp
form.cpp: In member function `void Uic::createFormImpl(const QDomElement&)':
form.cpp:1417: internal compiler error: Segmentation fault
Please submit a full bug report,
with preprocessed source if appropriate.
See <URL:http://bugs.gentoo.org/> for instructions.
g++ -c -pipe -fno-exceptions -Wall -W -O2 -D_REENTRANT  -DQT_INTERNAL_XML -DUIC -DQT_TABLET_SUPPORT -DQT_NO_DEBUG -DQT_THREAD_SUPPORT -DQT_SHARED -I/var/tmp/portage/qt-3.2.3-r1/work/qt-x11-free-3.2.3/mkspecs/linux-g++ -I. -I/usr/include/freetype2 -I../shared -I../../../include -I/usr/X11R6/include -I/usr/X11R6/include -I.moc/release-shared-mt/ -o .obj/release-shared-mt/domtool.o ../shared/domtool.cpp
g++ -c -pipe -fno-exceptions -Wall -W -O2 -D_REENTRANT  -DQT_INTERNAL_XML -DUIC -DQT_TABLET_SUPPORT -DQT_NO_DEBUG -DQT_THREAD_SUPPORT -DQT_SHARED -I/var/tmp/portage/qt-3.2.3-r1/work/qt-x11-free-3.2.3/mkspecs/linux-g++ -I. -I/usr/include/freetype2 -I../shared -I../../../include -I/usr/X11R6/include -I/usr/X11R6/include -I.moc/release-shared-mt/ -o .obj/release-shared-mt/parser.o ../shared/parser.cpp
The bug is not reproduceable, so it is likely a hardware or OS problem
make[3]: *** [.obj/release-shared-mt/form.o] Error 1
make[3]: Leaving directory `/var/tmp/portage/qt-3.2.3-r1/work/qt-x11-free-3.2.3/tools/designer/uic'
make[2]: *** [sub-uic] Error 2
make[2]: Leaving directory `/var/tmp/portage/qt-3.2.3-r1/work/qt-x11-free-3.2.3/tools/designer'
make[1]: *** [sub-designer] Error 2
make[1]: Leaving directory `/var/tmp/portage/qt-3.2.3-r1/work/qt-x11-free-3.2.3/tools'
make: *** [sub-tools] Error 2

!!! ERROR: x11-libs/qt-3.2.3-r1 failed.
!!! Function src_compile, Line 109, Exitcode 2
!!! (no error message)


---snip-end---

Comment 3 Caleb Tennis (RETIRED) gentoo-dev 2004-02-11 16:14:49 UTC
This package sets its own cflags unless you really get in and hack around with it.  The reason:

It's one of the most computationally difficult package to install.  The error you're getting is a local problem, perhaps due to faulty memory or lack of memory.  One thing that may be helpful is to try it without distcc, and set your make options to use -j1 instead of -j4.

Barring that, one "trick" you could use it to just compile it on another faster machine using "emerge -b qt", which will create a binary package.  You can then transfer that package back to this machine and install it using "emerge -k", which will install from the binary package you built rather than from source.
Comment 4 Alan Murray 2004-02-12 06:07:14 UTC
Hi Caleb.  Thanks again for the prompt response - much appreciated.  I am happy to implement your suggestions, but I do not know how to do so.  How do I try the build without "distcc"?  My MAKEOPTS are "-j2" (from "emerge info"), not "-j4".  Anyway, I have set this to "-j1" in /etc/make.conf - is this the correct thing to do?  Thanks again in advance for your help.  Best regards, Alan.
Comment 5 Alan Murray 2004-02-12 15:09:49 UTC
Hi Caleb.

Changing from "-j2" to "-j1" has allowed me to emerge qt 3.2.3 in 9.5 hours!  It would appear that this is not really a bug, but more an issue with the limited hardware resources with which I am working, so I am happy to have you close this bug.  Your help was very useful; such "free support" is fantastic.  

Best regards,

Alan