Building the glade Slackbuilds package gets error.
by stf92 from LinuxQuestions.org on (#5G443)
Slackware 14.2-current (jul 2020).
Hi: I'm trying to compile the slackbuilds package for pychess. One of its dependencies is glade. So I began building the glade slackbuilds package but got this:Code:../gladeui/glade-widget.h:342:13: warning: Deprecated pre-processor symbol, replace with
342 | G_CONST_RETURN gchar *glade_widget_get_name (GladeWidget *widget);
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
../gladeui/glade-widget.h:352:13: warning: Deprecated pre-processor symbol, replace with
352 | G_CONST_RETURN gchar *glade_widget_get_internal (GladeWidget *widget);
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
../gladeui/glade-widget.h:385:13: warning: Deprecated pre-processor symbol, replace with
385 | G_CONST_RETURN gchar *glade_widget_support_warning (GladeWidget *widget);
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
In file included from glade-project.h:5,
from glade-signal-model.c:24:
../gladeui/glade-command.h:73:13: warning: Deprecated pre-processor symbol, replace with
73 | G_CONST_RETURN gchar *glade_command_description (GladeCommand *command);
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
glade-signal-model.c:68:1: error: conflicting types for 'g_ptr_array_find'
68 | g_ptr_array_find (GPtrArray *array, gpointer data)
| ^~~~~~~~~~~~~~~~
In file included from /usr/include/glib-2.0/glib.h:31,
from /usr/include/glib-2.0/gobject/gbinding.h:28,
from /usr/include/glib-2.0/glib-object.h:22,
from glade-signal-model.h:23,
from glade-signal-model.c:23:
/usr/include/glib-2.0/glib/garray.h:217:12: note: previous declaration of 'g_ptr_array_find' was here
217 | gboolean g_ptr_array_find (GPtrArray *haystack,
| ^~~~~~~~~~~~~~~~
make[3]: *** [Makefile:1181: libgladeui_2_la-glade-signal-model.lo] Error 1
make[3]: Leaving directory '/tmp/SBo/glade-3.18.3/gladeui'
make[2]: *** [Makefile:697: all] Error 2
make[2]: Leaving directory '/tmp/SBo/glade-3.18.3/gladeui'
make[1]: *** [Makefile:494: all-recursive] Error 1
make[1]: Leaving directory '/tmp/SBo/glade-3.18.3'
make: *** [Makefile:423: all] Error 2
root@darkstar:/backup_almacen/soft/pychess/glade#What can I do?


Hi: I'm trying to compile the slackbuilds package for pychess. One of its dependencies is glade. So I began building the glade slackbuilds package but got this:Code:../gladeui/glade-widget.h:342:13: warning: Deprecated pre-processor symbol, replace with
342 | G_CONST_RETURN gchar *glade_widget_get_name (GladeWidget *widget);
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
../gladeui/glade-widget.h:352:13: warning: Deprecated pre-processor symbol, replace with
352 | G_CONST_RETURN gchar *glade_widget_get_internal (GladeWidget *widget);
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
../gladeui/glade-widget.h:385:13: warning: Deprecated pre-processor symbol, replace with
385 | G_CONST_RETURN gchar *glade_widget_support_warning (GladeWidget *widget);
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
In file included from glade-project.h:5,
from glade-signal-model.c:24:
../gladeui/glade-command.h:73:13: warning: Deprecated pre-processor symbol, replace with
73 | G_CONST_RETURN gchar *glade_command_description (GladeCommand *command);
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
glade-signal-model.c:68:1: error: conflicting types for 'g_ptr_array_find'
68 | g_ptr_array_find (GPtrArray *array, gpointer data)
| ^~~~~~~~~~~~~~~~
In file included from /usr/include/glib-2.0/glib.h:31,
from /usr/include/glib-2.0/gobject/gbinding.h:28,
from /usr/include/glib-2.0/glib-object.h:22,
from glade-signal-model.h:23,
from glade-signal-model.c:23:
/usr/include/glib-2.0/glib/garray.h:217:12: note: previous declaration of 'g_ptr_array_find' was here
217 | gboolean g_ptr_array_find (GPtrArray *haystack,
| ^~~~~~~~~~~~~~~~
make[3]: *** [Makefile:1181: libgladeui_2_la-glade-signal-model.lo] Error 1
make[3]: Leaving directory '/tmp/SBo/glade-3.18.3/gladeui'
make[2]: *** [Makefile:697: all] Error 2
make[2]: Leaving directory '/tmp/SBo/glade-3.18.3/gladeui'
make[1]: *** [Makefile:494: all-recursive] Error 1
make[1]: Leaving directory '/tmp/SBo/glade-3.18.3'
make: *** [Makefile:423: all] Error 2
root@darkstar:/backup_almacen/soft/pychess/glade#What can I do?