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

Bug 909397

Summary: games-strategy/freeciv-3.1.0_beta2 - meson.build: ERROR: C shared or static library SDL2 not found
Product: Gentoo Linux Reporter: Toralf Förster <toralf>
Component: Current packagesAssignee: Gentoo Games <games>
Status: RESOLVED FIXED    
Severity: normal CC: eschwartz, kangie
Priority: Normal Keywords: PullRequest
Version: unspecified   
Hardware: All   
OS: Linux   
See Also: https://github.com/gentoo/gentoo/pull/34331
Whiteboard:
Package list:
Runtime testing required: ---
Attachments: emerge-info.txt
emerge-history.txt
environment
etc.clang.tar.xz
etc.portage.tar.xz
games-strategy:freeciv-3.1.0_beta2:20230630-084425.log
logs.tar.xz
temp.tar.xz

Description Toralf Förster gentoo-dev 2023-06-30 08:45:51 UTC
Run-time dependency lua-5.4 found: NO (tried pkgconfig and cmake)
Run-time dependency lua-54 found: NO (tried pkgconfig and cmake)
Run-time dependency lua54 found: NO (tried pkgconfig and cmake)
Run-time dependency lua5.4 found: YES 5.4.4
Checking for function "iconv" : YES 

meson.build:548:31: ERROR: C shared or static library 'SDL2' not found

A full log can be found at /var/tmp/portage/games-strategy/freeciv-3.1.0_beta2/work/freeciv-3.1.0_beta2-build/meson-logs/meson-log.txt

  -------------------------------------------------------------------

  This is an unstable amd64 chroot image at a tinderbox (==build bot)
  name: 17.1_desktop-20230628-230015

  -------------------------------------------------------------------

gcc-config -l:
 [1] x86_64-pc-linux-gnu-13 *
clang/llvm (if any):
clang version 16.0.6
Target: x86_64-pc-linux-gnu
Thread model: posix
InstalledDir: /usr/lib/llvm/16/bin
Configuration file: /etc/clang/clang.cfg
/usr/lib/llvm/16
16.0.6
Python 3.11.4
Available Ruby profiles:
  [1]   ruby31 (with Rubygems) *
Available Rust versions:
  [1]   rust-bin-1.69.0 *
The following VMs are available for generation-2:
1)	Eclipse Temurin JDK 17.0.7_p7 [openjdk-bin-17]
*)	Eclipse Temurin JDK 8.372_p07 [openjdk-bin-8]
3)	Eclipse Temurin JRE 11.0.19_p7 [openjdk-jre-bin-11]
Available Java Virtual Machines:
  [1]   openjdk-bin-8  system-vm
  [2]   openjdk-bin-17 
  [3]   openjdk-jre-bin-11 

php cli (if any):
go version go1.20.5 linux/amd64

  HEAD of ::gentoo
commit 9cc8d5e6a739b083a5760ce620b87846734738c4
Author: Repository mirror & CI <repomirrorci@gentoo.org>
Date:   Fri Jun 30 07:31:56 2023 +0000

    2023-06-30 07:31:56 UTC

emerge -qpvO games-strategy/freeciv
[ebuild  N    ] games-strategy/freeciv-3.1.0_beta2  USE="dedicated nls qt5 readline sdl sound system-lua -gtk3 -gtk4 -json -mapimg -modpack -mysql -qt6 -rule-editor -web-server" LUA_SINGLE_TARGET="lua5-4"
Comment 1 Toralf Förster gentoo-dev 2023-06-30 08:45:52 UTC
Created attachment 864856 [details]
emerge-info.txt
Comment 2 Toralf Förster gentoo-dev 2023-06-30 08:45:54 UTC
Created attachment 864857 [details]
emerge-history.txt
Comment 3 Toralf Förster gentoo-dev 2023-06-30 08:45:55 UTC
Created attachment 864858 [details]
environment
Comment 4 Toralf Förster gentoo-dev 2023-06-30 08:45:56 UTC
Created attachment 864859 [details]
etc.clang.tar.xz
Comment 5 Toralf Förster gentoo-dev 2023-06-30 08:45:57 UTC
Created attachment 864860 [details]
etc.portage.tar.xz
Comment 6 Toralf Förster gentoo-dev 2023-06-30 08:45:57 UTC
Created attachment 864861 [details]
games-strategy:freeciv-3.1.0_beta2:20230630-084425.log
Comment 7 Toralf Förster gentoo-dev 2023-06-30 08:45:58 UTC
Created attachment 864862 [details]
logs.tar.xz
Comment 8 Toralf Förster gentoo-dev 2023-06-30 08:45:59 UTC
Created attachment 864863 [details]
temp.tar.xz
Comment 9 Larry the Git Cow gentoo-dev 2024-02-10 21:15:26 UTC
The bug has been closed via the following commit(s):

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

commit 1f5db9b248ebbb86b90e49a4bf6e15a5175d9fe3
Author:     Matt Jolly <Matt.Jolly@footclan.ninja>
AuthorDate: 2023-12-17 19:21:12 +0000
Commit:     Matt Jolly <kangie@gentoo.org>
CommitDate: 2024-02-10 21:15:00 +0000

    games-strategy/freeciv: add 3.1.0_beta4
    
    Closes: https://bugs.gentoo.org/913868
    Closes: https://bugs.gentoo.org/909397
    Signed-off-by: Matt Jolly <Matt.Jolly@footclan.ninja>
    Signed-off-by: Matt Jolly <kangie@gentoo.org>

 games-strategy/freeciv/Manifest                    |   1 +
 ...-3.1.0_beta4-fix-manpage-install-location.patch |  34 ++++
 games-strategy/freeciv/freeciv-3.1.0_beta4.ebuild  | 215 +++++++++++++++++++++
 games-strategy/freeciv/freeciv-9999.ebuild         |  63 ++++--
 games-strategy/freeciv/metadata.xml                |   2 +
 5 files changed, 294 insertions(+), 21 deletions(-)