<?xml version="1.0" encoding="UTF-8" standalone="yes" ?>
<!DOCTYPE bugzilla SYSTEM "http://bugs.gentoo.org/bugzilla.dtd">

<bugzilla version="2.22.7"
          urlbase="http://bugs.gentoo.org/"
          maintainer="bugzilla@gentoo.org"
>

    <bug>
          <bug_id>82836</bug_id>
          
          <creation_ts>2005-02-21 09:05 0000</creation_ts>
          <short_desc>ScumVM 0.7.0: configure error with gcc 3.4.3-20050110</short_desc>
          <delta_ts>2005-02-22 00:36:41 0000</delta_ts>
          <reporter_accessible>1</reporter_accessible>
          <cclist_accessible>1</cclist_accessible>
          <classification_id>1</classification_id>
          <classification>Unclassified</classification>
          <product>Gentoo Linux</product>
          <component>Games</component>
          <version>unspecified</version>
          <rep_platform>All</rep_platform>
          <op_sys>Linux</op_sys>
          <bug_status>RESOLVED</bug_status>
          <resolution>FIXED</resolution>
          
          
          
          <priority>P2</priority>
          <bug_severity>major</bug_severity>
          <target_milestone>---</target_milestone>
          
          
          
          <everconfirmed>1</everconfirmed>
          <reporter>gentoo@chlhp.de</reporter>
          <assigned_to>games@gentoo.org</assigned_to>
          

      

      
          <long_desc isprivate="0">
            <who>gentoo@chlhp.de</who>
            <bug_when>2005-02-21 09:05:29 0000</bug_when>
            <thetext>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&apos; option is obsolete; use `-n 1&apos; 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&apos;s gcc 3.x as mentioned...</thetext>
          </long_desc>
          <long_desc isprivate="0">
            <who>mr_bones_@gentoo.org</who>
            <bug_when>2005-02-21 09:07:37 0000</bug_when>
            <thetext>reopen with the output of emerge --info</thetext>
          </long_desc>
          <long_desc isprivate="0">
            <who>gentoo@chlhp.de</who>
            <bug_when>2005-02-21 09:15:13 0000</bug_when>
            <thetext>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=&quot;x86 ~x86&quot;
AUTOCLEAN=&quot;yes&quot;
CFLAGS=&quot;-O2 -march=pentium3 -mtune=pentium3 -fomit-frame-pointer -pipe&quot;
CHOST=&quot;i686-pc-linux-gnu&quot;
CONFIG_PROTECT=&quot;/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&quot;
CONFIG_PROTECT_MASK=&quot;/etc/gconf /etc/terminfo /etc/env.d&quot;
CXXFLAGS=&quot;-O2 -march=pentium3 -mtune=pentium3 -fomit-frame-pointer -pipe -fvisibility-inlines-hidden&quot;
DISTDIR=&quot;/usr/portage/distfiles&quot;
FEATURES=&quot;autoaddcvs autoconfig ccache distlocks sandbox sfperms&quot;
GENTOO_MIRRORS=&quot;http://ftp.tu-ilmenau.de/Mirrors/gentoo http://ftp.uni-erlangen.de/pub/mirrors/gentoo http://mirrors.sec.informatik.tu-darmstadt.de/gentoo&quot;
LANG=&quot;de_DE@euro&quot;
LDFLAGS=&quot;-Wl,-O1&quot;
MAKEOPTS=&quot;-j2&quot;
PKGDIR=&quot;/usr/portage/packages&quot;
PORTAGE_TMPDIR=&quot;/var/tmp&quot;
PORTDIR=&quot;/usr/portage&quot;
PORTDIR_OVERLAY=&quot;/usr/local/portage&quot;
SYNC=&quot;rsync://rsync.gentoo.org/gentoo-portage&quot;
USE=&quot;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&quot;
Unset:  ASFLAGS, CBUILD, CTARGET, LC_ALL
</thetext>
          </long_desc>
          <long_desc isprivate="0">
            <who>mr_bones_@gentoo.org</who>
            <bug_when>2005-02-21 09:28:37 0000</bug_when>
            <thetext>remerge gcc and try it again please.</thetext>
          </long_desc>
          <long_desc isprivate="0">
            <who>gentoo@chlhp.de</who>
            <bug_when>2005-02-21 09:36:20 0000</bug_when>
            <thetext>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.)</thetext>
          </long_desc>
          <long_desc isprivate="0">
            <who>mr_bones_@gentoo.org</who>
            <bug_when>2005-02-21 09:39:04 0000</bug_when>
            <thetext>what&apos;s the output of g++ -dumpversion</thetext>
          </long_desc>
          <long_desc isprivate="0">
            <who>gentoo@chlhp.de</who>
            <bug_when>2005-02-21 09:41:53 0000</bug_when>
            <thetext>3.4.3-20050110
</thetext>
          </long_desc>
          <long_desc isprivate="0">
            <who>gentoo@chlhp.de</who>
            <bug_when>2005-02-21 09:43:12 0000</bug_when>
            <thetext>I think the configure script has a problem with the additional minus with the timestamp.</thetext>
          </long_desc>
          <long_desc isprivate="0">
            <who>mr_bones_@gentoo.org</who>
            <bug_when>2005-02-21 09:45:17 0000</bug_when>
            <thetext>yeah.  that&apos;s not right.  it should just be 3.4.3</thetext>
          </long_desc>
          <long_desc isprivate="0">
            <who>gentoo@chlhp.de</who>
            <bug_when>2005-02-21 09:46:52 0000</bug_when>
            <thetext>But it&apos;s the first configure script that has this problem. Strange...</thetext>
          </long_desc>
          <long_desc isprivate="0">
            <who>mr_bones_@gentoo.org</who>
            <bug_when>2005-02-21 09:51:17 0000</bug_when>
            <thetext>it&apos;s not an autoconf configure script.</thetext>
          </long_desc>
          <long_desc isprivate="0">
            <who>gentoo@chlhp.de</who>
            <bug_when>2005-02-21 09:56:36 0000</bug_when>
            <thetext>What does this mean and what can we do now?</thetext>
          </long_desc>
          <long_desc isprivate="0">
            <who>gentoo@chlhp.de</who>
            <bug_when>2005-02-21 10:26:26 0000</bug_when>
            <thetext>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&apos;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.
</thetext>
          </long_desc>
          <long_desc isprivate="0">
            <who>mr_bones_@gentoo.org</who>
            <bug_when>2005-02-21 11:40:49 0000</bug_when>
            <thetext>Looks like the gcc version detection code is broken in the configure script provided by upstream.  I&apos;ve patched it to work with the version you&apos;re getting.

resync in a bit and try it again.</thetext>
          </long_desc>
          <long_desc isprivate="0">
            <who>gentoo@chlhp.de</who>
            <bug_when>2005-02-21 12:35:21 0000</bug_when>
            <thetext>I re-emerged gcc but nothing changed...
I have done a sync but it&apos;s not in the portage (mirror) yet.
I will try it tomorrow...</thetext>
          </long_desc>
          <long_desc isprivate="0">
            <who>gentoo@chlhp.de</who>
            <bug_when>2005-02-22 00:36:41 0000</bug_when>
            <thetext>Now the configure script works without problems. Thank you for the patch.</thetext>
          </long_desc>
      
    </bug>

</bugzilla>