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 510216 - Libsoup trunk FTBFS
Libsoup trunk FTBFS
Status: RESOLVED FIXED
Product: libsoup
Classification: Core
Component: Misc
unspecified
Other All
: Normal critical
: ---
Assigned To: libsoup-maint@gnome.bugs
libsoup-maint@gnome.bugs
Depends on:
Blocks:
 
 
Reported: 2008-01-17 16:28 UTC by Wouter Bolsterlee (uws)
Modified: 2009-02-17 21:07 UTC
See Also:
GNOME target: ---
GNOME version: 2.21/2.22



Description Wouter Bolsterlee (uws) 2008-01-17 16:28:43 UTC
Libsoup trunk tests fail to build from source:

make[2]: Entering directory `/opt/gnome-2-22/src/libsoup/tests'
/bin/sh ../libtool --tag=CC   --mode=link gcc  -g -O2           -Wall -Wstrict-prototypes -Wmissing-declarations                -Wmissing-prototypes -Wnested-externs -Wpointer-arith -D_REENTRANT   -o context-test context-test.o test-utils.o  ../libsoup/libsoup-2.4.la
gcc -g -O2 -Wall -Wstrict-prototypes -Wmissing-declarations -Wmissing-prototypes -Wnested-externs -Wpointer-arith -D_REENTRANT -o .libs/context-test context-test.o test-utils.o  ../libsoup/.libs/libsoup-2.4.so  -Wl,--rpath -Wl,/opt/gnome-2-22/lib
../libsoup/.libs/libsoup-2.4.so: undefined reference to `g_cancellable_is_cancelled'
collect2: ld returned 1 exit status
make[2]: *** [context-test] Error 1
make[2]: Leaving directory `/opt/gnome-2-22/src/libsoup/tests'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/opt/gnome-2-22/src/libsoup'
make: *** [all] Error 2
Comment 1 Wouter Bolsterlee (uws) 2008-01-17 16:32:59 UTC
Nevermind, some breakage with autotools over here... clean checkout + autogen.sh "fixed" it.
Comment 2 Matthew Barnes 2008-01-18 01:26:22 UTC
I'm still seeing this error, even after a fresh checkout.  I'm compiling against GLib 2.15.2.  Is it possible I need a more recent GLib from trunk?
Comment 3 Dan Winship 2008-01-18 02:12:14 UTC
Yes, you need glib from svn. AM_PATH_GLIB_2_0 didn't know about gio in 2.15.2.
Comment 4 Matthew Barnes 2008-01-18 04:05:51 UTC
Perhaps libsoup should require GLib 2.15.3 then instead of 2.15.0.
GLib in trunk has the version bumped to 2.15.3 already.
Comment 5 Matthew Barnes 2008-01-18 04:47:11 UTC
Reopening until comment #4 is addressed.

Just don't want this to fall off the radar.
Comment 6 Wouter Bolsterlee (uws) 2008-01-18 08:40:32 UTC
(In reply to comment #3)
> Yes, you need glib from svn. AM_PATH_GLIB_2_0 didn't know about gio in 2.15.2.

Please let me know if I should bump the glib req in configure.ac.
Comment 7 Dan Winship 2008-01-18 14:56:03 UTC
fixed in svn
Comment 8 Levente Farkas 2009-02-17 20:40:28 UTC
does this means libsoup can't be compiled on rhel/centos-5? since there is only glib-1.2.10-20.el5 and no gio on it. it can't be done in a conditional build (ie. if it's not installed don't use them)?
Comment 9 Dan Winship 2009-02-17 21:07:47 UTC
You want to be looking at the glib2 package version, not glib. But yes, if you use a sufficiently-old Linux distro, there won't be a new-enough glib. If you want to compile recent libsoup on those platforms, you'll have to compile recent glib as well.