Opened 12 years ago

Closed 12 years ago

#35804 closed defect (fixed)

gtk2: Failed to load image './apple-red.png': reason not known, probably a corrupt image file

Reported by: sgrewe (Stefan Grewe) Owned by: macports-tickets@…
Priority: Normal Milestone:
Component: ports Version: 2.1.2
Keywords: Cc: ryandesign (Ryan Carsten Schmidt)
Port: gtk2

Description (last modified by ryandesign (Ryan Carsten Schmidt))

Making all in demos
make[2]: Entering directory `/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_gnome_gtk2/gtk2/work/gtk+-2.24.11/demos'
/opt/local/bin/gdk-pixbuf-csource --raw --build-list		\
	        apple_red  ./apple-red.png	\
                gnome_foot ./gnome-foot.png	\
        > test-inline-pixbufs.h				\
	|| (rm -f test-inline-pixbufs.h && false)

(process:68210): GdkPixbuf-WARNING **: Bug! gdk-pixbuf loader 'png' didn't set an error on failure.
failed to load "./apple-red.png": Failed to load image './apple-red.png': reason not known, probably a corrupt image file
make[2]: *** [test-inline-pixbufs.h] Error 1

Change History (4)

comment:1 Changed 12 years ago by ryandesign (Ryan Carsten Schmidt)

Cc: ryandesign@… added
Description: modified (diff)
Summary: gtk2 - building on mountain lion - demos - [test-inline-pixbufs.h] Errorgtk2: Failed to load image './apple-red.png': reason not known, probably a corrupt image file

We've seen this before (#29393); does anything in that ticket help you?

comment:2 in reply to:  1 ; Changed 12 years ago by sgrewe (Stefan Grewe)

Following advice in #29393, I rebuilt glib2 @2.32.4_0 and gdk-pixbuf2 @2.26.2_0. Unfortunately, this did not help. Any other suggestions, or any other info I can provide?

comment:3 in reply to:  2 Changed 12 years ago by sgrewe (Stefan Grewe)

With libpng 1.5 everything is working now. Ticket can be closed

comment:4 Changed 12 years ago by pixilla (Bradley Giesbrecht)

Resolution: fixed
Status: newclosed
Note: See TracTickets for help on using tickets.