Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 20905 - freecraft-1.18 fails to compile
Summary: freecraft-1.18 fails to compile
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: [OLD] Games (show other bugs)
Hardware: x86 Linux
: High normal (vote)
Assignee: Gentoo Games
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2003-05-13 04:43 UTC by Daniel Armyr
Modified: 2003-06-22 14: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 Daniel Armyr 2003-05-13 04:43:33 UTC
When emerging frecraft-1.18, compilation breaks during linking complaining about
certain missing object files. Inspection of the output when emerging indicates
that these files are in fact not compiled. I have emerged several times with
equal results. When using ebuild to extract the source and then running 'make
depend && make' in the work dir, said files are compiled without error. 

The output right before the exit is as follows:

gcc -O2 -march=pentium2 -pipe -fomit-frame-pointer -funroll-loops
-falign-functions=4 -pipe -fsigned-char -fomit-frame-pointer -fconserve-space
-fexpensive-optimizations -ffast-math  -I./src/include -I/usr/X11R6/include
-I/usr/local/include   -I./src/movie/vp31/include  -DUSE_CCL '-DVERSION="1.18"'
-DUSE_SDL -DUSE_SDLA -I/usr/include/SDL -D_REENTRANT -DUSE_ZLIB -DWITH_SOUND   
      -DUNIT_ON_MAP -DNEW_AI -DUSE_LIBMODPLUG -DUSE_HP_FOR_XP -DNEW_FOW
-DBUILDING_DESTROYED  -o tools/startool tools/startool.c -L/usr/X11R6/lib
-L/usr/local/lib   -lpng -lz -lm  ./src/clone/obj/mpq.o
gcc -o freecraft src/action/obj/action_attack.o src/action/obj/action_board.o
src/action/obj/action_build.o src/action/obj/action_demolish.o 
[...very many .o files...]
src/video/obj/new_X11.o src/video/obj/png.o src/video/obj/sdl.o
src/video/obj/sprite.o src/video/obj/svgalib.o src/video/obj/sweepline.o
src/video/obj/video.o src/video/obj/wince.o etlib/obj/hash.o etlib/obj/prgname.o
-L/usr/X11R6/lib -L/usr/local/lib   -lpng -lz -lm  -lm -L/usr/lib
-Wl,-rpath,/usr/lib -lSDL -lpthread -ldl -lz     -lz -lm -I. -O2 -march=pentium2
-pipe -fomit-frame-pointer -funroll-loops -falign-functions=4 -pipe
-fsigned-char -fomit-frame-pointer -fconserve-space -fexpensive-optimizations
-ffast-math  -I./src/include -I/usr/X11R6/include -I/usr/local/include  
-I./src/movie/vp31/include  -DUSE_CCL '-DVERSION="1.18"' -DUSE_SDL -DUSE_SDLA
-I/usr/include/SDL -D_REENTRANT -DUSE_ZLIB -DWITH_SOUND          -DUNIT_ON_MAP
-DNEW_AI -DUSE_LIBMODPLUG -DUSE_HP_FOR_XP -DNEW_FOW -DBUILDING_DESTROYED 
gcc: src/action/obj/action_attack.o: No such file or directory
gcc: src/action/obj/action_board.o: No such file or directory
gcc: src/action/obj/action_build.o: No such file or directory
gcc: src/action/obj/action_demolish.o: No such file or directory
gcc: src/action/obj/action_die.o: No such file or directory
gcc: src/action/obj/action_follow.o: No such file or directory
gcc: src/action/obj/action_harvest.o: No such file or directory
gcc: src/action/obj/action_minegold.o: No such file or directory
gcc: src/action/obj/action_move.o: No such file or directory
gcc: src/action/obj/action_patrol.o: No such file or directory
gcc: src/action/obj/action_repair.o: No such file or directory
gcc: src/action/obj/action_research.o: No such file or directory
gcc: src/action/obj/action_resource.o: No such file or directory
gcc: src/action/obj/action_returngoods.o: No such file or directory
gcc: src/action/obj/action_spellcast.o: No such file or directory
gcc: src/action/obj/action_stand.o: No such file or directory
gcc: src/action/obj/action_still.o: No such file or directory
gcc: src/action/obj/action_train.o: No such file or directory
gcc: src/action/obj/action_unload.o: No such file or directory
gcc: src/action/obj/action_upgradeto.o: No such file or directory
gcc: src/action/obj/actions.o: No such file or directory
gcc: src/action/obj/command.o: No such file or directory
make: *** [freecraft] Error 1

!!! ERROR: app-games/freecraft-1.18 failed.
!!! Function src_compile, Line 29, Exitcode 2
!!! build failed

cuardin@quadii:~;)




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




cuardin@quadii:~;)emerge info
Portage 2.0.47-r10 (default-x86-1.4, gcc-3.2.2, glibc-2.3.1-r2)
=================================================================
System uname: 2.4.20-ck6 i686 Transmeta(tm) Crusoe(tm) Processor TM5600
GENTOO_MIRRORS="http://ftp.gentoo.or.kr/ http://gentoo.gnukorea.org/
http://distro.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="/usr/local/portage"
USE="x86 oss apm avi crypt cups encode gif jpeg libg++ mikmod mmx mpeg ncurses
nls pdflib png spell truetype xml2 xmms xv zlib readline tetex svga tcltk java
guile X sdl gpm tcpd pam libwww ssl python esd imlib oggvorbis gtk qt motif
opengl -3dnow -arts -berkdb curl directfb doc emacs fbcon -gdbm -gnome gphoto2
-kde mozilla perl -quicktime -slang sse usb Xaw3d"
COMPILER="gcc3"
CHOST="i686-pc-linux-gnu"
CFLAGS="-O2 -march=pentium2 -pipe -fomit-frame-pointer -funroll-loops
-falign-functions=4"
CXXFLAGS="-O2 -march=pentium2 -pipe -fomit-frame-pointer -funroll-loops
-falign-functions=4"
ACCEPT_KEYWORDS="x86"
MAKEOPTS="-j2"
AUTOCLEAN="yes"
SYNC="rsync://rsync.gentoo.org/gentoo-portage"
FEATURES="userpriv ccache sandbox usersandbox"

cuardin@quadii:~;)
Comment 1 SpanKY gentoo-dev 2003-06-21 02:59:55 UTC
could you please try out 1.18-r1 ? 
Comment 2 SpanKY gentoo-dev 2003-06-21 04:19:56 UTC
and if the new one failes please try it without usersandbox and userpriv in FEATURES 
Comment 3 Daniel Armyr 2003-06-22 09:12:11 UTC
I have since I reported this bug changed my system. The bug has proven unreproducable on my new system, and I must therefore regretfully say I cannot provide much more assistance in this matter. freecraft-1.18 compiled nicely with both userpriv and usersandbox. Sorry for the inconvenience. I recomend marking this bug as unreproducable.
//Daniel 
Comment 4 SpanKY gentoo-dev 2003-06-22 14:36:16 UTC
lets just assume the new one fixed it ;)