Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!

Bug 661472

Summary: dev-libs/leatherman should set sub-slot to ${PV}
Product: Gentoo Linux Reporter: Sven Wegener <swegener>
Component: Current packagesAssignee: Matthew Thode ( prometheanfire ) <prometheanfire>
Status: RESOLVED FIXED    
Severity: normal    
Priority: Normal    
Version: unspecified   
Hardware: All   
OS: Linux   
Whiteboard:
Package list:
Runtime testing required: ---

Description Sven Wegener gentoo-dev 2018-07-18 08:21:12 UTC
The leatherman libraries have a SONAME that includes the full version:

>  TYPE   SONAME FILE 
> ET_DYN leatherman_util.so.1.4.2 /usr/lib64/leatherman_util.so 

An application that has been linked against the library is going to require the exact version to be installed, so the sub-slot should use the full ${PV} instead of just the major.minor part. This will help portage auto-rebuild depending packages and is also needed for proper dependencies of binary packages.
Comment 1 Larry the Git Cow gentoo-dev 2018-07-18 19:58:48 UTC
The bug has been closed via the following commit(s):

https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=527d1858b8ea133ab6ec679ddc2e44b56c4ae006

commit 527d1858b8ea133ab6ec679ddc2e44b56c4ae006
Author:     Matthew Thode <prometheanfire@gentoo.org>
AuthorDate: 2018-07-18 18:32:59 +0000
Commit:     Matthew Thode <prometheanfire@gentoo.org>
CommitDate: 2018-07-18 19:58:36 +0000

    dev-libs/leatherman: 1.4.2-r1 bup for proper subslots
    
    Closes: https://bugs.gentoo.org/661472
    Package-Manager: Portage-2.3.43, Repoman-2.3.10

 dev-libs/leatherman/leatherman-1.4.2-r1.ebuild | 58 ++++++++++++++++++++++++++
 1 file changed, 58 insertions(+)