Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 82943 - media-libs/imlib2-1.2.0.20050220 doesn't properly detect the version of gcc in use
Summary: media-libs/imlib2-1.2.0.20050220 doesn't properly detect the version of gcc i...
Status: RESOLVED DUPLICATE of bug 73435
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: New packages (show other bugs)
Hardware: x86 Linux
: High normal (vote)
Assignee: SpanKY
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2005-02-22 04:43 UTC by Mike Auty (RETIRED)
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 Mike Auty (RETIRED) gentoo-dev 2005-02-22 04:43:38 UTC
When attempting to emerge imlib, the compilation fails saying certain gcc files cannot be found by grep or sed.  The reason for this is that imlib has incorrectly detected the version of gcc as simply 3.4.3, rather than 3.4.3-20050110.  

Reproducible: Always
Steps to Reproduce:
1. Ensure you're running a version of gcc that has additional version information (such as gcc-3.4.3-20050110)
2. Emerge imlib
3.

Actual Results:  
(cd .libs && rm -f png.la && ln -s ../png.la png.la)
if /bin/sh ../../../libtool --mode=compile i686-pc-linux-gnu-gcc -DHAVE_CONFIG_H
-I. -I. -I../../.. -I. -I../../.. -I../../../src/lib
-I../../../src/modules/loaders -I/usr/include/freetype2 -I/usr/X11R6/include   
 -mtune=pentium4 -march=pentium3 -O3 -fomit-frame-pointer -MT loader_tiff.lo -MD
-MP -MF ".deps/loader_tiff.Tpo" -c -o loader_tiff.lo loader_tiff.c; \
then mv -f ".deps/loader_tiff.Tpo" ".deps/loader_tiff.Plo"; else rm -f
".deps/loader_tiff.Tpo"; exit 1; fi
 i686-pc-linux-gnu-gcc -DHAVE_CONFIG_H -I. -I. -I../../.. -I. -I../../..
-I../../../src/lib -I../../../src/modules/loaders -I/usr/include/freetype2
-I/usr/X11R6/include -mtune=pentium4 -march=pentium3 -O3 -fomit-frame-pointer
-MT loader_tiff.lo -MD -MP -MF .deps/loader_tiff.Tpo -c loader_tiff.c  -fPIC
-DPIC -o .libs/loader_tiff.o
 i686-pc-linux-gnu-gcc -DHAVE_CONFIG_H -I. -I. -I../../.. -I. -I../../..
-I../../../src/lib -I../../../src/modules/loaders -I/usr/include/freetype2
-I/usr/X11R6/include -mtune=pentium4 -march=pentium3 -O3 -fomit-frame-pointer
-MT loader_tiff.lo -MD -MP -MF .deps/loader_tiff.Tpo -c loader_tiff.c -o
loader_tiff.o >/dev/null 2>&1
/bin/sh ../../../libtool --mode=link i686-pc-linux-gnu-gcc  -mtune=pentium4
-march=pentium3 -O3 -fomit-frame-pointer   -o tiff.la -rpath
/usr/lib/imlib2/loaders -module -avoid-version loader_tiff.lo -ltiff
../../../src/lib/libImlib2.la 
grep: /usr/lib/gcc/i686-pc-linux-gnu/3.4.3/libstdc++.la: No such file or directory
/bin/sed: can't read /usr/lib/gcc/i686-pc-linux-gnu/3.4.3/libstdc++.la: No such
file or directory
libtool: link: `/usr/lib/gcc/i686-pc-linux-gnu/3.4.3/libstdc++.la' is not a
valid libtool archive
make[4]: *** [tiff.la] Error 1
make[4]: Leaving directory
`/var/tmp/portage/imlib2-1.2.0.20050220/work/imlib2/src/modules/loaders'
make[3]: *** [all-recursive] Error 1
make[3]: Leaving directory
`/var/tmp/portage/imlib2-1.2.0.20050220/work/imlib2/src/modules'
make[2]: *** [all-recursive] Error 1
make[2]: Leaving directory `/var/tmp/portage/imlib2-1.2.0.20050220/work/imlib2/src'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/var/tmp/portage/imlib2-1.2.0.20050220/work/imlib2'
make: *** [all] Error 2
 * Please do not contact the E team about bugs in Gentoo.
 * Only contact vapier@gentoo.org via e-mail or bugzilla.
 * Remember, this stuff is CVS only code so dont cry when
 * I break you :).

!!! ERROR: media-libs/imlib2-1.2.0.20050220 failed.
!!! Function enlightenment_die, Line 73, Exitcode 0
!!! emake failed
!!! SEND BUG REPORTS TO vapier@gentoo.org NOT THE E TEAM
!!! If you need support, post the topmost build error, NOT this status message.


Expected Results:  
Compiled.

Portage 2.0.51-r15 (default-linux/x86/2005.0, gcc-3.4.3-20050110,
glibc-2.3.4.20050125-r0, 2.6.10 i686)
=================================================================
System uname: 2.6.10 i686 Intel(R) Pentium(R) M processor 1400MHz
Gentoo Base System version 1.6.9
Python:              dev-lang/python-2.3.5 [2.3.5 (#1, Feb 21 2005, 10:20:05)]
ccache version 2.3 [enabled]
dev-lang/python:     2.3.5
sys-devel/autoconf:  2.59-r6, 2.13
sys-devel/automake:  1.7.9-r1, 1.8.5-r3, 1.5, 1.4_p6, 1.6.3, 1.9.4
sys-devel/binutils:  2.15.92.0.2-r3
sys-devel/libtool:   1.5.10-r4
virtual/os-headers:  2.6.8.1-r2
ACCEPT_KEYWORDS="x86 ~x86"
AUTOCLEAN="yes"
CFLAGS="-mtune=pentium4 -march=pentium3 -O3 -fomit-frame-pointer"
CHOST="i686-pc-linux-gnu"
CONFIG_PROTECT="/etc /usr/kde/2/share/config /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="-mtune=pentium4 -march=pentium3 -O3 -fomit-frame-pointer"
DISTDIR="/usr/portage/distfiles"
FEATURES="autoaddcvs autoconfig ccache distlocks sandbox sfperms"
GENTOO_MIRRORS="http://distfiles.gentoo.org
http://distro.ibiblio.org/pub/Linux/distributions/gentoo"
MAKEOPTS="-j1"
PKGDIR="/usr/portage/packages"
PORTAGE_TMPDIR="/var/tmp"
PORTDIR="/usr/portage"
PORTDIR_OVERLAY="/usr/local/overlays/SHCtools /usr/local/overlays/personal"
SYNC="rsync://rsync.gentoo.org/gentoo-portage"
USE="x86 X aalib acl acpi adns alsa apm avi bash-completion berkdb bitmap-fonts
boundschecking cdr crypt cups dlloader dvd emboss encode esd f77 flac foomaticdb
fortran gdbm gif glitz gnome gstreamer gtk gtk2 hal hardened imagemagick imlib
ipv6 java jpeg junit ldap libg++ libwww mad mailwrapper mikmod motif mozilla
mpeg ncurses nls nptl nptlonly ntlm oggvorbis opengl oss pam pcmcia pdflib pic
pie png postgres python quicktime readline samba sdl slang snmp spell ssl svg
svga tcpd tetex threads tiff truetype truetype-fonts type1-fonts xml2 xv zlib"
Unset:  ASFLAGS, CBUILD, CTARGET, LANG, LC_ALL, LDFLAGS
Comment 1 Mike Auty (RETIRED) gentoo-dev 2005-02-22 04:45:20 UTC
Sorry, got the version number wrong, it's imlib2, and it's 1.2.20-20050220...
Comment 2 SpanKY gentoo-dev 2005-02-22 20:18:56 UTC
run `fix_libtool_files.sh`

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