Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 94347 - qt-3.3.4-r4 fails to compile; no error message
Summary: qt-3.3.4-r4 fails to compile; no error message
Status: RESOLVED INVALID
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: x86 Linux
: High normal
Assignee: Gentoo KDE team
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2005-05-28 22:40 UTC by Chris Slycord
Modified: 2005-05-29 21:01 UTC (History)
1 user (show)

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 Chris Slycord 2005-05-28 22:40:46 UTC
Output of "emerge qt"
emerge qt
Calculating dependencies ...done!
>>> emerge (1 of 1) x11-libs/qt-3.3.4-r4 to /
>>> md5 files   ;-) qt-3.3.4-r3.ebuild
>>> md5 files   ;-) qt-3.3.3-r1.ebuild
>>> md5 files   ;-) qt-4.0.0_beta2.ebuild
>>> md5 files   ;-) qt-4.0.0_beta2-r2.ebuild
>>> md5 files   ;-) qt-3.3.4-r2.ebuild
>>> md5 files   ;-) qt-4.0.0_beta1-r5.ebuild
>>> md5 files   ;-) qt-3.3.4-r4.ebuild
>>> md5 files   ;-) qt-3.3.3.ebuild
>>> md5 files   ;-) qt-4.0.0_beta2-r1.ebuild
>>> md5 files   ;-) files/qt-no-rpath.patch
>>> md5 files   ;-) files/0001-dnd_optimization.patch
>>> md5 files   ;-) files/0037-dnd-timestamp-fix.patch
>>> md5 files   ;-) files/0002-dnd_active_window_fix.patch
>>> md5 files   ;-) files/45qt3
>>> md5 files   ;-) files/digest-qt-3.3.3
>>> md5 files   ;-) files/qt-3.3.4-flickerfree_qiconview_buffered.patch
>>> md5 files   ;-) files/digest-qt-4.0.0_beta1-r5
>>> md5 files   ;-) files/digest-qt-4.0.0_beta2-r1
>>> md5 files   ;-) files/digest-qt-4.0.0_beta2-r2
>>> md5 files   ;-) files/qt-3.3.4-0047-fix-kmenu-widget.diff
>>> md5 files   ;-) files/digest-qt-3.3.3-r1
>>> md5 files   ;-) files/digest-qt-3.3.4-r2
>>> md5 files   ;-) files/digest-qt-3.3.4-r3
>>> md5 files   ;-) files/digest-qt-3.3.4-r4
>>> md5 files   ;-) files/qt-3.3.3-flickerfree_qscrollview_fixwindowactivate.patch
>>> md5 files   ;-) files/qt4b1_nomkdir.patch
>>> md5 files   ;-) files/qt-3.3.3-immodule-r123-event-inversion-20040909.diff
>>> md5 files   ;-) files/qfontdatabase_x11.diff
>>> md5 files   ;-) files/50qtdir3
>>> md5 files   ;-) files/qt4b2_nomkdir.patch
>>> md5 files   ;-) files/qt-3.3.3-flickerfree_qiconview_buffered.patch
>>> md5 files   ;-) files/qt4-rpath.patch
>>> md5 files   ;-) files/qt-3.3.4-immodule-focus.patch
>>> md5 files   ;-) files/qt-3.3.4-flickerfree_qscrollview_fixwindowactivate.patch
>>> md5 files   ;-) files/qt4b1_20050302.patch
>>> md5 files   ;-) files/qt-3.3.3-qclipboard-hack.patch
>>> md5 files   ;-) files/qt4b2r2_nomkdir.patch
>>> md5 files   ;-) files/qt-3.3.4-qclipboard-hack.patch
>>> md5 files   ;-) files/qt-no-rpath-uic.patch
>>> md5 files   ;-) files/digest-qt-4.0.0_beta2
>>> md5 files   ;-) files/qt-3.3.4-0051-qtoolbar_77047.patch
>>> md5 files   ;-) files/qt-3.3.3-immodule-20040819-event-inversion-20040908.diff
>>> md5 files   ;-) files/0038-dragobject-dont-prefer-unknown.patch
>>> md5 files   ;-) files/qt-3.3.3-amd64-fullscreen.patch
>>> md5 src_uri ;-) qt-x11-free-3.3.4.tar.bz2

!!! ERROR: x11-libs/qt-3.3.4-r4 failed.
!!! Function pkg_setup, Line 58, Exitcode 1
!!! (no error message)
!!! If you need support, post the topmost build error, NOT this status message.

emerge info
Portage 2.0.51.22-r1 (default-linux/x86/2005.0, gcc-3.4.3-20050110,
glibc-2.3.4.20050125-r1, 2.6.11-gentoo-r9 i686)
=================================================================
System uname: 2.6.11-gentoo-r9 i686 AMD Athlon(tm) XP 3000+
Gentoo Base System version 1.6.12
distcc 2.18.3 i686-pc-linux-gnu (protocols 1 and 2) (default port 3632) [disabled]
ccache version 2.4 [enabled]
dev-lang/python:     2.3.5
sys-apps/sandbox:    1.2.8
sys-devel/autoconf:  2.13, 2.59-r6
sys-devel/automake:  1.4_p6, 1.5, 1.6.3, 1.7.9-r1, 1.8.5-r3, 1.9.5
sys-devel/binutils:  2.16-r1
sys-devel/libtool:   1.5.18
virtual/os-headers:  2.6.11
ACCEPT_KEYWORDS="x86 ~x86"
AUTOCLEAN="yes"
CBUILD="i686-pc-linux-gnu"
CFLAGS="-O3 -march=athlon-xp -fforce-addr -momit-leaf-frame-pointer
-fomit-frame-pointer -ftracer -pipe"
CHOST="i686-pc-linux-gnu"
CONFIG_PROTECT="/etc /usr/kde/2/share/config /usr/kde/3.4/env
/usr/kde/3.4/share/config /usr/kde/3.4/shutdown /usr/kde/3/share/config
/usr/lib/X11/xkb /usr/lib/mozilla/defaults/pref /usr/share/config
/var/qmail/control"
CONFIG_PROTECT_MASK="/etc/gconf /etc/terminfo /etc/env.d"
CXXFLAGS="-O3 -march=athlon-xp -fforce-addr -momit-leaf-frame-pointer
-fomit-frame-pointer -ftracer -pipe -fvisibility-inlines-hidden"
DISTDIR="/usr/portage/distfiles"
FEATURES="autoclean autoconfig ccache distlocks nostrip sandbox sfperms strict
userpriv usersandbox"
GENTOO_MIRRORS="http://gentoo.ccccom.com http://gentoo.osuosl.org/
http://mirror.datapipe.net/gentoo http://gentoo.seren.com/gentoo"
LDFLAGS="-Wl,-O1 -Wl,--enable-new-dtags -Wl,--sort-common -s"
LINGUAS="en"
MAKEOPTS="-j2"
PKGDIR="/usr/portage/packages"
PORTAGE_TMPDIR="/var/tmp"
PORTDIR="/usr/portage"
PORTDIR_OVERLAY="/usr/local/portage"
SYNC="rsync://rsync.gentoo.org/gentoo-portage"
USE="x86 3dnow X aalib alsa avi cdr cups debug divx4linux dvd dvdr dvdread
encode flac foomaticdb gnome gnutls gtk gtk2 imlib java jpeg kde kerberos krb4
mad mikmod mmx mpeg ncurses nls nptl oggvorbis opengl pic png ppds python qt
readline scanner sdl slang spell sse ssl truetype usb xml2 xv xvid zlib
linguas_en userland_GNU kernel_linux elibc_glibc"
Unset:  ASFLAGS, CTARGET, LANG, LC_ALL

Reproducible: Always
Steps to Reproduce:
1.
2.
3.
Comment 1 Gregorio Guidi (RETIRED) gentoo-dev 2005-05-29 09:28:35 UTC
Does it happen after an 'emerge sync'? 
Comment 2 Tro 2005-05-29 14:55:57 UTC
After emerge sync, I get the same error until:

!!! ERROR: x11-libs/qt-3.3.4-r4 failed.
!!! Function pkg_setup, Line 64, Exitcode 1
!!! Unknown compiler c++.
!!! If you need support, post the topmost build error, NOT this status message.

It now says "Unknown compiler c++" instead of "(no error message)".

Portage 2.0.51.22-r1 (default-linux/x86/2005.0, gcc-3.4.3, glibc-2.3.5-r0, 2.6.10-gentoo-r7 i686)
==============================================================
===
System uname: 2.6.10-gentoo-r7 i686 Mobile Intel(R) Pentium(R) 4     CPU 2.80GHz
Gentoo Base System version 1.6.12
distcc 2.18.3 i686-pc-linux-gnu (protocols 1 and 2) (default port 3632) [enabled]
ccache version 2.4 [enabled]
dev-lang/python:     2.3.5
sys-apps/sandbox:    1.2.8
sys-devel/autoconf:  2.13, 2.59-r6
sys-devel/automake:  1.4_p6, 1.5, 1.6.3, 1.7.9-r1, 1.8.5-r3, 1.9.5
sys-devel/binutils:  2.16-r1
sys-devel/libtool:   1.5.18
virtual/os-headers:  2.6.11
ACCEPT_KEYWORDS="x86 ~x86"
AUTOCLEAN="yes"
CBUILD="i686-pc-linux-gnu"
CFLAGS="-O2 -march=pentium4 -pipe -fomit-frame-pointer -mmmx -msse -msse2"
CHOST="i686-pc-linux-gnu"
CONFIG_PROTECT="/etc /usr/kde/2/share/config /usr/kde/3.3/env /usr/kde/3.3/share/config /usr/
kde/3.3/shutdown /usr/kde/3.4/env /usr/kde/3.4/share/config /usr/kde/3.4/shutdown /usr/kde/3/
share/config /usr/lib/X11/xkb /usr/lib/mozilla/defaults/pref /usr/share/config /var/qmail/control"
CONFIG_PROTECT_MASK="/etc/gconf /etc/init.d /etc/terminfo /etc/texmf/web2c /etc/env.d"
CXXFLAGS="-O2 -march=pentium4 -pipe -fomit-frame-pointer -mmmx -msse -msse2"
DISTDIR="/mnt/portage"
FEATURES="autoconfig ccache distcc distlocks sandbox sfperms strict"
GENTOO_MIRRORS="http://gentoo.ccccom.com ftp://mirror.nutsmaas.nl/gentoo/ ftp://gentoo.
ccccom.com http://pandemonium.tiscali.de/pub/gentoo/"
LANG="en_CA.utf8"
LC_ALL="en_CA.utf8"
MAKEOPTS="-j4"
PKGDIR="/usr/portage/packages"
PORTAGE_TMPDIR="/var/tmp"
PORTDIR="/usr/portage"
PORTDIR_OVERLAY="/usr/poverlay"
SYNC="rsync://rsync.gentoo.org/gentoo-portage"
USE="x86 X a52 aac aalib acpi aim alsa apm arts artswrappersuid avantgo avi berkdb bigger-fonts 
bitmap-fonts bonobo bootspla bootsplash bzip2 bzlib cddb cdparanoia cdr cdrom client codecs crypt 
curl curlwrappers dba dbx divx4linux dv dvd dvdread emboss encode escreen exif faac faad fam fbcon 
ffmpeg flac font-server foomaticdb fortran freetype gd gdbm gif gimpprint gnutls gphoto2 gpm gs 
gstreamer gtk gtk2 gtkhtml iconv icq idea imagemagick imap imlib ipv6 ithreads jabber java javascript 
jikes jpeg junit kde ldap libg++ libwww lm_sensors mad maildir mailwrapper matroska md5sum mikmod 
mime mmx moznocompose moznoirc moznomail moznoxft mp3 mpeg mpeg4 mplayer msn mysql 
ncurses network nls nntp nvidia odbc offensive ogg oggvorbis ooo-kde opengl operanom2 oscar oss 
pam pcmcia pcre pda pdf pdflib perl php plotutils png pnp povray prelude python qt quicktime radeon 
readline real ruby samba sasl scanner sdl session silc simplexml slang smime sockets speedo speex spell 
sqlite sse sse2 ssl subversion svg svga tcltk tcpd tetex tidy tiff transcode truetype truetype-fonts 
type1 type1-fonts unicode usb userlocales v4l v4l2 vim-with-x visualization vorbis wifi xine xml xml2 
xmlrpc xmms xscreensaver xsl xv xvid xvmc zeroconf zlib video_cards_radeon userland_GNU 
kernel_linux elibc_glibc"
Unset:  ASFLAGS, CTARGET, LDFLAGS, LINGUAS
Comment 3 Diego Elio Pettenò (RETIRED) gentoo-dev 2005-05-29 15:18:35 UTC
Are you setting CXX from something different than default? 
 
Comment 4 Tro 2005-05-29 15:46:45 UTC
I'm not sure this is what you mean, but in /etc/make.conf I've got CXXFLAGS="${CFLAGS}".
Comment 5 Chris Slycord 2005-05-29 20:16:04 UTC
I can confirm that in my /etc/make.conf I had the following lines:
CC="gcc"
CXX="c++"

And when I commented out these lines, the error appears to have gone away.  But
this SHOULD NOT have happened to begin with.  In the bin directory that gcc uses
by default there are symlinks called gcc and c++ that link to the standard
executables (which were called i686-pc-linux-gnu-c++ and i686-pc-linux-gnu-gcc
respectively).
Comment 6 Diego Elio Pettenò (RETIRED) gentoo-dev 2005-05-29 21:01:22 UTC
You should not set those values, just let emerge take the right gcc if you're not going to use something 
different like icc.
If you set those values, ebuilds can't be sure that you're using g++ and so fails (c++ is too much a generic 
name).