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

Bug 76368

Summary: emerge imlib-1.9.14-r3 fails, tries to access outdated GCC
Product: Gentoo Linux Reporter: Ricardo <designerd>
Component: [OLD] LibraryAssignee: Gentoo Linux bug wranglers <bug-wranglers>
Status: RESOLVED DUPLICATE    
Severity: normal    
Priority: High    
Version: unspecified   
Hardware: x86   
OS: Linux   
Whiteboard:
Package list:
Runtime testing required: ---

Description Ricardo 2005-01-01 19:20:09 UTC
Emerging imlib-1.9.14-r3 fails when the action enters into its "grep" and "make" steps.  It keeps trying to access files in /usr/lib/gcc/i686-pc-linux-gnu/3.4.2/ when the currently-installed GCC version is i686-pc-linux-gnu-3.4.3.

Reproducible: Always
Steps to Reproduce:
1.emerge imlib


Actual Results:  
The source downloads and unpacks successfully, and the patches are applied
without fail.  The problem is illustrated in the following lines of output:

grep: /usr/lib/gcc/i686-pc-linux-gnu/3.4.2/libstdc++.la: No such file or directory
sed: can't read /usr/lib/gcc/i686-pc-linux-gnu/3.4.2/libstdc++.la: No such file
or directory
libtool: link: `/usr/lib/gcc/i686-pc-linux-gnu/3.4.2/libstdc++.la' is not a
valid libtool archive
make[2]: *** [libimlib-tiff.la] Error 1
make[2]: *** Waiting for unfinished jobs....
gcc -shared  .libs/io-png.o  -Wl,--rpath
-Wl,/var/tmp/portage/imlib-1.9.14-r3/work/imlib-1.9.14/gdk_imlib/.libs
-L/usr/lib -lpng -lz ./.libs/libgdk_imlib.so  -march=pentium4 -Wl,-soname
-Wl,libimlib-png.so -o .libs/libimlib-png.so
ar cru .libs/libimlib-png.a  io-png.o
ranlib .libs/libimlib-png.a
creating libimlib-png.la
(cd .libs && rm -f libimlib-png.la && ln -s ../libimlib-png.la libimlib-png.la)
make[2]: Leaving directory
`/var/tmp/portage/imlib-1.9.14-r3/work/imlib-1.9.14/gdk_imlib'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/var/tmp/portage/imlib-1.9.14-r3/work/imlib-1.9.14'
make: *** [all-recursive-am] Error 2

!!! ERROR: media-libs/imlib-1.9.14-r3 failed.
!!! Function src_compile, Line 38, Exitcode 2
!!! (no error message)
!!! If you need support, post the topmost build error, NOT this status message.

Expected Results:  
Well, it should use the 3.4.3 compiler's files!

This is my emerge --info:

Portage 2.0.51-r8 (default-linux/x86/2004.3, gcc-3.4.3, glibc-2.3.4.20041102-r0,
2.6.8-gentoo-r3 i686)
=================================================================
System uname: 2.6.8-gentoo-r3 i686 Intel(R) Pentium(R) 4 Mobile CPU 1.80GHz
Gentoo Base System version 1.6.8
Python:              dev-lang/python-2.3.4 [2.3.4 (#1, Dec  6 2004, 03:16:23)]
dev-lang/python:     2.3.4
sys-devel/autoconf:  2.59-r6, 2.13
sys-devel/automake:  1.5, 1.8.5-r2, 1.6.3, 1.4_p6, 1.9.3, 1.7.9
sys-devel/binutils:  2.15.92.0.2-r2
sys-devel/libtool:   1.5.10-r2
virtual/os-headers:  2.4.22
ACCEPT_KEYWORDS="x86 ~x86"
AUTOCLEAN="yes"
CFLAGS="-march=pentium4 -O3 -pipe -fomit-frame-pointer"
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/share/config
/usr/lib/X11/xkb /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="-march=pentium4 -O3 -pipe -fomit-frame-pointer"
DISTDIR="/usr/portage/distfiles"
FEATURES="autoaddcvs autoconfig ccache distlocks sandbox sfperms"
GENTOO_MIRRORS="ftp://ftp.gtlib.cc.gatech.edu/pub/gentoo
http://distro.ibiblio.org/pub/Linux/distributions/gentoo/
ftp://distro.ibiblio.org/pub/Linux/distributions/gentoo/ http://gentoo.ccccom.com"
LDFLAGS=""
MAKEOPTS="-j2"
PKGDIR="/usr/portage/packages"
PORTAGE_TMPDIR="/var/tmp"
PORTDIR="/usr/portage"
PORTDIR_OVERLAY=""
SYNC="rsync://rsync.gentoo.org/gentoo-portage"
USE="x86 X acl acpi aim alsa apm arts artworkextra athena avi berkdb
bigger-fonts bitmap-fonts bluetooth bootspla bzlib c++ cddb cdr cdrom chroot
codecs crypt cups dhcp divx4linux dvd emacs encode esd fam flac foomaticdb
fortran ftp gcj gdbm gif gnome gnomedb gpm gstreamer gtk gtk2 icc imagemagick
imap imlib inifile ipv6 java javadoc javascript jp2 jpeg junit kde kerberos krb4
latex libgd libwww lids mad md5sum mikmod mime motif mozilla mp3 mpeg mpeg4
mplayer nagios-s ncurses netbeans nls oggvorbis opengl oscar oss pam pcmcia pda
pdf pdfkit pdflib perl php png pnp posix python qt quicktime readline sdl slang
spell ssl svga tcltk tcpd tetex thumbnail tiff truetype virus-scan wifi xemacs
xine xml xml2 xmms xv xvid xvmc zlib"
Comment 1 SpanKY gentoo-dev 2005-01-01 19:29:11 UTC

*** This bug has been marked as a duplicate of 73435 ***