Summary: | media-gfx/enblend-4.0 build fails, invalid typecast | ||
---|---|---|---|
Product: | Gentoo Linux | Reporter: | Andreas K. Hüttel <dilfridge> |
Component: | Current packages | Assignee: | Gentoo Graphics Project <graphics+disabled> |
Status: | RESOLVED TEST-REQUEST | ||
Severity: | normal | ||
Priority: | Normal | ||
Version: | unspecified | ||
Hardware: | All | ||
OS: | Linux | ||
Whiteboard: | |||
Package list: | Runtime testing required: | --- | |
Attachments: |
compressed build log
emerge --info |
Created attachment 283213 [details]
emerge --info
* Searching for libpng ...
[IP-] [ ] media-libs/libpng-1.2.45:1.2
[IP-] [ ] media-libs/libpng-1.4.8:0
As I mentioned in a related forum thread, 1.5 patch needs a minor adjustment - up till 1.4 5th argument for png_{g,s}et_iCCP was png_charp{,*}, since 1.5 it's png_bytep{,*}. It's just a matter of an additional #ifdef. is this still an issue? from the date of your last sync, this should already be fixed in tree. libpng-1.5 patch is only applied when >=libpng-1.5 is actually installed. (and sorry for the delay...) 12 Aug 2011; Samuli Suominen <ssuominen@gentoo.org> enblend-4.0.ebuild: Seems the -libpng15.patch isn't entirely compatible with libpng14, apply workaround from bug #378677 (In reply to comment #3) > is this still an issue? from the date of your last sync, this should already > be fixed in tree. libpng-1.5 patch is only applied when >=libpng-1.5 is > actually installed. > (and sorry for the delay...) > > 12 Aug 2011; Samuli Suominen <ssuominen@gentoo.org> enblend-4.0.ebuild: > Seems the -libpng15.patch isn't entirely compatible with libpng14, apply > workaround from bug #378677 |
Created attachment 283197 [details] compressed build log x86_64-pc-linux-gnu-g++ -DHAVE_CONFIG_H -I. -I../.. -D_GNU_SOURCE -D_FILE_OFFSET_BITS=64 -I../../include -DVIGRA_STATIC_LIB -pthread -I/usr/include/OpenEXR -march=native -O2 -pipe -ggdb --param inline-unit-growth=60 -O2 -DNDEBUG -Wall -fopenmp -MT libvigra_impex_a-png.o -MD -MP -MF .deps/libvigra_impex_a-png.Tpo -c -o libvigra_impex_a-png.o `test -f 'png.cxx' || echo './'`png.cxx png.cxx: In Elementfunktion »void vigra::PngDecoderImpl::init()«: png.cxx:331:87: Fehler: ungültige Umwandlung von »png_byte**« in »char**« png.cxx:331:87: Fehler: Argument 5 von »png_uint_32 png_get_iCCP(const png_struct*, const png_info*, char**, int*, char**, png_uint_32*)« wird initialisiert png.cxx: In Elementfunktion »void vigra::PngEncoderImpl::finalize()«: png.cxx:600:63: Warnung: veraltete Konvertierung von Zeichenkettenkonstante in »char*« png.cxx:600:63: Fehler: ungültige Umwandlung von »vigra::ArrayVector<unsigned char, std::allocator<unsigned char> >::value_type*« in »char*« png.cxx:600:63: Fehler: Argument 5 von »void png_set_iCCP(png_struct*, png_info*, char*, int, char*, png_uint_32)« wird initialisiert In file included from png.cxx:55:0: png.cxx: In constructor »vigra::PngDecoderImpl::PngDecoderImpl(const std::string&)«: png.cxx:206:51: Warnung: ignoring return value of »size_t fread(void*, size_t, size_t, FILE*)«, declared with attribute warn_unused_result make[4]: *** [libvigra_impex_a-png.o] Fehler 1 make[4]: Leaving directory `/var/tmp/portage/media-gfx/enblend-4.0/work/enblend-enfuse-4.0-753b534c819d/src/vigra_impex' make[3]: *** [all-recursive] Fehler 1 make[3]: Leaving directory `/var/tmp/portage/media-gfx/enblend-4.0/work/enblend-enfuse-4.0-753b534c819d/src' make[2]: *** [all] Fehler 2 make[2]: Leaving directory `/var/tmp/portage/media-gfx/enblend-4.0/work/enblend-enfuse-4.0-753b534c819d/src' make[1]: *** [all-recursive] Fehler 1 make[1]: Leaving directory `/var/tmp/portage/media-gfx/enblend-4.0/work/enblend-enfuse-4.0-753b534c819d' make: *** [all] Fehler 2 "ungültige Umwandlung" = "invalid cast"