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

Bug 834371

Summary: games-arcade/performous-1.1-r2 with ffmpeg-5.0: CMake Error at cmake/Modules/LibFindMacros.cmake:259 (message): REQUIRED PACKAGE NOT FOUND
Product: Gentoo Linux Reporter: Kobboi <gentoo>
Component: Current packagesAssignee: Gentoo Games <games>
Status: RESOLVED FIXED    
Severity: normal    
Priority: Normal    
Version: unspecified   
Hardware: All   
OS: Linux   
See Also: https://github.com/performous/performous/pull/752
Whiteboard:
Package list:
Runtime testing required: ---
Bug Depends on: 867949    
Bug Blocks: 831437    
Attachments: build.log.gz
emerge-info.txt

Description Kobboi 2022-02-28 17:28:12 UTC
-- Found Boost: /usr/lib64/cmake/Boost-1.78.0/BoostConfig.cmake (found suitable version "1.78.0", minimum required is "1.36") found components: thread date_time program_options regex filesystem system 
-- Found LibEpoxy 1.5.9
-- Found SDL2 
-- SDL2 includes: /usr/include/SDL2
-- Found PangoCairo 
-- PangoCairo includes: 
-- Found Freetype: /usr/lib64/libfreetype.so (found version "2.11.1") 
-- Found Cairo 
-- Found GDK-PixBuf 
-- Found LibRSVG 
-- LibRSVG includes: /usr/include/librsvg-2.0;/usr/include/cairo;/usr/include/gdk-pixbuf-2.0
-- Found LibXML2 
-- Found Glib 
-- Found SigC++ 
-- Found Glibmm 
-- Found LibXML++ 
-- LibXML++ includes: /usr/lib64/libxml++-2.6/include;/usr/include/libxml++-2.6;/usr/include/libxml2;/usr/lib64/glibmm-2.4/include;/usr/include/glibmm-2.4;/usr/include/glib-2.0;/usr/lib64/glib-2.0/include;/usr/include/sigc++-2.0;/usr/lib64/sigc++-2.0/include
-- Found AVUtil 
-- Found AVCodec 
-- Found AVFormat 
-- AVFormat includes: /usr/include;/usr/include;/usr/include
CMake Error at cmake/Modules/LibFindMacros.cmake:259 (message):
  REQUIRED PACKAGE NOT FOUND

  We could not find development headers for AVResample.  Do you have the
  necessary dev package installed? This package is REQUIRED and you need to
  install it or adjust CMake configuration in order to continue building
  Performous.

  Relevant CMake configuration variables:

    AVResample_INCLUDE_DIR=<not found>
    AVUtil_INCLUDE_DIR=/usr/include
    AVResample_LIBRARY=<not found>
    AVUtil_LIBRARY=/usr/lib64/libavutil.so

  You may use CMake GUI, cmake -D or ccmake to modify the values.  Delete
  CMakeCache.txt to discard all values and force full re-detection if
  necessary.

Call Stack (most recent call first):
  cmake/Modules/FindAVResample.cmake:44 (libfind_process)
  game/CMakeLists.txt:75 (find_package)


Reproducible: Always
Comment 1 Kobboi 2022-02-28 17:28:27 UTC
Created attachment 766005 [details]
build.log.gz
Comment 2 Kobboi 2022-02-28 17:28:31 UTC
Created attachment 766006 [details]
emerge-info.txt
Comment 3 Kobboi 2022-02-28 17:28:50 UTC
Compiles fine with ffmpeg-4.4.1
Comment 4 Sam James archtester Gentoo Infrastructure gentoo-dev Security 2022-08-02 03:03:45 UTC
Version bump to 1.2.0 may help.
Comment 5 Larry the Git Cow gentoo-dev 2023-01-21 15:09:57 UTC
The bug has been closed via the following commit(s):

https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=ab00e6f2f32285976c6e33aca91e0d8e224bfdae

commit ab00e6f2f32285976c6e33aca91e0d8e224bfdae
Author:     Ionen Wolkens <ionen@gentoo.org>
AuthorDate: 2023-01-21 13:54:06 +0000
Commit:     Ionen Wolkens <ionen@gentoo.org>
CommitDate: 2023-01-21 15:08:00 +0000

    games-arcade/performous: add 1.2.0
    
    While this has a new meson.build, not migrating to meson given
    support was short lived and master is cmake-only again.
    
    IUSE=tools dropped given upstream has removed them from source.
    
    Closes: https://bugs.gentoo.org/784287
    Closes: https://bugs.gentoo.org/834371
    Closes: https://bugs.gentoo.org/867949
    Signed-off-by: Ionen Wolkens <ionen@gentoo.org>

 games-arcade/performous/Manifest                   |   2 +
 .../files/performous-1.2.0-ffmpeg5.patch           |  25 +++++
 games-arcade/performous/performous-1.2.0.ebuild    | 102 +++++++++++++++++++++
 3 files changed, 129 insertions(+)