First Last Prev Next    No search results available      Search page      Enter new bug
Bug#: 82836
Alias:
Product:
Component:
Status: RESOLVED
Resolution: FIXED
Assigned To: Gentoo Games <games@gentoo.org>
Hardware:
OS:
Version:
Priority:
Severity:
Reporter: Christian Lemke <gentoo@chlhp.de>
Add CC:
CC:
URL:
Summary:
Status Whiteboard:
Keywords:

Filename Description Type Creator Created Size Actions
Create a New Attachment (proposed patch, testcase, etc.) View All

Bug 82836 depends on: Show dependency tree
Show dependency graph
Bug 82836 blocks:
Votes: 0    Show votes for this bug    Vote for this bug

Additional Comments: (this is where you put emerge --info)







View Bug Activity   |   Format For Printing   |   XML   |   Clone This Bug


Description:   Opened: 2005-02-21 09:05 0000
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 From Mr. Bones. 2005-02-21 09:07:37 0000 -------
reopen with the output of emerge --info

------- Comment #2 From Christian Lemke 2005-02-21 09:15:13 0000 -------
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 From Mr. Bones. 2005-02-21 09:28:37 0000 -------
remerge gcc and try it again please.

------- Comment #4 From Christian Lemke 2005-02-21 09:36:20 0000 -------
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 From Mr. Bones. 2005-02-21 09:39:04 0000 -------
what's the output of g++ -dumpversion

------- Comment #6 From Christian Lemke 2005-02-21 09:41:53 0000 -------
3.4.3-20050110

------- Comment #7 From Christian Lemke 2005-02-21 09:43:12 0000 -------
I think the configure script has a problem with the additional minus with the
timestamp.

------- Comment #8 From Mr. Bones. 2005-02-21 09:45:17 0000 -------
yeah.  that's not right.  it should just be 3.4.3

------- Comment #9 From Christian Lemke 2005-02-21 09:46:52 0000 -------
But it's the first configure script that has this problem. Strange...

------- Comment #10 From Mr. Bones. 2005-02-21 09:51:17 0000 -------
it's not an autoconf configure script.

------- Comment #11 From Christian Lemke 2005-02-21 09:56:36 0000 -------
What does this mean and what can we do now?

------- Comment #12 From Christian Lemke 2005-02-21 10:26:26 0000 -------
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 From Mr. Bones. 2005-02-21 11:40:49 0000 -------
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 From Christian Lemke 2005-02-21 12:35:21 0000 -------
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 From Christian Lemke 2005-02-22 00:36:41 0000 -------
Now the configure script works without problems. Thank you for the patch.

First Last Prev Next    No search results available      Search page      Enter new bug