Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 82836 - ScumVM 0.7.0: configure error with gcc 3.4.3-20050110
Summary: ScumVM 0.7.0: configure error with gcc 3.4.3-20050110
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: [OLD] Games (show other bugs)
Hardware: All Linux
: High major (vote)
Assignee: Gentoo Games
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2005-02-21 09:05 UTC by Christian Lemke
Modified: 2005-02-22 00:36 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 Christian Lemke 2005-02-21 09:05:29 UTC
When I try to emerge scumvm 0.7 I get the following error message:
Running ScummVM configure...
Looking for C++ compiler... g++
Checking for compiler version... tail: `-1' option is obsolete; use `-n 1' since this will be removed in the future
3.4.3-20050110, bad

The version of your compiler is not supported at this time
Please ensure you are using GCC 2.95.x or GCC 3.x

!!! ERROR: games-engines/scummvm-0.7.0 failed.
!!! Function src_compile, Line 53, Exitcode 1
!!! configure failed


Reproducible: Always
Steps to Reproduce:
1. emerge scumvm



Expected Results:  
I should accept the gcc-version, because it's gcc 3.x as mentioned...
Comment 1 Mr. Bones. (RETIRED) gentoo-dev 2005-02-21 09:07:37 UTC
reopen with the output of emerge --info
Comment 2 Christian Lemke 2005-02-21 09:15:13 UTC
Here the info:
Portage 2.0.51-r15 (default-linux/x86/2004.0, gcc-3.4.3-20050110, glibc-2.3.4.20050125-r0, 2.6.10-gentoo-r7 i686)
=================================================================
System uname: 2.6.10-gentoo-r7 i686 Celeron (Coppermine)
Gentoo Base System version 1.6.9
Python:              dev-lang/python-2.3.5 [2.3.5 (#1, Feb 18 2005, 21:31:16)]
ccache version 2.3 [enabled]
dev-lang/python:     2.3.5
sys-devel/autoconf:  2.13, 2.59-r6
sys-devel/automake:  1.8.5-r3, 1.5, 1.7.9-r1, 1.6.3, 1.4_p6, 1.9.4
sys-devel/binutils:  2.15.92.0.2-r2
sys-devel/libtool:   1.5.10-r4
virtual/os-headers:  2.6.8.1-r2
ACCEPT_KEYWORDS="x86 ~x86"
AUTOCLEAN="yes"
CFLAGS="-O2 -march=pentium3 -mtune=pentium3 -fomit-frame-pointer -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/share/config /var/qmail/control /var/www/localhost/htdocs/phpmyadmin"
CONFIG_PROTECT_MASK="/etc/gconf /etc/terminfo /etc/env.d"
CXXFLAGS="-O2 -march=pentium3 -mtune=pentium3 -fomit-frame-pointer -pipe -fvisibility-inlines-hidden"
DISTDIR="/usr/portage/distfiles"
FEATURES="autoaddcvs autoconfig ccache distlocks sandbox sfperms"
GENTOO_MIRRORS="http://ftp.tu-ilmenau.de/Mirrors/gentoo http://ftp.uni-erlangen.de/pub/mirrors/gentoo http://mirrors.sec.informatik.tu-darmstadt.de/gentoo"
LANG="de_DE@euro"
LDFLAGS="-Wl,-O1"
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 X alsa apache2 apm arts avi berkdb bitmap-fonts cdparanoia cdr crypt cups curl divx4linux doc f77 fam font-server foomaticdb fortran gdbm gif glut gpm gtk gtk2 imagemagick imlib ipv6 java jpeg jpeg2k kde libg++ libwww lm_sensors logitech-mouse mad matroska mmx mmx2 mp3 mpeg mysql ncurses nls nocd nptl nptlonly oggvorbis opengl pam pdflib perl pic png ppds python qt readline samba sdl session slang socket spell sse ssl tcpd tiff truetype truetype-fonts type1-fonts usb xml xml2 xmms xscreensaver xv zlib linguas_de"
Unset:  ASFLAGS, CBUILD, CTARGET, LC_ALL
Comment 3 Mr. Bones. (RETIRED) gentoo-dev 2005-02-21 09:28:37 UTC
remerge gcc and try it again please.
Comment 4 Christian Lemke 2005-02-21 09:36:20 UTC
I can do it again, but I already emerged gcc (and the complete toolchain) twice  and I compiled over 300 different packages without problems.
(I recompile the wole system.)
Comment 5 Mr. Bones. (RETIRED) gentoo-dev 2005-02-21 09:39:04 UTC
what's the output of g++ -dumpversion
Comment 6 Christian Lemke 2005-02-21 09:41:53 UTC
3.4.3-20050110
Comment 7 Christian Lemke 2005-02-21 09:43:12 UTC
I think the configure script has a problem with the additional minus with the timestamp.
Comment 8 Mr. Bones. (RETIRED) gentoo-dev 2005-02-21 09:45:17 UTC
yeah.  that's not right.  it should just be 3.4.3
Comment 9 Christian Lemke 2005-02-21 09:46:52 UTC
But it's the first configure script that has this problem. Strange...
Comment 10 Mr. Bones. (RETIRED) gentoo-dev 2005-02-21 09:51:17 UTC
it's not an autoconf configure script.
Comment 11 Christian Lemke 2005-02-21 09:56:36 UTC
What does this mean and what can we do now?
Comment 12 Christian Lemke 2005-02-21 10:26:26 UTC
I remember that I had 2 version auf gcc3.4 installed: 3.4.3-r1 and 3.4.3.20050110
Maybe that is the reason, why it added the timestamp to the latest version.
I removed now all gcc's except the 20050110 and re-emerge now the 20050110.
Then I will try to emerge ScumVM and will tell you the result in 2 hours.
Comment 13 Mr. Bones. (RETIRED) gentoo-dev 2005-02-21 11:40:49 UTC
Looks like the gcc version detection code is broken in the configure script provided by upstream.  I've patched it to work with the version you're getting.

resync in a bit and try it again.
Comment 14 Christian Lemke 2005-02-21 12:35:21 UTC
I re-emerged gcc but nothing changed...
I have done a sync but it's not in the portage (mirror) yet.
I will try it tomorrow...
Comment 15 Christian Lemke 2005-02-22 00:36:41 UTC
Now the configure script works without problems. Thank you for the patch.