building gtk2, error in libtool

Kevin Layer layer at franz.com
Wed Jul 28 08:02:02 PDT 2010


I'm on a quest to build an mdmg of gtk2.  I got it to work last night,
but remembered that I needed a universal binary.  I tried to execute 

  port mdmg gtk2 +x11 +universal

but it failed.  So, I decided to start over.  I uninstalled everything
according to the uninstall advice in the guide.  I installed a fresh
new 1.9.1, and issued this command:

  port install gtk2 +x11 +universal

got the error below.

I'm running on 10.5.8 (9L31a).

Is this a known issue?

Thanks.

--->  Fetching gtk2
--->  Attempting to fetch gtk+-2.20.1.tar.bz2 from http://distfiles.macports.org/gtk2
--->  Verifying checksum(s) for gtk2
--->  Extracting gtk2
--->  Applying patches to gtk2
--->  Configuring gtk2
--->  Building gtk2
Error: Target org.macports.build returned: shell command failed
Log for gtk2 is at: /opt/local/var/macports/logs/_opt_local_var_macports_sources_rsync.macports.org_release_ports_x11_gtk2/main.log
Error: Status 1 encountered during processing.
To report a bug, see <http://guide.macports.org/#project.tickets>
Wed Jul 28 00:31:02 PDT 2010
bigmac# cat /opt/local/var/macports/logs/_opt_local_var_macports_sources_rsync.macports.org_release_ports_x11_gtk2/main.log
:info:build #	source='io-qtif.c' object='io-qtif.lo' libtool=yes 
:info:build /bin/sh ../libtool  --tag=CC   --mode=compile /usr/bin/gcc-4.0 -DHAVE_CONFIG_H -I. -I.. -DG_LOG_DOMAIN=\"GdkPixbuf\" -DGDK_PIXBUF_COMPILATION -I.. -I.. -I../gdk-pixbuf -I../gdk-pixbuf -DGTK_SYSCONFDIR=\"/opt/local/etc\" -DGTK_VERSION=\"2.20.1\" -DGTK_BINARY_VERSION=\"2.10.0\" -DGTK_PREFIX=\"/opt/local\"  -DG_DISABLE_CAST_CHECKS -D_REENTRANT -I/opt/local/include/glib-2.0 -I/opt/local/lib/glib-2.0/include -I/opt/local/include -I/opt/local/include/libpng12    -DGDK_PIXBUF_ENABLE_BACKEND "-DPIXBUF_LIBDIR=\"/opt/local/lib/gtk-2.0/2.10.0/loaders\"" "-DBUILT_MODULES_DIR=\"./.libs\"" -I/opt/local/include -DX_LOCALE -DG_DISABLE_SINGLE_INCLUDES -DATK_DISABLE_SINGLE_INCLUDES -DGDK_PIXBUF_DISABLE_SINGLE_INCLUDES -DGTK_DISABLE_SINGLE_INCLUDES -I/opt/local/include    -DGDK_PIXBUF_DISABLE_DEPRECATED -pipe -O2 -fstrict-aliasing -arch ppc -Wall -c -o io-qtif.lo io-qtif.c
:info:build \
:info:build #	source='gdk-pixbuf-csource.c' object='gdk-pixbuf-csource.o' libtool=no 
:info:build /usr/bin/gcc-4.0 -DHAVE_CONFIG_H -I. -I.. -DG_LOG_DOMAIN=\"GdkPixbuf\" -DGDK_PIXBUF_COMPILATION -I.. -I.. -I../gdk-pixbuf -I../gdk-pixbuf -DGTK_SYSCONFDIR=\"/opt/local/etc\" -DGTK_VERSION=\"2.20.1\" -DGTK_BINARY_VERSION=\"2.10.0\" -DGTK_PREFIX=\"/opt/local\"  -DG_DISABLE_CAST_CHECKS -D_REENTRANT -I/opt/local/include/glib-2.0 -I/opt/local/lib/glib-2.0/include -I/opt/local/include -I/opt/local/include/libpng12    -DGDK_PIXBUF_ENABLE_BACKEND "-DPIXBUF_LIBDIR=\"/opt/local/lib/gtk-2.0/2.10.0/loaders\"" "-DBUILT_MODULES_DIR=\"./.libs\"" -I/opt/local/include -DX_LOCALE -DG_DISABLE_SINGLE_INCLUDES -DATK_DISABLE_SINGLE_INCLUDES -DGDK_PIXBUF_DISABLE_SINGLE_INCLUDES -DGTK_DISABLE_SINGLE_INCLUDES -I/opt/local/include    -DGDK_PIXBUF_DISABLE_DEPRECATED -pipe -O2 -fstrict-aliasing -arch ppc -Wall -c gdk-pixbuf-csource.c
:info:build libtool: compile:  /usr/bin/gcc-4.0 -DHAVE_CONFIG_H -I. -I.. -DG_LOG_DOMAIN=\"GdkPixbuf\" -DGDK_PIXBUF_COMPILATION -I.. -I.. -I../gdk-pixbuf -I../gdk-pixbuf -DGTK_SYSCONFDIR=\"/opt/local/etc\" -DGTK_VERSION=\"2.20.1\" -DGTK_BINARY_VERSION=\"2.10.0\" -DGTK_PREFIX=\"/opt/local\" -DG_DISABLE_CAST_CHECKS -D_REENTRANT -I/opt/local/include/glib-2.0 -I/opt/local/lib/glib-2.0/include -I/opt/local/include -I/opt/local/include/libpng12 -DGDK_PIXBUF_ENABLE_BACKEND -DPIXBUF_LIBDIR=\"/opt/local/lib/gtk-2.0/2.10.0/loaders\" -DBUILT_MODULES_DIR=\"./.libs\" -I/opt/local/include -DX_LOCALE -DG_DISABLE_SINGLE_INCLUDES -DATK_DISABLE_SINGLE_INCLUDES -DGDK_PIXBUF_DISABLE_SINGLE_INCLUDES -DGTK_DISABLE_SINGLE_INCLUDES -I/opt/local/include -DGDK_PIXBUF_DISABLE_DEPRECATED -pipe -O2 -fstrict-aliasing -arch ppc -Wall -c io-qtif.c  -fno-common -DPIC -o .libs/io-qtif.o
:info:build \
:info:build #	source='queryloaders.c' object='queryloaders.o' libtool=no 
:info:build /usr/bin/gcc-4.0 -DHAVE_CONFIG_H -I. -I.. -DG_LOG_DOMAIN=\"GdkPixbuf\" -DGDK_PIXBUF_COMPILATION -I.. -I.. -I../gdk-pixbuf -I../gdk-pixbuf -DGTK_SYSCONFDIR=\"/opt/local/etc\" -DGTK_VERSION=\"2.20.1\" -DGTK_BINARY_VERSION=\"2.10.0\" -DGTK_PREFIX=\"/opt/local\"  -DG_DISABLE_CAST_CHECKS -D_REENTRANT -I/opt/local/include/glib-2.0 -I/opt/local/lib/glib-2.0/include -I/opt/local/include -I/opt/local/include/libpng12    -DGDK_PIXBUF_ENABLE_BACKEND "-DPIXBUF_LIBDIR=\"/opt/local/lib/gtk-2.0/2.10.0/loaders\"" "-DBUILT_MODULES_DIR=\"./.libs\"" -I/opt/local/include -DX_LOCALE -DG_DISABLE_SINGLE_INCLUDES -DATK_DISABLE_SINGLE_INCLUDES -DGDK_PIXBUF_DISABLE_SINGLE_INCLUDES -DGTK_DISABLE_SINGLE_INCLUDES -I/opt/local/include    -DGDK_PIXBUF_DISABLE_DEPRECATED -pipe -O2 -fstrict-aliasing -arch ppc -Wall -c queryloaders.c
:info:build libtool: compile:  /usr/bin/gcc-4.0 -DHAVE_CONFIG_H -I. -I.. -DG_LOG_DOMAIN=\"GdkPixbuf\" -DGDK_PIXBUF_COMPILATION -I.. -I.. -I../gdk-pixbuf -I../gdk-pixbuf -DGTK_SYSCONFDIR=\"/opt/local/etc\" -DGTK_VERSION=\"2.20.1\" -DGTK_BINARY_VERSION=\"2.10.0\" -DGTK_PREFIX=\"/opt/local\" -DG_DISABLE_CAST_CHECKS -D_REENTRANT -I/opt/local/include/glib-2.0 -I/opt/local/lib/glib-2.0/include -I/opt/local/include -I/opt/local/include/libpng12 -DGDK_PIXBUF_ENABLE_BACKEND -DPIXBUF_LIBDIR=\"/opt/local/lib/gtk-2.0/2.10.0/loaders\" -DBUILT_MODULES_DIR=\"./.libs\" -I/opt/local/include -DX_LOCALE -DG_DISABLE_SINGLE_INCLUDES -DATK_DISABLE_SINGLE_INCLUDES -DGDK_PIXBUF_DISABLE_SINGLE_INCLUDES -DGTK_DISABLE_SINGLE_INCLUDES -I/opt/local/include -DGDK_PIXBUF_DISABLE_DEPRECATED -pipe -O2 -fstrict-aliasing -arch ppc -Wall -c io-pcx.c -o io-pcx.o >/dev/null 2>&1
:info:build \
:info:build #	source='test-gdk-pixbuf.c' object='test-gdk-pixbuf.o' libtool=no 
:info:build /usr/bin/gcc-4.0 -DHAVE_CONFIG_H -I. -I.. -DG_LOG_DOMAIN=\"GdkPixbuf\" -DGDK_PIXBUF_COMPILATION -I.. -I.. -I../gdk-pixbuf -I../gdk-pixbuf -DGTK_SYSCONFDIR=\"/opt/local/etc\" -DGTK_VERSION=\"2.20.1\" -DGTK_BINARY_VERSION=\"2.10.0\" -DGTK_PREFIX=\"/opt/local\"  -DG_DISABLE_CAST_CHECKS -D_REENTRANT -I/opt/local/include/glib-2.0 -I/opt/local/lib/glib-2.0/include -I/opt/local/include -I/opt/local/include/libpng12    -DGDK_PIXBUF_ENABLE_BACKEND "-DPIXBUF_LIBDIR=\"/opt/local/lib/gtk-2.0/2.10.0/loaders\"" "-DBUILT_MODULES_DIR=\"./.libs\"" -I/opt/local/include -DX_LOCALE -DG_DISABLE_SINGLE_INCLUDES -DATK_DISABLE_SINGLE_INCLUDES -DGDK_PIXBUF_DISABLE_SINGLE_INCLUDES -DGTK_DISABLE_SINGLE_INCLUDES -I/opt/local/include    -DGDK_PIXBUF_DISABLE_DEPRECATED -pipe -O2 -fstrict-aliasing -arch ppc -Wall -c test-gdk-pixbuf.c
:info:build libtool: compile:  /usr/bin/gcc-4.0 -DHAVE_CONFIG_H -I. -I.. -DG_LOG_DOMAIN=\"GdkPixbuf\" -DGDK_PIXBUF_COMPILATION -I.. -I.. -I../gdk-pixbuf -I../gdk-pixbuf -DGTK_SYSCONFDIR=\"/opt/local/etc\" -DGTK_VERSION=\"2.20.1\" -DGTK_BINARY_VERSION=\"2.10.0\" -DGTK_PREFIX=\"/opt/local\" -DG_DISABLE_CAST_CHECKS -D_REENTRANT -I/opt/local/include/glib-2.0 -I/opt/local/lib/glib-2.0/include -I/opt/local/include -I/opt/local/include/libpng12 -DGDK_PIXBUF_ENABLE_BACKEND -DPIXBUF_LIBDIR=\"/opt/local/lib/gtk-2.0/2.10.0/loaders\" -DBUILT_MODULES_DIR=\"./.libs\" -I/opt/local/include -DX_LOCALE -DG_DISABLE_SINGLE_INCLUDES -DATK_DISABLE_SINGLE_INCLUDES -DGDK_PIXBUF_DISABLE_SINGLE_INCLUDES -DGTK_DISABLE_SINGLE_INCLUDES -I/opt/local/include -DGDK_PIXBUF_DISABLE_DEPRECATED -pipe -O2 -fstrict-aliasing -arch ppc -Wall -c io-qtif.c -o io-qtif.o >/dev/null 2>&1
:info:build /bin/sh ../libtool  --tag=CC   --mode=link /usr/bin/gcc-4.0  -DGDK_PIXBUF_DISABLE_DEPRECATED -pipe -O2 -fstrict-aliasing -arch ppc -Wall  -version-info 2000:1:2000 -export-symbols-regex "^[^_].*"   -L/opt/local/lib -arch ppc -o libgdk_pixbuf-2.0.la -rpath /opt/local/lib gdk-pixbuf.lo gdk-pixbuf-animation.lo gdk-pixbuf-data.lo gdk-pixbuf-io.lo gdk-pixbuf-loader.lo gdk-pixbuf-scale.lo gdk-pixbuf-simple-anim.lo gdk-pixbuf-scaled-anim.lo gdk-pixbuf-util.lo gdk-pixdata.lo gdk-pixbuf-enum-types.lo pixops/libpixops.la  -L/opt/local/lib -lgio-2.0 -lz -lgobject-2.0 -lgmodule-2.0 -lgthread-2.0 -lglib-2.0 -lintl -liconv    -lm   
:info:build libtool: link: /usr/bin/nm  .libs/gdk-pixbuf.o .libs/gdk-pixbuf-animation.o .libs/gdk-pixbuf-data.o .libs/gdk-pixbuf-io.o .libs/gdk-pixbuf-loader.o .libs/gdk-pixbuf-scale.o .libs/gdk-pixbuf-simple-anim.o .libs/gdk-pixbuf-scaled-anim.o .libs/gdk-pixbuf-util.o .libs/gdk-pixdata.o .libs/gdk-pixbuf-enum-types.o   pixops/.libs/libpixops.a |  | /usr/bin/sed 's/.* //' | sort | uniq > .libs/libgdk_pixbuf-2.0.exp
:info:build ../libtool: eval: line 961: syntax error near unexpected token `|'
:info:build ../libtool: eval: line 961: `/usr/bin/nm  .libs/gdk-pixbuf.o .libs/gdk-pixbuf-animation.o .libs/gdk-pixbuf-data.o .libs/gdk-pixbuf-io.o .libs/gdk-pixbuf-loader.o .libs/gdk-pixbuf-scale.o .libs/gdk-pixbuf-simple-anim.o .libs/gdk-pixbuf-scaled-anim.o .libs/gdk-pixbuf-util.o .libs/gdk-pixdata.o .libs/gdk-pixbuf-enum-types.o   pixops/.libs/libpixops.a |  | /usr/bin/sed 's/.* //' | sort | uniq > .libs/libgdk_pixbuf-2.0.exp'
:info:build make[4]: *** [libgdk_pixbuf-2.0.la] Error 1
:info:build make[3]: *** [all-recursive] Error 1
:info:build make[2]: *** [all] Error 2
:info:build make[1]: *** [all-recursive] Error 1
:info:build make: *** [all] Error 2
:info:build shell command " cd "/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_x11_gtk2/work/gtk+-2.20.1-ppc" && /usr/bin/make -j4 all " returned error 2
:error:build Target org.macports.build returned: shell command failed
:debug:build Backtrace: shell command failed
    while executing
"$procedure $targetname"
:info:build Warning: the following items did not execute (for gtk2): org.macports.activate org.macports.build org.macports.destroot org.macports.install
:notice:build Log for gtk2 is at: /opt/local/var/macports/logs/_opt_local_var_macports_sources_rsync.macports.org_release_ports_x11_gtk2/main.log
bigmac# 


More information about the macports-users mailing list