Bug 16870 - app-games/asc-1.11.0.2.ebuild won't build
|
Bug#:
16870
|
Product: Gentoo Linux
|
Version: unspecified
|
Platform: All
|
|
OS/Version: All
|
Status: RESOLVED
|
Severity: normal
|
Priority: P2
|
|
Resolution: FIXED
|
Assigned To: games@gentoo.org
|
Reported By: nospam@dolney.com
|
|
Component: Games
|
|
|
URL:
|
|
Summary: app-games/asc-1.11.0.2.ebuild won't build
|
|
Keywords:
|
|
Status Whiteboard:
|
|
Opened: 2003-03-05 00:08 0000
|
This build dies in a segmentation fault on my machine. It seems the link
command
(pasted below) is too long! If I delete all the multiple copies of -lm and
-lpthread, it will link OK.
Reproducible: Always
Steps to Reproduce:
1.emerge asc
2.
3.
Actual Results:
g++ -I/usr/include/SDL -D_REENTRANT -I/usr/include/SDLmm -Dkarteneditor
-DFREEMAPZOOM -DNEWKEYB -I/usr/include/paragui -I/usr/include/freetype2
-I/usr/include/SDL -D_REENTRANT -march=athlon-tbird -O3 -fomit-frame-pointer
-pipe -Wno-sign-compare -funsigned-char -D_UNIX_ -D_SDL_ -o asc_mapedit
edevents.o edgen.o edglobal.o edmain.o edselfnt.o edmisc.o weather.o typen.o
strtmesg.o stack.o spfst.o sgstream.o pd.o palette.o newfont.o misc.o
loadpcxc.o
loaders.o loadbi3.o dlg_box.o dialog.o basestrm.o basegfx.o attack.o
CLoadable.o
Property.o PropertyGroup.o gameoptions.o Named.o buildingtype.o vehicletype.o
containerbase.o mapalgorithms.o viewcalculation.o gamemap.o password.o
password_dialog.o research.o mapdisplay.o ascstring.o graphicset.o vehicle.o
buildings.o networkdata.o resourcenet.o textfileparser.o terraintype.o
objecttype.o textfiletags.o itemrepository.o stringtokenizer.o music.o
messages.o paradialog.o textfile_evaluation.o -Wl,-rpath -Wl,/usr/lib
-Wl,-rpath
-Wl,/usr/lib ../../../source/sdl/.libs/libsdl.a -L/usr/lib -lm -lm
-L/usr/X11R6/lib -lpthread -lm -lm -lm -lpthread -lm -lm -lm -lm -lm -lm -lm
-lpthread -lpthread -lpthread -lm -lm -lpthread -lm -lm -lpthread
/usr/lib/libSDL_mixer.so -lpthread -lpthread -lpthread -lpthread -lpthread
-lpthread -lm -lm -lpthread -lpthread -lpthread -lpthread -lm -lm -lpthread -lm
-lm -lpthread -lpthread -lpthread -lpthread -lm -lm -lpthread -lm -lm -lpthread
/usr/lib/libsmpeg.so -lpthread -lpthread -lpthread -lm -lm -lpthread
../../../source/libs/triangul/.libs/libtriangul.a /usr/lib/libSDLmm.so -lm -lm
-lm -lpthread -lbz2 /usr/lib/libparagui.so -lm -lpthread /usr/lib/libphysfs.so
-lreadline -lcurses -ltiff -lm /usr/lib/libesd.so /usr/lib/libaudiofile.so -lm
-lX11 -lXext -ldl -lpthread /usr/lib/libSDL_image.so -lpthread
/usr/lib/libjpeg.so -lpng -lz /usr/lib/libSDL.so -lpthread /usr/lib/libexpat.so
/usr/lib/libfreetype.so -lstdc++
collect2: ld terminated with signal 11 [Segmentation fault], core dumped
make[4]: *** [asc_map2pcx] Error 1
make[4]: *** Waiting for unfinished jobs....
collect2: ld terminated with signal 11 [Segmentation fault], core dumped
make[4]: *** [asc_mapedit] Error 1
make[4]: Leaving directory
`/var/tmp/portage/asc-1.11.0.2/work/asc-1.11.0.2/source/unix/mapeditor'
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"
interesting, i just cried when it segfaulted
1.13.5.1 builds and runs ok can the version be bumped up in the official
portage tree
also here 1.13.5.1 builds and runs ok after just changing ebuild name.
only /doc/* do not get istalled
I support a version bump in portage
I would also like to see this bumped to the latest version, I've never been
able to get 1.11.x.x to work even when it DID compile.