Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 182989 - gnome-extra/gtkhtml-3.12.3 needs net-libs/libsoup-2.2.100
Summary: gnome-extra/gtkhtml-3.12.3 needs net-libs/libsoup-2.2.100
Status: RESOLVED INVALID
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: [OLD] GNOME (show other bugs)
Hardware: AMD64 Linux
: High normal (vote)
Assignee: Gentoo Linux Gnome Desktop Team
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2007-06-23 15:28 UTC by michael
Modified: 2007-06-30 12:22 UTC (History)
1 user (show)

See Also:
Package list:
Runtime testing required: ---


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description michael 2007-06-23 15:28:57 UTC
I tried building gnome-extra/gtkhtml-3.12.3 with net-libs/libsoup-2.2.94 installed, but it failed with a number of unresolved symbol errors during linking. Manually upgrading to net-libs/libsoup-2.2.100 and then retrying gnome-extra/gtkhtml-3.12.3 worked. This may be an upstream dependency problem as it was not detected during the configure phase of gtkhtml compilation.

Reproducible: Always

Steps to Reproduce:
Comment 1 Mart Raudsepp gentoo-dev 2007-06-23 16:03:33 UTC
Could you please actually provide the error messages that you got, because

a. Unresolved symbols sounds like the symbols do exist in libsoup headers but for some reason the linking phase on your machine doesn't find them - therefore it doesn't sound like a depedency problem to me

b. it failing with 2.2.94 and succeeding with 2.2.100 does not mean 2.2.100 is necessary. Something between 2.2.94 and 2.2.100 could work as well, although lower than 2.2.99 are security vulnerable.
Comment 2 michael 2007-06-24 10:49:28 UTC
(In reply to comment #1)
> Could you please actually provide the error messages that you got

Unfortunately, no. By the time I thought of it, they were long gone from the scrollback buffer. My apologizes for that.
Comment 3 Vic Cross 2007-06-30 09:25:21 UTC
I can:

----
 ...
/bin/sh ../libtool --tag=CC --mode=link i686-pc-linux-gnu-gcc -DGDK_DISABLE_DEPRECATED=1 -DG_DISABLE_DEPRECATED=1 -DGNOME_DISABLE_DEPRECATED=1 -DPREFIX=\""/usr"\" -DLIBDIR=\""/usr/share"\" -DDATADIR=\""/usr/share"\" -DSYSCONFDIR=\""/etc"\" -DICONDIR=\"/usr/share/gtkhtml-3.8/icons\" -DGTKHTML_DATADIR=\""/usr/share/gtkhtml-3.8"\" -DGLADE_DATADIR=\"/usr/share/gtkhtml-3.8\" -DGNOMELOCALEDIR=\""/usr/share/locale"\" -O2 -march=athlon-xp -pipe -Wall -Wmissing-prototypes   -o testgtkhtml  testgtkhtml.o htmlurl.o libgtkhtml-3.8.la -pthread -Wl,--export-dynamic -lgnomeui-2 -lSM -lICE -lbonoboui-2 -lgnome-keyring -lgnome-2 -lpopt -lbonobo-2 -lgnomevfs-2 -lbonobo-activation -lgconf-2 -lORBit-2 -lgthread-2.0 -lgnomeprintui-2-2 -lgnomeprint-2-2 -lgnomecanvas-2 -lart_lgpl_2 -lpangoft2-1.0 -lglade-2.0 -lgtk-x11-2.0 -lxml2 -lz -lgdk-x11-2.0 -latk-1.0 -lgdk_pixbuf-2.0 -lm -lpangocairo-1.0 -lpango-1.0 -lcairo -lgobject-2.0 -lgmodule-2.0 -ldl -lglib-2.0   -lsoup-2.2 -lgnutls -lgcrypt -lgpg-error -lxml2 -lz -lm -lglib-2.0
i686-pc-linux-gnu-gcc -DGDK_DISABLE_DEPRECATED=1 -DG_DISABLE_DEPRECATED=1 -DGNOME_DISABLE_DEPRECATED=1 -DPREFIX=\"/usr\" -DLIBDIR=\"/usr/share\" -DDATADIR=\"/usr/share\" -DSYSCONFDIR=\"/etc\" -DICONDIR=\"/usr/share/gtkhtml-3.8/icons\" -DGTKHTML_DATADIR=\"/usr/share/gtkhtml-3.8\" -DGLADE_DATADIR=\"/usr/share/gtkhtml-3.8\" -DGNOMELOCALEDIR=\"/usr/share/locale\" -O2 -march=athlon-xp -pipe -Wall -Wmissing-prototypes -o .libs/testgtkhtml testgtkhtml.o htmlurl.o -pthread -Wl,--export-dynamic  ./.libs/libgtkhtml-3.8.so /usr/lib/libgnomeui-2.so /usr/lib/libSM.so /usr/lib/libICE.so /usr/lib/libbonoboui-2.so /usr/lib/libgnome-keyring.so /usr/lib/libgnome-2.so /usr/lib/libpopt.so /usr/lib/libbonobo-2.so /usr/lib/libgnomevfs-2.so /usr/lib/libbonobo-activation.so /usr/lib/libgconf-2.so /usr/lib/libORBit-2.so /usr/lib/libgthread-2.0.so /usr/lib/libgnomeprintui-2-2.so /usr/lib/libgnomeprint-2-2.so /usr/lib/libgnomecanvas-2.so /usr/lib/libart_lgpl_2.so /usr/lib/libpangoft2-1.0.so /usr/lib/libglade-2.0.so /usr/lib/libgtk-x11-2.0.so /usr/lib/libgdk-x11-2.0.so /usr/lib/libatk-1.0.so /usr/lib/libgdk_pixbuf-2.0.so /usr/lib/libpangocairo-1.0.so /usr/lib/libpango-1.0.so /usr/lib/libcairo.so /usr/lib/libgobject-2.0.so /usr/lib/libgmodule-2.0.so -ldl /usr/lib/libsoup-2.2.so /usr/lib/libgnutls.so /usr/lib/libgcrypt.so /usr/lib/libgpg-error.so /usr/lib/libxml2.so -lz -lm /usr/lib/libglib-2.0.so
/usr/lib/gcc/i686-pc-linux-gnu/4.1.2/../../../../i686-pc-linux-gnu/bin/ld: warning: libgnutls.so.12, needed by /usr/lib/libsoup-2.2.so, not found (try using -rpath or -rpath-link)
/usr/lib/libsoup-2.2.so: undefined reference to `gnutls_certificate_set_dh_params@GNUTLS_1_2'
/usr/lib/libsoup-2.2.so: undefined reference to `gnutls_certificate_verify_peers@GNUTLS_1_2'
/usr/lib/libsoup-2.2.so: undefined reference to `gnutls_record_recv@GNUTLS_1_2'
/usr/lib/libsoup-2.2.so: undefined reference to `gnutls_credentials_set@GNUTLS_1_2'
/usr/lib/libsoup-2.2.so: undefined reference to `gnutls_x509_crt_init@GNUTLS_1_2'
/usr/lib/libsoup-2.2.so: undefined reference to `gnutls_record_send@GNUTLS_1_2'
/usr/lib/libsoup-2.2.so: undefined reference to `gnutls_transport_set_ptr@GNUTLS_1_2'
/usr/lib/libsoup-2.2.so: undefined reference to `gnutls_dh_params_deinit@GNUTLS_1_2'
/usr/lib/libsoup-2.2.so: undefined reference to `gnutls_dh_params_init@GNUTLS_1_2'
/usr/lib/libsoup-2.2.so: undefined reference to `gnutls_certificate_set_x509_trust_file@GNUTLS_1_2'
/usr/lib/libsoup-2.2.so: undefined reference to `gnutls_certificate_type_get@GNUTLS_1_2'
/usr/lib/libsoup-2.2.so: undefined reference to `gnutls_handshake@GNUTLS_1_2'
/usr/lib/libsoup-2.2.so: undefined reference to `gnutls_global_init@GNUTLS_1_2'
/usr/lib/libsoup-2.2.so: undefined reference to `gnutls_x509_crt_import@GNUTLS_1_2'
/usr/lib/libsoup-2.2.so: undefined reference to `gnutls_certificate_free_credentials@GNUTLS_1_2'
/usr/lib/libsoup-2.2.so: undefined reference to `gnutls_init@GNUTLS_1_2'
/usr/lib/libsoup-2.2.so: undefined reference to `gnutls_certificate_expiration_time_peers@GNUTLS_1_2'
/usr/lib/libsoup-2.2.so: undefined reference to `gnutls_dh_params_generate2@GNUTLS_1_2'
/usr/lib/libsoup-2.2.so: undefined reference to `gnutls_deinit@GNUTLS_1_2'
/usr/lib/libsoup-2.2.so: undefined reference to `gnutls_certificate_activation_time_peers@GNUTLS_1_2'
/usr/lib/libsoup-2.2.so: undefined reference to `gnutls_certificate_get_peers@GNUTLS_1_2'
/usr/lib/libsoup-2.2.so: undefined reference to `gnutls_certificate_set_x509_key_file@GNUTLS_1_2'
/usr/lib/libsoup-2.2.so: undefined reference to `gnutls_certificate_allocate_credentials@GNUTLS_1_2'
/usr/lib/libsoup-2.2.so: undefined reference to `gnutls_set_default_priority@GNUTLS_1_2'
/usr/lib/libsoup-2.2.so: undefined reference to `gnutls_bye@GNUTLS_1_2'
/usr/lib/libsoup-2.2.so: undefined reference to `gnutls_record_get_direction@GNUTLS_1_2'
/usr/lib/libsoup-2.2.so: undefined reference to `gnutls_dh_set_prime_bits@GNUTLS_1_2'
/usr/lib/libsoup-2.2.so: undefined reference to `gnutls_x509_crt_check_hostname@GNUTLS_1_2'
collect2: ld returned 1 exit status
make[2]: *** [testgtkhtml] Error 1
make[2]: Leaving directory `/var/tmp/portage/gnome-extra/gtkhtml-3.12.3/work/gtkhtml-3.12.3/src'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/var/tmp/portage/gnome-extra/gtkhtml-3.12.3/work/gtkhtml-3.12.3'
make: *** [all] Error 2

!!! ERROR: gnome-extra/gtkhtml-3.12.3 failed.
Call stack:
  ebuild.sh, line 1615:   Called dyn_compile
  ebuild.sh, line 972:   Called qa_call 'src_compile'
  ebuild.sh, line 44:   Called src_compile
  ebuild.sh, line 1305:   Called gnome2_src_compile
  gnome2.eclass, line 71:   Called die

!!! compile failure
!!! If you need support, post the topmost build error, and the call stack if relevant.
!!! A complete build log is located at '/var/tmp/portage/gnome-extra/gtkhtml-3.12.3/temp/build.log'.

----

I was suspicious about the warning on libgnutls.so.12...  Wondering if the problem was really that libgnutls got rebuilt at some stage and libsoup didn't pick it up, I just re-emerged the installed libsoup (2.2.94) and gtkhtml-3.12.3 emerged fine after that.
Comment 4 Peter Volkov (RETIRED) gentoo-dev 2007-06-30 10:15:28 UTC
Vic, this kind of errors should be fixed by revdep-rebuild. And speaking about this bug you just proved that gtkhtml compiles/works fine with libsoup-2.2.94. Thus i think that this bug is INVALID.

If any additional info will discovered, please, reopen.
Comment 5 Vic Cross 2007-06-30 12:22:17 UTC
> And speaking about this bug you just proved that gtkhtml compiles/works fine
> with libsoup-2.2.94.

That was my point, I totally agree.  Sorry I didn't say so!