Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 512914 - games-arcade/frozen-bubble-2.2.1_beta1 with media-libs/libsdl-1.2.15-r5: SDL_config.h:30:26: fatal error: SDL_platform.h: No such file or directory
Summary: games-arcade/frozen-bubble-2.2.1_beta1 with media-libs/libsdl-1.2.15-r5: SDL_...
Status: RESOLVED DUPLICATE of bug 510276
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: [OLD] Games (show other bugs)
Hardware: All Linux
: Normal normal (vote)
Assignee: Gentoo Games
URL:
Whiteboard:
Keywords: PATCH
Depends on:
Blocks: 512430
  Show dependency tree
 
Reported: 2014-06-10 21:44 UTC by Petr Zima
Modified: 2014-07-30 08:19 UTC (History)
1 user (show)

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


Attachments
patch for libsdl ebuild which fixes the problem (libsdl-1.2.15-r5.ebuild.patch,676 bytes, patch)
2014-06-10 21:55 UTC, Petr Zima
Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description Petr Zima 2014-06-10 21:44:42 UTC
Build of games-arcade/frozen-bubble-2.2.1_beta1 fails on ~adm64 with:

x86_64-pc-linux-gnu-gcc -I/usr/lib64/perl5/5.18.2/x86_64-linux/CORE -DVERSION="2.212" -DXS_VERSION
="2.212" -fPIC -I/usr/include -c -fno-strict-aliasing -pipe -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BIT
S=64 -march=native -O3 -g -pipe -march=native -O3 -g -pipe -o lib/Games/FrozenBubble/CStuff.o lib/
Games/FrozenBubble/CStuff.c
In file included from /usr/include/SDL/SDL_config.h:10:0,
                 from /usr/include/SDL/SDL_stdinc.h:30,
                 from /usr/include/SDL/SDL_main.h:26,
                 from /usr/include/SDL/SDL.h:30,
                 from lib/Games/FrozenBubble/CStuff.xs:32:
/usr/include/x86_64-pc-linux-gnu/SDL/SDL_config.h:30:26: fatal error: SDL_platform.h: No such file or directory
 #include "SDL_platform.h"
                          ^
compilation terminated.
error building lib/Games/FrozenBubble/CStuff.o from 'lib/Games/FrozenBubble/CStuff.c' at /usr/lib64/perl5/vendor_perl/5.18.2/ExtUtils/CBuilder/Base.pm line 175.

It is caused by the new multilib stuff in media-libs/libsdl-1.2.15-r5.

Reproducible: Always
Comment 1 Petr Zima 2014-06-10 21:55:17 UTC
Created attachment 378660 [details, diff]
patch for libsdl ebuild which fixes the problem
Comment 2 Julian Ospald 2014-06-10 21:56:39 UTC
I want less wrapped headers, not more.
Comment 3 Andrew Church 2014-06-11 02:44:47 UTC
Note that the package is broken upstream because it doesn't use sdl-config to get flags and it uses #include <SDL/SDL.h> instead of #include "SDL.h".
Comment 4 Timo Rothenpieler 2014-06-17 17:11:34 UTC
This is also an issue when building xbmc.
Comment 5 Julian Ospald 2014-06-22 13:41:57 UTC
+*libsdl-1.2.15-r6 (22 Jun 2014)
+
+  22 Jun 2014; Julian Ospald <hasufell@gentoo.org> +libsdl-1.2.15-r6.ebuild:
+  disable wrapping of headers (also disables nasm for 32bit on amd64), wrt
+  #512430
Comment 6 SpanKY gentoo-dev 2014-07-30 08:19:42 UTC

*** This bug has been marked as a duplicate of bug 510276 ***