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 645505 - Build failure -- undefined reference to `soup_proxy_resolver_default_get_type'
Build failure -- undefined reference to `soup_proxy_resolver_default_get_type'
Status: RESOLVED FIXED
Product: libsoup
Classification: Core
Component: Misc
unspecified
Other Linux
: Normal blocker
: ---
Assigned To: libsoup-maint@gnome.bugs
libsoup-maint@gnome.bugs
Depends on:
Blocks:
 
 
Reported: 2011-03-22 10:42 UTC by Luca Ferretti
Modified: 2011-03-30 12:54 UTC
See Also:
GNOME target: ---
GNOME version: ---


Attachments
Fix introspection build on Debian/Ubuntu (1.57 KB, patch)
2011-03-25 19:12 UTC, Dan Winship
committed Details | Review

Description Luca Ferretti 2011-03-22 10:42:34 UTC
from git (jhbuild sandbox)

g-ir-scanner: link: /bin/bash ../libtool --mode=link --tag=CC --silent gcc -o /home/betatester/Source/gnome3/libsoup/libsoup/tmp-introspectxvrqZp/SoupGNOME-2.4 -export-dynamic -L. libsoup-gnome-2.4.la -pthread -L/opt/gnome3/lib64 -lgio-2.0 -lgobject-2.0 -lgmodule-2.0 -lgthread-2.0 -lrt -lglib-2.0 /home/betatester/Source/gnome3/libsoup/libsoup/tmp-introspectxvrqZp/SoupGNOME-2.4.o
./.libs/libsoup-gnome-2.4.so: undefined reference to `soup_proxy_resolver_default_get_type'
collect2: ld returned 1 exit status
linking of temporary binary failed: Command '['/bin/bash', '../libtool', '--mode=link', '--tag=CC', '--silent', 'gcc', '-o', '/home/betatester/Source/gnome3/libsoup/libsoup/tmp-introspectxvrqZp/SoupGNOME-2.4', '-export-dynamic', '-L.', 'libsoup-gnome-2.4.la', '-pthread', '-L/opt/gnome3/lib64', '-lgio-2.0', '-lgobject-2.0', '-lgmodule-2.0', '-lgthread-2.0', '-lrt', '-lglib-2.0', '/home/betatester/Source/gnome3/libsoup/libsoup/tmp-introspectxvrqZp/SoupGNOME-2.4.o']' returned non-zero exit status 1
Comment 1 Dan Winship 2011-03-22 13:22:40 UTC
did you try re-autogen'ing? "make distcheck" passed, so I don't think it's a problem with libsoup
Comment 2 Luca Ferretti 2011-03-22 13:51:18 UTC
Yes, I've also tried to clone from scratch. I'm trying to incrementally re-apply latest commits. However soup_proxy_resolver_default_get_type seems to be actually available in .so and .h files. Stay tuned.
Comment 3 Luca Ferretti 2011-03-22 13:57:08 UTC
http://git.gnome.org/browse/libsoup/commit/?id=5a8df74a4705aa2ce958d8024aca0ce71c146047

This is the commit that triggers the build failure
Comment 4 Luca Ferretti 2011-03-22 14:05:14 UTC
Maybe it's an autotools issue: the newly released 2.33.92 tarball builds fine, just "g-ir-scanner: Soup: warning: 13 warnings suppressed"
Comment 5 Dan Winship 2011-03-22 15:39:09 UTC
oh... it is libsoup's fault. I'm not using --include-uninstalled with g-ir-scanner, so it's getting confused and using the old installed libsoup-2.4.so instead of the newly-built one.
Comment 6 Dan Winship 2011-03-25 19:12:02 UTC
Created attachment 184197 [details] [review]
Fix introspection build on Debian/Ubuntu

can someone try this patch? (it's not the same as the one I posted on IRC
the other day if anyone tried that.)
Comment 7 Luca Ferretti 2011-03-25 21:03:10 UTC
Checked on my jhbuild sandbox (ubuntu 10.10). Issue resolved. Thanks
Comment 8 Dan Winship 2011-03-30 12:54:43 UTC
not sure why everyone started running into this now... I guess it's just
that no one was building libsoup from git before...

anyway, pushed and will be in 2.34.0

Attachment 184197 [details] pushed as 95a8b44 - Fix introspection build on Debian/Ubuntu