<?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>143502</bug_id>
          
          <creation_ts>2006-08-10 15:03 0000</creation_ts>
          <short_desc>games-fps/doomsday-1.9.0_beta4 fails to compile due missing dependency from app-arch/zip</short_desc>
          <delta_ts>2006-10-08 02:51:26 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>2006.0</version>
          <rep_platform>All</rep_platform>
          <op_sys>Linux</op_sys>
          <bug_status>RESOLVED</bug_status>
          <resolution>FIXED</resolution>
          
          
          
          <priority>P2</priority>
          <bug_severity>normal</bug_severity>
          <target_milestone>---</target_milestone>
          
          
          
          <everconfirmed>1</everconfirmed>
          <reporter>scen@gentoo.org</reporter>
          <assigned_to>games@gentoo.org</assigned_to>
          <cc>brebs@sent.com</cc>

      

      
          <long_desc isprivate="0">
            <who>scen@gentoo.org</who>
            <bug_when>2006-08-10 15:03:13 0000</bug_when>
            <thetext>I&apos;ve found that doomsday fails to compile if app-arch/zip is not installed.

In ./configure process appears this error:

[...]
checking for SDL/SDL_mixer.h... yes
checking AL/al.h usability... yes
checking AL/al.h presence... yes
checking for AL/al.h... yes
./configure: line 21006: zip: command not found
configure: creating ./config.status
config.status: creating Makefile
config.status: creating Src/Makefile
[...]

and make process ends with this error:

[...]
Unix/lzss.c:1019: warning: the use of `tmpnam&apos; is dangerous, better use `mkstemp&apos;
rm -f .libs/doomsdayS.o
make[3]: Leaving directory `/root/src/deng-1.9.0-beta4/Src&apos;
make[2]: Leaving directory `/root/src/deng-1.9.0-beta4/Src&apos;
make[2]: Entering directory `/root/src/deng-1.9.0-beta4&apos;
make[2]: *** No rule to make target `Data/Doomsday.pk3&apos;, needed by `all-am&apos;.  Stop.
make[2]: Leaving directory `/root/src/deng-1.9.0-beta4&apos;
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/root/src/deng-1.9.0-beta4&apos;
make: *** [all] Error 2


Instant solution: emerge app-arch/zip
Final solution: add app-arch/zip to DEPEND in ebuild

:)</thetext>
          </long_desc>
          <long_desc isprivate="0">
            <who>brebs@sent.com</who>
            <bug_when>2006-09-09 09:29:47 0000</bug_when>
            <thetext>Created an attachment (id=96490)
doomsday-1.9.0_beta4-r1.patch

I confirm that this compilation problem still exists (also confirmed at http://forums.gentoo.org/viewtopic-t-486828.html ). It is fixed in the enclosed patch. It is caused by this line in the Makefile:

dist-zip: distdir
	-rm -f $(distdir).zip
	zip -rq $(distdir).zip $(distdir)

zip is being used to create /usr/share/games/deng/Data/Doomsday.pk3</thetext>
          </long_desc>
          <long_desc isprivate="0">
            <who>tupone@gentoo.org</who>
            <bug_when>2006-10-08 02:51:26 0000</bug_when>
            <thetext>Fixed in portage. Thanks for report and patch</thetext>
          </long_desc>
      
          <attachment
              isobsolete="0"
              ispatch="1"
              isprivate="0"
          >
            <attachid>96490</attachid>
            <date>2006-09-09 09:29 0000</date>
            <desc>doomsday-1.9.0_beta4-r1.patch</desc>
            <filename>doomsday-1.9.0_beta4-r1.patch</filename>
            <type>text/plain</type>
            <data encoding="base64">LS0tIGRvb21zZGF5LTEuOS4wX2JldGE0LXIxLmVidWlsZAkyMDA2LTA5LTA1IDE5OjM5OjU2LjAw
MDAwMDAwMCArMDEwMAorKysgZG9vbXNkYXktMS45LjBfYmV0YTQtcjIuZWJ1aWxkCTIwMDYtMDkt
MDkgMTc6MTY6NTEuMDAwMDAwMDAwICswMTAwCkBAIC0xNCw3ICsxNCw3IEBACiBLRVlXT1JEUz0i
cHBjIHg4NiIKIElVU0U9Im9wZW5hbCIKIAotREVQRU5EPSJ2aXJ0dWFsL29wZW5nbAorUkRFUEVO
RD0idmlydHVhbC9vcGVuZ2wKIAl2aXJ0dWFsL2dsdQogCW1lZGlhLWxpYnMvbGlic2RsCiAJbWVk
aWEtbGlicy9zZGwtbWl4ZXIKQEAgLTIyLDYgKzIyLDggQEAKIAltZWRpYS1saWJzL2xpYnBuZwog
CXx8ICggeDExLWxpYnMvbGliWGV4dCB2aXJ0dWFsL3gxMSApCiAJb3BlbmFsPyAoIG1lZGlhLWxp
YnMvb3BlbmFsICkiCitERVBFTkQ9IiR7UkRFUEVORH0KKwlhcHAtYXJjaC96aXAiCiAKIFM9JHtX
T1JLRElSfS9kZW5nLSR7TVlfUFZ9CiAK
</data>        

          </attachment>
    </bug>

</bugzilla>