Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 29500 - atanks 0.9.9d fails to build
Summary: atanks 0.9.9d fails to build
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-09-24 04:27 UTC by Paul Eggleton
Modified: 2003-10-02 12:25 UTC (History)
0 users

See Also:
Package list:
Runtime testing required: ---


Attachments
Log of attempting to emerge atanks-0.9.9d (atanks-emerge.log,15.24 KB, text/plain)
2003-09-24 04:29 UTC, Paul Eggleton
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Paul Eggleton 2003-09-24 04:27:51 UTC
I try to emerge atanks 0.9.9d, but there seems to be some compatibility issue with the 
version of allegro (4.0.3) on my system. emerge output to be attached. 
 
I tried to build newer versions of atanks from source but they fail in the same way. 

Reproducible: Always
Steps to Reproduce:
1. emerge atanks 
 
Actual Results:  
emerge failed to merge atanks. 

Expected Results:  
Correctly install the atanks package. 

It may be worth noting that atanks 1.0.0rc2 is out. 
http://atanks.sourceforge.net/ 
 
emerge info output: 
 
Portage 2.0.49-r3 (default-x86-1.4, gcc-3.2.3, glibc-2.3.2-r1, 2.4.21) 
================================================================= 
System uname: 2.4.21 i686 AMD Athlon(tm) XP 
ACCEPT_KEYWORDS="x86" 
AUTOCLEAN="yes" 
CFLAGS="-march=athlon-xp -O3 -pipe -fomit-frame-pointer" 
CHOST="i686-pc-linux-gnu" 
COMPILER="gcc3" 
CONFIG_PROTECT="/etc /var/qmail/control /usr/kde/2/share/config 
/usr/kde/3/share/config /usr/X11R6/lib/X11/xkb /usr/kde/3.1/share/config 
/usr/share/config" 
CONFIG_PROTECT_MASK="/etc/gconf /etc/env.d" 
CXXFLAGS="-march=athlon-xp -O3 -pipe -fomit-frame-pointer" 
DISTDIR="/usr/portage/distfiles" 
FEATURES="sandbox ccache autoaddcvs" 
GENTOO_MIRRORS="ftp://gazza.citylink.co.nz/gentoo 
http://public.www.planetmirror.com/pub/gentoo http://gentoo.oregonstate.edu/ 
http://www.ibiblio.org/pub/Linux/distributions/gentoo" 
MAKEOPTS="-j2" 
PKGDIR="/usr/portage/packages" 
PORTAGE_TMPDIR="/var/tmp" 
PORTDIR="/usr/portage" 
PORTDIR_OVERLAY="" 
SYNC="rsync://rsync.au.gentoo.org/gentoo-portage" 
USE="x86 oss apm avi crypt encode foomaticdb libg++ mad ncurses pdflib quicktime 
spell truetype xmms xv zlib gdbm berkdb slang readline tetex svga tcltk java guile 
mysql gpm tcpd pam libwww ssl perl python imlib oggvorbis gtk motif opengl scanner X 
gtk2 -gnome -alsa 3dnow mmx aalib acpi cdr cups kde qt arts sdl xml2 samba usb 
-mikmod -mpeg jpeg gif png -nls -esd dvd"
Comment 1 Paul Eggleton 2003-09-24 04:29:05 UTC
Created attachment 18258 [details]
Log of attempting to emerge atanks-0.9.9d
Comment 2 Mr. Bones. (RETIRED) gentoo-dev 2003-09-24 11:29:02 UTC
Can you try merging allegro and atanks again with CFLAGS="-pipe" CXXFLAGS="-pipe"
It works fine for me here with all the versions of the packages that you mention.
My CFLAGS are set to "-mcpu=i686 -O3 -pipe"

I don't plan to add the rc releases to portage since the author says 1.0 will
be out shortly.

Thanks.
Comment 3 Paul Eggleton 2003-09-25 04:18:39 UTC
No, I'm afraid setting CFLAGS and CXXFLAGS to "-pipe" doesn't solve it (same
errors during 
compile). 
Comment 4 Mr. Bones. (RETIRED) gentoo-dev 2003-09-25 12:40:30 UTC
You remerged allegro with just "-pipe" ?  Not just atanks.  The problem seems
to be related to allegro.
Comment 5 Paul Eggleton 2003-09-25 16:36:58 UTC
Yes that's right, first allegro then atanks.
Comment 6 SpanKY gentoo-dev 2003-09-26 13:04:20 UTC
well, latest allegro (4.1.11) which is in unstable fixes this ...
Comment 7 Mr. Bones. (RETIRED) gentoo-dev 2003-09-26 17:43:12 UTC
What is it that is being "fixed"?  allegro-4.0.3 works fine for me.  Is the
problem specific to athlon-xp?  That's the only difference I see between
Paul's
setup and mine as far as I can see.
Comment 8 Paul Eggleton 2003-09-26 18:05:50 UTC
Allegro 4.1.11 fixes it. Thanks!

I'm not sure what's causing 4.0.3 not to work, is there anything else I can
do to help debug it if you want to stick with it in stable?
Comment 9 Mr. Bones. (RETIRED) gentoo-dev 2003-09-26 20:55:04 UTC
I'm very curious to know why it works for me but not for you.  Could you
try
it with MAKEOPTS="-j1" and see if that works for you.  I wonder if there
is an
error in the Makefiles that could cause this linking error.
Comment 10 Paul Eggleton 2003-09-26 21:34:40 UTC
Nope, MAKEOPTS="-j1" doesn't seem to help either.
Comment 11 Mr. Bones. (RETIRED) gentoo-dev 2003-09-26 21:50:07 UTC
Hmmmm.  Ok, thanks for trying.  I'm really starting to think that allegro
4.0.3
doesn't like athlon-xp for some reason.  I wonder if bug 24775 is caused
by
this same thing.
Comment 12 SpanKY gentoo-dev 2003-10-02 12:25:54 UTC
that function doesnt exist in 4.0.3 ...
like if you unpack the source and grep for it, you wont find it ;)