[MacPorts] #19183: atk fails to build because of broken GLIB

MacPorts noreply at macports.org
Thu May 14 23:14:30 PDT 2009


#19183: atk fails to build because of broken GLIB
----------------------------------+-----------------------------------------
 Reporter:  martijn@…             |       Owner:  ryandesign@…           
     Type:  defect                |      Status:  new                    
 Priority:  Normal                |   Milestone:                         
Component:  ports                 |     Version:  1.7.1                  
 Keywords:                        |        Port:  glib2                  
----------------------------------+-----------------------------------------

Comment(by martijn@…):

 {{{
 $ sudo port install py25-gtk
 --->  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: Making all in manual
 make[2]: Nothing to be done for `all'.
 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
  /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:18>
MacPorts <http://www.macports.org/>
Ports system for Mac OS


More information about the macports-tickets mailing list