gtk2 fails to build

Thomas trg818 at
Wed Jul 4 06:26:02 PDT 2012

I'm trying to (re)build gtk2 @2.24.8 +x11, which has been found to be
broken by port's automatic check, but the compilation fails with the error
messages posted below. This happens on a Leopard machine (10.5.8) (and this
time I did clean gtk2 before recompiling).
What can I do about it? It does seem that I have all required libraries
installed, in particular libpng and pixbuf.
The whole thing happens while running port upgrade texlive (and I must say,
I don't know why macports decided to compile the entire universe when I
only wanted my TeX to be upgraded), although I don't understand why gtk2 is
rebuilt in the first place here.

:info:build Making all in demos
:info:build make[2]: Entering directory
:info:build /opt/local/bin/gdk-pixbuf-csource --raw
:info:build             apple_red  ./apple-red.png      \
:info:build                 gnome_foot ./gnome-foot.png \
:info:build         > test-inline-pixbufs.h                             \
:info:build     || (rm -f test-inline-pixbufs.h && false)
:info:build (process:51647): GdkPixbuf-WARNING **: Bug! gdk-pixbuf loader
didn't set an error on failure.
:info:build failed to load "./apple-red.png": Failed to load image
png': reason not known, probably a corrupt image file
:info:build make[2]: *** [test-inline-pixbufs.h] Error 1
:info:build make[2]: Leaving directory
:info:build make[1]: *** [all-recursive] Error 1
:info:build make[1]: Leaving directory
:info:build make: *** [all] Error 2
:info:build make: Leaving directory
:info:build Command failed:  cd
0" && /usr/bin/make -w all
:info:build Exit code: 2
:error:build for port gtk2 returned: command execution
:debug:build Error code: CHILDSTATUS 80259 2
:debug:build Backtrace: command execution failed
    while executing
"system -nice 0 $fullcmdstring"
    ("eval" body line 1)
    invoked from within
"eval system $notty $nice \$fullcmdstring"
    invoked from within
"command_exec build"
    (procedure "portbuild::build_main" line 8)
    invoked from within
"$procedure $targetname"
:info:build Warning: targets not executed for gtk2: org.macports.install
org.mac org.macports.destroot
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <>

More information about the macports-users mailing list