GNOME Bugzilla – Bug 645505
Build failure -- undefined reference to `soup_proxy_resolver_default_get_type'
Last modified: 2011-03-30 12:54:46 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
did you try re-autogen'ing? "make distcheck" passed, so I don't think it's a problem with libsoup
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.
http://git.gnome.org/browse/libsoup/commit/?id=5a8df74a4705aa2ce958d8024aca0ce71c146047 This is the commit that triggers the build failure
Maybe it's an autotools issue: the newly released 2.33.92 tarball builds fine, just "g-ir-scanner: Soup: warning: 13 warnings suppressed"
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.
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.)
Checked on my jhbuild sandbox (ubuntu 10.10). Issue resolved. Thanks
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