gtk2 fails to build

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


Hi,
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.
Thomas

:info:build Making all in demos
:info:build make[2]: Entering directory
`/opt/local/var/macports/build/_opt_loca
l_var_macports_sources_rsync.macports.org_release_ports_gnome_gtk2/gtk2/work/gtk
+-2.24.10/demos'
:info:build /opt/local/bin/gdk-pixbuf-csource --raw
--build-list
\
: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
:info:build (process:51647): GdkPixbuf-WARNING **: Bug! gdk-pixbuf loader
'png'
didn't set an error on failure.
:info:build failed to load "./apple-red.png": Failed to load image
'./apple-red.
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
`/opt/local/var/macports/build/_opt_local
_var_macports_sources_rsync.macports.org_release_ports_gnome_gtk2/gtk2/work/gtk+
-2.24.10/demos'
:info:build make[1]: *** [all-recursive] Error 1
:info:build make[1]: Leaving directory
`/opt/local/var/macports/build/_opt_local
_var_macports_sources_rsync.macports.org_release_ports_gnome_gtk2/gtk2/work/gtk+
-2.24.10'
:info:build make: *** [all] Error 2
:info:build make: Leaving directory
`/opt/local/var/macports/build/_opt_local_va
r_macports_sources_rsync.macports.org_release_ports_gnome_gtk2/gtk2/work/gtk+-2.
24.10'
:info:build Command failed:  cd
"/opt/local/var/macports/build/_opt_local_var_ma
cports_sources_rsync.macports.org_release_ports_gnome_gtk2/gtk2/work/gtk+-2.24.1
0" && /usr/bin/make -w all
:info:build Exit code: 2
:error:build org.macports.build for port gtk2 returned: command execution
failed
: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
ports.build org.macports.destroot
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.macosforge.org/pipermail/macports-users/attachments/20120704/702895d9/attachment.html>


More information about the macports-users mailing list