Trying to pull in the latest version of Dolphin as I need a feature and found the dependencies have changed to which I've solved most but not all to submit as a PR. Required changes are: >=dev-libs/libfmt-10 sys-libs/zlib-ng Issue: It also requires minizip-3.0.0 or higher but when adding sys-libs/minizip-ng to the DEPEND list I still get the following: -- Checking for module 'minizip>=3.0.0' -- Package 'minizip', required by 'virtual:world', not found -- No system MINIZIP was found. Using static MINIZIP from Externals. CMake Error at CMake/DolphinLibraryTools.cmake:49 (message): No bundled MINIZIP was found. Did you forget to checkout submodules? Call Stack (most recent call first): CMake/DolphinLibraryTools.cmake:92 (dolphin_add_bundled_library) CMakeLists.txt:681 (dolphin_find_optional_system_library_pkgconfig) I've tried building sys-libs/zlib with and without the minizip useflag but without success. To reproduce: 1. Add dev-libs/libfmt-10.1.1 to /etc/portage/package.unmask 2. emerge -va1 =dev-libs/libfmt-10.1.1 sys-libs/zlib-ng 3 add games-emulation/dolphin-9999 ** to /etc/portage/package.accept_keywords 4. emerge -va games-emulation/dolphin
Created attachment 875159 [details] build.log
I do wonder if it's something to do with this part of the ebuild: # Allow regular minizip. sed -i -e '/minizip/s:>=2[.]0[.]0::' CMakeLists.txt || die
After discussing this with Kangie reverting the commit https://github.com/dolphin-emu/dolphin/commit/2929742d8229da3e56dffd0995b156831185c790 resolves the issue and allows sys-libs/minizip-ng to work. A new dependency of libspng is also needed which I'll include an ebuild for but it also seems to need to need qtcore:6 as well now.
Created attachment 875220 [details] libspng ebuild Not my ebuild but no author was included to give credit for it.
Not exactly sure how much this issue has evolved since 3 months ago, but my error pertains more to fmt being the submodule that isn't checked out: CMake Warning at CMake/DolphinLibraryTools.cmake:58 (find_package): Could not find a configuration file for package "fmt" that is compatible with requested version "10.1". The following configuration files were considered but not accepted: /usr/lib64/cmake/fmt/fmt-config.cmake, version: 9.1.0 Call Stack (most recent call first): CMakeLists.txt:631 (dolphin_find_optional_system_library) -- No system fmt was found. Using static fmt from Externals. CMake Error at CMake/DolphinLibraryTools.cmake:49 (message): No bundled fmt was found. Did you forget to checkout submodules? Call Stack (most recent call first): CMake/DolphinLibraryTools.cmake:73 (dolphin_add_bundled_library) CMakeLists.txt:631 (dolphin_find_optional_system_library) --- Would kind of like to be able to update this package, since the only other option from the repo is from May of 2022