Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 651762 - games-strategy/freeorion-0.4.7.1-r3 : /.../SDL_config.h:33:10: fatal error: SDL_platform.h: No such file or directory
Summary: games-strategy/freeorion-0.4.7.1-r3 : /.../SDL_config.h:33:10: fatal error: S...
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal normal (vote)
Assignee: Adam Feldman
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2018-03-27 17:29 UTC by Toralf Förster
Modified: 2018-07-16 09:50 UTC (History)
0 users

See Also:
Package list:
Runtime testing required: ---


Attachments
emerge-info.txt (emerge-info.txt,16.65 KB, text/plain)
2018-03-27 17:29 UTC, Toralf Förster
Details
emerge-history.txt (emerge-history.txt,87.01 KB, text/plain)
2018-03-27 17:29 UTC, Toralf Förster
Details
environment (environment,162.47 KB, text/plain)
2018-03-27 17:29 UTC, Toralf Förster
Details
etc.portage.tbz2 (etc.portage.tbz2,11.85 KB, application/x-bzip)
2018-03-27 17:29 UTC, Toralf Förster
Details
games-strategy:freeorion-0.4.7.1-r3:20180327-142222.log (games-strategy:freeorion-0.4.7.1-r3:20180327-142222.log,146.21 KB, text/plain)
2018-03-27 17:29 UTC, Toralf Förster
Details
logs.tbz2 (logs.tbz2,5.18 KB, application/x-bzip)
2018-03-27 17:29 UTC, Toralf Förster
Details
temp.tbz2 (temp.tbz2,41.85 KB, application/x-bzip)
2018-03-27 17:29 UTC, Toralf Förster
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Toralf Förster gentoo-dev 2018-03-27 17:29:20 UTC
                 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"
Comment 1 Toralf Förster gentoo-dev 2018-03-27 17:29:23 UTC
Created attachment 525796 [details]
emerge-info.txt
Comment 2 Toralf Förster gentoo-dev 2018-03-27 17:29:26 UTC
Created attachment 525798 [details]
emerge-history.txt
Comment 3 Toralf Förster gentoo-dev 2018-03-27 17:29:29 UTC
Created attachment 525800 [details]
environment
Comment 4 Toralf Förster gentoo-dev 2018-03-27 17:29:32 UTC
Created attachment 525802 [details]
etc.portage.tbz2
Comment 5 Toralf Förster gentoo-dev 2018-03-27 17:29:34 UTC
Created attachment 525804 [details]
games-strategy:freeorion-0.4.7.1-r3:20180327-142222.log
Comment 6 Toralf Förster gentoo-dev 2018-03-27 17:29:37 UTC
Created attachment 525806 [details]
logs.tbz2
Comment 7 Toralf Förster gentoo-dev 2018-03-27 17:29:40 UTC
Created attachment 525808 [details]
temp.tbz2
Comment 8 Torro 2018-05-06 09:49:10 UTC
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.
Comment 9 Toralf Förster gentoo-dev 2018-05-06 10:06:36 UTC
(In reply to Torro from comment #8)
well, for the purpose of the tinderbox IMO the ebuild should get the fix, or ?
Comment 10 Torro 2018-05-07 11:25:16 UTC
(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.
Comment 11 Larry the Git Cow gentoo-dev 2018-07-16 05:02:24 UTC
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(+)