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
Created attachment 378660 [details, diff] patch for libsdl ebuild which fixes the problem
I want less wrapped headers, not more.
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".
This is also an issue when building xbmc.
+*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
*** This bug has been marked as a duplicate of bug 510276 ***