#19183: atk fails to build because of broken GLIB ---------------------------------+------------------------------------------ Reporter: martijn@… | Owner: ryandesign@… Type: defect | Status: new Priority: Normal | Component: ports Version: 1.7.1 | Keywords: Port: glib2 | ---------------------------------+------------------------------------------ Comment(by martijn@…): After the latest update I get a new error: {{{ ---> Verifying checksum(s) for gtk-doc ---> Extracting gtk-doc ---> Configuring gtk-doc ---> Building gtk-doc Error: Target org.macports.build returned: shell command " cd "/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports .org_release_ports_gnome_gtk-doc/work/gtk-doc-1.11" && make all " returned error 2 Command output: xsltproc -o gtk-doc-manual-C.omf --stringparam db2omf.basename gtk-doc-manual --stringparam db2omf.format 'docbook' --stringparam db2omf.dtd "-//OASIS//DTD DocBook XML V4.1.2//EN" --stringparam db2omf.lang C --stringparam db2omf.omf_dir "/opt/local/share/omf" --stringparam db2omf.help_dir "/opt/local/share/gnome/help" --stringparam db2omf.omf_in "/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports .org_release_ports_gnome_gtk-doc/work/gtk-doc-1.11/help/manual/gtk-doc- manual.omf.in" --stringparam db2omf.scrollkeeper_cl "`scrollkeeper-config --pkgdatadir`/Templates/C/scrollkeeper_cl.xml" `/opt/local/bin/pkg-config --variable db2omf gnome-doc-utils` C/gtk-doc-manual.xml || { rm -f "gtk- doc-manual-C.omf"; exit 1; } make[2]: Nothing to be done for `all-am'. Making all in tests Making all in gobject Making all in . make[3]: Nothing to be done for `all-am'. Making all in src /bin/sh ../../../libtool --tag=CC --mode=compile /usr/bin/gcc-4.0 -DPACKAGE_NAME=\"gtk-doc\" -DPACKAGE_TARNAME=\"gtk-doc\" -DPACKAGE_VERSION=\"1.11\" -DPACKAGE_STRING=\"gtk-doc\ 1.11\" -DPACKAGE_BUGREPORT=\"http://bugzilla.gnome.org/enter_bug.cgi\?product =gtk-doc\" -DPACKAGE=\"gtk-doc\" -DVERSION=\"1.11\" -DSTDC_HEADERS=1 -DHAVE_SYS_TYPES_H=1 -DHAVE_SYS_STAT_H=1 -DHAVE_STDLIB_H=1 -DHAVE_STRING_H=1 -DHAVE_MEMORY_H=1 -DHAVE_STRINGS_H=1 -DHAVE_INTTYPES_H=1 -DHAVE_STDINT_H=1 -DHAVE_UNISTD_H=1 -DHAVE_DLFCN_H=1 -I. -I/opt/local/include/glib-2.0 -I/opt/local/lib/glib-2.0/include -I/opt/local/include -I/opt/local/include -O2 -Wall -MT gobject.lo -MD -MP -MF .deps/gobject.Tpo -c -o gobject.lo gobject.c mkdir .libs /usr/bin/gcc-4.0 -DPACKAGE_NAME=\"gtk-doc\" -DPACKAGE_TARNAME=\"gtk-doc\" -DPACKAGE_VERSION=\"1.11\" "-DPACKAGE_STRING=\"gtk-doc 1.11\"" "-DPACKAGE_BUGREPORT=\"http://bugzilla.gnome.org/enter_bug.cgi?product =gtk-doc\"" -DPACKAGE=\"gtk-doc\" -DVERSION=\"1.11\" -DSTDC_HEADERS=1 -DHAVE_SYS_TYPES_H=1 -DHAVE_SYS_STAT_H=1 -DHAVE_STDLIB_H=1 -DHAVE_STRING_H=1 -DHAVE_MEMORY_H=1 -DHAVE_STRINGS_H=1 -DHAVE_INTTYPES_H=1 -DHAVE_STDINT_H=1 -DHAVE_UNISTD_H=1 -DHAVE_DLFCN_H=1 -I. -I/opt/local/include/glib-2.0 -I/opt/local/lib/glib-2.0/include -I/opt/local/include -I/opt/local/include -O2 -Wall -MT gobject.lo -MD -MP -MF .deps/gobject.Tpo -c gobject.c -fno-common -DPIC -o .libs/gobject.o In file included from /opt/local/include/glib-2.0/glib/gtypes.h:34, from /opt/local/include/glib-2.0/glib/galloca.h:34, from /opt/local/include/glib-2.0/glib.h:32, from gobject.c:23: /opt/local/lib/glib-2.0/include/glibconfig.h:174:2: error: '#' is not followed by a macro parameter In file included from /opt/local/include/glib-2.0/glib/gtypes.h:34, from /opt/local/include/glib-2.0/glib/galloca.h:34, from /opt/local/include/glib-2.0/glib.h:32, from gobject.c:23: /opt/local/lib/glib-2.0/include/glibconfig.h:175: error: syntax error before '?' token /opt/local/lib/glib-2.0/include/glibconfig.h:256:2: error: #endif without #if In file included from /opt/local/include/glib-2.0/glib/gasyncqueue.h:34, from /opt/local/include/glib-2.0/glib.h:34, from gobject.c:23: /opt/local/include/glib-2.0/glib/gthread.h:268: error: syntax error before 'GSystemThread' /opt/local/include/glib-2.0/glib/gthread.h:268: warning: no semicolon at end of struct or union make[3]: *** [gobject.lo] Error 1 make[2]: *** [all-recursive] Error 1 make[1]: *** [all-recursive] Error 1 make: *** [all-recursive] Error 1 Error: The following dependencies failed to build: atk gtk-doc cairo fontconfig freetype libpixman libpng xrender xorg-libX11 xorg-bigreqsproto xorg-inputproto xorg-kbproto xorg-libXau xorg-xproto xorg-libXdmcp xorg- xcmiscproto xorg-xextproto xorg-xf86bigfontproto xorg-xtrans xorg- renderproto gtk2 jasper jpeg pango Xft2 shared-mime-info tiff xorg- libXcomposite xorg-compositeproto xorg-libXext xorg-libXfixes xorg- fixesproto xorg-libXcursor xorg-libXdamage xorg-damageproto xorg-libXi xorg-libXinerama xorg-xineramaproto xorg-libXrandr xorg-randrproto libglade2 py25-cairo py25-numpy fftw-3 py25-nose py25-setuptools py25-zlib py25-gobject Error: Status 1 encountered during processing. }}} -- Ticket URL: <http://trac.macports.org/ticket/19183#comment:14> MacPorts <http://www.macports.org/> Ports system for Mac OS