<?xml version="1.0" encoding="UTF-8" standalone="yes" ?>
<!DOCTYPE bugzilla SYSTEM "http://bugs.gentoo.org/bugzilla.dtd">

<bugzilla version="2.22.7"
          urlbase="http://bugs.gentoo.org/"
          maintainer="bugzilla@gentoo.org"
>

    <bug>
          <bug_id>124299</bug_id>
          
          <creation_ts>2006-02-27 12:57 0000</creation_ts>
          <short_desc>games-strategy/attal ~amd64 keyword request</short_desc>
          <delta_ts>2007-02-03 01:59:10 0000</delta_ts>
          <reporter_accessible>1</reporter_accessible>
          <cclist_accessible>1</cclist_accessible>
          <classification_id>1</classification_id>
          <classification>Unclassified</classification>
          <product>Gentoo Linux</product>
          <component>Ebuilds</component>
          <version>unspecified</version>
          <rep_platform>AMD64</rep_platform>
          <op_sys>Linux</op_sys>
          <bug_status>RESOLVED</bug_status>
          <resolution>FIXED</resolution>
          
          
          
          <priority>P2</priority>
          <bug_severity>enhancement</bug_severity>
          <target_milestone>---</target_milestone>
          <dependson>137997</dependson>
    
    <dependson>138461</dependson>
          
          
          <everconfirmed>1</everconfirmed>
          <reporter>xeno@alfa.icis.pcz.pl</reporter>
          <assigned_to>amd64@gentoo.org</assigned_to>
          

      

      
          <long_desc isprivate="0">
            <who>xeno@alfa.icis.pcz.pl</who>
            <bug_when>2006-02-27 12:57:20 0000</bug_when>
            <thetext>The only problem is that it needs /usr/games/lib64 in the LD_LIBRARY_PATH. After fixing this the game appears to be running fine</thetext>
          </long_desc>
          <long_desc isprivate="0">
            <who>thedude0001@gmx.de</who>
            <bug_when>2006-06-25 12:07:48 0000</bug_when>
            <thetext>It doesn&apos;t compile for me, here&apos;s the emerge output:

x86_64-pc-linux-gnu-g++ -c -pipe -Wall -W -O2 -pipe -fno-strict-aliasing -fPIC  -DWITH_SOUND -DQT_NO_DEBUG -DQT_SHARED -DQT_TABLET_SUPPORT -DQT_THREAD_SUPPORT -I/usr/qt/3/mkspecs/linux-g++ -I. -I.. -I/usr/qt/3/include -Imoc/ -o obj/campaign.o campaign.cpp
In file included from fight.cpp:51:
../libClient/attalSound.h:38:21: SDL/SDL.h: No such file or directory
../libClient/attalSound.h:39:27: SDL/SDL_mixer.h: No such file or directory
In file included from fight.cpp:51:
../libClient/attalSound.h:86: error: ISO C++ forbids declaration of `Mix_Music&apos; with no type
../libClient/attalSound.h:86: error: expected `;&apos; before &apos;*&apos; token
../libClient/attalSound.h:87: error: ISO C++ forbids declaration of `Mix_Chunk&apos; with no type
../libClient/attalSound.h:87: error: expected `;&apos; before &apos;*&apos; token
make[1]: *** [obj/fight.o] Error 1
make[1]: Leaving directory `/var/tmp/portage/attal-0.9.4/work/attal-src-0.9.4/libFight&apos;
make: *** [sub-libFight] Error 2
make: *** Waiting for unfinished jobs....
x86_64-pc-linux-gnu-g++ -c -pipe -Wall -W -O2 -pipe -fno-strict-aliasing -fPIC  -DWITH_SOUND -DQT_NO_DEBUG -DQT_SHARED -DQT_TABLET_SUPPORT -DQT_THREAD_SUPPORT -I/usr/qt/3/mkspecs/linux-g++ -I. -I.. -I/usr/qt/3/include -Imoc/ -o obj/fightAnalyst.o fightAnalyst.cpp
x86_64-pc-linux-gnu-g++ -c -pipe -Wall -W -O2 -pipe -fno-strict-aliasing -fPIC  -DWITH_SOUND -DQT_NO_DEBUG -DQT_SHARED -DQT_TABLET_SUPPORT -DQT_THREAD_SUPPORT -I/usr/qt/3/mkspecs/linux-g++ -I. -I.. -I/usr/qt/3/include -Imoc/ -o obj/fightEngine.o fightEngine.cpp
x86_64-pc-linux-gnu-g++ -c -pipe -Wall -W -O2 -pipe -fno-strict-aliasing -fPIC  -DWITH_SOUND -DQT_NO_DEBUG -DQT_SHARED -DQT_TABLET_SUPPORT -DQT_THREAD_SUPPORT -I/usr/qt/3/mkspecs/linux-g++ -I. -I.. -I/usr/qt/3/include -Imoc/ -o obj/gameData.o gameData.cpp
x86_64-pc-linux-gnu-g++ -c -pipe -Wall -W -O2 -pipe -fno-strict-aliasing -fPIC  -DWITH_SOUND -DQT_NO_DEBUG -DQT_SHARED -DQT_TABLET_SUPPORT -DQT_THREAD_SUPPORT -I/usr/qt/3/mkspecs/linux-g++ -I. -I.. -I/usr/qt/3/include -Imoc/ -o obj/parser.o parser.cpp
x86_64-pc-linux-gnu-g++ -c -pipe -Wall -W -O2 -pipe -fno-strict-aliasing -fPIC  -DWITH_SOUND -DQT_NO_DEBUG -DQT_SHARED -DQT_TABLET_SUPPORT -DQT_THREAD_SUPPORT -I/usr/qt/3/mkspecs/linux-g++ -I. -I.. -I/usr/qt/3/include -Imoc/ -o obj/questManager.o questManager.cpp
/usr/qt/3/bin/moc attalServer.h -o moc/moc_attalServer.cpp
/usr/qt/3/bin/moc fightEngine.h -o moc/moc_fightEngine.cpp
x86_64-pc-linux-gnu-g++ -c -pipe -Wall -W -O2 -pipe -fno-strict-aliasing -fPIC  -DWITH_SOUND -DQT_NO_DEBUG -DQT_SHARED -DQT_TABLET_SUPPORT -DQT_THREAD_SUPPORT -I/usr/qt/3/mkspecs/linux-g++ -I. -I.. -I/usr/qt/3/include -Imoc/ -o obj/moc_attalServer.o moc/moc_attalServer.cpp
x86_64-pc-linux-gnu-g++ -c -pipe -Wall -W -O2 -pipe -fno-strict-aliasing -fPIC  -DWITH_SOUND -DQT_NO_DEBUG -DQT_SHARED -DQT_TABLET_SUPPORT -DQT_THREAD_SUPPORT -I/usr/qt/3/mkspecs/linux-g++ -I. -I.. -I/usr/qt/3/include -Imoc/ -o obj/moc_fightEngine.o moc/moc_fightEngine.cpp
test -d ../ || mkdir -p ../
rm -f libAttalServer.so.6.0.0 libAttalServer.so libAttalServer.so.6 libAttalServer.so.6.0
x86_64-pc-linux-gnu-g++ -shared -Wl,-soname,libAttalServer.so.6 -o libAttalServer.so.6.0.0 obj/attalServer.o obj/campaign.o obj/fightAnalyst.o obj/fightEngine.o obj/gameData.o obj/parser.o obj/questManager.o obj/moc_attalServer.o obj/moc_fightEngine.o  -L/usr/qt/3/lib64 -L.. -lAttalCommon -lqt-mt
ln -s libAttalServer.so.6.0.0 libAttalServer.so
ln -s libAttalServer.so.6.0.0 libAttalServer.so.6
ln -s libAttalServer.so.6.0.0 libAttalServer.so.6.0
rm -f ../libAttalServer.so.6.0.0
rm -f ../libAttalServer.so
rm -f ../libAttalServer.so.6
rm -f ../libAttalServer.so.6.0
mv -f libAttalServer.so.6.0.0 libAttalServer.so libAttalServer.so.6 libAttalServer.so.6.0 ../
make[1]: Leaving directory `/var/tmp/portage/attal-0.9.4/work/attal-src-0.9.4/libServer&apos;

!!! ERROR: games-strategy/attal-0.9.4 failed.
Call stack:
  ebuild.sh, line 1540:   Called dyn_compile
  ebuild.sh, line 940:   Called src_compile
  attal-0.9.4.ebuild, line 46:   Called die

!!! emake libs failed
!!! If you need support, post the topmost build error, and the call stack if relevant.



gentoo ~ # emerge --info
Portage 2.1.1_pre1-r2 (default-linux/amd64/2006.0, gcc-3.4.4/amd64-vanilla, glibc-2.4-r3, 2.6.16-suspend2-r7-Dudebox-Edition x86_64)
=================================================================
System uname: 2.6.16-suspend2-r7-Dudebox-Edition x86_64 AMD Athlon(tm) 64 Processor 3200+
Gentoo Base System version 1.12.1
ccache version 2.4 [enabled]
dev-lang/python:     2.4.3-r1
dev-python/pycrypto: 2.0.1-r5
dev-util/ccache:     2.4-r2
dev-util/confcache:  0.4.2-r1
sys-apps/sandbox:    1.2.18.1
sys-devel/autoconf:  2.13, 2.59-r7
sys-devel/automake:  1.4_p6, 1.5, 1.6.3, 1.7.9-r1, 1.8.5-r3, 1.9.6-r2
sys-devel/binutils:  2.16.1-r2
sys-devel/gcc-config: 2.0.0_rc1
sys-devel/libtool:   1.5.22
virtual/os-headers:  2.6.16
ACCEPT_KEYWORDS=&quot;amd64 ~amd64&quot;
AUTOCLEAN=&quot;yes&quot;
CBUILD=&quot;x86_64-pc-linux-gnu&quot;
CFLAGS=&quot;-O2 -pipe -msse3&quot;
CHOST=&quot;x86_64-pc-linux-gnu&quot;
CONFIG_PROTECT=&quot;/etc /usr/kde/3.5/env /usr/kde/3.5/share/config /usr/kde/3.5/shutdown /usr/share/X11/xkb /usr/share/config&quot;
CONFIG_PROTECT_MASK=&quot;/etc/env.d /etc/gconf /etc/terminfo&quot;
CXXFLAGS=&quot;-O2 -pipe -msse3&quot;
DISTDIR=&quot;/usr/portage/distfiles&quot;
FEATURES=&quot;autoconfig ccache collision-protect confcache distlocks metadata-transfer multilib-strict parallel-fetch sandbox sfperms strict test userfetch userpriv usersandbox&quot;
GENTOO_MIRRORS=&quot;ftp://ftp.wh2.tu-dresden.de/pub/mirrors/gentoo ftp://linux.rz.ruhr-uni-bochum.de/gentoo-mirror/ ftp:///ftp-stud.fht-esslingen.de/pub/Mirrors/gentoo/&quot;
LINGUAS=&quot;de&quot;
MAKEOPTS=&quot;-j2&quot;
PKGDIR=&quot;/usr/portage/packages&quot;
PORTAGE_RSYNC_OPTS=&quot;--recursive --links --safe-links --perms --times --compress --force --whole-file --delete --delete-after --stats --timeout=180 --exclude=&apos;/distfiles&apos; --exclude=&apos;/local&apos; --exclude=&apos;/packages&apos;&quot;
PORTAGE_TMPDIR=&quot;/var/tmp&quot;
PORTDIR=&quot;/usr/portage&quot;
SYNC=&quot;rsync://server/gentoo-portage&quot;
USE=&quot;amd64 X alsa apache2 avi berkdb bitmap-fonts cli crypt cups dri eds emboss encode foomaticdb fortran gif gnome gpm gstreamer gtk gtk2 imlib ipv6 isdnlog jpeg kde kdeenablefinal kdehiddenvisibility lzw lzw-tiff mp3 mpeg ncurses nls nptl nptlonly opengl pam pcre pdflib perl png pppd python qt quicktime readline reflection sdl session spell spl ssl tcpd tiff truetype-fonts type1-fonts unicode usb xorg xpm xv zlib elibc_glibc input_devices_keyboard input_devices_mouse kernel_linux linguas_de userland_GNU video_cards_dummy&quot;
Unset:  CTARGET, EMERGE_DEFAULT_OPTS, INSTALL_MASK, LANG, LC_ALL, LDFLAGS, PORTAGE_RSYNC_EXTRA_OPTS, PORTDIR_OVERLAY

</thetext>
          </long_desc>
          <long_desc isprivate="0">
            <who>xeno@alfa.icis.pcz.pl</who>
            <bug_when>2006-06-25 14:57:58 0000</bug_when>
            <thetext>This would mean that it requires 
media-libs/libsdl
- I didn&apos;t notice because I had it already installed
</thetext>
          </long_desc>
          <long_desc isprivate="0">
            <who>thedude0001@gmx.de</who>
            <bug_when>2006-06-25 19:55:37 0000</bug_when>
            <thetext>There&apos;s more to this than meets the eye. /usr/games/lib64 seems to be the right place to install the libraries, but it is not included in LDPATH. I have files another bug on this (bug 137997) which will need to be resolved before attal can enter ~amd64.
There are also two dependencies missing, namely media-libs/libsdl and media-libs/sdl-mixer. We will need to wait for the lib64 issue to be sorted out before this package can be added to ~amd64.</thetext>
          </long_desc>
          <long_desc isprivate="0">
            <who>xeno@alfa.icis.pcz.pl</who>
            <bug_when>2006-06-28 06:34:49 0000</bug_when>
            <thetext>This would be a &apos;global&apos; problem - I mean the missing deps. Maybe it should be fixed sooner regardless of the LDPATH bug? Seeing SpanKYs response I wouldn&apos;t count for a fast solution - multilib has many entries in the bugzilla and the discussion gets usually quite heated...</thetext>
          </long_desc>
          <long_desc isprivate="0">
            <who>thedude0001@gmx.de</who>
            <bug_when>2006-06-29 05:03:26 0000</bug_when>
            <thetext>You&apos;re right about that, I just opened bug 138461 to adress the missing dependencies in attal 0.9.4 and 0.9.4.</thetext>
          </long_desc>
          <long_desc isprivate="0">
            <who>beandog@gentoo.org</who>
            <bug_when>2007-02-03 01:59:10 0000</bug_when>
            <thetext>fixed in cvs</thetext>
          </long_desc>
      
    </bug>

</bugzilla>