Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 917573 - games-emulation/dolphin-9999 - Dependency changes
Summary: games-emulation/dolphin-9999 - Dependency changes
Status: CONFIRMED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal normal (vote)
Assignee: Michał Górny
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2023-11-18 19:47 UTC by immolo
Modified: 2024-02-16 06:11 UTC (History)
2 users (show)

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


Attachments
build.log (Hv0Q.log,11.84 KB, text/x-log)
2023-11-18 19:49 UTC, immolo
Details
libspng ebuild (libspng-0.7.4-r1.ebuild,556 bytes, application/vnd.gentoo.ebuild)
2023-11-19 20:44 UTC, immolo
Details

Note You need to log in before you can comment on or make changes to this bug.
Description immolo 2023-11-18 19:47:10 UTC
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
Comment 1 immolo 2023-11-18 19:49:17 UTC
Created attachment 875159 [details]
build.log
Comment 2 immolo 2023-11-18 19:56:48 UTC
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
Comment 3 immolo 2023-11-19 20:43:16 UTC
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.
Comment 4 immolo 2023-11-19 20:44:48 UTC
Created attachment 875220 [details]
libspng ebuild

Not my ebuild but no author was included to give credit for it.
Comment 5 Neko-san 2024-02-16 06:11:19 UTC
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