<?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>151512</bug_id>
          
          <creation_ts>2006-10-15 14:59 0000</creation_ts>
          <short_desc>games-simulation/flightgear-0.9.10 - undefined symbol: alutLoadWAVFile</short_desc>
          <delta_ts>2006-10-17 11:06:57 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>AMD64</rep_platform>
          <op_sys>Linux</op_sys>
          <bug_status>RESOLVED</bug_status>
          <resolution>FIXED</resolution>
          
          
          
          <priority>P2</priority>
          <bug_severity>major</bug_severity>
          <target_milestone>---</target_milestone>
          
          
          
          <everconfirmed>1</everconfirmed>
          <reporter>michael@kjorling.com</reporter>
          <assigned_to>games@gentoo.org</assigned_to>
          

      

      
          <long_desc isprivate="0">
            <who>michael@kjorling.com</who>
            <bug_when>2006-10-15 14:59:35 0000</bug_when>
            <thetext>flightgear-0.9.10 has a runtime dependency on media-libs/freealut (specifically any library providing AL/alut.h) which is not listed in the ebuild. This causes a compile-time failure and inability to start the game by issuing the command fgfs, the latter failing during or immediately after &quot;initializing subsystems&quot; with the following error on stderr:

fgfs: symbol lookup error: fgfs: undefined symbol: alutLoadWAVFile

As flightgear (even 0.9.10) worked for me before, this looks like a mistake in updating the fg ebuild, or a related one. Is virtual/glut supposed to provide ALUT?

The patch below fixes this on my system (using the default-linux/amd64/2005.0 profile) but admittedly is something of a kludge.

--- /usr/portage/games-simulation/flightgear/flightgear-0.9.10.ebuild   2006-04-08 03:45:49.000000000 +0200
+++ /usr/local/portage/games-simulation/flightgear/flightgear-0.9.10.ebuild     2006-10-15 23:35:40.000000000 +0200
@@ -19,7 +19,8 @@
 
 RDEPEND=&quot;virtual/glut
        ~dev-games/simgear-0.3.10
-       &gt;=media-libs/plib-1.8.4&quot;
+       &gt;=media-libs/plib-1.8.4
+       media-libs/freealut&quot;
 DEPEND=&quot;${RDEPEND}
        &gt;=sys-apps/sed-4&quot;</thetext>
          </long_desc>
          <long_desc isprivate="0">
            <who>jakub@gentoo.org</who>
            <bug_when>2006-10-15 15:08:28 0000</bug_when>
            <thetext>Hardcoding dependency on media-libs/freealut is not acceptable; that&apos;s the whole point of virtual/glut.
</thetext>
          </long_desc>
          <long_desc isprivate="0">
            <who>nyhm@gentoo.org</who>
            <bug_when>2006-10-15 15:17:19 0000</bug_when>
            <thetext>freealut isn&apos;t glut</thetext>
          </long_desc>
          <long_desc isprivate="0">
            <who>michael@kjorling.com</who>
            <bug_when>2006-10-15 15:27:01 0000</bug_when>
            <thetext>(In reply to comment #1)
&gt; Hardcoding dependency on media-libs/freealut is not acceptable; that&apos;s the
&gt; whole point of virtual/glut.

(In reply to comment #2)
&gt; freealut isn&apos;t glut

Frankly, I don&apos;t care what virtual ebuilds provide which specific packages. (virtual/glut obviously does not pull in media-libs/freealut, or ALUT would have been on my system; looking at the ebuild file also confirms this) I just want the applications I have emerged previously - from source, even - to keep working. There is no need to tell me that the exact steps I took to correct on my own system what is obviously a portage tree deficiency are &quot;not acceptable&quot;. If you have a better solution that should go into the official tree, that is perfectly fine by me. The patch I included should indicate clearly enough that the modified ebuild is from a portage overlay, not in the official tree.</thetext>
          </long_desc>
          <long_desc isprivate="0">
            <who>nyhm@gentoo.org</who>
            <bug_when>2006-10-15 15:41:39 0000</bug_when>
            <thetext>simgear depends on freealut so that should be enough</thetext>
          </long_desc>
          <long_desc isprivate="0">
            <who>nyhm@gentoo.org</who>
            <bug_when>2006-10-16 14:37:52 0000</bug_when>
            <thetext>No bugs here</thetext>
          </long_desc>
          <long_desc isprivate="0">
            <who>wolf31o2@gentoo.org</who>
            <bug_when>2006-10-17 09:26:21 0000</bug_when>
            <thetext>I hate implicit deps.  I&apos;ll add this since it&apos;ll break installs where simgear comes from a binpkg and flightgear is being compiled.  We run into this sort of thing all the time with Release Engineering and it makes me want to tsab people who use implicit deps.</thetext>
          </long_desc>
          <long_desc isprivate="0">
            <who>wolf31o2@gentoo.org</who>
            <bug_when>2006-10-17 09:26:32 0000</bug_when>
            <thetext>I&apos;ll take it</thetext>
          </long_desc>
          <long_desc isprivate="0">
            <who>wolf31o2@gentoo.org</who>
            <bug_when>2006-10-17 11:06:57 0000</bug_when>
            <thetext>OK.  It actually isn&apos;t an implicit dependency.  It is a required runtime dependency.

FIXED in CVS...</thetext>
          </long_desc>
      
    </bug>

</bugzilla>