Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 661472 - dev-libs/leatherman should set sub-slot to ${PV}
Summary: dev-libs/leatherman should set sub-slot to ${PV}
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal normal
Assignee: Matthew Thode ( prometheanfire )
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2018-07-18 08:21 UTC by Sven Wegener
Modified: 2018-07-18 19:58 UTC (History)
0 users

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 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(+)