After an evaluation, GNOME has moved from Bugzilla to GitLab. Learn more about GitLab.
No new issues can be reported in GNOME Bugzilla anymore.
To report an issue in a GNOME project, go to GNOME GitLab.
Do not go to GNOME Gitlab for: Bluefish, Doxygen, GnuCash, GStreamer, java-gnome, LDTP, NetworkManager, Tomboy.
Bug 769313 - [regression] Build Failure: soup-client-input-stream.c:25:22: error: ‘LAST_SIGNAL’ undeclared
[regression] Build Failure: soup-client-input-stream.c:25:22: error: ‘LAST_S...
Status: RESOLVED DUPLICATE of bug 768731
Product: libsoup
Classification: Core
Component: Misc
unspecified
Other Linux
: Normal major
: ---
Assigned To: libsoup-maint@gnome.bugs
libsoup-maint@gnome.bugs
Depends on:
Blocks:
 
 
Reported: 2016-07-29 18:57 UTC by David Ronis
Modified: 2016-07-29 19:11 UTC
See Also:
GNOME target: ---
GNOME version: ---



Description David Ronis 2016-07-29 18:57:53 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.
Comment 1 Dan Winship 2016-07-29 19:09:18 UTC
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 ***
Comment 2 Dan Winship 2016-07-29 19:11:31 UTC
(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...