from /var/tmp/portage/games-strategy/freeorion-0.4.7.1-r3/work/freeorion-0.4.7.1/GG/GG/SDL/SDLGUI.h:34, from /var/tmp/portage/games-strategy/freeorion-0.4.7.1-r3/work/freeorion-0.4.7.1/GG/src/SDL/SDLGUI.cpp:25: /usr/include/x86_64-pc-linux-gnu/SDL2/SDL_config.h:33:10: fatal error: SDL_platform.h: No such file or directory #include "SDL_platform.h" ^~~~~~~~~~~~~~~~ compilation terminated. ------------------------------------------------------------------- This is an unstable amd64 chroot image at a tinderbox (==build bot) name: 17.0-desktop-plasma_20180324-222611 ------------------------------------------------------------------- gcc-config -l: [1] x86_64-pc-linux-gnu-7.3.0 * Available Python interpreters, in order of preference: [1] python3.5 [2] python2.7 (fallback) Available Ruby profiles: [1] ruby22 (with Rubygems) [2] ruby23 (with Rubygems) * java-config: The following VMs are available for generation-2: *) IcedTea JDK 3.7.0 [icedtea-bin-8] Available Java Virtual Machines: [1] icedtea-bin-8 system-vm emerge -qpv games-strategy/freeorion [ebuild N ] games-strategy/freeorion-0.4.7.1-r3 PYTHON_TARGETS="python2_7"
Created attachment 525796 [details] emerge-info.txt
Created attachment 525798 [details] emerge-history.txt
Created attachment 525800 [details] environment
Created attachment 525802 [details] etc.portage.tbz2
Created attachment 525804 [details] games-strategy:freeorion-0.4.7.1-r3:20180327-142222.log
Created attachment 525806 [details] logs.tbz2
Created attachment 525808 [details] temp.tbz2
Toralf, after manually symlinking SDL_platform.h to /usr/include/x86_64-pc-linux-gnu/SDL2/ this issue went away. If this doesn't work try re-emerging libsdl2 first and reapply the symlink.
(In reply to Torro from comment #8) well, for the purpose of the tinderbox IMO the ebuild should get the fix, or ?
(In reply to Toralf Förster from comment #9) > (In reply to Torro from comment #8) > well, for the purpose of the tinderbox IMO the ebuild should get the fix, or > ? I concur, but I'm not the maintainer so I am not in a position to decide how to proceed. I will gladly provide a patch if it is decided that this fix will be used, or assist with closing this bug by other means.
The bug has been closed via the following commit(s): https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=6ada805286db1e9e4ba661532805840618ae7973 commit 6ada805286db1e9e4ba661532805840618ae7973 Author: NP-Hardass <NP-Hardass@gentoo.org> AuthorDate: 2018-06-03 16:01:40 +0000 Commit: NP-Hardass <NP-Hardass@gentoo.org> CommitDate: 2018-07-16 04:57:49 +0000 games-strategy/freeorion: Backport fix for detecting SDL2 incl dir Closes: https://bugs.gentoo.org/651762 Package-Manager: Portage-2.3.36, Repoman-2.3.9 ...ion-0.4.7.1-backport-sdl2-include-dir-fix.patch | 34 +++++++++ .../freeorion/freeorion-0.4.7.1-r4.ebuild | 85 ++++++++++++++++++++++ 2 files changed, 119 insertions(+)