Opened 14 years ago

Closed 14 years ago

#24979 closed defect (fixed)

xchat2 2.8.6 fails to build because of _GTK_WIDGET_IS_SENSITIVE, _GTK_WIDGET_HAS_FOCUS , and _GTK_WIDGET_VISIBLE

Reported by: jcopenha@… Owned by: afb@…
Priority: Normal Milestone:
Component: ports Version:
Keywords: Cc:
Port: xchat2

Description (last modified by jmroot (Joshua Root))

I get

--->  Computing dependencies for xchat2
--->  Building xchat2
Error: Target org.macports.build returned: shell command " cd "/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_irc_xchat2/work/xchat-2.8.6" && /usr/bin/make -j8 all " returned error 2
Command output: /usr/bin/make  all-recursive
Making all in po
make[2]: Nothing to be done for `all'.
Making all in intl
make[2]: Nothing to be done for `all'.
Making all in src
Making all in pixmaps
make[3]: Nothing to be done for `all'.
Making all in common
Making all in .
make[4]: Nothing to be done for `all-am'.
Making all in fe-gtk
/bin/sh ../../libtool --tag=CC   --mode=link /usr/bin/gcc-4.2  -O2 -arch x86_64 -Wall -g -I/opt/local/include -no-cpp-precomp -I/opt/local/include    -L/opt/local/lib -o xchat about.o ascii.o banlist.o chanlist.o chanview.o custom-list.o dccgui.o editlist.o fe-gtk.o fkeys.o gtkutil.o ignoregui.o joind.o menu.o maingui.o  notifygui.o palette.o pixmaps.o plugin-tray.o plugingui.o rawlog.o search.o servlistgui.o setup.o sexy-spell-entry.o textgui.o urlgrab.o userlistgui.o xtext.o ../common/libxchatcommon.a -L/opt/local/lib -lgtk-x11-2.0 -lgdk-x11-2.0 -latk-1.0 -lgdk_pixbuf-2.0 -lpangocairo-1.0 -lXinerama -lXi -lXrandr -lXcursor -lXcomposite -lXdamage -lpangoft2-1.0 -lgio-2.0 -lXext -lXfixes -lcairo -lpixman-1 -lpng12 -lXrender -lX11 -lXau -lXdmcp -lpango-1.0 -lm -lfontconfig -lexpat -lfreetype -lz -lgobject-2.0 -lgmodule-2.0 -lgthread-2.0 -lglib-2.0 -lintl -liconv   -L/opt/local/lib -lglib-2.0 -lintl -liconv   -L/opt/local/lib -lssl -lcrypto -lz   -L/opt/local/lib -lglib-2.0 -lintl -liconv   -lintl -liconv -lc  -Wl,-framework -Wl,CoreFoundation
/usr/bin/gcc-4.2 -O2 -arch x86_64 -Wall -g -I/opt/local/include -no-cpp-precomp -I/opt/local/include -o xchat about.o ascii.o banlist.o chanlist.o chanview.o custom-list.o dccgui.o editlist.o fe-gtk.o fkeys.o gtkutil.o ignoregui.o joind.o menu.o maingui.o notifygui.o palette.o pixmaps.o plugin-tray.o plugingui.o rawlog.o search.o servlistgui.o setup.o sexy-spell-entry.o textgui.o urlgrab.o userlistgui.o xtext.o -Wl,-framework -Wl,CoreFoundation  -L/opt/local/lib ../common/libxchatcommon.a /opt/local/lib/libgtk-x11-2.0.dylib /opt/local/lib/libgdk-x11-2.0.dylib /opt/local/lib/libatk-1.0.dylib /opt/local/lib/libgdk_pixbuf-2.0.dylib /opt/local/lib/libpangocairo-1.0.dylib /opt/local/lib/libXinerama.dylib /opt/local/lib/libXi.dylib /opt/local/lib/libXrandr.dylib /opt/local/lib/libXcursor.dylib /opt/local/lib/libXcomposite.dylib /opt/local/lib/libXdamage.dylib /opt/local/lib/libpangoft2-1.0.dylib /opt/local/lib/libgio-2.0.dylib /opt/local/lib/libXext.dylib /opt/local/lib/libXfixes.dylib /opt/local/lib/libcairo.dylib /opt/local/lib/libpixman-1.dylib /opt/local/lib/libpng12.dylib /opt/local/lib/libXrender.dylib /opt/local/lib/libX11.dylib /opt/local/lib/libXau.dylib /opt/local/lib/libXdmcp.dylib /opt/local/lib/libpango-1.0.dylib -lm /opt/local/lib/libfontconfig.dylib /opt/local/lib/libexpat.dylib /opt/local/lib/libfreetype.dylib /opt/local/lib/libgobject-2.0.dylib /opt/local/lib/libgmodule-2.0.dylib /opt/local/lib/libgthread-2.0.dylib -lssl -lcrypto -lz /opt/local/lib/libglib-2.0.dylib -lresolv /opt/local/lib/libintl.dylib /opt/local/lib/libiconv.dylib -lc  
Undefined symbols:
  "_GTK_WIDGET_IS_SENSITIVE", referenced from:
      _menu_canacaccel in menu.o
  "_GTK_WIDGET_HAS_FOCUS", referenced from:
      _mg_switch_tab_cb in maingui.o
  "_GTK_WIDGET_VISIBLE", referenced from:
      _fe_gui_info in fe-gtk.o
      _mg_hide_empty_pane in maingui.o
      _mg_hide_empty_pane in maingui.o
ld: symbol(s) not found
collect2: ld returned 1 exit status
make[3]: *** [xchat] Error 1
make[2]: *** [all-recursive] Error 1
make[1]: *** [all-recursive] Error 1
make: *** [all] Error 2

Error: Status 1 encountered during processing.
Before reporting a bug, first run the command again with the -d flag to get complete output.

seems be an issue with other GTK apps, see ticket #24974. These appear to be deprecated calls that should be replaced with gtk_widget_is_sensitive, gtk_wdget_has_focus, and gtk_widget_get_visible respectively.

Change History (5)

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

Description: modified (diff)
Owner: changed from macports-tickets@… to afb@…
Port: xchat2 added

Please remember to preview and use WikiFormatting, fill in the Port field, and cc the maintainer.

comment:3 Changed 14 years ago by afb@…

Version: 1.8.2

comment:4 Changed 14 years ago by jcopenha@…

That patch works

comment:5 Changed 14 years ago by afb@…

Resolution: fixed
Status: newclosed

Fixed, r67999.

Note: See TracTickets for help on using tickets.