Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!

Bug 952114

Summary: media-libs/sdl2-mixer-2.8.1-r3 config fails at FindOgg.cmake
Product: Gentoo Linux Reporter: Jon Daniel <joneqdaniel>
Component: Current packagesAssignee: Gentoo Games <games>
Status: UNCONFIRMED ---    
Severity: normal CC: joneqdaniel, mechakotik, proxy-maint
Priority: Normal    
Version: unspecified   
Hardware: All   
OS: Linux   
See Also: https://bugs.gentoo.org/show_bug.cgi?id=955672
https://bugs.gentoo.org/show_bug.cgi?id=953901
Whiteboard:
Package list:
Runtime testing required: ---
Bug Depends on: 955672    
Bug Blocks:    
Attachments: emerge -v sdl2-mixer build.log
emerge --info
sdl2-mixer-9999.ebuild with multilib and release version support
sdl2-mixer-9999.ebuild with multilib and release version support
sdl2-mixer-2.8.1-tremor-vorbisidec.patch from gletonai@gmail.com
sdl2-mixer ebuild supporting git/release and the tremor patch

Description Jon Daniel 2025-03-26 22:34:41 UTC
emerging sdl2-mixer fails with FindOgg.cmake


Reproducible: Always

Steps to Reproduce:
1. emerge -v libogg
2. emerge -v sdl2-mixer
Actual Results:  
CMake Error at /usr/share/cmake/Modules/CMakeFindDependencyMacro.cmake:76 (find_package):
  By not providing "FindOgg.cmake" in CMAKE_MODULE_PATH this project has
  asked CMake to find a package configuration file provided by "Ogg", but
  CMake did not find one.

  Could not find a package configuration file provided by "Ogg" with any of
  the following names:

    OggConfig.cmake
    ogg-config.cmake

  Add the installation prefix of "Ogg" to CMAKE_PREFIX_PATH or set "Ogg_DIR"
  to a directory containing one of the above files.  If "Ogg" provides a
  separate development package or SDK, be sure it has been installed.
Call Stack (most recent call first):


Expected Results:  
Successful emerge of sdl2-mixer
Comment 1 Sam James archtester Gentoo Infrastructure gentoo-dev Security 2025-03-26 22:34:57 UTC
Always include the full build.log and emerge --info please.
Comment 2 Jon Daniel 2025-03-26 22:39:01 UTC
Created attachment 922972 [details]
emerge -v sdl2-mixer build.log
Comment 3 Jon Daniel 2025-03-26 22:39:50 UTC
emerge -v =sdl2-mixer-2.6.3-r1 completes successfully
Comment 4 Jon Daniel 2025-03-26 22:41:13 UTC
Created attachment 922973 [details]
emerge --info
Comment 5 Jon Daniel 2025-03-26 22:49:36 UTC
See also wesnoth SDL2_mixer issue https://github.com/wesnoth/wesnoth/issues/4349
Comment 6 Jon Daniel 2025-03-26 22:59:09 UTC
Using https://github.com/libsdl-org/SDL_mixer -b SDL2 fixes the all the problems
Comment 7 Jon Daniel 2025-03-26 23:02:57 UTC
removal of sdl2-mixer-9999 and not incoporating latest sdl2-mixer-2.8.1 and later patches seems to have caused the problem
Comment 8 Jon Daniel 2025-03-26 23:07:59 UTC
using release branch -b release-2.8.x works too
Comment 9 Jon Daniel 2025-05-31 08:12:55 UTC
Created attachment 930103 [details]
sdl2-mixer-9999.ebuild with multilib and release version support
Comment 10 Jon Daniel 2025-05-31 09:28:04 UTC
Created attachment 930136 [details]
sdl2-mixer-9999.ebuild with multilib and release version support
Comment 11 Jon Daniel 2025-05-31 09:29:10 UTC
Created attachment 930137 [details, diff]
sdl2-mixer-2.8.1-tremor-vorbisidec.patch from gletonai@gmail.com
Comment 12 Jon Daniel 2025-05-31 09:47:44 UTC
Created attachment 930141 [details]
sdl2-mixer ebuild supporting git/release and the tremor patch
Comment 13 Sam James archtester Gentoo Infrastructure gentoo-dev Security 2025-06-01 02:14:02 UTC
(In reply to Jon Daniel from comment #12)
> Created attachment 930141 [details]
> sdl2-mixer ebuild supporting git/release and the tremor patch

It's not clear to me what you're saying here. There's not many changes since 2.8.1 on the branch: https://github.com/libsdl-org/SDL_mixer/commits/SDL2.

Perhaps https://github.com/libsdl-org/SDL_mixer/commit/141b69c06acad0c3378f8c8e5ff7a3997a09ddad fixes it then?