Opened 12 years ago

Closed 11 years ago

#34752 closed defect (fixed)

xchat-gnome fails to compile after upgrade to Lion

Reported by: andrew.long@… Owned by: macports-tickets@…
Priority: Normal Milestone:
Component: ports Version: 2.1.1
Keywords: Lion Cc:
Port: xchat-gnome

Description

xchat-gnome fails to build. All other ports are up-to-date. There seems to be a couple of problems.

  1. Undefined text entity À in an XML file
  2. Unknown type name gtkCallbackMarshall

Please see attached log etracts.

:info:build 	    cp xchat-gnome.xml.tmp xchat-gnome.xml && rm -f xchat-gnome.xml.tmp)
:info:build xsltproc -o xchat-gnome-C.omf --stringparam db2omf.basename xchat-gnome --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_xchat-gnome/xchat-gnome/work/xchat-gnome-0.26.1/help/xchat-gnome.omf.in"  `/opt/local/bin/pkg-config --variable db2omf gnome-doc-utils` C/xchat-gnome.xml || { rm -f "xchat-gnome-C.omf"; exit 1; }
:info:build xsltproc -o xchat-gnome-sv.omf --stringparam db2omf.basename xchat-gnome --stringparam db2omf.format 'docbook' --stringparam db2omf.dtd "-//OASIS//DTD DocBook XML V4.1.2//EN" --stringparam db2omf.lang sv --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_xchat-gnome/xchat-gnome/work/xchat-gnome-0.26.1/help/xchat-gnome.omf.in"  `/opt/local/bin/pkg-config --variable db2omf gnome-doc-utils` sv/xchat-gnome.xml || { rm -f "xchat-gnome-sv.omf"; exit 1; }
:info:build xsltproc -o xchat-gnome-th.omf --stringparam db2omf.basename xchat-gnome --stringparam db2omf.format 'docbook' --stringparam db2omf.dtd "-//OASIS//DTD DocBook XML V4.1.2//EN" --stringparam db2omf.lang th --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_xchat-gnome/xchat-gnome/work/xchat-gnome-0.26.1/help/xchat-gnome.omf.in"  `/opt/local/bin/pkg-config --variable db2omf gnome-doc-utils` th/xchat-gnome.xml || { rm -f "xchat-gnome-th.omf"; exit 1; }
:info:build xsltproc -o xchat-gnome-ca.omf --stringparam db2omf.basename xchat-gnome --stringparam db2omf.format 'docbook' --stringparam db2omf.dtd "-//OASIS//DTD DocBook XML V4.1.2//EN" --stringparam db2omf.lang ca --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_xchat-gnome/xchat-gnome/work/xchat-gnome-0.26.1/help/xchat-gnome.omf.in"  `/opt/local/bin/pkg-config --variable db2omf gnome-doc-utils` ca/xchat-gnome.xml || { rm -f "xchat-gnome-ca.omf"; exit 1; }
:info:build it/xchat-gnome.xml:59: parser error : Entity 'Agrave' not defined
:info:build  SCOPO O NON VIOLI DIRITTI DI TERZI. TUTTI I RISCHI RIGUARDO ALLA QUALITÀ
:info:build                                                                                ^
:info:build it/xchat-gnome.xml:62: parser error : Entity 'Agrave' not defined
:info:build NA SUA VERSIONE MODIFICATA O QUALUNQUE FORNITORE DELLE PARTI CITATE POTRÀ
:info:build                                                                                ^
:info:build it/xchat-gnome.xml:62: parser error : Entity 'Agrave' not defined
:info:build NCHE NEL CASO IN CUI TALI PARTI FOSSERO STATE INFORMATE DELLA POSSIBILITÀ
:info:build                                                                                ^

and

:info:build /usr/bin/clang -DHAVE_CONFIG_H -I. -I../..  -DTOPSRCDIR="\"../..\"" -DSYSCONFDIR="\"/opt/local/etc\"" -DICONDIR="\"/opt/local/share/xchat-gnome/icons\"" -DDATADIR="\"/opt/local/share/xchat-gnome\"" -DXCHATSHAREDIR="\"/opt/local/share/xchat-gnome\"" -DLIBDIR="\"/opt/local/lib/xchat-gnome\"" -DPREFIX="\"/opt/local\"" -DXCHATLIBDIR="\"/opt/local/lib/xchat-gnome\"" -DGNOMELOCALEDIR="\"/opt/local/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/include -D_REENTRANT -DORBIT2=1 -I/opt/local/include/glib-2.0 -I/opt/local/lib/glib-2.0/include -I/opt/local/include -I/opt/local/include/gtk-2.0 -I/opt/local/lib/gtk-2.0/include -I/opt/local/include/atk-1.0 -I/opt/local/include/cairo -I/opt/local/include/gdk-pixbuf-2.0 -I/opt/local/include/pango-1.0 -I/opt/local/include/gio-unix-2.0/ -I/opt/local/include/pixman-1 -I/opt/local/include/freetype2 -I/opt/local/include/libpng14 -I/opt/local/include/libglade-2.0 -I/opt/local/include/libxml2 -I/opt/local/include/libgnome-2.0 -I/opt/local/include/orbit-2.0 -I/opt/local/include/gconf/2 -I/opt/local/include/gnome-vfs-2.0 -I/opt/local/lib/gnome-vfs-2.0/include -I/opt/local/include/libbonobo-2.0 -I/opt/local/include/dbus-1.0 -I/opt/local/lib/dbus-1.0/include -I/opt/local/include/bonobo-activation-2.0 -I/opt/local/include/libgnomeui-2.0 -I/opt/local/include/libart-2.0 -I/opt/local/include/gnome-keyring-1 -I/opt/local/include/libbonoboui-2.0 -I/opt/local/include/libgnomecanvas-2.0 -I/opt/local/include/gail-1.0    -Wall -Wmissing-prototypes -Wnested-externs -Wpointer-arith -Wno-sign-compare   -pipe -O2 -arch x86_64 -arch i386 -c -o xchat_gnome-gui.o `test -f 'gui.c' || echo './'`gui.c
:info:build connect-dialog.c:162:2: warning: implicit declaration of function 'gtk_dialog_set_has_separator' is invalid in C99 [-Wimplicit-function-declaration]
:info:build         gtk_dialog_set_has_separator (GTK_DIALOG (dialog), FALSE);
:info:build         ^
:info:build dcc-window.c:238:9: warning: 'g_format_size_for_display' is deprecated [-Wdeprecated-declarations]
:info:build         size = g_format_size_for_display (dcc->size);
:info:build                ^
:info:build dcc-window.c:239:8: warning: 'g_format_size_for_display' is deprecated [-Wdeprecated-declarations]
:info:build         pos = g_format_size_for_display (dcc->pos);
:info:build               ^
:info:build dcc-window.c:276:19: warning: 'g_format_size_for_display' is deprecated [-Wdeprecated-declarations]
:info:build                                 gchar *size = g_format_size_for_display (dcc->size);
:info:build                                               ^
:info:build dcc-window.c:277:18: warning: 'g_format_size_for_display' is deprecated [-Wdeprecated-declarations]
:info:build                                 gchar *pos = g_format_size_for_display (dcc->pos);
:info:build                                              ^
:info:build dcc-window.c:278:20: warning: 'g_format_size_for_display' is deprecated [-Wdeprecated-declarations]
:info:build                                 gchar *speed = g_format_size_for_display (dcc->cps);
:info:build                                                ^
:info:build find-bar.c:250:7: warning: implicit declaration of function 'GTK_WIDGET_VISIBLE' is invalid in C99 [-Wimplicit-function-declaration]
:info:build         if (!GTK_WIDGET_VISIBLE (bar)) {
:info:build              ^
:info:build channel-list-window.c:500:2: warning: implicit declaration of function 'gtk_widget_hide_all' is invalid in C99 [-Wimplicit-function-declaration]
:info:build         gtk_widget_hide_all (win->window);
:info:build         ^
:info:build In file included from fe-gnome.c:26:
:info:build In file included from /opt/local/include/libgnomeui-2.0/libgnomeui/libgnomeui.h:35:
:info:build /opt/local/include/libgnomeui-2.0/libgnomeui/gnome-app-helper.h:620:2: error: unknown type name 'GtkCallbackMarshal'
:info:build         GtkCallbackMarshal relay_func;
:info:build         ^
:info:build /opt/local/include/libgnomeui-2.0/libgnomeui/gnome-app-helper.h:687:9: error: unknown type name 'GtkCallbackMarshal'
:info:build                                     GtkCallbackMarshal relay_func, gpointer data,
:info:build                                     ^
:info:build /opt/local/include/libgnomeui-2.0/libgnomeui/gnome-app-helper.h:725:11: error: unknown type name 'GtkCallbackMarshal'
:info:build                                       GtkCallbackMarshal relay_func, gpointer data,
:info:build                                       ^
:info:build /opt/local/include/libgnomeui-2.0/libgnomeui/gnome-app-helper.h:771:9: error: unknown type name 'GtkCallbackMarshal'
:info:build                                     GtkCallbackMarshal relay_func, gpointer data,
:info:build                                     ^
:info:build 1 warning generated.
:info:build 1 warning generated.
:info:build 5 warnings generated.
:info:build 1 warning generated.
:info:build conversation-panel.c:591:5: warning: implicit declaration of function 'gdk_draw_pixbuf' is invalid in C99 [-Wimplicit-function-declaration]
:info:build                                 gdk_draw_pixbuf (image, NULL, pixbuf, 0, 0, 0, 0, width, height, GDK_RGB_DITHER_NONE, 0, 0);
:info:build                                 ^
:info:build In file included from fe-gnome.c:26:
:info:build In file included from /opt/local/include/libgnomeui-2.0/libgnomeui/libgnomeui.h:62:
:info:build /opt/local/include/libgnomeui-2.0/libgnomeui/gnome-client.h:457:13: error: unknown type name 'GtkCallbackMarshal'
:info:build                                                       GtkCallbackMarshal function,
:info:build                                                       ^
:info:build fe-gnome.c:756:8: warning: implicit declaration of function 'GTK_WIDGET_VISIBLE' is invalid in C99 [-Wimplicit-function-declaration]
:info:build                 if (!GTK_WIDGET_VISIBLE (GTK_WINDOW (gui.main_window))) {
:info:build                      ^
:info:build 1 warning and 5 errors generated.
:info:build 1 warning generated.
:info:build make[4]: *** [xchat_gnome-fe-gnome.o] Error 1

Regards, Andy

Attachments (1)

main.log (493.7 KB) - added by andrew.long@… 12 years ago.
main.log for xchar-gnomne

Download all attachments as: .zip

Change History (4)

comment:1 Changed 12 years ago by mf2k (Frank Schima)

Please attach the main.log.

Changed 12 years ago by andrew.long@…

Attachment: main.log added

main.log for xchar-gnomne

comment:2 Changed 12 years ago by jmroot (Joshua Root)

It already didn't build before Lion, apparently: #25790

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

Resolution: fixed
Status: newclosed

Problem is use of deprecated API in glib, gtk, gdk.

Fix committed in r108075.

Note: See TracTickets for help on using tickets.