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.
Created attachment 766205 [details] emerge info output
The bug has been closed via the following commit(s): https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=61415848f2dca06214a03fd3f3b28ca7530bb1e1 commit 61415848f2dca06214a03fd3f3b28ca7530bb1e1 Author: demize <demize@unstable.systems> AuthorDate: 2025-04-03 18:37:48 +0000 Commit: Sam James <sam@gentoo.org> CommitDate: 2025-05-23 03:21:50 +0000 media-libs/game-music-emu: depend on sys-libs/zlib Closes: https://bugs.gentoo.org/834552 Signed-off-by: Vivian Heisz (vhz) <demize@unstable.systems> Part-of: https://github.com/gentoo/gentoo/pull/41449 Closes: https://github.com/gentoo/gentoo/pull/41449 Signed-off-by: Sam James <sam@gentoo.org> .../{game-music-emu-0.6.3.ebuild => game-music-emu-0.6.3-r1.ebuild} | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-)