[MacPorts] #33959: xchat2 fails to build with current glib2

MacPorts noreply at macports.org
Mon Apr 9 13:57:03 PDT 2012


#33959: xchat2 fails to build with current glib2
-----------------------------------+----------------------------------------
 Reporter:  jeremyhu@…             |       Owner:  afb@…           
     Type:  defect                 |      Status:  new             
 Priority:  Normal                 |   Milestone:                  
Component:  ports                  |     Version:  2.0.4           
 Keywords:  glib2                  |        Port:  xchat2          
-----------------------------------+----------------------------------------
 After the recent update to glib2 (2.32.0), xchat2 no longer builds:

 {{{
 make[5]: Entering directory
 `/opt/local/var/macports/build/_Users_jeremy_src_macports_trunk_dports_irc_xchat2/xchat2/work/xchat-2.8.8/src/common/dbus'
 /usr/bin/gcc-4.2 -DHAVE_CONFIG_H -I. -I../../..
 -I/opt/local/include/glib-2.0 -I/opt/local/lib/glib-2.0/include
 -I/opt/local/include   -D_REENTRANT -I/opt/local/include/dbus-1.0
 -I/opt/local/lib/dbus-1.0/include -I/opt/local/include/glib-2.0
 -I/opt/local/lib/glib-2.0/include -I/opt/local/include   -D_REENTRANT
 -I/opt/local/include/dbus-1.0 -I/opt/local/lib/dbus-1.0/include
 -I/opt/local/include/glib-2.0 -I/opt/local/lib/glib-2.0/include
 -I/opt/local/include    -I/opt/local/include -I/opt/local/include    -pipe
 -g3 -arch x86_64 -Wall -g -I/opt/local/include -I/opt/local/include   -c
 -o dbus-client.o dbus-client.c
 In file included from ../xchat.h:3,
                  from dbus-client.c:24:
 /opt/local/include/glib-2.0/glib/gslist.h:28:2: error: #error "Only
 <glib.h> can be included directly."
 In file included from ../xchat.h:4,
                  from dbus-client.c:24:
 /opt/local/include/glib-2.0/glib/glist.h:28:2: error: #error "Only
 <glib.h> can be included directly."
 In file included from ../xchat.h:5,
                  from dbus-client.c:24:
 /opt/local/include/glib-2.0/glib/gutils.h:28:2: error: #error "Only
 <glib.h> can be included directly."
 In file included from ../xchat.h:6,
                  from dbus-client.c:24:
 /opt/local/include/glib-2.0/glib/giochannel.h:28:2: error: #error "Only
 <glib.h> can be included directly."
 In file included from ../xchat.h:7,
                  from dbus-client.c:24:
 /opt/local/include/glib-2.0/glib/gstrfuncs.h:28:2: error: #error "Only
 <glib.h> can be included directly."
 }}}

-- 
Ticket URL: <https://trac.macports.org/ticket/33959>
MacPorts <http://www.macports.org/>
Ports system for Mac OS


More information about the macports-tickets mailing list