Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 143502 - games-fps/doomsday-1.9.0_beta4 fails to compile due missing dependency from app-arch/zip
Summary: games-fps/doomsday-1.9.0_beta4 fails to compile due missing dependency from a...
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: [OLD] Games (show other bugs)
Hardware: All Linux
: High normal (vote)
Assignee: Gentoo Games
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2006-08-10 15:03 UTC by Davide Cendron (RETIRED)
Modified: 2006-10-08 02:51 UTC (History)
1 user (show)

See Also:
Package list:
Runtime testing required: ---


Attachments
doomsday-1.9.0_beta4-r1.patch (doomsday-1.9.0_beta4-r1.patch,480 bytes, patch)
2006-09-09 09:29 UTC, Paul Bredbury
Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description Davide Cendron (RETIRED) gentoo-dev 2006-08-10 15:03:13 UTC
I'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' is dangerous, better use `mkstemp'
rm -f .libs/doomsdayS.o
make[3]: Leaving directory `/root/src/deng-1.9.0-beta4/Src'
make[2]: Leaving directory `/root/src/deng-1.9.0-beta4/Src'
make[2]: Entering directory `/root/src/deng-1.9.0-beta4'
make[2]: *** No rule to make target `Data/Doomsday.pk3', needed by `all-am'.  Stop.
make[2]: Leaving directory `/root/src/deng-1.9.0-beta4'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/root/src/deng-1.9.0-beta4'
make: *** [all] Error 2


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

:)
Comment 1 Paul Bredbury 2006-09-09 09:29:47 UTC
Created attachment 96490 [details, diff]
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
Comment 2 Tupone Alfredo gentoo-dev 2006-10-08 02:51:26 UTC
Fixed in portage. Thanks for report and patch