Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 153696 - net-libs/libsoup have broken dependency with libgnutls.so.12
Summary: net-libs/libsoup have broken dependency with libgnutls.so.12
Status: RESOLVED DUPLICATE of bug 62283
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: New packages (show other bugs)
Hardware: All Linux
: High major
Assignee: Gentoo Linux Gnome Desktop Team
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2006-11-01 07:47 UTC by LAj
Modified: 2008-02-27 15:11 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 LAj 2006-11-01 07:47:45 UTC
latest net-libs/gnutls-1.4.4 stable for all platform emerge-out libgnutls.so.13 but the latest net-libs/libsoup-2.2.94 and above in portage ask for libgnutls.so.12

I've downgraded gnutls to 1.2.10 ( the prev stable one ) to fix a broken dep of revdep-build on libsoup.

Can the following patch fix the problem for libsoup-2.2.94 and above?

diff /usr/portage/net-libs/libsoup/libsoup-2.2.94.ebuild /usr/portage/net-libs/libsoup/libsoup-2.2.94.ebuild.patched 
18c18
<                                       >=net-libs/gnutls-1
---
>                                       =net-libs/gnutls-1.2.10
Comment 1 Carsten Lohrke (RETIRED) gentoo-dev 2006-11-01 12:48:40 UTC
Sounds like you didn't run revdep-rebuild. Portage doesn't do reverse dependencies, yet. 
Comment 2 John N. Laliberte (RETIRED) gentoo-dev 2006-11-01 12:51:49 UTC
run revdep-rebuild or re-emerge libsoup-2.2.x
Comment 3 LAj 2006-11-01 16:20:39 UTC
with emerge libsoup compile fail, see here:
http://forums.gentoo.org/viewtopic-p-3678050.html#3678050
Comment 4 John N. Laliberte (RETIRED) gentoo-dev 2006-11-01 19:12:29 UTC
are you using doc useflag?

if you are, can you try without the doc useflag?
Comment 5 John N. Laliberte (RETIRED) gentoo-dev 2006-11-01 19:16:49 UTC
also, please include a full build log of libsoup and your emerge info.
Comment 6 Jakub Moc (RETIRED) gentoo-dev 2006-11-02 03:53:22 UTC
Dupe.

*** This bug has been marked as a duplicate of 62283 ***
Comment 7 Jakub Moc (RETIRED) gentoo-dev 2006-11-02 04:03:00 UTC
(In reply to comment #0)
> diff /usr/portage/net-libs/libsoup/libsoup-2.2.94.ebuild
> /usr/portage/net-libs/libsoup/libsoup-2.2.94.ebuild.patched 
> 18c18
> <                                       >=net-libs/gnutls-1
> ---
> >                                       =net-libs/gnutls-1.2.10

Eh, that's plain wrong. Run 'revdep-rebuild --library libgnutls.so.12' as the gnutls ebuild told you when upgrading. It compiles just fine w/ 
gnutls-1.4.4 (with or without USE=doc)
Comment 8 LAj 2006-11-02 10:21:49 UTC
This is my system now:

NeXT ~ # emerge -pv gnutls

These are the packages that would be merged, in order:

Calculating dependencies... done!
[ebuild     U ] net-libs/gnutls-1.4.4-r1 [1.2.10] USE="doc nls%* zlib (-crypt%*)
" 0 kB

Total size of downloads: 0 kB



NeXT ~ # revdep-rebuild
Configuring search environment for revdep-rebuild

Checking reverse dependencies...

Packages containing binaries and libraries broken by a package update
will be emerged.

Collecting system binaries and libraries... done.
  (/root/.revdep-rebuild.1_files)

Collecting complete LD_LIBRARY_PATH... done.
  (/root/.revdep-rebuild.2_ldpath)

Checking dynamic linking consistency...
  broken /usr/lib64/libgnutls-extra.so.12.3.7 (requires  libgnutls.so.13)
  broken /usr/lib/libgnutls-extra.so.12.3.7 (requires  libgnutls.so.13)
  broken /usr/lib64/gcc/x86_64-pc-linux-gnu/3.4.6/lib-org-w3c-dom.la (requires /
usr/lib/../lib64/libgcj.la)
  broken /usr/lib64/gcc/x86_64-pc-linux-gnu/3.4.6/lib-org-xml-sax.la (requires /
usr/lib/../lib64/libgcj.la)
  broken /usr/lib64/gcc/x86_64-pc-linux-gnu/4.1.1/libgcjawt.la (requires /usr/li
b/../lib64/lib-gnu-java-awt-peer-gtk.la)
  broken /usr/lib64/gcc/x86_64-pc-linux-gnu/4.1.1/libgij.la (requires /usr/lib/.
./lib64/libgcj.la)
  broken /usr/lib/gcc/x86_64-pc-linux-gnu/3.4.6/lib-org-w3c-dom.la (requires /us
r/lib/../lib64/libgcj.la)
  broken /usr/lib/gcc/x86_64-pc-linux-gnu/3.4.6/lib-org-xml-sax.la (requires /us
r/lib/../lib64/libgcj.la)
  broken /usr/lib/gcc/x86_64-pc-linux-gnu/4.1.1/libgcjawt.la (requires /usr/lib/
../lib64/lib-gnu-java-awt-peer-gtk.la)
  broken /usr/lib/gcc/x86_64-pc-linux-gnu/4.1.1/libgij.la (requires /usr/lib/../
lib64/libgcj.la)
 done.
  (/root/.revdep-rebuild.3_rebuild)

Assigning files to ebuilds... done.
  (/root/.revdep-rebuild.4_ebuilds)

Evaluating package order... done.
  (/root/.revdep-rebuild.5_order)





So, I've to rebuild gnutls-1.4.4 cause of libgnutls.so.12 but then, 
why libsoup ask for ...so.13?
I'm going to emerge gnutls, hold on!
Comment 9 LAj 2006-11-02 10:45:05 UTC
WOW!!!

revdep-rebuild --library libgnutls.so.12
invoke
emerge --oneshot  =net-libs/libsoup-2.2.94

that fail compile with:
.../var/tmp/portage/libsoup-2.2.94/work/libsoup-2.2.94/docs/reference/.libs/lt-libsoup-scan: error while loading shared libraries: libgnutls.so.12: cannot open shared object file: No such file or directory
Scan failed: 
make[3]: *** [scan-build.stamp] Error 127
make[3]: Leaving directory `/var/tmp/portage/libsoup-2.2.94/work/libsoup-2.2.94/docs/reference'
make[2]: *** [all-recursive] Error 1
make[2]: Leaving directory `/var/tmp/portage/libsoup-2.2.94/work/libsoup-2.2.94/docs'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/var/tmp/portage/libsoup-2.2.94/work/libsoup-2.2.94'
make: *** [all] Error 2

!!! ERROR: net-libs/libsoup-2.2.94 failed.
Call stack:
  ebuild.sh, line 1546:   Called dyn_compile
  ebuild.sh, line 937:   Called src_compile
  ebuild.sh, line 1255:   Called gnome2_src_compile
  gnome2.eclass, line 64:   Called die

!!! compile failure
!!! If you need support, post the topmost build error, and the call stack if relevant.


Thank you.

P.S.: On the otherside, I think a symlink to so.13 from so.12 make me emerge libsoup  .
Comment 10 fjallagyldir 2008-02-27 15:11:30 UTC
an entry in /etc/portage/package.use with

net-libs/libsoup -doc

worked for me

regards