Opened 14 years ago

Closed 11 years ago

#25790 closed defect (fixed)

xchat-gnome doesn't compile

Reported by: blair (Blair Zajac) Owned by: macports-tickets@…
Priority: Normal Milestone:
Component: ports Version: 1.9.1
Keywords: Cc:
Port: xchat-gnome

Description

Building xchat-gnome at the latest version and having all other ports up to date fails with this:

/usr/bin/gcc-4.2 -std=gnu99 -DHAVE_CONFIG_H -I. -I../..  -DTOPSRCDIR="\"../..\"" -DSYSCONFDIR="\"/opt/local-development/etc\"" -DICONDIR="\"/opt/local-development/share/xchat-gnome/icons\"" -DDATADIR="\"/opt/local-development/share/xchat-gnome\"" -DXCHATSHAREDIR="\"/opt/local-development/share/xchat-gnome\"" -DLIBDIR="\"/opt/local-development/lib/xchat-gnome\"" -DPREFIX="\"/opt/local-development\"" -DXCHATLIBDIR="\"/opt/local-development/lib/xchat-gnome\"" -DGNOMELOCALEDIR="\"/opt/local-development/share/locale\"" -I./../common -DG_DISABLE_DEPRECATED -DGDK_DISABLE_DEPRECATED -DGDK_PIXBUF_DISABLE_DEPRECATED -DPANGO_DISABLE_DEPRECATED -DGTK_DISABLE_DEPRECATED -DGCONF_DISABLE_DEPRECATED -DBONOBO_DISABLE_DEPRECATED -DBONOBO_UI_DISABLE_DEPRECATED -DGNOME_VFS_DISABLE_DEPRECATED -DGNOME_DISABLE_DEPRECATED -DLIBGLADE_DISABLE_DEPRECATED -I/opt/local-development/include -D_REENTRANT -DORBIT2=1 -I/opt/local-development/include/glib-2.0 -I/opt/local-development/lib/glib-2.0/include -I/opt/local-development/include -I/opt/local-development/include/gtk-2.0 -I/opt/local-development/lib/gtk-2.0/include -I/opt/local-development/include/atk-1.0 -I/opt/local-development/include/cairo -I/opt/local-development/include/pango-1.0 -I/opt/local-development/include/gio-unix-2.0/ -I/opt/local-development/include/pixman-1 -I/opt/local-development/include/freetype2 -I/opt/local-development/include/libpng12 -I/opt/local-development/include/libglade-2.0 -I/opt/local-development/include/libxml2 -I/opt/local-development/include/libgnome-2.0 -I/opt/local-development/include/orbit-2.0 -I/opt/local-development/include/gconf/2 -I/opt/local-development/include/gnome-vfs-2.0 -I/opt/local-development/lib/gnome-vfs-2.0/include -I/opt/local-development/include/libbonobo-2.0 -I/opt/local-development/include/dbus-1.0 -I/opt/local-development/lib/dbus-1.0/include -I/opt/local-development/include/bonobo-activation-2.0 -I/opt/local-development/include/libgnomeui-2.0 -I/opt/local-development/include/libart-2.0 -I/opt/local-development/include/gnome-keyring-1 -I/opt/local-development/include/libbonoboui-2.0 -I/opt/local-development/include/libgnomecanvas-2.0 -I/opt/local-development/include/gail-1.0    -Wall -Wmissing-prototypes -Wnested-externs -Wpointer-arith -Wno-sign-compare   -O2 -arch x86_64 -MT xchat_gnome-xg-marshal.o -MD -MP -MF .deps/xchat_gnome-xg-marshal.Tpo -c -o xchat_gnome-xg-marshal.o `test -f 'xg-marshal.c' || echo './'`xg-marshal.c
mv -f .deps/xchat_gnome-xg-marshal.Tpo .deps/xchat_gnome-xg-marshal.Po
LC_ALL=C /opt/local-development/bin/intltool-merge -s -u -c ../../po/.intltool-merge-cache ../../po apps_xchat.schemas.in apps_xchat.schemas
xtext.c: In function 'gtk_xtext_size_allocate':
xtext.c:1089: warning: implicit declaration of function 'GTK_WIDGET_REALIZED'
xtext.c:1089: warning: nested extern declaration of 'GTK_WIDGET_REALIZED'
Found cached translation database
Merging translations into apps_xchat.schemas.
mv -f .deps/xchat_gnome-xtext.Tpo .deps/xchat_gnome-xtext.Po
/bin/sh ../../libtool --tag=CC   --mode=link /usr/bin/gcc-4.2 -std=gnu99 -D_REENTRANT -DORBIT2=1 -I/opt/local-development/include/glib-2.0 -I/opt/local-development/lib/glib-2.0/include -I/opt/local-development/include -I/opt/local-development/include/gtk-2.0 -I/opt/local-development/lib/gtk-2.0/include -I/opt/local-development/include/atk-1.0 -I/opt/local-development/include/cairo -I/opt/local-development/include/pango-1.0 -I/opt/local-development/include/gio-unix-2.0/ -I/opt/local-development/include/pixman-1 -I/opt/local-development/include/freetype2 -I/opt/local-development/include/libpng12 -I/opt/local-development/include/libglade-2.0 -I/opt/local-development/include/libxml2 -I/opt/local-development/include/libgnome-2.0 -I/opt/local-development/include/orbit-2.0 -I/opt/local-development/include/gconf/2 -I/opt/local-development/include/gnome-vfs-2.0 -I/opt/local-development/lib/gnome-vfs-2.0/include -I/opt/local-development/include/libbonobo-2.0 -I/opt/local-development/include/dbus-1.0 -I/opt/local-development/lib/dbus-1.0/include -I/opt/local-development/include/bonobo-activation-2.0 -I/opt/local-development/include/libgnomeui-2.0 -I/opt/local-development/include/libart-2.0 -I/opt/local-development/include/gnome-keyring-1 -I/opt/local-development/include/libbonoboui-2.0 -I/opt/local-development/include/libgnomecanvas-2.0 -I/opt/local-development/include/gail-1.0    -Wall -Wmissing-prototypes -Wnested-externs -Wpointer-arith -Wno-sign-compare   -O2 -arch x86_64 -export-dynamic  -L/opt/local-development/lib -arch x86_64 -o xchat-gnome   xchat_gnome-about.o xchat_gnome-channel-list-window.o xchat_gnome-connect-dialog.o xchat_gnome-conversation-panel.o xchat_gnome-dcc-window.o xchat_gnome-fe-gnome.o xchat_gnome-find-bar.o xchat_gnome-gui.o xchat_gnome-image-utils.o xchat_gnome-irc-network-editor.o xchat_gnome-irc-network.o xchat_gnome-main-window.o xchat_gnome-migration.o xchat_gnome-navigation-tree.o xchat_gnome-palette.o xchat_gnome-pixmaps.o xchat_gnome-plugins.o xchat_gnome-preferences-dialog.o xchat_gnome-preferences-page-colors.o xchat_gnome-preferences-page-dcc.o xchat_gnome-preferences-page-effects.o xchat_gnome-preferences-page-irc.o xchat_gnome-preferences-page-networks.o xchat_gnome-preferences-page-plugins.o xchat_gnome-preferences-page-spellcheck.o xchat_gnome-preferences-page.o xchat_gnome-preferences.o xchat_gnome-setup-dialog.o xchat_gnome-status-bar.o xchat_gnome-text-entry.o xchat_gnome-topic-label.o xchat_gnome-userlist-gui.o xchat_gnome-userlist.o xchat_gnome-util.o xchat_gnome-xtext.o xchat_gnome-xg-marshal.o ../../src/common/libxchatcommon.la ../../src/libcontrast/libcontrast.la -Wl,-framework,CoreAudio -L/opt/local-development/lib -lglade-2.0 -lgnomeui-2 -lSM -lICE -lgnome-keyring -lbonoboui-2 -lgnomecanvas-2 -lgnome-2 -lpopt -lgnomevfs-2 -lesd -lbonobo-2 -laudiofile -lbonobo-activation -lgailutil -lart_lgpl_2 -lgconf-2 -lORBit-2 -ldbus-1 -lgthread-2.0 -lsexy -lgtk-x11-2.0 -lgdk-x11-2.0 -latk-1.0 -lgdk_pixbuf-2.0 -lpangocairo-1.0 -lgio-2.0 -lXinerama -lXi -lXrandr -lXcursor -lXcomposite -lXdamage -lpangoft2-1.0 -lXext -lXfixes -lcairo -lpixman-1 -lpng12 -lXrender -lX11 -lXau -lXdmcp -lpango-1.0 -lfontconfig -lexpat -lfreetype -lgobject-2.0 -lgmodule-2.0 -lglib-2.0 -lintl -lxml2 -lpthread -lz -liconv -lm   -L/opt/local-development/lib -lssl -lcrypto -lz    
libtool: link: /usr/bin/gcc-4.2 -std=gnu99 -D_REENTRANT -DORBIT2=1 -I/opt/local-development/include/glib-2.0 -I/opt/local-development/lib/glib-2.0/include -I/opt/local-development/include -I/opt/local-development/include/gtk-2.0 -I/opt/local-development/lib/gtk-2.0/include -I/opt/local-development/include/atk-1.0 -I/opt/local-development/include/cairo -I/opt/local-development/include/pango-1.0 -I/opt/local-development/include/gio-unix-2.0/ -I/opt/local-development/include/pixman-1 -I/opt/local-development/include/freetype2 -I/opt/local-development/include/libpng12 -I/opt/local-development/include/libglade-2.0 -I/opt/local-development/include/libxml2 -I/opt/local-development/include/libgnome-2.0 -I/opt/local-development/include/orbit-2.0 -I/opt/local-development/include/gconf/2 -I/opt/local-development/include/gnome-vfs-2.0 -I/opt/local-development/lib/gnome-vfs-2.0/include -I/opt/local-development/include/libbonobo-2.0 -I/opt/local-development/include/dbus-1.0 -I/opt/local-development/lib/dbus-1.0/include -I/opt/local-development/include/bonobo-activation-2.0 -I/opt/local-development/include/libgnomeui-2.0 -I/opt/local-development/include/libart-2.0 -I/opt/local-development/include/gnome-keyring-1 -I/opt/local-development/include/libbonoboui-2.0 -I/opt/local-development/include/libgnomecanvas-2.0 -I/opt/local-development/include/gail-1.0 -Wall -Wmissing-prototypes -Wnested-externs -Wpointer-arith -Wno-sign-compare -O2 -arch x86_64 -arch x86_64 -o xchat-gnome xchat_gnome-about.o xchat_gnome-channel-list-window.o xchat_gnome-connect-dialog.o xchat_gnome-conversation-panel.o xchat_gnome-dcc-window.o xchat_gnome-fe-gnome.o xchat_gnome-find-bar.o xchat_gnome-gui.o xchat_gnome-image-utils.o xchat_gnome-irc-network-editor.o xchat_gnome-irc-network.o xchat_gnome-main-window.o xchat_gnome-migration.o xchat_gnome-navigation-tree.o xchat_gnome-palette.o xchat_gnome-pixmaps.o xchat_gnome-plugins.o xchat_gnome-preferences-dialog.o xchat_gnome-preferences-page-colors.o xchat_gnome-preferences-page-dcc.o xchat_gnome-preferences-page-effects.o xchat_gnome-preferences-page-irc.o xchat_gnome-preferences-page-networks.o xchat_gnome-preferences-page-plugins.o xchat_gnome-preferences-page-spellcheck.o xchat_gnome-preferences-page.o xchat_gnome-preferences.o xchat_gnome-setup-dialog.o xchat_gnome-status-bar.o xchat_gnome-text-entry.o xchat_gnome-topic-label.o xchat_gnome-userlist-gui.o xchat_gnome-userlist.o xchat_gnome-util.o xchat_gnome-xtext.o xchat_gnome-xg-marshal.o -Wl,-framework -Wl,CoreAudio  -L/opt/local-development/lib ../../src/common/.libs/libxchatcommon.a ../../src/libcontrast/.libs/libcontrast.a /opt/local-development/lib/libglade-2.0.dylib /opt/local-development/lib/libgnomeui-2.dylib /opt/local-development/lib/libgnome-keyring.dylib /opt/local-development/lib/libbonoboui-2.dylib /opt/local-development/lib/libSM.dylib /opt/local-development/lib/libICE.dylib /opt/local-development/lib/libgnomecanvas-2.dylib /opt/local-development/lib/libgnome-2.dylib /opt/local-development/lib/libpopt.dylib /opt/local-development/lib/libgnomevfs-2.dylib /opt/local-development/lib/libesd.dylib /opt/local-development/lib/libbonobo-2.dylib /opt/local-development/lib/libaudiofile.dylib /opt/local-development/lib/libbonobo-activation.dylib /opt/local-development/lib/libORBitCosNaming-2.dylib /opt/local-development/lib/libgailutil.dylib /opt/local-development/lib/libart_lgpl_2.dylib /opt/local-development/lib/libgconf-2.dylib /opt/local-development/lib/libdbus-glib-1.dylib /opt/local-development/lib/libORBit-2.dylib /opt/local-development/lib/libdbus-1.dylib /opt/local-development/lib/libsexy.dylib /opt/local-development/lib/libgtk-x11-2.0.dylib /opt/local-development/lib/libgdk-x11-2.0.dylib /opt/local-development/lib/libatk-1.0.dylib /opt/local-development/lib/libgdk_pixbuf-2.0.dylib /opt/local-development/lib/libpangocairo-1.0.dylib /opt/local-development/lib/libgio-2.0.dylib /opt/local-development/lib/libXinerama.dylib /opt/local-development/lib/libXi.dylib /opt/local-development/lib/libXrandr.dylib /opt/local-development/lib/libXcursor.dylib /opt/local-development/lib/libXcomposite.dylib /opt/local-development/lib/libXdamage.dylib /opt/local-development/lib/libpangoft2-1.0.dylib /opt/local-development/lib/libXext.dylib /opt/local-development/lib/libXfixes.dylib /opt/local-development/lib/libcairo.dylib /opt/local-development/lib/libpixman-1.dylib /opt/local-development/lib/libpng12.dylib /opt/local-development/lib/libXrender.dylib /opt/local-development/lib/libX11.dylib /opt/local-development/lib/libXau.dylib /opt/local-development/lib/libXdmcp.dylib /opt/local-development/lib/libpango-1.0.dylib /opt/local-development/lib/libfontconfig.dylib /opt/local-development/lib/libexpat.dylib /opt/local-development/lib/libfreetype.dylib /opt/local-development/lib/libgobject-2.0.dylib /opt/local-development/lib/libgthread-2.0.dylib /opt/local-development/lib/libgmodule-2.0.dylib /opt/local-development/lib/libglib-2.0.dylib -lresolv /opt/local-development/lib/libintl.dylib -lc /opt/local-development/lib/libxml2.dylib -lpthread /opt/local-development/lib/libiconv.dylib -lm -lssl -lcrypto -lz -pthread -framework Carbon
Undefined symbols:
  "_GTK_WIDGET_REALIZED", referenced from:
      _text_entry_set_current in xchat_gnome-text-entry.o
      _userlist_gui_show in xchat_gnome-userlist-gui.o
      _userlist_gui_show in xchat_gnome-userlist-gui.o
      _gtk_xtext_set_palette in xchat_gnome-xtext.o
      _gtk_xtext_set_background in xchat_gnome-xtext.o
      _gtk_xtext_set_background in xchat_gnome-xtext.o
      _gtk_xtext_set_background in xchat_gnome-xtext.o
      _gtk_xtext_set_font in xchat_gnome-xtext.o
      _gtk_xtext_size_allocate in xchat_gnome-xtext.o
      _gtk_xtext_render_page in xchat_gnome-xtext.o
      _gtk_xtext_buffer_show in xchat_gnome-xtext.o
      _gtk_xtext_refresh in xchat_gnome-xtext.o
  "_GTK_WIDGET_VISIBLE", referenced from:
      _fe_gui_info in xchat_gnome-fe-gnome.o
      _find_bar_close in xchat_gnome-find-bar.o
ld: symbol(s) not found
collect2: ld returned 1 exit status
make[4]: *** [xchat-gnome] Error 1
make[3]: *** [all] Error 2
make[2]: *** [all-recursive] Error 1
make[1]: *** [all-recursive] Error 1
make: *** [all] Error 2

Change History (2)

comment:1 Changed 13 years ago by jmroot (Joshua Root)

Looks like this is fixed in git upstream, so the next release should work. To fix it before the release, someone would have to cherry pick the appropriate patches and get them to apply to the older code.

comment:2 Changed 11 years ago by dbevans (David B. Evans)

Resolution: fixed
Status: newclosed

Deprecated GTK API usage. Fixed in r108075 if not sooner.

Note: See TracTickets for help on using tickets.