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

Bug 388255

Summary: games-emulation/raine-0.51.9 fails to compile with libpng15
Product: Gentoo Linux Reporter: Roman 'gryf' Dobosz <gryf_esm>
Component: [OLD] GamesAssignee: Gentoo Games <games>
Status: RESOLVED FIXED    
Severity: trivial    
Priority: Normal    
Version: unspecified   
Hardware: x86   
OS: Linux   
Whiteboard:
Package list:
Runtime testing required: ---
Bug Depends on:    
Bug Blocks: 354479    
Attachments: Using png_jmpbuf instead jmpbuf fix the problem

Description Roman 'gryf' Dobosz 2011-10-23 19:06:02 UTC
Compilation of raine crashes every time with following error:

[...]
i686-pc-linux-gnu-gcc -O3 -Isource -Isource/68000 -Isource/z80 -Isource/sound -Isource/games -Isource/video -Isource/mini-unzip -Isource/mame -Isource/6502 -Isource/68020 -Isource/m68705  "-I/usr/include/libpng15"  -I/include -I/include -I source/sdl -I/usr/local/include -I/usr/include/muParser -D__RAINE__ -DRAINE_UNIX -O2 -march=i686 -pipe -fomit-frame-pointer -Wno-trigraphs -fschedule-insns2 -funroll-all-loops -fexpensive-optimizations -ffast-math -w -fomit-frame-pointer -pipe -DHAS_CONSOLE -DUSE_BEZELS=1 -DSDL  `sdl-config --cflags` -c source/savepng.c -o linux-gnu-sdl/object/savepng.o
source/savepng.c: In function ‘really_save_png’:
source/savepng.c:206:9: error: dereferencing pointer to incomplete type
make: *** [linux-gnu-sdl/object/savepng.o] Error 1
emake failed


Reproducible: Always

Steps to Reproduce:
1. emerge raine
2. see it fails :)
Comment 1 Roman 'gryf' Dobosz 2011-10-23 19:09:21 UTC
Created attachment 290663 [details]
Using png_jmpbuf instead jmpbuf fix the problem
Comment 2 Samuli Suominen (RETIRED) gentoo-dev 2011-10-23 19:34:11 UTC
Thanks a lot!

+  23 Oct 2011; Samuli Suominen <ssuominen@gentoo.org> raine-0.51.9.ebuild,
+  +files/raine-0.51.9-libpng15.patch:
+  Fix building with libpng15 wrt #388255 by Roman Dobosz. Fix building with
+  zlib >= 1.2.5.1-r1 (OF).

Please use full category/package-version in the bug summary next time, it's more clear that way.  Thanks again.