Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 16869 - app-games/criticalmass-0.97-r2.ebuild doesn't build
Summary: app-games/criticalmass-0.97-r2.ebuild doesn't build
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: [OLD] Games (show other bugs)
Hardware: All All
: High normal
Assignee: Gentoo Games
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2003-03-04 23:52 UTC by Derek Dolney
Modified: 2003-06-21 03:31 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 Derek Dolney 2003-03-04 23:52:11 UTC
Fails with numerous errors.

Reproducible: Always
Steps to Reproduce:
1.emerge criticalmass
2.
3.

Actual Results:  
Here is an output of the build attempt:

>>> md5 ;-) CriticalMass-0.97.tar.bz2
>>> Unpacking source...
>>> Unpacking CriticalMass-0.97.tar.bz2 to
/var/tmp/portage/criticalmass-0.97-r2/work
>>> Source unpacked.
creating cache ./config.cache
checking for a BSD compatible install... /bin/install -c
checking whether build environment is sane... yes
checking whether make sets ${MAKE}... yes
checking for working aclocal... found
checking for working autoconf... found
checking for working automake... found
checking for working autoheader... found
checking for working makeinfo... found
checking for Cygwin environment... no
checking for mingw32 environment... no
checking for executable suffix... no
checking for gcc... gcc
checking whether the C compiler (gcc -march=athlon-tbird -O3
-fomit-frame-pointer -pipe ) works... yes
checking whether the C compiler (gcc -march=athlon-tbird -O3
-fomit-frame-pointer -pipe ) is a cross-compiler... no
checking whether we are using GNU C... yes
checking whether gcc accepts -g... yes
checking for c++... g++
checking whether the C++ compiler (g++ -march=athlon-tbird -O3
-fomit-frame-pointer -pipe ) works... yes
checking whether the C++ compiler (g++ -march=athlon-tbird -O3
-fomit-frame-pointer -pipe ) is a cross-compiler... no
checking whether we are using GNU C++... yes
checking whether g++ accepts -g... yes
checking for ranlib... ranlib
checking for working const... yes
checking for main in -lSDL... yes
checking for main in -lSDL_image... yes
checking for main in -lSDL_mixer... yes
checking for mingw32 environment... (cached) no
checking for glBegin in -lGL... yes
checking for sin in -lm... yes
updating cache ./config.cache
creating ./config.status
creating Makefile
creating utilities/Makefile
creating game/Makefile
creating tools/Makefile
creating data/Makefile
creating data/music/Makefile
creating tinyxml/Makefile
creating puckman/Makefile
creating defines.h
make  all-recursive
make[1]: Entering directory
`/var/tmp/portage/criticalmass-0.97-r2/work/CriticalMass-0.97'
Making all in tinyxml
make[2]: Entering directory
`/var/tmp/portage/criticalmass-0.97-r2/work/CriticalMass-0.97/tinyxml'
g++ -DHAVE_CONFIG_H -I. -I. -I..     -W -Wall -I/usr/include/SDL -D_REENTRANT
-march=athlon-tbird -O3 -fomit-frame-pointer -pipe -c tinyxml.cpp
g++ -DHAVE_CONFIG_H -I. -I. -I..     -W -Wall -I/usr/include/SDL -D_REENTRANT
-march=athlon-tbird -O3 -fomit-frame-pointer -pipe -c tinyxmlerror.cpp
g++ -DHAVE_CONFIG_H -I. -I. -I..     -W -Wall -I/usr/include/SDL -D_REENTRANT
-march=athlon-tbird -O3 -fomit-frame-pointer -pipe -c tinyxmlparser.cpp
rm -f libtinyxml.a
ar cru libtinyxml.a tinyxml.o tinyxmlerror.o tinyxmlparser.o
ranlib libtinyxml.a
make[2]: Leaving directory
`/var/tmp/portage/criticalmass-0.97-r2/work/CriticalMass-0.97/tinyxml'
Making all in utilities
make[2]: Entering directory
`/var/tmp/portage/criticalmass-0.97-r2/work/CriticalMass-0.97/utilities'
g++ -DHAVE_CONFIG_H -I. -I. -I..     -W -Wall -I/usr/include/SDL -D_REENTRANT
-march=athlon-tbird -O3 -fomit-frame-pointer -pipe -c Trace.cpp
g++ -DHAVE_CONFIG_H -I. -I. -I..     -W -Wall -I/usr/include/SDL -D_REENTRANT
-march=athlon-tbird -O3 -fomit-frame-pointer -pipe -c Endian.cpp
In file included from
/usr/lib/gcc-lib/i686-pc-linux-gnu/3.2.2/include/g++-v3/backward/iostream.h:31,
                 from Trace.hpp:18,
                 from Trace.cpp:15:
/usr/lib/gcc-lib/i686-pc-linux-gnu/3.2.2/include/g++-v3/backward/backward_warning.h:32:2:
warning: #warning This file includes at least one deprecated or antiquated
header. Please consider using one of the 32 headers found in section 17.4.1.2 of
the C++ standard. Examples include substituting the <X> header for the <X.h>
header for C++ includes, or <sstream> instead of the deprecated header
<strstream.h>. To disable this warning use -Wno-deprecated.
In file included from
/usr/lib/gcc-lib/i686-pc-linux-gnu/3.2.2/include/g++-v3/backward/iostream.h:31,
                 from Trace.hpp:18,
                 from Endian.cpp:16:
/usr/lib/gcc-lib/i686-pc-linux-gnu/3.2.2/include/g++-v3/backward/backward_warning.h:32:2:
warning: #warning This file includes at least one deprecated or antiquated
header. Please consider using one of the 32 headers found in section 17.4.1.2 of
the C++ standard. Examples include substituting the <X> header for the <X.h>
header for C++ includes, or <sstream> instead of the deprecated header
<strstream.h>. To disable this warning use -Wno-deprecated.
g++ -DHAVE_CONFIG_H -I. -I. -I..     -W -Wall -I/usr/include/SDL -D_REENTRANT
-march=athlon-tbird -O3 -fomit-frame-pointer -pipe -c Random.cpp
g++ -DHAVE_CONFIG_H -I. -I. -I..     -W -Wall -I/usr/include/SDL -D_REENTRANT
-march=athlon-tbird -O3 -fomit-frame-pointer -pipe -c Value.cpp
In file included from
/usr/lib/gcc-lib/i686-pc-linux-gnu/3.2.2/include/g++-v3/backward/iostream.h:31,
                 from Trace.hpp:18,
                 from Value.hpp:21,
                 from Value.cpp:15:
/usr/lib/gcc-lib/i686-pc-linux-gnu/3.2.2/include/g++-v3/backward/backward_warning.h:32:2:
warning: #warning This file includes at least one deprecated or antiquated
header. Please consider using one of the 32 headers found in section 17.4.1.2 of
the C++ standard. Examples include substituting the <X> header for the <X.h>
header for C++ includes, or <sstream> instead of the deprecated header
<strstream.h>. To disable this warning use -Wno-deprecated.
g++ -DHAVE_CONFIG_H -I. -I. -I..     -W -Wall -I/usr/include/SDL -D_REENTRANT
-march=athlon-tbird -O3 -fomit-frame-pointer -pipe -c Config.cpp
In file included from
/usr/lib/gcc-lib/i686-pc-linux-gnu/3.2.2/include/g++-v3/backward/iostream.h:31,
                 from Trace.hpp:18,
                 from Config.cpp:20:
/usr/lib/gcc-lib/i686-pc-linux-gnu/3.2.2/include/g++-v3/backward/backward_warning.h:32:2:
warning: #warning This file includes at least one deprecated or antiquated
header. Please consider using one of the 32 headers found in section 17.4.1.2 of
the C++ standard. Examples include substituting the <X> header for the <X.h>
header for C++ includes, or <sstream> instead of the deprecated header
<strstream.h>. To disable this warning use -Wno-deprecated.
g++ -DHAVE_CONFIG_H -I. -I. -I..     -W -Wall -I/usr/include/SDL -D_REENTRANT
-march=athlon-tbird -O3 -fomit-frame-pointer -pipe -c GLVertexArrayEXT.cpp
In file included from
/usr/lib/gcc-lib/i686-pc-linux-gnu/3.2.2/include/g++-v3/backward/iostream.h:31,
                 from Trace.hpp:18,
                 from GLExtension.hpp:30,
                 from GLVertexArrayEXT.hpp:19,
                 from GLVertexArrayEXT.cpp:15:
/usr/lib/gcc-lib/i686-pc-linux-gnu/3.2.2/include/g++-v3/backward/backward_warning.h:32:2:
warning: #warning This file includes at least one deprecated or antiquated
header. Please consider using one of the 32 headers found in section 17.4.1.2 of
the C++ standard. Examples include substituting the <X> header for the <X.h>
header for C++ includes, or <sstream> instead of the deprecated header
<strstream.h>. To disable this warning use -Wno-deprecated.
In file included from Config.hpp:28,
                 from Config.cpp:21:
HashString.hpp:24: `hash' is not a template
HashString.hpp:27: can't make `operator()' into a method -- not in a class
HashString.hpp:32: declaration does not declare anything
HashString.hpp:35: `hash' is not a template
HashString.hpp:38: can't make `operator()' into a method -- not in a class
HashString.hpp:43: declaration does not declare anything
In file included from Config.cpp:21:
Config.hpp:67: `hash' was not declared in this scope
Config.hpp:67: parse error before `>' token
In file included from Config.cpp:23:
ResourceManager.hpp:73: `hash' was not declared in this scope
ResourceManager.hpp:73: parse error before `>' token
Config.cpp: In destructor `Config::~Config()':
Config.cpp:38: `hash_map' undeclared (first use this function)
Config.cpp:38: (Each undeclared identifier is reported only once for each
   function it appears in.)
Config.cpp:38: parse error before `,' token
Config.cpp:39: `ci' undeclared (first use this function)
Config.cpp:39: `_keyValueMap' undeclared (first use this function)
Config.cpp: In member function `void Config::remove(const std::string&)':
Config.cpp:176: parse error before `,' token
Config.cpp: In member function `void Config::saveToFile(bool)':
Config.cpp:204: parse error before `,' token
Config.cpp: In member function `bool Config::getString(const std::string&,
   std::string&)':
Config.cpp:240: parse error before `,' token
Config.cpp: In member function `bool Config::getInteger(const std::string&,
   int&)':
Config.cpp:256: parse error before `,' token
Config.cpp: In member function `bool Config::getBoolean(const std::string&,
   bool&)':
Config.cpp:272: parse error before `,' token
Config.cpp: In member function `bool Config::getFloat(const std::string&,
   float&)':
Config.cpp:288: parse error before `,' token
Config.cpp: In member function `void Config::dump()':
Config.cpp:303: parse error before `,' token
g++ -DHAVE_CONFIG_H -I. -I. -I..     -W -Wall -I/usr/include/SDL -D_REENTRANT
-march=athlon-tbird -O3 -fomit-frame-pointer -pipe -c GLMultiTexture.cpp
In file included from
/usr/lib/gcc-lib/i686-pc-linux-gnu/3.2.2/include/g++-v3/backward/iostream.h:31,
                 from Trace.hpp:18,
                 from GLExtension.hpp:30,
                 from GLMultiTexture.hpp:19,
                 from GLMultiTexture.cpp:15:
/usr/lib/gcc-lib/i686-pc-linux-gnu/3.2.2/include/g++-v3/backward/backward_warning.h:32:2:
warning: #warning This file includes at least one deprecated or antiquated
header. Please consider using one of the 32 headers found in section 17.4.1.2 of
the C++ standard. Examples include substituting the <X> header for the <X.h>
header for C++ includes, or <sstream> instead of the deprecated header
<strstream.h>. To disable this warning use -Wno-deprecated.
make[2]: *** [Config.o] Error 1
make[2]: *** Waiting for unfinished jobs....
make[2]: Leaving directory
`/var/tmp/portage/criticalmass-0.97-r2/work/CriticalMass-0.97/utilities'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory
`/var/tmp/portage/criticalmass-0.97-r2/work/CriticalMass-0.97'
make: *** [all-recursive-am] Error 2
 
!!! ERROR: app-games/criticalmass-0.97-r2 failed.
!!! Function src_compile, Line 35, Exitcode 2
!!! (no error message)


Portage 2.0.47-r8 (default-x86-1.4, gcc-3.2.2, glibc-2.3.2_pre1-r0)
=================================================================
System uname: 2.4.20-gentoo-r1 i686 AMD Athlon(tm) Processor
GENTOO_MIRRORS=" ftp://ftp.gtlib.cc.gatech.edu/pub/gentoo
ftp://csociety-ftp.ecn.purdue.edu/pub/gentoo/
http://194.83.57.11/sites/www.ibiblio.org/gentoo/"
CONFIG_PROTECT="/etc /var/qmail/control /usr/share/config
/usr/kde/2/share/config /usr/kde/3/share/config /usr/X11R6/lib/X11/xkb"
CONFIG_PROTECT_MASK="/etc/gconf /etc/env.d"
PORTDIR="/usr/portage"
DISTDIR="/usr/portage/distfiles"
PKGDIR="/usr/portage/packages"
PORTAGE_TMPDIR="/var/tmp"
PORTDIR_OVERLAY=""
USE="oss perl esd -arts -avi -berkdb -crypt -cups -encode -imlib -kde -libg++
-libwww -mikmod -motif -nls -oggvorbis -pam -python -qt -qtmt -sdl -slang -ssl
-svga -tcpd -xmms x86 3dnow apm bonobo gdbm gif gnome gpm gtk java jpeg maildir
mmx mozilla mpeg ncurses opengl pdflib pic png quicktime readline spell tcltk
tetex truetype X xml2 xv zlib"
COMPILER="gcc3"
CHOST="i686-pc-linux-gnu"
CFLAGS="-march=athlon-tbird -O3 -fomit-frame-pointer -pipe"
CXXFLAGS="-march=athlon-tbird -O3 -fomit-frame-pointer -pipe"
ACCEPT_KEYWORDS="x86 ~x86"
MAKEOPTS="-j2"
AUTOCLEAN="yes"
SYNC="rsync://rsync.gentoo.org/gentoo-portage"
FEATURES="sandbox ccache userpriv usersandbox"
Comment 1 SpanKY gentoo-dev 2003-03-05 00:50:19 UTC
do you use xfree or nvidia for opengl ?
Comment 2 Derek Dolney 2003-03-05 11:39:57 UTC
nvidia.
Comment 3 John Lyon 2003-03-10 18:08:34 UTC
I have the exact same problem, except my CFLAGS are different (only diffenence is that I use -march=pentium4 and his is -march=athlon something).  I tried to emerge the ebuild both as "su" and as "su -" in case it was a problem similar to that for compiling the linux kernel.  I too use Nvidia for my opengl.
Comment 4 alex 2003-04-22 03:01:37 UTC
I have the same problem, I do use nvidia for 3d, gentoo 1.4 2.4.20 kernel, athlon processsor.  
Comment 5 SpanKY gentoo-dev 2003-06-21 03:31:01 UTC
i added a cvs snapshot to portage ... it is supposed to fix all of the gcc-3.x issues 
 
http://cvs.gentoo.org/cgi-bin/viewcvs.cgi/gentoo-x86/app-games/criticalmass/criticalmass-0.98_pre20030719.ebuild?rev=1.1&content-type=text/vnd.viewcvs-markup