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

Bug 710092

Summary: games-strategy/galaxyhack-1.74-r1 : GlobalConstants.h:29:10: fatal error: SDL.h: No such file or directory
Product: Gentoo Linux Reporter: Toralf Förster <toralf>
Component: Current packagesAssignee: Gentoo Games <games>
Status: RESOLVED FIXED    
Severity: normal CC: alexey+gentoo
Priority: Normal    
Version: unspecified   
Hardware: All   
OS: Linux   
Whiteboard:
Package list:
Runtime testing required: ---
Attachments: emerge-info.txt
emerge-history.txt
environment
etc.portage.tbz2
games-strategy:galaxyhack-1.74-r1:20200218-091342.log

Description Toralf Förster gentoo-dev 2020-02-18 18:55:15 UTC
In file included from AIInterpreter.h:16,
                 from AIInterpreter.cpp:13:
GlobalConstants.h:29:10: fatal error: SDL.h: No such file or directory
   29 | #include <SDL.h>
      |          ^~~~~~~
compilation terminated.

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

  This is an unstable amd64 chroot image at a tinderbox (==build bot)
  name: 17.1_desktop_gnome_systemd-20200216-141645

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

gcc-config -l:
 [1] x86_64-pc-linux-gnu-9.2.0 *

clang:
clang version 9.0.1 
Target: x86_64-pc-linux-gnu
Thread model: posix
InstalledDir: /usr/lib/llvm/9/bin
llvm:
9.0.1
Available Python interpreters, in order of preference:
  [1]   python3.8
  [2]   python3.6
  [3]   python3.7 (fallback)
  [4]   python2.7 (fallback)
Available Ruby profiles:
  [1]   ruby24 (with Rubygems)
  [2]   ruby25 (with Rubygems) *
Available Rust versions:
  [1]   rust-1.41.0 *


ghc:
The Glorious Glasgow Haskell Compilation System, version 8.0.2

repository:
==> /var/db/repos/gentoo/metadata/timestamp.chk <==
Tue, 18 Feb 2020 08:41:29 +0000

emerge -qpvO games-strategy/galaxyhack
[ebuild  N    ] games-strategy/galaxyhack-1.74-r1
Comment 1 Toralf Förster gentoo-dev 2020-02-18 18:55:18 UTC
Created attachment 614318 [details]
emerge-info.txt
Comment 2 Toralf Förster gentoo-dev 2020-02-18 18:55:21 UTC
Created attachment 614320 [details]
emerge-history.txt
Comment 3 Toralf Förster gentoo-dev 2020-02-18 18:55:25 UTC
Created attachment 614322 [details]
environment
Comment 4 Toralf Förster gentoo-dev 2020-02-18 18:55:28 UTC
Created attachment 614324 [details]
etc.portage.tbz2
Comment 5 Toralf Förster gentoo-dev 2020-02-18 18:55:31 UTC
Created attachment 614326 [details]
games-strategy:galaxyhack-1.74-r1:20200218-091342.log
Comment 6 Alexey 2021-08-31 23:52:34 UTC
Can't reproduce. Due to the libsdl dependency, sdl-config used by the build system exists, and provides the path to SDL.h.

This was probably fixed by https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=e7b1bdd8078b63e24d2e8b5537b049d4eed6ea0d