Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
[Solved] How do I associate library with package?
View unanswered posts
View posts from last 24 hours

 
Reply to topic    Gentoo Forums Forum Index Portage & Programming
View previous topic :: View next topic  
Author Message
jasn
Guru
Guru


Joined: 05 May 2005
Posts: 412
Location: Maryland, US

PostPosted: Tue Aug 14, 2012 12:34 pm    Post subject: [Solved] How do I associate library with package? Reply with quote

I emerged jitsi into my system from this ebuild in Gentoo's bugzilla. Now every time I run revdep-rebuild I get;
Code:
 * 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
 * Generated new 1_files.rr
 * Collecting complete LD_LIBRARY_PATH
 * Generated new 2_ldpath.rr
 * Checking dynamic linking consistency
[ 100% ]                 
 *   broken /usr/lib64/jitsi/lib/native/libjunbound.so (no version information available)
 * Generated new 3_broken.rr
 * Assigning files to packages
 *  !!! /usr/lib64/jitsi/lib/native/libjunbound.so not owned by any package is broken !!!
 *   /usr/lib64/jitsi/lib/native/libjunbound.so -> (none)
 * Generated new 4_raw.rr and 4_owners.rr
 * Found some broken files, but none of them were associated with known packages
 * Unable to proceed with automatic repairs.
 * The broken files are listed in 4_owners.rr

Is there;

(preferred) 1) Some way to associate libjunbound.so with the jitsi package?

(alternate) 2) Some way to have revdep-rebuild ignore libjunbound.so?

Thanks..


Last edited by jasn on Tue Aug 14, 2012 2:02 pm; edited 1 time in total
Back to top
View user's profile Send private message
Genone
Retired Dev
Retired Dev


Joined: 14 Mar 2003
Posts: 9011
Location: beyond the rim

PostPosted: Tue Aug 14, 2012 1:32 pm    Post subject: Reply with quote

I guess the problem comes from the ebuild installing to /usr/lib, which on amd64 usually is a link to /usr/lib64. revdep-rebuild looks for a package owning /usr/lib64/.../libjunbound.so (as that's the "real" lookup path), but cannot find that one. So to fix this there are two options:
a) Ideally someone would fix the ebuild (use get_libdir, don't use uname in src_install to name two obvious issues, there are probably other java-specific issues as well) to install into the proper location
b) Manually modify the path in the portage installation database, which may or may not cause other issues (don't know if there are any integrity checks or cache validation issues these days).

As for option 2) see the revdep-rebuild manpage.
Back to top
View user's profile Send private message
jasn
Guru
Guru


Joined: 05 May 2005
Posts: 412
Location: Maryland, US

PostPosted: Tue Aug 14, 2012 2:02 pm    Post subject: Reply with quote

Thanks Genone

I initially thought that there might be an easy edit to fix this issue, as proposed in your 1b response. However it doesn't seem sensible, so instead I'll relay your comments regarding suggested ebuild changes to the bug report. And to temporarily fix the issue, after reading the revdep-rebuild man page, I added;
Code:
LD_LIBRARY_MASK="libjunbound.so"

to my /etc/make.conf, and revdep-rebuild ignores the library.

Jason
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Portage & Programming All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum