Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!

Bug 26625

Summary: QT-3.1.2-r4 fails on compile
Product: Gentoo Linux Reporter: Ben Ricker <bricker>
Component: [OLD] KDEAssignee: Gentoo KDE team <kde>
Status: RESOLVED WORKSFORME    
Severity: normal    
Priority: High    
Version: 1.4   
Hardware: x86   
OS: Linux   
Whiteboard:
Package list:
Runtime testing required: ---

Description Ben Ricker 2003-08-14 08:06:01 UTC
I get the following error when compiling qt-3.1.2-r4. I am running USE="bindist"
but I am not sure if it gets the source from the HD or the net.

{standard output} Assembler messages:
{standard output}:3011: Warning: end of file not at end of a line; newline inerted
g++: Internal error: Terminated (program cc1plus)
make[1]: ***[.obj/release-shared-mt/qrichtext_p.o] Error 1
make[1]: *** Waiting for unfinished jobs....
{standard output}:4508: Error: unrecognized symbol type ""
make[1]: Leaving directory `/var/tmp/portage/qt-3.1.2-r4/work/qt-x11-free-3.1.2/src`
make: *** [sub-src] Error 2

!!! Error: x11-libs/qt-3.1.2-r4 failed.
!!! Function src_compile, Line 109, Exitcode  2
!!! (no error message)
Comment 1 Ben Ricker 2003-08-14 08:18:46 UTC
Forgot the output of emerge -v info:

Portage 2.0.48-r5 (default-x86-1.4, gcc-3.2.3, glibc-2.3.2-r1)
=================================================================
System uname: 2.4.20-gentoo-r5 i686 Celeron (Coppermine)
XARGS="xargs -r"
HOSTNAME="inflow_laptop"
ACCEPT_LICENSE=""
FEATURES="sandbox ccache"
INFODIR="/usr/share/info:/usr/X11R6/info"
INFOPATH="/usr/share/info:/usr/share/gcc-data/i686-pc-linux-gnu/3.2/info"
CC="gcc"
PORTAGE_GID="250"
TERM="linux"
LESSOPEN="|lesspipe.sh %s"
CVS_RSH="ssh"
LOGNAME="root"
USER="root"
INPUTRC="/etc/inputrc"
HOME="/root"
PATH="/bin:/sbin:/usr/bin:/usr/sbin:/usr/local/bin:/opt/bin:/usr/i686-pc-linux-gnu/gcc-bin/3.2:/usr/X11R6/bin:/sbin:/usr/sbin:/usr/local/bin:/usr/local/sbin"
PS1="\[\033[01;31m\]\h \[\033[01;34m\]\W \$ \[\033[00m\]"
XINITRC="/etc/X11/xinit/xinitrc"
_="/usr/bin/emerge"
PORTAGE_MASTER_PID="5238"
KDEDIRS="/usr"
USERLAND="GNU"
SHELL="/bin/bash"
PORTAGE_CACHEDIR="/var/cache/edb/dep/"
CXX="g++"
PRELINK_PATH_MASK=""
CONFIG_PROTECT_MASK="/etc/gconf /etc/env.d"
LESS="-R"
G_BROKEN_FILENAMES="1"
PWD="/var/tmp/distfiles"
CONFIG_PROTECT="/etc /var/qmail/control /usr/kde/2/share/config /usr/kde/3/share/config /usr/X11R6/lib/X11/xkb SHLVL="1"
PORTAGE_CALLER="emerge"
PRELINK_PATH=""
EDITOR="/bin/nano"
MANPATH="/usr/share/man:/usr/local/share/man:/usr/share/gcc-data/i686-pc-linux-gnu/3.2/man:/usr/X11R6/man"
ACCEPT_KEYWORDS="x86"
MAIL="/var/mail/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:*.xbm=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:"
PAGER="/usr/bin/less"
OLDPWD="/var/tmp"
USE="x86 oss 3dnow apm arts avi crypt cups encode foomaticdb gif gpm java jpeg kde libg++ libwww mad mikmod mmx motif mpeg ncurses nls pdflib png qt quicktime sdl slang spell svga truetype xml2 xmms xv zlib gdbm berkdb readline tcpd pam ssl perl python esd imlib oggvorbis opengl X gtk gnome -alsa"
CXXFLAGS="-O3 -mcpu=i686 -funroll-loops -pipe"
MAKEOPTS="-j2"
CHOST="i686-pc-linux-gnu"
CFLAGS="-O3 -mcpu=i686 -funroll-loops -pipe"
AUTOCLEAN="yes"
RSYNC_RETRIES="3"
ARCH="x86"
COMPILER="gcc3"
USE_EXPAND="VIDEO_CARDS INPUT_DEVICES"
SYNC="rsync://rsync.gentoo.org/gentoo-portage"
RSYNC_TIMEOUT="180"
DISTDIR="/usr/portage/distfiles"
RESUMECOMMAND="/usr/bin/wget -c -t 5 --passive-ftp -P ${DISTDIR} ${URI}"
PKGDIR="/usr/portage/packages"
GENTOO_MIRRORS="http://gentoo.oregonstate.edu http://distro.ibiblio.org/pub/Linux/distributions/gentoo"
CLEAN_DELAY="5"
RPMDIR="/usr/portage/rpm"
PORTAGE_BINHOST_CHUNKSIZE="3000"
FETCHCOMMAND="/usr/bin/wget -t 5 --passive-ftp -P ${DISTDIR} ${URI}"
PORTDIR="/usr/portage"
NOCOLOR="false"
USE_ORDER="env:conf:auto:defaults"
PORTAGE_TMPDIR="/var/tmp"
Comment 2 Spider (RETIRED) gentoo-dev 2003-08-14 08:33:11 UTC
Erm, this is not a Gnome component.  catch, KDE team.
Comment 3 Ben Ricker 2003-08-14 08:42:09 UTC
Well, I typed "emerge -k gnome" and it s being emerged. If Gnome does not use it, why is it a dependency? Anyway, just wanted to clarify that.
Comment 4 Caleb Tennis (RETIRED) gentoo-dev 2003-08-14 10:04:20 UTC
Try less aggressive CFLAGS.  Iv'e never seen -funroll-loops, but I would recommend trying 
-O2 as a first step. 
Comment 5 Paul de Vrieze (RETIRED) gentoo-dev 2003-08-14 11:52:58 UTC
About it comming up when merging gnome. Probably there are some gnome dependencies that optionally depend on qt for some tools that are included with the libraries. Both kde and gnome are big packages that have many indirect dependencies. Some of them pull in parts of gnome/kde respectively
Comment 6 Caleb Tennis (RETIRED) gentoo-dev 2003-10-02 08:45:54 UTC
see above comments on cflags settings