Can't get 0.98 to build, makefile problem, but 0.99 is now out. mightymax root # emerge criticalmass Calculating dependencies ...done! >>> emerge (1 of 1) games-arcade/criticalmass-0.98 to / >>> Downloading http://gentoo.oregonstate.edu/distfiles/CriticalMass-0.98.tar.bz2 --10:33:26-- http://gentoo.oregonstate.edu/distfiles/CriticalMass-0.98.tar.bz2 => `/usr/portage/distfiles/CriticalMass-0.98.tar.bz2' Resolving gentoo.oregonstate.edu... 128.193.0.3 Connecting to gentoo.oregonstate.edu[128.193.0.3]:80... connected. HTTP request sent, awaiting response... 200 OK Length: 2,290,048 [application/x-tar] 100%[====================================>] 2,290,048 55.77K/s ETA 00:00 10:34:07 (54.77 KB/s) - `/usr/portage/distfiles/CriticalMass-0.98.tar.bz2' saved [2290048/2290048] >>> md5 src_uri ;-) CriticalMass-0.98.tar.bz2 >>> Unpacking source... >>> Unpacking CriticalMass-0.98.tar.bz2 to /var/tmp/portage/criticalmass-0.98/work >>> Source unpacked. configure: WARNING: If you wanted to set the --build type, don't use --host. If a cross compiler is detected then cross compile mode will be used. checking for a BSD-compatible install... /bin/install -c checking whether build environment is sane... yes checking for gawk... gawk checking whether make sets ${MAKE}... yes checking for i686-pc-linux-gnu-strip... no checking for strip... strip checking for i686-pc-linux-gnu-gcc... gcc checking for C compiler default output... a.out checking whether the C compiler works... yes checking whether we are cross compiling... no checking for suffix of executables... checking for suffix of object files... o checking whether we are using the GNU C compiler... yes checking whether gcc accepts -g... yes checking for style of include used by make... GNU checking dependency style of gcc... gcc3 checking for i686-pc-linux-gnu-g++... g++ checking whether we are using the GNU C++ compiler... yes checking whether g++ accepts -g... yes checking dependency style of g++... gcc3 checking for i686-pc-linux-gnu-ranlib... no checking for ranlib... ranlib checking for gcc option to accept ANSI C... none needed checking for an ANSI C-conforming const... yes checking for main in -lSDL... yes checking for main in -lSDL_image... yes checking for main in -lSDL_mixer... yes checking build system type... i686-pc-linux-gnu checking host system type... i686-pc-linux-gnu checking for glBegin in -lGL... yes checking for sin in -lm... yes configure: creating ./config.status config.status: creating Makefile config.status: creating utils/Makefile config.status: creating utilssdl/Makefile config.status: creating utilsgl/Makefile config.status: creating game/Makefile config.status: creating tools/Makefile config.status: creating data/Makefile config.status: creating data/music/Makefile config.status: creating tinyxml/Makefile config.status: creating defines.h config.status: executing depfiles commands sed: can't read puckman/Makefile: No such file or directory sed: can't read utilities/Makefile: No such file or directory !!! ERROR: games-arcade/criticalmass-0.98 failed. !!! Function src_compile, Line 27, Exitcode 2 !!! (no error message)
Does 0.99 work by simply renaming the ebuild?
Not for me. It fails for the same reason. So I guess if it works for you then it probably will be as simple as an ebuild renaming.
Hi, from the website one of the change in 0.98 is the removal of puckman from the criticalmass archive... To make it compile, I have made the following modifications: From: src_compile() { egamesconf || die sed -i \ -e "/^CXXFLAGS =.*$/s:$: ${CXXFLAGS}:" \ {game,puckman,tinyxml,tools,utilities}/Makefile \ || die emake || die } To: src_compile() { egamesconf || die sed -i \ -e "/^CXXFLAGS =.*$/s:$: ${CXXFLAGS}:" \ {game,tinyxml,tools,utils}/Makefile \ || die emake || die } It compiles ok, runs ok. I'm returning to play :-)
To make my previous comment clearer: From the list: game,puckman,tinyxml,tools,utilities Remove puckman and rename utilities to utils. Finally, I renamed the modified ebuild to 0.99, and it's working fine. Some interesting details are added, it seems...
Fixed in portage and added to portage... =]