<?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>114803</bug_id>
          
          <creation_ts>2005-12-07 14:42 0000</creation_ts>
          <short_desc>smac does not install libSDL-ttf as a dependency</short_desc>
          <delta_ts>2005-12-09 12:34:50 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>Games</component>
          <version>unspecified</version>
          <rep_platform>x86</rep_platform>
          <op_sys>Linux</op_sys>
          <bug_status>RESOLVED</bug_status>
          <resolution>FIXED</resolution>
          
          
          
          <priority>P2</priority>
          <bug_severity>minor</bug_severity>
          <target_milestone>---</target_milestone>
          
          
          
          <everconfirmed>1</everconfirmed>
          <reporter>Iron.DragonLord@gmail.com</reporter>
          <assigned_to>games@gentoo.org</assigned_to>
          

      

      
          <long_desc isprivate="0">
            <who>Iron.DragonLord@gmail.com</who>
            <bug_when>2005-12-07 14:42:08 0000</bug_when>
            <thetext>games-strategy/smac-6.0a technically runs fine, but if you run &quot;revdep-rebuild&quot;
it will constantly try to rebuild smac. This gets annoying. The problem is the
game apparently requires libSDL_ttf-2.0.so.0

Reproducible: Always
Steps to Reproduce:
1. emerge games-strategy/smac-6.0a
2. run revdep-rebuild

Actual Results:  
revdep-rebuild reports: broken /opt/smac/smac.dynamic (requires
libSDL_ttf-2.0.so.0)) and tries to rebuild smac. However it doesn&apos;t change anything.

Expected Results:  
Should have emerged media-libs/sdl-ttf

Portage 2.0.51.22-r3 (default-linux/x86/2005.1, gcc-3.4.4, glibc-2.3.5-r2, 2.6.1
                                                                               
                                                
4-gentoo-r2 i686)
=================================================================
System uname: 2.6.14-gentoo-r2 i686 Intel(R) Pentium(R) 4 CPU 1700MHz
Gentoo Base System version 1.6.13
ccache version 2.3 [enabled]
dev-lang/python:     2.3.5-r2, 2.4.2
sys-apps/sandbox:    1.2.12
sys-devel/autoconf:  2.13, 2.59-r6
sys-devel/automake:  1.4_p6, 1.5, 1.6.3, 1.7.9-r1, 1.8.5-r3, 1.9.6-r1
sys-devel/binutils:  2.16.1
sys-devel/libtool:   1.5.20
virtual/os-headers:  2.6.11-r2
ACCEPT_KEYWORDS=&quot;x86&quot;
AUTOCLEAN=&quot;yes&quot;
CBUILD=&quot;i686-pc-linux-gnu&quot;
CFLAGS=&quot;-O2 -march=pentium4 -pipe -ftracer -fforce-addr&quot;
CHOST=&quot;i686-pc-linux-gnu&quot;
CONFIG_PROTECT=&quot;/etc /usr/kde/2/share/config /usr/kde/3/share/config /usr/lib/X1
                                                                               
                                                
1/xkb /usr/share/config /var/qmail/control&quot;
CONFIG_PROTECT_MASK=&quot;/etc/gconf /etc/splash /etc/terminfo /etc/env.d&quot;
CXXFLAGS=&quot;-O2 -march=pentium4 -pipe -ftracer -fforce-addr&quot;
DISTDIR=&quot;/usr/portage/distfiles&quot;
FEATURES=&quot;autoconfig candy ccache distlocks sandbox sfperms strict&quot;
GENTOO_MIRRORS=&quot;http://distfiles.gentoo.org http://distro.ibiblio.org/pub/Linux/
                                                                               
                                                
distributions/gentoo&quot;
MAKEOPTS=&quot;-j2&quot;
PKGDIR=&quot;/usr/portage/packages&quot;
PORTAGE_TMPDIR=&quot;/var/tmp&quot;
PORTDIR=&quot;/usr/portage&quot;
PORTDIR_OVERLAY=&quot;/usr/local/portage&quot;
SYNC=&quot;rsync://rsync.gentoo.org/gentoo-portage&quot;
USE=&quot;x86 X aac acpi alsa apm audiofile avi berkdb bitmap-fonts bzip2 cdr crypt d
                                                                               
                                                
ivx4linux dts dvd dvdread emboss encode exif expat fam fbcon ffmpeg foomaticdb f
                                                                               
                                                
ortran gdbm gif glut gpm gstreamer gtk gtk2 imlib ipv6 java jikes jpeg junit lcm
                                                                               
                                                
s libg++ libwww mad matroska mikmod mmx mng motif mp3 mpeg ncurses nls nptl nspl
                                                                               
                                                
ugin nvidia offensive ogg oggvorbis openal opengl pam pcre pdflib perl png pytho
                                                                               
                                                
n quicktime readline real scanner sdl spell sqlite sse sse2 ssl tcpd theora tiff
                                                                               
                                                
 truetype truetype-fonts type1-fonts udev usb videos vorbis win32codecs xml xml2
                                                                               
                                                
 xmms xv xvid zlib userland_GNU kernel_linux elibc_glibc&quot;
Unset:  ASFLAGS, CTARGET, LANG, LC_ALL, LDFLAGS, LINGUAS</thetext>
          </long_desc>
          <long_desc isprivate="0">
            <who>vapier@gentoo.org</who>
            <bug_when>2005-12-07 15:30:53 0000</bug_when>
            <thetext>could you please do this:
# emerge pax-utils
# scanelf -Rnq /opt/smac

and post the output here</thetext>
          </long_desc>
          <long_desc isprivate="0">
            <who>Iron.DragonLord@gmail.com</who>
            <bug_when>2005-12-07 15:33:50 0000</bug_when>
            <thetext>(In reply to comment #1)
&gt; could you please do this:
&gt; # emerge pax-utils
&gt; # scanelf -Rnq /opt/smac
&gt; 
&gt; and post the output here

Sure, here you do:

goliath ~ # scanelf -Rnq /opt/smac
libSDL_ttf-2.0.so.0,libSDL_mixer-1.2.so.0,libsmpeg-0.4.so.0,libSDL-1.2.so.0,libpthread.so.0,libz.so.1,libfreetype.so.6,libm.so.6,libc.so.6
 /opt/smac/smac.dynamic
libSDL_ttf-2.0.so.0,libSDL_mixer-1.2.so.0,libsmpeg-0.4.so.0,libSDL-1.2.so.0,libpthread.so.0,libz.so.1,libfreetype.so.6,libm.so.6,libc.so.6
 /opt/smac/smacx.dynamic
</thetext>
          </long_desc>
          <long_desc isprivate="0">
            <who>vapier@gentoo.org</who>
            <bug_when>2005-12-07 15:38:35 0000</bug_when>
            <thetext>looks like we need more than just sdl-ttf ... we&apos;ll also need sdl-mixer, smpeg,
libsdl, zlib, and freetype ... although we can get smpeg from lib-compat-loki

wolf: care to add more compat libs to lib-compat-loki or just add these things
to smac&apos;s RDEPEND ?  also, the lib-compat-loki package in general looks a little
broken ...</thetext>
          </long_desc>
          <long_desc isprivate="0">
            <who>wolf31o2@gentoo.org</who>
            <bug_when>2005-12-07 19:01:33 0000</bug_when>
            <thetext>I have only been adding stuff to lib-compat-loki that is absolutely required
when the system versions won&apos;t work.  It has been working fine.  What appears
broken in it?

At any rate, I&apos;ll check on the dependencies.

I won&apos;t be able to look at this right away because it will require me to poke
around with an x86 box, but I hope to get to it in the next day or so.  I
honestly don&apos;t know what I was thinking when I committed that ebuild to portage.
 I distinctly remember cleaning it up a great deal, which leads me to believe
that I committed the wrong ebuild.</thetext>
          </long_desc>
          <long_desc isprivate="0">
            <who>wolf31o2@gentoo.org</who>
            <bug_when>2005-12-07 19:02:27 0000</bug_when>
            <thetext>Created an attachment (id=74277)
games-strategy/smac/smac-6.0a.ebuild

Please try out this ebuild and see if it still gives you problems.</thetext>
          </long_desc>
          <long_desc isprivate="0">
            <who>Iron.DragonLord@gmail.com</who>
            <bug_when>2005-12-07 22:06:33 0000</bug_when>
            <thetext>Alright. Just had to unmerge sdl-ttf to simulate the problem again. 

That ebuild now pulls in the missing media-libs/sdl-ttf, so revdep-rebuild won&apos;t
complain anymore, unless it&apos;s removed..

If I unmerge media-libs/sdl-ttf, revdep-rebuild still fixes nothing and would
just re-emerge smac (since it uses --nodep., If it didn&apos;t, it would pull in the
sdl-ttf).

I honestly don&apos;t know what the /opt/smac.dynamic files are for. The
/usr/games/bin/smac just uses /opt/smac instead. I don&apos;t know if the game
actually uses the smacx.dynamic and smac.dynamic files. Maybe it&apos;s an old loki
thing and they could just be removed? The game itself appears to run fine,
unless the fonts are supposed to be super anti-aliased and I&apos;m missing something.

I guess though so long as no one accidentally removes one of those dependencies
after emerging smac, revdep-rebuild won&apos;t complain.</thetext>
          </long_desc>
          <long_desc isprivate="0">
            <who>thecoop@runbox.com</who>
            <bug_when>2005-12-08 06:04:42 0000</bug_when>
            <thetext>sdl-mixer is also a dependancy of smac*.dynamic on my box:

simon@wh-448-smc78 /opt/smac $ ldd smac.dynamic 
        linux-gate.so.1 =&gt;  (0xffffe000)
        libSDL_ttf-2.0.so.0 =&gt; /usr/lib/libSDL_ttf-2.0.so.0 (0xb7faf000)
        libSDL_mixer-1.2.so.0 =&gt; not found
        libsmpeg-0.4.so.0 =&gt; /usr/lib/libsmpeg-0.4.so.0 (0xb7f58000)
        libSDL-1.2.so.0 =&gt; /usr/lib/libSDL-1.2.so.0 (0xb7f0a000)
        libpthread.so.0 =&gt; /lib/libpthread.so.0 (0xb7ef8000)
        libz.so.1 =&gt; /lib/libz.so.1 (0xb7ee8000)
        libfreetype.so.6 =&gt; /usr/lib/libfreetype.so.6 (0xb7e86000)
        libm.so.6 =&gt; /lib/libm.so.6 (0xb7e64000)
        libc.so.6 =&gt; /lib/libc.so.6 (0xb7d50000)
        libstdc++.so.6 =&gt; /usr/lib/gcc/i686-pc-linux-gnu/3.4.4/libstdc++.so.6
(0xb7c86000)
        libdl.so.2 =&gt; /lib/libdl.so.2 (0xb7c82000)
        libX11.so.6 =&gt; /usr/lib/libX11.so.6 (0xb7bd5000)
        libXext.so.6 =&gt; /usr/lib/libXext.so.6 (0xb7bc9000)
        /lib/ld-linux.so.2 (0xb7fc0000)
        libgcc_s.so.1 =&gt; /usr/lib/gcc/i686-pc-linux-gnu/3.4.4/libgcc_s.so.1
(0xb7bc0000)</thetext>
          </long_desc>
          <long_desc isprivate="0">
            <who>vapier@gentoo.org</who>
            <bug_when>2005-12-08 06:20:09 0000</bug_when>
            <thetext>ldd gives a wrong picture of what libraries are directly needed by smac which is
why i had Anthony run scanelf

if you read all the comments, i pointed out sdl-mixer in addition to other packages
already</thetext>
          </long_desc>
          <long_desc isprivate="0">
            <who>wolf31o2@gentoo.org</who>
            <bug_when>2005-12-08 06:42:02 0000</bug_when>
            <thetext>Ehh... sdl-mixer is listed in my attached ebuild.

Anthony: if you remove a package that is a dependency, you can pretty much
expect revdep-rebuild to not function properly.  Unfortunately, there&apos;s not much
that could be done aside from either removing --nodeps from revdep-rebuild, or
having it force an emerge -uND world first.

As for the dynamic stuff, the primary reason for keeping it is because I am
working on amd64 support.  For amd64, we actually need the dynamic executables
because the versions of some libraries that are linked statically in the
non-dynamic versions actually do not function properly on amd64.</thetext>
          </long_desc>
          <long_desc isprivate="0">
            <who>Iron.DragonLord@gmail.com</who>
            <bug_when>2005-12-08 14:44:19 0000</bug_when>
            <thetext>Oh, I thought revdep-rebuild would have fixed that.

Well, that attached ebuild seems to work fine. I guess this is technically
solved then, right?

If you guys need me to do anything else, lemme know. :)</thetext>
          </long_desc>
          <long_desc isprivate="0">
            <who>wolf31o2@gentoo.org</who>
            <bug_when>2005-12-09 05:10:58 0000</bug_when>
            <thetext>I&apos;m going to install the game today using my ebuild and just check a few things,
and also try to resolve bug #114871 at the same time.  I&apos;ll commit this today
even if I can&apos;t fix that bug, but I&apos;d prefer to just make one commit.</thetext>
          </long_desc>
          <long_desc isprivate="0">
            <who>wolf31o2@gentoo.org</who>
            <bug_when>2005-12-09 12:34:50 0000</bug_when>
            <thetext>I&apos;ve fixed this in CVS now... enjoy...</thetext>
          </long_desc>
      
          <attachment
              isobsolete="0"
              ispatch="0"
              isprivate="0"
          >
            <attachid>74277</attachid>
            <date>2005-12-07 19:02 0000</date>
            <desc>games-strategy/smac/smac-6.0a.ebuild</desc>
            <filename>smac-6.0a.ebuild</filename>
            <type>text/plain</type>
            <data encoding="base64">IyBDb3B5cmlnaHQgMTk5OS0yMDA1IEdlbnRvbyBGb3VuZGF0aW9uCiMgRGlzdHJpYnV0ZWQgdW5k
ZXIgdGhlIHRlcm1zIG9mIHRoZSBHTlUgR2VuZXJhbCBQdWJsaWMgTGljZW5zZSB2MgojICRIZWFk
ZXI6IC92YXIvY3Zzcm9vdC9nZW50b28teDg2L2dhbWVzLXN0cmF0ZWd5L3NtYWMvc21hYy02LjBh
LmVidWlsZCx2IDEuMyAyMDA1LzEwLzIxIDE4OjE3OjE2IHdvbGYzMW8yIEV4cCAkCgppbmhlcml0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