Created attachment 740298 [details] build.log Fails to build with USE='mt-32' despite media-libs/munt-mt32emu-2.5.3 being installed. [...] Found CMake: /usr/bin/cmake (3.20.5) Run-time dependency mt32emu found: NO (tried pkgconfig and cmake) Looking for a fallback subproject for the dependency mt32emu Message: You can disable this dependency with: -Duse_mt32emu=false meson.build:225:2: ERROR: Automatic wrap-based subproject downloading is disabled A full log can be found at /var/tmp/portage/games-emulation/dosbox-staging-0.77.1/work/dosbox-staging-0.77.1-build/meson-logs/meson-log.txt * ERROR: games-emulation/dosbox-staging-0.77.1::gentoo failed (configure phase):
Created attachment 740301 [details] meson-log.txt
Created attachment 740304 [details] emerge --info
It seems it is not finding mt32emu pkgconfig file: Called `/usr/bin/x86_64-pc-linux-gnu-pkg-config --modversion mt32emu` -> 1 Strange as locally this passes for me (also amd64): # /usr/bin/x86_64-pc-linux-gnu-pkg-config --modversion mt32emu 2.5.3 Do you have /usr/lib64/pkgconfig/mt32emu.pc file? If yes what is the content?
(In reply to Bernard Cafarelli from comment #3) > Strange as locally this passes for me (also amd64): > # /usr/bin/x86_64-pc-linux-gnu-pkg-config --modversion mt32emu > 2.5.3 > > Do you have /usr/lib64/pkgconfig/mt32emu.pc file? If yes what is the content? This file is on my system but it gets installed in /usr/lib/ instead of /usr/lib64/. # cat /usr/lib/pkgconfig/mt32emu.pc prefix=/usr exec_prefix=${prefix} libdir=${exec_prefix}//usr/lib64 includedir=${prefix}/include Name: libmt32emu Description: C/C++ library to emulate (approximately) the Roland MT-32, CM-32L and LAPC-I synthesiser modules URL: http://munt.sourceforge.net/ Version: 2.5.3 Requires.private: Libs: -L${libdir} -lmt32emu Cflags: -I${includedir} # eselect profile list Available profile symlink targets: [...] [7] default/linux/amd64/17.1/desktop/gnome/systemd (stable) *
(In reply to ernsteiswuerfel from comment #4) > This file is on my system but it gets installed in /usr/lib/ instead of > /usr/lib64/. > > # cat /usr/lib/pkgconfig/mt32emu.pc > prefix=/usr > exec_prefix=${prefix} > libdir=${exec_prefix}//usr/lib64 > includedir=${prefix}/include Oh interesting, I have this too in fact! The file in /usr/lib64 comes from a personal leftover(installing from full munt tarball correctly places the file in lib64). Adding chewi as it should be fixed in media-libs/munt-mt32emu, looks like we need: -Dlibmt32emu_PKGCONFIG_INSTALL_PREFIX="${EPREFIX}/usr/$(get_libdir)" ?
And really adding chewi this time (see previous message)
The bug has been closed via the following commit(s): https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=1c86f2842cb6b2030398bb2832d739f326a14d6d commit 1c86f2842cb6b2030398bb2832d739f326a14d6d Author: James Le Cuirot <chewi@gentoo.org> AuthorDate: 2021-10-02 12:25:21 +0000 Commit: James Le Cuirot <chewi@gentoo.org> CommitDate: 2021-10-02 12:25:21 +0000 media-libs/munt-mt32emu: Fix pkg-config file install location Closes: https://bugs.gentoo.org/814044 Signed-off-by: James Le Cuirot <chewi@gentoo.org> .../{munt-mt32emu-2.5.3.ebuild => munt-mt32emu-2.5.3-r1.ebuild} | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-)
(In reply to Larry the Git Cow from comment #7) > The bug has been closed via the following commit(s): > > https://gitweb.gentoo.org/repo/gentoo.git/commit/ > ?id=1c86f2842cb6b2030398bb2832d739f326a14d6d Thanks! Now dosbox-staging builds fine with USE='mt-32'.