GNOME Bugzilla – Bug 769313
[regression] Build Failure: soup-client-input-stream.c:25:22: error: ‘LAST_SIGNAL’ undeclared
Last modified: 2016-07-29 19:11:31 UTC
I've been following the git master for a long time. I tried upgrading today. The build fails with: CC soup-client-input-stream.lo In file included from /usr/include/stdio.h:74:0, from /opt/garnome-3.21/include/glib-2.0/glib/gmessages.h:33, from /opt/garnome-3.21/include/glib-2.0/glib.h:62, from /opt/garnome-3.21/include/glib-2.0/gobject/gbinding.h:28, from /opt/garnome-3.21/include/glib-2.0/glib-object.h:23, from /opt/garnome-3.21/include/glib-2.0/gio/gioenums.h:28, from /opt/garnome-3.21/include/glib-2.0/gio/giotypes.h:28, from /opt/garnome-3.21/include/glib-2.0/gio/gio.h:26, from soup-types.h:9, from soup-client-input-stream.h:9, from soup-client-input-stream.c:12: soup-client-input-stream.c:21:2: error: expected identifier before ‘(’ token EOF, ^ soup-client-input-stream.c:25:22: error: ‘LAST_SIGNAL’ undeclared here (not in a function) static guint signals[LAST_SIGNAL] = { 0 }; ^ soup-client-input-stream.c:25:14: warning: ‘signals’ defined but not used [-Wunused-variable] static guint signals[LAST_SIGNAL] = { 0 }; This happens on an i686 and an x86_64, both running slackware.
That's not git master; this bug is already fixed there. If you're building off a branch then you might still have the problem (which is actually a really really old bug just now being triggered by an update to glibc or gcc or something). "git cherry-pick 72c5759b" should fix it. *** This bug has been marked as a duplicate of bug 768731 ***
(In reply to Dan Winship from comment #1) > If you're building off a branch then you might still have the problem (which > is actually a really really old bug just now being triggered by an update to > glibc or gcc or something). "git cherry-pick 72c5759b" should fix it. I guess I should do that myself on the current stable branch...