Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 41839 - Unable to upgrade to qt-3.3.0-r1, due to relocation error during 'uic' command.
Summary: Unable to upgrade to qt-3.3.0-r1, due to relocation error during 'uic' command.
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: [OLD] Library (show other bugs)
Hardware: x86 Linux
: High major (vote)
Assignee: Gentoo KDE team
URL: http://lists.trolltech.com/qt-interes...
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2004-02-16 15:46 UTC by Stefan Z.
Modified: 2004-02-23 05:59 UTC (History)
0 users

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


Attachments
trial ebuild (qt-3.3.0-r1.ebuild,4.99 KB, text/plain)
2004-02-16 18:49 UTC, Caleb Tennis (RETIRED)
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Stefan Z. 2004-02-16 15:46:57 UTC
"emerge -u qt" fails when I'm upgrading from qt-3.1.2-r4 to qt-3.3.0-r1.

It gives the following error during compilation:
/var/tmp/portage/qt-3.3.0-r1/work/qt-x11-free-3.3.0/bin/uic: relocation error: /var/tmp/portage/qt-3.3.0-r1/work/qt-x11-free-3.3.0/bin/uic: undefined symbol: _ZNK7QString3argExii

It found the following information on the web:
http://lists.trolltech.com/qt-interest/2003-11/msg00734.html

I believe it is the same error (even though that one is qt 3.2) and it has to do something about the library paths? However, I was not yet able to fix it.

This exact error occurs at the same location each time.


Reproducible: Always
Steps to Reproduce:
1. emerge -u qt

Actual Results:  
returns error as mentioned above and aborts compilation.


THE ERROR IN DETAIL:

g++ -c -pipe -I/usr/include/mysql -fno-exceptions -fPIC -Wall -W -O2 -
D_REENTRANT  -DDESIGNER -DQT_INTERNAL_XML -DQT_INTERNAL_WORKSPACE -
DQT_INTERNAL_ICONVIEW -DQT_INTERNAL_TABLE -DQT_TABLET_SUPPORT -DQT_NO_DEBUG -
DQT_THREAD_SUPPORT -DQT_SHARED -I/var/tmp/portage/qt-3.3.0-r1/work/qt-x11-free-
3.3.0/mkspecs/linux-g++ -I. -I/usr/include/freetype2 -I../shared -I../uilib -
I../../../include -I.moc/release-shared-mt/ -o ./tableeditorimpl.o 
tableeditorimpl.cpp
/var/tmp/portage/qt-3.3.0-r1/work/qt-x11-free-3.3.0/bin/uic -
L /var/tmp/portage/qt-3.3.0-r1/work/qt-x11-free-3.3.0/plugins 
listboxeditor.ui -i listboxeditor.h -o listboxeditor.cpp
/var/tmp/portage/qt-3.3.0-r1/work/qt-x11-free-3.3.0/bin/uic: relocation 
error: /var/tmp/portage/qt-3.3.0-r1/work/qt-x11-free-3.3.0/bin/uic: undefined 
symbol: _ZNK7QString3argExii
make[3]: *** [listboxeditor.cpp] Error 127
make[3]: *** Waiting for unfinished jobs....
make[3]: Leaving directory `/var/tmp/portage/qt-3.3.0-r1/work/qt-x11-free-
3.3.0/tools/designer/designer'
make[2]: *** [sub-designer] Error 2
make[2]: Leaving directory `/var/tmp/portage/qt-3.3.0-r1/work/qt-x11-free-
3.3.0/tools/designer'
make[1]: *** [sub-designer] Error 2
make[1]: Leaving directory `/var/tmp/portage/qt-3.3.0-r1/work/qt-x11-free-
3.3.0/tools'
make: *** [sub-tools] Error 2

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

===================================
PORTAGE INFO:

Portage 2.0.50-r1 (default-x86-1.4, gcc-3.3.2, glibc-2.3.2-r9, 2.4.22-ac4)
=================================================================
System uname: 2.4.22-ac4 i686 AMD Athlon(tm) Processor
Gentoo Base System version 1.4.3.13
Autoconf: sys-devel/autoconf-2.58-r1
Automake: sys-devel/automake-1.7.7
ACCEPT_KEYWORDS="x86"
AUTOCLEAN="yes"
CFLAGS="-O2 -mcpu=i686 -pipe"
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/share/config /usr/share/config /var/qmail/control"
CONFIG_PROTECT_MASK="/etc/gconf /etc/env.d"
CXXFLAGS="-O2 -mcpu=i686 -pipe"
DISTDIR="/usr/portage/distfiles"
FEATURES="autoaddcvs ccache sandbox"
GENTOO_MIRRORS="ftp://sunsite.ualberta.ca/pub/unix/Linux/gentoo/ 
http://csociety-ftp.ecn.purdue.edu/pub/gentoo/ 
http://mirror.clarkson.edu/pub/distributions/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 java jpeg kde libg++ libwww mad mikmod motif mozilla mpeg mysql 
ncurses nls oggvorbis opengl oss pam pdflib perl png python qt quicktime 
readline sdl slang spell ssl svga tcltk tcpd tetex truetype x86 xml2 xmms xv 
zlib"


=================
My environment vars:

BASH=/bin/bash
BASH_VERSINFO=([0]="2" [1]="05b" [2]="0" [3]="1" [4]="release" [5]="i686-pc-
linux-gnu")
BASH_VERSION='2.05b.0(1)-release'
CC=gcc
CLASSPATH=/opt/blackdown-jdk-1.4.1/jre/lib/rt.jar:.
COLUMNS=132
CONFIG_PROTECT='/usr/X11R6/lib/X11/xkb /usr/kde/3.1/share/config /usr/share/con
fig'
CONFIG_PROTECT_MASK=/etc/gconf
CVS_RSH=ssh
CXX=g++
DIRSTACK=()
EDITOR=/bin/nano
EUID=0
GROUPS=()
G_BROKEN_FILENAMES=1
HISTFILE=/root/.bash_history
HISTFILESIZE=500
HISTSIZE=500
HOME=/root
HOSTNAME=ubrobotics2.eng.buffalo.edu
HOSTTYPE=i686
IFS=$' \t\n'
INFODIR=/usr/share/info:/usr/X11R6/info
INFOPATH=/usr/share/info:/usr/share/gcc-data/i686-pc-linux-gnu/3.3/info
INPUTRC=/etc/inputrc
JAVAC=/opt/blackdown-jdk-1.4.1/bin/javac
JAVA_HOME=/opt/blackdown-jdk-1.4.1
JDK_HOME=/opt/blackdown-jdk-1.4.1
KDEDIR=/usr/kde/3.1
KDEDIRS=/usr
LESS=-R
LESSOPEN='|lesspipe.sh %s'
LINES=66
LOGNAME=root
LS_COLORS='no=00:fi=00:di=01;34:ln=01;36:pi=40;33:so=01;35:do=01;35:bd=40;33;01
:cd=40;33;01:or=40;31;01:ex=01;32:*.tar=01;31:*.tgz=01;31:*.arj=01;31:*.taz=01;
31:*.lzh=01;31:*.zip=01;31:*.z=01;31:*.Z=01;31:*.gz=01;31:*.bz2=01;31:*.deb=01;
31:*.rpm=01;31:*.jpg=01;35:*.gif=01;35:*.bmp=01;35:*.ppm=01;35:*.tga=01;35:*.xb
m=01;35:*.xpm=01;35:*.tif=01;35:*.png=01;35:*.mpg=01;35:*.avi=01;35:*.fli=01;35
:*.gl=01;35:*.dl=01;35:'
MACHTYPE=i686-pc-linux-gnu
MAIL=/var/mail/root
MAILCHECK=60
MANPATH=/usr/share/man:/usr/local/share/man:/usr/share/gcc-data/i686-pc-linux-
gnu/3.3/man:/usr/X11R6/man:/opt/blackdown-jdk-1.4.1/man:/usr/qt/3/man
MOZILLA_FIVE_HOME=/usr/lib/mozilla
OPTERR=1
OPTIND=1
OSTYPE=linux-gnu
PAGER=/usr/bin/less
PATH=/bin:/sbin:/usr/bin:/usr/sbin:/usr/local/bin:/opt/bin:/usr/i686-pc-linux-
gnu/gcc-bin/3.3:/opt/Acrobat5:/usr/X11R6/bin:/opt/blackdown-jdk-
1.4.1/bin:/opt/blackdown-jdk-
1.4.1/jre/bin:/usr/qt/3/bin:/usr/kde/3.1/sbin:/usr/kde/3.1/bin:/usr/share/karam
ba/bin
PIPESTATUS=([0]="0")
PPID=8152
PROMPT_COMMAND='echo -ne "\033_${USER}@${HOSTNAME%%.*}:${PWD/$HOME/~}\033\\"'
PS1='\[\033[01;31m\]\h \[\033[01;34m\]\W \$ \[\033[00m\]'
PS2='> '
PS4='+ '
PWD=/usr/lib
QMAKESPEC=linux-g++
QTDIR=/usr/qt/3
SGML_CATALOG_FILES=/etc/sgml/sgml-ent.cat:/etc/sgml/sgml-
docbook.cat:/etc/sgml/openjade-1.3.2.cat:/etc/sgml/sgml-docbook-
3.0.cat:/etc/sgml/sgml-docbook-3.1.cat:/etc/sgml/sgml-docbook-
4.1.cat:/etc/sgml/dsssl-docbook-stylesheets.cat:/etc/sgml/sgml-docbook-
4.0.cat:/etc/sgml/sgml-lite.cat
SHELL=/bin/bash
SHELLOPTS=braceexpand:emacs:hashall:histexpand:history:interactive-
comments:monitor
SHLVL=2
SSH_CLIENT='::ffff:128.205.71.160 1168 22'
SSH_CONNECTION='::ffff:128.205.71.160 1168 ::ffff:128.205.54.26 22'
SSH_TTY=/dev/pts/1
STY=8152.pts-1.ubrobotics2
TERM=screen
TERMCAP=$'SC|screen|VT 100/ANSI X3.64 virtual terminal:\\\n\t:DO=\\E[%dB:LE=\\E
[%dD:RI=\\E[%dC:UP=\\E[%dA:bs:bt=\\E[Z:\\\n\t:cd=\\E[J:ce=\\E[K:cl=\\E[H\\E
[J:cm=\\E[%i%d;%dH:ct=\\E[3g:\\\n\t:do=^J:nd=\\E
[C:pt:rc=\\E8:rs=\\Ec:sc=\\E7:st=\\EH:up=\\EM:\\\n\t:le=^H:bl=^G:cr=^M:it#8:ho=
\\E[H:nw=\\EE:ta=^I:is=\\E)0:\\\n\t:li#23:co#125:am:xn:xv:LP:sr=\\EM:al=\\E
[L:AL=\\E[%dL:\\\n\t:cs=\\E[%i%d;%dr:dl=\\E[M:DL=\\E[%dM:ks=\\E[?
1h\\E=:\\\n\t:ke=\\E[?1l\\E>:vi=\\E[?25l:ve=\\E[34h\\E[?25h:vs=\\E
[34l:\\\n\t:ti=\\E[?1049h:te=\\E[?1049l:us=\\E[4m:ue=\\E[24m:so=\\E
[3m:\\\n\t:se=\\E[23m:mb=\\E[5m:md=\\E[1m:mr=\\E[7m:me=\\E
[m:ms:\\\n\t:Co#8:pa#64:AF=\\E[3%dm:AB=\\E[4%dm:op=\\E
[39;49m:AX:G0:\\\n\t:as=\\E(0:ae=\\E(B:\\\n\t:ac=\\140
\\140aaffggjjkkllmmnnooppqqrrssttuuvvwwxxyyzz{{||}}~~..--
++,,hhII00:\\\n\t:k0=\\E[10~:k1=\\EOP:k2=\\EOQ:k3=\\EOR:k4=\\EOS:k5=\\E
[15~:\\\n\t:k6=\\E[17~:k7=\\E[18~:k8=\\E[19~:k9=\\E[20~:k;=\\E
[21~:\\\n\t:F1=\\E[23~:F2=\\E
[24~:kb=^H:K1=\\EOq:K2=\\EOr:K3=\\EOs:\\\n\t:K4=\\EOp:K5=\\EOn:kh=\\E[1~:@1=\\E
[1~:kH=\\E[4~:@7=\\E[4~:\\\n\t:kN=\\E[6~:kP=\\E[5~:kI=\\E[2~:kD=\\E
[3~:ku=\\EOA:kd=\\EOB:\\\n\t:kr=\\EOC:kl=\\EOD:'
UID=0
USER=root
WINDOW=0
XINITRC=/etc/X11/xinit/xinitrc
_=export
Comment 1 Caleb Tennis (RETIRED) gentoo-dev 2004-02-16 18:35:01 UTC
In the ebuild, in src_compile():

Please change the line:

export LD_LIBRARY_PATH={S}/lib:${LD_LIBRARY_PATH}

to

export LD_LIBRARY_PATH={S}/lib

and let me know if that fixes your problem.
Comment 2 Caleb Tennis (RETIRED) gentoo-dev 2004-02-16 18:49:42 UTC
Created attachment 25738 [details]
trial ebuild
Comment 3 Caleb Tennis (RETIRED) gentoo-dev 2004-02-16 18:49:57 UTC
Scratch that - please try this attached ebuild instead.
Comment 4 Stefan Z. 2004-02-16 20:12:41 UTC
Caleb,
that ebuild attachment fixed the problem.  :)

Thanks a lot,
+ keep up the good work.
Comment 5 Caleb Tennis (RETIRED) gentoo-dev 2004-02-17 05:20:05 UTC
Okay, I committed the ebuild - thanks for the report
Comment 6 Alias John Doe 2004-02-21 20:21:18 UTC
i also have trouble merging kdebase which require this qt.
i cant have qt to build :
===========================================================
  for /var/tmp/sab/portage/qt-3.3.0-r1/work/qt-x11-free-3.3.0/plugins/src/codecs/jp/jp.pro (fast)
  for /var/tmp/sab/portage/qt-3.3.0-r1/work/qt-x11-free-3.3.0/plugins/src/codecs/kr/kr.pro (fast)
  for /var/tmp/sab/portage/qt-3.3.0-r1/work/qt-x11-free-3.3.0/plugins/src/codecs/tw/tw.pro (fast)
  for /var/tmp/sab/portage/qt-3.3.0-r1/work/qt-x11-free-3.3.0/plugins/src/accessible/widgets/widgets.pro (fast)
  for /var/tmp/sab/portage/qt-3.3.0-r1/work/qt-x11-free-3.3.0/plugins/src/styles/cde/cde.pro (fast)
  for /var/tmp/sab/portage/qt-3.3.0-r1/work/qt-x11-free-3.3.0/plugins/src/styles/sgi/sgi.pro (fast)
  for /var/tmp/sab/portage/qt-3.3.0-r1/work/qt-x11-free-3.3.0/plugins/src/styles/compact/compact.pro (fast)
  for /var/tmp/sab/portage/qt-3.3.0-r1/work/qt-x11-free-3.3.0/plugins/src/styles/motif/motif.pro (fast)
  for /var/tmp/sab/portage/qt-3.3.0-r1/work/qt-x11-free-3.3.0/plugins/src/styles/platinum/platinum.pro (fast)
  for /var/tmp/sab/portage/qt-3.3.0-r1/work/qt-x11-free-3.3.0/plugins/src/styles/motifplus/motifplus.pro (fast)
  for /var/tmp/sab/portage/qt-3.3.0-r1/work/qt-x11-free-3.3.0/plugins/src/styles/windows/windows.pro (fast)

Qt is now configured for building. Just run /usr/bin/gmake.
To reconfigure, run /usr/bin/gmake confclean and configure.

cd qmake && make
make[1]: Entering directory `/var/tmp/sab/portage/qt-3.3.0-r1/work/qt-x11-free-3.3.0/qmake'
make[1]: `qmake' is up to date.
make[1]: Leaving directory `/var/tmp/sab/portage/qt-3.3.0-r1/work/qt-x11-free-3.3.0/qmake'
cd src/moc && make
make[1]: Entering directory `/var/tmp/sab/portage/qt-3.3.0-r1/work/qt-x11-free-3.3.0/src/moc'
make[1]: *** No targets.  Stop.
make[1]: Leaving directory `/var/tmp/sab/portage/qt-3.3.0-r1/work/qt-x11-free-3.3.0/src/moc'
make: *** [src-moc] Error 2

!!! ERROR: x11-libs/qt-3.3.0-r1 failed.
!!! Function src_compile, Line 85, Exitcode 2
!!! (no error message)
Comment 7 Alias John Doe 2004-02-21 20:29:05 UTC
your attached ebuild . doesnt work :
======================================================================
diff -u qt-3.3.0-r1.ebuild  /usr/portage/x11-libs/qt/qt-3.3.0-r1.ebuild 
--- qt-3.3.0-r1.ebuild  2004-02-22 05:02:13.000000000 +0000
+++ /usr/portage/x11-libs/qt/qt-3.3.0-r1.ebuild 2004-02-20 15:55:20.000000000 +0000
@@ -1,6 +1,6 @@
 # Copyright 1999-2004 Gentoo Technologies, Inc.
 # Distributed under the terms of the GNU General Public License v2
-# $Header: /home/cvsroot/gentoo-x86/x11-libs/qt/qt-3.3.0-r1.ebuild,v 1.1 2004/02/16 18:24:46 caleb Exp $
+# $Header: /home/cvsroot/gentoo-x86/x11-libs/qt/qt-3.3.0-r1.ebuild,v 1.3 2004/02/20 15:30:56 gmsoft Exp $
 
 SRCTYPE="free"
 DESCRIPTION="QT version ${PV}"
@@ -10,7 +10,7 @@
 
 LICENSE="QPL-1.0 | GPL-2"
 SLOT="3"
-KEYWORDS="x86 ~alpha ~ppc ~amd64"
+KEYWORDS="x86 ~alpha ~ppc ~amd64 hppa"
 IUSE="cups nas postgres opengl mysql odbc gif doc firebird zlib icc sqlite ipv6"
 
 DEPEND="virtual/x11 virtual/xft
@@ -51,8 +51,6 @@
 src_compile() {
        export QTDIR=${S}
        export SYSCONF=${D}${QTBASE}/etc/settings
-#      LD_LIBRARY_PATH_OLD=${LD_LIBRARY_PATH}
-#      export LD_LIBRARY_PATH=${S}/lib:${LD_LIBRARY_PATH}
 
        # Let's just allow writing to these directories during Qt emerge
        # as it makes Qt much happier.
@@ -87,7 +85,6 @@
        emake src-qmake src-moc sub-src || die
        export LD_PRELOAD="${LD_PRELOAD} ${QTDIR}/lib/libqt-mt.so"
        emake sub-tools || die
-#      export LD_LIBRARY_PATH=${LD_LIBRARY_PATH_OLD}
 }
 
 src_install() {

=============================================================================
$ebuild qt-3.3.0-r1.ebuild setup #does nothing


$ebuild qt-3.3.0-r1.ebuild compile 
!!! aux_get(): ebuild for 'home/qt-3.3.0-r1' does not exist at:
!!!            /usr/portage/home/qt/qt-3.3.0-r1.ebuild
doebuild(): aux_get() error; aborting.

$mv /usr/portage/x11-libs/qt/qt-3.3.0-r1.ebuild  /usr/portage/x11-libs/qt/qt-3.3.0-r1.ebuild.old
$cp qt-3.3.0-r1.ebuild /usr/portage/x11-libs/qt/qt-3.3.0-r1.ebuild
$emerge kdebase
Calculating dependencies ...done!
>>> emerge (1 of 5) x11-libs/qt-3.3.0-r1 to /
>>> md5 src_uri ;-) qt-x11-free-3.3.0.tar.bz2
>>> Unpacking source...
>>> Unpacking qt-x11-free-3.3.0.tar.bz2 to /var/tmp/sab/portage/qt-3.3.0-r1/work
tar: Skipping to next header
tar: Archive contains obsolescent base-64 headers

bzip2: Data integrity error when decompressing.
        Input file = /usr/portage/distfiles/qt-x11-free-3.3.0.tar.bz2, output file = (stdout)

It is possible that the compressed file(s) have become corrupted.
You can use the -tvv option to test integrity of such files.

You can use the `bzip2recover' program to attempt to recover
data from undamaged sections of corrupted files.

tar: Error exit delayed from previous errors

!!! ERROR: x11-libs/qt-3.3.0-r1 failed.
!!! Function unpack, Line 339, Exitcode 2
!!! failure unpacking qt-x11-free-3.3.0.tar.bz2
Comment 8 Alias John Doe 2004-02-21 20:37:42 UTC
things going going worse:

$mv /usr/portage/x11-libs/qt/qt-3.3.0-r1.ebuild.old  /usr/portage/x11-libs/qt/qt-3.3.0-r1.ebuild

$emerge kdebase
Calculating dependencies ...done!
>>> emerge (1 of 5) x11-libs/qt-3.3.0-r1 to /

!!! File is corrupt or incomplete. (Digests do not match)
>>> our recorded digest: 7c628647126bb7bd957417f530ab04d4
>>>  your file's digest: 59d5441eb590380326a9274691ce3827
!!! File does not exist: /usr/portage/distfiles//qt-x11-free-3.3.0.tar.bz2


$ll /usr/portage/distfiles/qt-x11-free-3.3.0.tar.bz2 
-rw-rw-r--    1 root     portage       14M Feb  5 05:36 /usr/portage/distfiles/qt-x11-free-3.3.0.tar.bz2

$ebuild /usr/portage/x11-libs/qt/qt-3.3.0-r1.ebuild setup #does nothings: no stdout

$ebuild /usr/portage/x11-libs/qt/qt-3.3.0-r1.ebuild compile 

!!! File is corrupt or incomplete. (Digests do not match)
>>> our recorded digest: 7c628647126bb7bd957417f530ab04d4
>>>  your file's digest: 59d5441eb590380326a9274691ce3827
!!! File does not exist: /usr/portage/distfiles//qt-x11-free-3.3.0.tar.bz2
Comment 9 Alias John Doe 2004-02-21 20:44:34 UTC
realy wired . isnt ?
the Manifestfile did not change :
ll --full|grep Mani
-rw-r--r--    1 root     root         2.4K 2004-02-20 15:55:20.000000000 +0000 Manifest


the Manifestfile is the same (my local time zone is not set. i am GMT+1)
Comment 10 Alias John Doe 2004-02-21 20:56:50 UTC
sorry for the spam . but still issues

$mv /usr/portage/distfiles/qt-x11-free-3.3.0.tar.bz2 /usr/portage/distfiles/qt-x11-free-3.3.0.tar.bz2.old

$emerge kdebase
Calculating dependencies ...done!
>>> emerge (1 of 5) x11-libs/qt-3.3.0-r1 to /
[deleted stuff...]
g++ -c -o msvc_dsp.o -I. -Igenerators -Igenerators/unix -Igenerators/win32 -Igenerators/mac -I/var/tmp/sab/portage/qt-3.3.0-r1/work/qt-x11-free-3.3.0/include/qmake -I/var/tmp/sab/portage/qt-3.3.0-r1/work/qt-x11-free-3.3.0/include -I/var/tmp/sab/portage/qt-3.3.0-r1/work/qt-x11-free-3.3.0/include -DQT_NO_TEXTCODEC -DQT_NO_UNICODETABLES -DQT_NO_COMPONENT -DQT_NO_STL -DQT_NO_COMPRESS -I/var/tmp/sab/portage/qt-3.3.0-r1/work/qt-x11-free-3.3.0/mkspecs/linux-g++ -DHAVE_QCONFIG_CPP generators/win32/msvc_dsp.cpp
g++ -c -o msvc_vcproj.o -I. -Igenerators -Igenerators/unix -Igenerators/win32 -Igenerators/mac -I/var/tmp/sab/portage/qt-3.3.0-r1/work/qt-x11-free-3.3.0/include/qmake -I/var/tmp/sab/portage/qt-3.3.0-r1/work/qt-x11-free-3.3.0/include -I/var/tmp/sab/portage/qt-3.3.0-r1/work/qt-x11-free-3.3.0/include -DQT_NO_TEXTCODEC -DQT_NO_UNICODETABLES -DQT_NO_COMPONENT -DQT_NO_STL -DQT_NO_COMPRESS -I/var/tmp/sab/portage/qt-3.3.0-r1/work/qt-x11-free-3.3.0/mkspecs/linux-g++ -DHAVE_QCONFIG_CPP generators/win32/msvc_vcproj.cpp
g++ -c -o option.o -I. -Igenerators -Igenerators/unix -Igenerators/win32 -Igenerators/mac -I/var/tmp/sab/portage/qt-3.3.0-r1/work/qt-x11-free-3.3.0/include/qmake -I/var/tmp/sab/portage/qt-3.3.0-r1/work/qt-x11-free-3.3.0/include -I/var/tmp/sab/portage/qt-3.3.0-r1/work/qt-x11-free-3.3.0/include -DQT_NO_TEXTCODEC -DQT_NO_UNICODETABLES -DQT_NO_COMPONENT -DQT_NO_STL -DQT_NO_COMPRESS -I/var/tmp/sab/portage/qt-3.3.0-r1/work/qt-x11-free-3.3.0/mkspecs/linux-g++ -DHAVE_QCONFIG_CPP option.cpp
g++ -c -o winmakefile.o -I. -Igenerators -Igenerators/unix -Igenerators/win32 -Igenerators/mac -I/var/tmp/sab/portage/qt-3.3.0-r1/work/qt-x11-free-3.3.0/include/qmake -I/var/tmp/sab/portage/qt-3.3.0-r1/work/qt-x11-free-3.3.0/include -I/var/tmp/sab/portage/qt-3.3.0-r1/work/qt-x11-free-3.3.0/include -DQT_NO_TEXTCODEC -DQT_NO_UNICODETABLES -DQT_NO_COMPONENT -DQT_NO_STL -DQT_NO_COMPRESS -I/var/tmp/sab/portage/qt-3.3.0-r1/work/qt-x11-free-3.3.0/mkspecs/linux-g++ -DHAVE_QCONFIG_CPP generators/win32/winmakefile.cpp
g++ -c -o projectgenerator.o -I. -Igenerators -Igenerators/unix -Igenerators/win32 -Igenerators/mac -I/var/tmp/sab/portage/qt-3.3.0-r1/work/qt-x11-free-3.3.0/include/qmake -I/var/tmp/sab/portage/qt-3.3.0-r1/work/qt-x11-free-3.3.0/include -I/var/tmp/sab/portage/qt-3.3.0-r1/work/qt-x11-free-3.3.0/include -DQT_NO_TEXTCODEC -DQT_NO_UNICODETABLES -DQT_NO_COMPONENT -DQT_NO_STL -DQT_NO_COMPRESS -I/var/tmp/sab/portage/qt-3.3.0-r1/work/qt-x11-free-3.3.0/mkspecs/linux-g++ -DHAVE_QCONFIG_CPP generators/projectgenerator.cpp
g++: Internal error: Segmentation fault (program as)
Please submit a full bug report.
See <URL:http://bugs.gentoo.org/> for instructions.
gmake: *** [projectgenerator.o] Error 1
qmake failed to build. Aborting.

!!! ERROR: x11-libs/qt-3.3.0-r1 failed.
!!! Function src_compile, Line 81, Exitcode 2
!!! (no error message)
Comment 11 Alias John Doe 2004-02-21 21:04:29 UTC
this time compile goes farther:
================================
g++ -c -pipe -I/usr/include/mysql -I/usr/include/postgresql/server -I/usr/include/postgresql/pgsql -I/usr/include/postgresql/pgsql/server -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_LARGE_FILES -D_FILE_OFFSET_BITS=64 -DQT_NO_XINERAMA -DQT_DLOPEN_OPENGL -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 -DQT_NO_STYLE_POCKETPC -I/var/tmp/sab/portage/qt-3.3.0-r1/work/qt-x11-free-3.3.0/mkspecs/linux-g++ -I. -I/usr/include/freetype2 -I3rdparty/opentype -I../include -I/usr/X11R6/include -I.moc/release-shared-mt/ -o .obj/release-shared-mt/qlayoutengine.o kernel/qlayoutengine.cpp
In file included from kernel/qlayoutengine.cpp:38:
kernel/qlayout.h:360: 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 -I/usr/include/mysql -I/usr/include/postgresql/server -I/usr/include/postgresql/pgsql -I/usr/include/postgresql/pgsql/server -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_LARGE_FILES -D_FILE_OFFSET_BITS=64 -DQT_NO_XINERAMA -DQT_DLOPEN_OPENGL -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 -DQT_NO_STYLE_POCKETPC -I/var/tmp/sab/portage/qt-3.3.0-r1/work/qt-x11-free-3.3.0/mkspecs/linux-g++ -I. -I/usr/include/freetype2 -I3rdparty/opentype -I../include -I/usr/X11R6/include -I.moc/release-shared-mt/ -o .obj/release-shared-mt/qtranslator.o kernel/qtranslator.cpp
The bug is not reproduceable, so it is likely a hardware or OS problem
make[1]: *** [.obj/release-shared-mt/qlayoutengine.o] Error 1
make[1]: *** Waiting for unfinished jobs....
make[1]: Leaving directory `/var/tmp/sab/portage/qt-3.3.0-r1/work/qt-x11-free-3.3.0/src'
make: *** [sub-src] Error 2

!!! ERROR: x11-libs/qt-3.3.0-r1 failed.
!!! Function src_compile, Line 85, Exitcode 2
!!! (no error message)
Comment 12 Caleb Tennis (RETIRED) gentoo-dev 2004-02-23 05:59:25 UTC
Please try the attached ebuild and patch at Bug #41675 and see if they fix the problem for you.