Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 169973 - revdep-rebuild should also detect version information missing
Summary: revdep-rebuild should also detect version information missing
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: [OLD] Core system (show other bugs)
Hardware: All All
: High enhancement (vote)
Assignee: Portage Tools Team
URL:
Whiteboard:
Keywords: InVCS
Depends on:
Blocks: 170220
  Show dependency tree
 
Reported: 2007-03-08 17:31 UTC by Arthur Hagen
Modified: 2007-03-10 04:13 UTC (History)
0 users

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


Attachments
revdep-rebuild patch (revdep-rebuild.169973.patch,1.46 KB, patch)
2007-03-09 18:23 UTC, Paul Varner (RETIRED)
Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description Arthur Hagen 2007-03-08 17:31:40 UTC
After upgrading app-crypt/opencdk from 0.5.5 to 0.5.7, gnutls-extra.so.13 fails to open libopencdk.so.8:

Normally, this is resolvable by revdep-rebuild, but in this case, revdep-rebuild reports nothing amiss, since /usr/lib/libopencdk.so.8 does exist.


Reproducible: Always

Steps to Reproduce:
1. emerge --oneshot =app-crypt/opencdk-0.5.5
2. emerge --oneshot =net-libs/gnutls-1.4.4-r1
3. emerge --oneshot =app-crypt/opencdk-0.5.7
4. srptool -v

Actual Results:  
# srptool -v
srptool: /usr/lib/libopencdk.so.8: no version information available (required by /usr/lib/libgnutls-extra.so.13)
GNU TLS srptool, version 1.4.4. Libgnutls 1.4.4.

(Similar for psktool, gnutls-cli, gnutls-cli-debug and gnutls-serv)


Workaround:  re-emerge gnutls after upgrading opencdk.  This is not an obvious workaround, since revdep-rebuild doesn't report any problems.

Could the library version in opencdk be bumped, or could a warning be printed on emerge that gnutls has to be rebuilt?
Comment 1 Jakub Moc (RETIRED) gentoo-dev 2007-03-08 20:17:57 UTC
That's what revdep-rebuild is for...
Comment 2 Arthur Hagen 2007-03-08 21:35:46 UTC
(In reply to comment #1)
> That's what revdep-rebuild is for...
> 

Jakub, please read the ticket before giving glib answers like this.  In particular, this part - the second sentence in the ticket:

"Normally, this is resolvable by revdep-rebuild, but in this case,
revdep-rebuild reports nothing amiss, since /usr/lib/libopencdk.so.8 does
exist."
Comment 3 Jakub Moc (RETIRED) gentoo-dev 2007-03-08 21:43:25 UTC
(In reply to comment #2)
> Jakub, please read the ticket before giving glib answers like this. 

Yeah, I sure would if only bugzilla dropped its goddamn habit of jumping on next open bug; a.k.a. comment #1 didn't belong to this bug at all.
Comment 4 Alon Bar-Lev (RETIRED) gentoo-dev 2007-03-09 07:48:36 UTC
As far as I see the "no version information available" does not make the product not to work.

tools-portage: Can revdep-rebuild detect such issues and rebuild the affected packages?
Comment 5 Paul Varner (RETIRED) gentoo-dev 2007-03-09 18:23:42 UTC
Created attachment 112735 [details, diff]
revdep-rebuild patch

Please try this patch to revdep-rebuild and let me know how it looks
Comment 6 Alon Bar-Lev (RETIRED) gentoo-dev 2007-03-09 19:18:13 UTC
Works for me!
Thanks!
Comment 7 Paul Varner (RETIRED) gentoo-dev 2007-03-10 03:41:37 UTC
$ svn commit -m "Add support to detect \"no version information available\" message from ldd (Bug #169973)"
Sending        ChangeLog
Sending        src/revdep-rebuild/revdep-rebuild
Transmitting file data ..
Committed revision 354.
Comment 8 Paul Varner (RETIRED) gentoo-dev 2007-03-10 04:13:39 UTC
Released in gentoolkit-0.2.4_pre1