Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 78891 - gtk+ 2.4.14 fails to compile, because it searches for libstdc++ in the wrong directory
Summary: gtk+ 2.4.14 fails to compile, because it searches for libstdc++ in the wrong ...
Status: RESOLVED DUPLICATE of bug 73435
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: [OLD] Library (show other bugs)
Hardware: All Linux
: High normal (vote)
Assignee: Gentoo Linux bug wranglers
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2005-01-20 18:44 UTC by Clemens Schwaighofer
Modified: 2005-07-17 13:06 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 Clemens Schwaighofer 2005-01-20 18:44:27 UTC
gtk+ 2.4.14 fails to compile, as it searchses for the libstdc++.la in the wrong gcc directory:

/bin/sh ../libtool --mode=link i686-pc-linux-gnu-gcc  -O2 -march=pentium4 -funroll-loops -pipe -Wall   -o libpixbufloader-tiff.la -rpath /usr/lib/gtk-2.0/2.4.0/loaders -avoid-version -module  io-tiff.lo -ltiff libgdk_pixbuf-2.0.la -lgmodule-2.0 -ldl -lgobject-2.0 -lglib-2.0 -lm
grep: /usr/lib/gcc-lib/i686-pc-linux-gnu/3.3.4/libstdc++.la: No such file or directory
/bin/sed: can't read /usr/lib/gcc-lib/i686-pc-linux-gnu/3.3.4/libstdc++.la: No such file or directory
libtool: link: `/usr/lib/gcc-lib/i686-pc-linux-gnu/3.3.4/libstdc++.la' is not a valid libtool archive
make[4]: *** [libpixbufloader-tiff.la] Error 1
make[4]: Leaving directory `/var/tmp/portage/gtk+-2.4.14/work/gtk+-2.4.14/gdk-pixbuf'
make[3]: *** [all-recursive] Error 1
make[3]: Leaving directory `/var/tmp/portage/gtk+-2.4.14/work/gtk+-2.4.14/gdk-pixbuf'
make[2]: *** [all] Error 2
make[2]: Leaving directory `/var/tmp/portage/gtk+-2.4.14/work/gtk+-2.4.14/gdk-pixbuf'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/var/tmp/portage/gtk+-2.4.14/work/gtk+-2.4.14'
make: *** [all] Error 2

!!! ERROR: x11-libs/gtk+-2.4.14 failed.
!!! Function src_compile, Line 78, Exitcode 2
!!! (no error message)
!!! If you need support, post the topmost build error, NOT this status message.

I already re-emerged gcc, because I thought some global settings might not have been set correctly (lib paths, etc). but that didn't change anything

Reproducible: Always
Steps to Reproduce:
1. emerge gtk+
2.
3.




Portage 2.0.51-r3 (default-linux/x86/2004.0, gcc-3.3.5, glibc-2.3.4.20040808-r1,
2.6.10-gentoo-r6 i686)
=================================================================
System uname: 2.6.10-gentoo-r6 i686 Intel(R) Pentium(R) 4 CPU 1.60GHz
Gentoo Base System version 1.4.16
distcc 2.16 i686-pc-linux-gnu (protocols 1 and 2) (default port 3632) [disabled]
Autoconf: sys-devel/autoconf-2.59-r5
Automake: sys-devel/automake-1.8.5-r1
Binutils: sys-devel/binutils-2.15.92.0.2-r1
Headers:  sys-kernel/linux-headers-2.4.19-r1,sys-kernel/linux-headers-2.4.21-r1
Libtools: sys-devel/libtool-1.5.2-r7
ACCEPT_KEYWORDS="x86"
AUTOCLEAN="yes"
CFLAGS="-O2 -march=pentium4 -funroll-loops -pipe"
CHOST="i686-pc-linux-gnu"
COMPILER=""
CONFIG_PROTECT="/etc /usr/X11R6/lib/X11/xkb /usr/kde/2/share/config
/usr/kde/3.3/env /usr/kde/3.3/share/config /usr/kde/3.3/shutdown
/usr/kde/3/share/config /usr/lib/mozilla/defaults/pref /usr/share/config
/usr/share/texmf/dvipdfm/config/ /usr/share/texmf/dvips/config/
/usr/share/texmf/tex/generic/config/ /usr/share/texmf/tex/platex/config/
/usr/share/texmf/xdvi/ /var/qmail/control"
CONFIG_PROTECT_MASK="/etc/gconf /etc/terminfo /etc/env.d"
CXXFLAGS="-O2 -march=pentium4 -funroll-loops -pipe"
DISTDIR="/usr/portage/distfiles"
FEATURES="autoaddcvs autoconfig ccache distlocks sandbox sfperms userpriv
usersandbox"
GENTOO_MIRRORS="http://mirror.gentoo.gr.jp/ http://gentoo.gg3.net/
ftp://gg3.net/pub/linux/gentoo/ ftp://ftp.ecc.u-tokyo.ac.jp/GENTOO
http://ftp.gentoo.or.kr/ http://gentoo.oregonstate.edu/
http://www.ibiblio.org/pub/Linux/distributions/gentoo"
MAKEOPTS="-j2"
PKGDIR="/usr/portage/packages"
PORTAGE_TMPDIR="/var/tmp"
PORTDIR="/usr/portage"
PORTDIR_OVERLAY=""
SYNC="rsync://rsync.asia.gentoo.org/gentoo-portage"
USE="X aalib acl acpi adns alsa apache2 apm arts avi berkdb bitmap-fonts bonobo
canna cdr cjk crypt cups curl dga directfbencode esd ethereal f77 fam fbcon flac
font-server foomaticdb fortran freetds freewnn gd gdbm gif gimpprint gnome
gphoto2 gpm gstreamer gtk gtk2 gtkhtml imagemagick imap imlib innodb ipv6 jack
java jpeg junit kde kerberos lcms ldap libg++ libgdalibwww mad maildir mbox mcal
memlimit mikmod mmx mng motif mozilla mpeg mysql ncurses nls odbc oggvorbis
opengl oss pam pdflib perl png postgres ppds python qt quicktime quota readline
ruby samba sdl slang slp snmp speex spell sse ssl svga tcltktcpd tetex tiff
truetype truetype-fonts type1-fonts unicode usb wmf x86 xface xml xml2 xmms xosd
xv zlib"
Comment 1 Alec Warner (RETIRED) archtester gentoo-dev Security 2005-01-20 18:56:34 UTC
Dupe, 73435
Comment 2 Joe McCann (RETIRED) gentoo-dev 2005-01-20 20:59:58 UTC
please search next time :)

*** This bug has been marked as a duplicate of 73435 ***
Comment 3 Clemens Schwaighofer 2005-01-21 06:24:51 UTC
Yeah, but first in the forums, cause there I found the solution :)