Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 834552 - media-libs/game-music-emu-0.6.3 does not declare its dependency on sys-libs/zlib
Summary: media-libs/game-music-emu-0.6.3 does not declare its dependency on sys-libs/zlib
Status: UNCONFIRMED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal normal (vote)
Assignee: Gentoo Sound Team
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2022-03-04 07:19 UTC by Michael Yagliyan
Modified: 2022-03-04 17:38 UTC (History)
1 user (show)

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


Attachments
Build log (build.log,39.13 KB, text/x-log)
2022-03-04 07:19 UTC, Michael Yagliyan
Details
emerge info output (emerge-info.log,7.15 KB, text/x-log)
2022-03-04 07:22 UTC, Michael Yagliyan
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Michael Yagliyan 2022-03-04 07:19:38 UTC
Created attachment 766202 [details]
Build log

I already have game-music-emu installed 64-bit, and most likely I already had zlib (which is very widely used) installed at the time so I never noticed an issue...  until I had to build a bunch of packages 32-bit for Wine support.

The build failed, here is the relevant snippet (full log attached):

FAILED: gme/libgme.so.0.6.3 
...
cannot find -lz
collect2: error: ld returned 1 exit status
ninja: build stopped: subcommand failed
...

Indeed, the build order from emerge pretend output shows it was planning to install zlib after game-music-emu:

...
[ebuild   R    ] media-libs/game-music-emu-0.6.3::gentoo  ABI_X86="32* (64) (-x32)" 0 KiB
[ebuild   R    ] virtual/jpeg-100::gentoo  USE="-static-libs" ABI_X86="32* (64) (-x32)" 0 KiB
[ebuild   R    ] media-libs/xvid-1.3.7::gentoo  USE="threads -examples -pic" ABI_X86="32* (64) (-x32)" 0 KiB
[ebuild   R    ] sys-libs/libxcrypt-4.4.27:0/1::gentoo  USE="(compat) (split-usr) (system) -static-libs -test" ABI_X86="32* (64) (-x32)" 0 KiB
[ebuild   R    ] virtual/libcrypt-2:0/2::gentoo  USE="-static-libs" ABI_X86="32* (64) (-x32)" 0 KiB
[ebuild   R    ] sys-libs/zlib-1.2.11-r4:0/1::gentoo  USE="minizip (split-usr) -static-libs" ABI_X86="32* (64) (-x32)" 0 KiB
...

And I checked the ebuild, it makes no mention of zlib.

As expected, if I `emerge -1 sys-libs/zlib` first, then reattempt emerging game-music-emu, it builds just fine.
Comment 1 Michael Yagliyan 2022-03-04 07:22:22 UTC
Created attachment 766205 [details]
emerge info output