Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 237428 - qt-4.3.3 fails to compile
Summary: qt-4.3.3 fails to compile
Status: RESOLVED CANTFIX
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: AMD64 Linux
: High major (vote)
Assignee: Qt Bug Alias
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2008-09-11 21:49 UTC by nm (RETIRED)
Modified: 2009-02-07 11:45 UTC (History)
1 user (show)

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


Attachments
build.log.gz (build.log.gz,58.45 KB, application/octet-stream)
2008-09-11 21:54 UTC, nm (RETIRED)
Details

Note You need to log in before you can comment on or make changes to this bug.
Description nm (RETIRED) gentoo-dev 2008-09-11 21:49:54 UTC
While attempting to try out smplayer, I got a notice that qt4 has to be built with USE=qt3support. Okay, time to recompile qt with qt3support. Unfortunately, that compile failed. I had been trying to emerge qt with the following flags in package.use: "-accessibility -cups -gif -ssl -zlib"

The weird thing is that it built properly with all this including "-qt3support" on the previous merge.

Here's my emerge --info; build logs will be attached shortly:

Portage 2.1.4.4 (default/linux/amd64/2008.0, gcc-4.1.2, glibc-2.6.1-r0, 2.6.25-gentoo-r7 x86_64)
=================================================================
System uname: 2.6.25-gentoo-r7 x86_64 AMD Athlon(tm) 64 X2 Dual Core Processor 4600+
Timestamp of tree: Thu, 11 Sep 2008 20:00:01 +0000
app-shells/bash:     3.2_p33
dev-java/java-config: 1.3.7, 2.1.6
dev-lang/python:     2.5.2-r7
sys-apps/baselayout: 1.12.11.1
sys-apps/sandbox:    1.2.18.1-r2
sys-devel/autoconf:  2.13, 2.61-r2
sys-devel/automake:  1.5, 1.7.9-r1, 1.8.5-r3, 1.9.6-r2, 1.10.1
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.23-r3
ACCEPT_KEYWORDS="amd64"
CBUILD="x86_64-pc-linux-gnu"
CFLAGS="-march=athlon64 -O2 -pipe -fomit-frame-pointer -msse3"
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/revdep-rebuild /etc/splash /etc/terminfo /etc/udev/rules.d"
CXXFLAGS="-march=athlon64 -O2 -pipe -fomit-frame-pointer -msse3"
DISTDIR="/usr/portage/distfiles"
FEATURES="distlocks parallel-fetch sandbox sfperms strict unmerge-orphans userfetch"
LANG="en_US.UTF-8"
LC_ALL="en_US.UTF-8"
LDFLAGS="-Wl,-O1"
LINGUAS="en en_US"
MAKEOPTS="-j4"
PORTAGE_RSYNC_EXTRA_OPTS="--timeout=20 --exclude-from=/etc/portage/rsync_excludes"
PORTAGE_RSYNC_OPTS="--recursive --links --safe-links --perms --times --compress --force --whole-file --delete --stats --timeout=180 --exclude=/distfiles --exclude=/local --exclude=/packages"
SYNC="rsync://rsync.gentoo.org/gentoo-portage"
USE="3dnow X a52 acpi alsa amd64 berkdb bluetooth bzip2 cairo cdr cli cracklib crypt cups dbus dri dvd dvdr dvdread encode flac fortran gdbm gif gnome gpm gtk hal iconv isdnlog jpeg lame libnotify lm_sensors mad mime mmx mp3 mpeg mudflap multilib ncurses nptl nptlonly nvidia ogg opengl openmp pam pcre pdf perl png pppd python quicktime readline reflection session spell spl sse sse2 ssl startup-notification svg sysfs tcpd truetype unicode usb vorbis xml xorg zlib"
ELIBC="glibc"
KERNEL="linux"
LINGUAS="en en_US"
USERLAND="GNU"
Unset:  CPPFLAGS, CTARGET, EMERGE_DEFAULT_OPTS, FFLAGS, INSTALL_MASK, PORTAGE_COMPRESS, PORTAGE_COMPRESS_FLAGS
Comment 1 nm (RETIRED) gentoo-dev 2008-09-11 21:54:16 UTC
Created attachment 165220 [details]
build.log.gz

build.log of the compile failure. The build processed errored out with the following at the end:

make[2]: *** [.uic/release-shared/ui_paletteeditoradvancedbase.h] Segmentation fault
make[2]: *** Deleting file `.uic/release-shared/ui_paletteeditoradvancedbase.h'
make[2]: Leaving directory `/var/tmp/portage/x11-libs/qt-4.3.3/work/qt-x11-opensource-src-4.3.3/tools/qtconfig'
make[1]: *** [sub-qtconfig-all-ordered] Error 2
make[1]: Leaving directory `/var/tmp/portage/x11-libs/qt-4.3.3/work/qt-x11-opensource-src-4.3.3/tools'
make: *** [sub-tools-all-ordered] Error 2


Yes, I see the segfault, and I know that's often a sign of heat or hardware issues. However, I checked my hardware and temps, and everything's good. And I'm using a vanilla, stable toolchain, so I don't suspect my compiler is at fault. qt4 builds fine with -qt3support, yet fails with it enabled. I'd still like to try out smplayer, so let's see what we can do to fix this.
Comment 2 Markos Chandras (RETIRED) gentoo-dev 2008-09-25 17:09:21 UTC
qt-4.3.3 failes to compile here with the below errors

sse disabled.
sse2 auto-detection... ()
/var/tmp/portage/x11-libs/qt-4.3.3/work/qt-x11-opensource-src-4.3.3/config.tests/unix/compile.test: line 54: 32524 Segmentation fault      "$OUTDIR/bin/qmake" -nocache -spec "$QMKSPEC" "CONFIG+=$QMAKE_CONFIG" "LIBS*=$LFLAGS" "INCLUDEPATH*=$INCLUDEPATH" "QMAKE_CXXFLAGS*=$CXXFLAGS" "$SRCDIR/$TEST/$EXE.pro" -o "$OUTDIR/$TEST/Makefile"
make: *** No targets specified and no makefile found.  Stop.
sse2 disabled.
SQLite auto-detection... ()
/var/tmp/portage/x11-libs/qt-4.3.3/work/qt-x11-opensource-src-4.3.3/config.tests/unix/compile.test: line 54: 32539 Segmentation fault      "$OUTDIR/bin/qmake" -nocache -spec "$QMKSPEC" "CONFIG+=$QMAKE_CONFIG" "LIBS*=$LFLAGS" "INCLUDEPATH*=$INCLUDEPATH" "QMAKE_CXXFLAGS*=$CXXFLAGS" "$SRCDIR/$TEST/$EXE.pro" -o "$OUTDIR/$TEST/Makefile"
make: *** No targets specified and no makefile found.  Stop.
SQLite disabled.
SQLite support cannot be enabled due to functionality tests!
 Turn on verbose messaging (-v) to ./configure to see the final report.
 If you believe this message is in error you may use the continue
 switch (-continue) to ./configure to continue.
 *
 * ERROR: x11-libs/qt-4.3.3 failed.
 * Call stack:
 *               ebuild.sh, line   49:  Called src_compile
 *             environment, line 2467:  Called die
 * The specific snippet of code:
 *       ./configure ${myconf} || die;
 *  The die message:
 *   (no error message)
 *
 * 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-4.3.3/temp/build.log'.
 * The ebuild environment file is located at '/var/tmp/portage/x11-libs/qt-4.3.3/temp/environment'.

Please tell me if you need extra informations
Comment 3 nm (RETIRED) gentoo-dev 2008-09-25 19:32:55 UTC
(In reply to comment #2)
> qt-4.3.3 failes to compile here with the below errors
> 
> sse disabled.
> sse2 auto-detection... ()
> /var/tmp/portage/x11-libs/qt-4.3.3/work/qt-x11-opensource-src-4.3.3/config.tests/unix/compile.test:
> line 54: 32524 Segmentation fault      "$OUTDIR/bin/qmake" -nocache -spec
> "$QMKSPEC" "CONFIG+=$QMAKE_CONFIG" "LIBS*=$LFLAGS" "INCLUDEPATH*=$INCLUDEPATH"
> "QMAKE_CXXFLAGS*=$CXXFLAGS" "$SRCDIR/$TEST/$EXE.pro" -o
> "$OUTDIR/$TEST/Makefile"
> make: *** No targets specified and no makefile found.  Stop.
> sse2 disabled.
> SQLite auto-detection... ()
> /var/tmp/portage/x11-libs/qt-4.3.3/work/qt-x11-opensource-src-4.3.3/config.tests/unix/compile.test:
> line 54: 32539 Segmentation fault      "$OUTDIR/bin/qmake" -nocache -spec
> "$QMKSPEC" "CONFIG+=$QMAKE_CONFIG" "LIBS*=$LFLAGS" "INCLUDEPATH*=$INCLUDEPATH"
> "QMAKE_CXXFLAGS*=$CXXFLAGS" "$SRCDIR/$TEST/$EXE.pro" -o
> "$OUTDIR/$TEST/Makefile"
> make: *** No targets specified and no makefile found.  Stop.
> SQLite disabled.
> SQLite support cannot be enabled due to functionality tests!
>  Turn on verbose messaging (-v) to ./configure to see the final report.
>  If you believe this message is in error you may use the continue
>  switch (-continue) to ./configure to continue.
>  *
>  * ERROR: x11-libs/qt-4.3.3 failed.
>  * Call stack:
>  *               ebuild.sh, line   49:  Called src_compile
>  *             environment, line 2467:  Called die
>  * The specific snippet of code:
>  *       ./configure ${myconf} || die;
>  *  The die message:
>  *   (no error message)
>  *
>  * 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-4.3.3/temp/build.log'.
>  * The ebuild environment file is located at
> '/var/tmp/portage/x11-libs/qt-4.3.3/temp/environment'.
> 
> Please tell me if you need extra informations

That looks like a different error than mine; please report it in another bug, not this one.
Comment 4 Markos Chandras (RETIRED) gentoo-dev 2009-02-07 11:45:57 UTC
Since qt-4.3.3 is not on tree anymore  , i am closing this bug  :)