Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 793026 - sys-libs/libcap-2.50 does not install capsh binary
Summary: sys-libs/libcap-2.50 does not install capsh binary
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal normal
Assignee: Gentoo's Team for Core System packages
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2021-05-30 09:59 UTC by Kristian
Modified: 2021-05-30 10:54 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 Kristian 2021-05-30 09:59:30 UTC
The /sbin/capsh binary was installed by <libcap-2.50 The current libcap-2.50 ebuild does not install that binary anymore. The ebuilds 2.49 and 2.50 do only differ in the included patch. So I assume the libcap-2.50-build-system-fixes.patch might be the culprit. I have not checked, if this might be a problem upstream. But as the man page for capsh is still installed with 2.50 and I did not notice anything related to capsh in the Changelog and recent commits, it looks to me, as if this is a ebuild problem.

Reproducible: Always

Steps to Reproduce:
1. emerge =libcap-2.50
2. 
3.
Actual Results:  
ls /sbin/capsh
ls: cannot access '/sbin/capsh': No such file or directory

Expected Results:  
ls /sbin/capsh
/sbin/capsh
Comment 1 Sam James archtester Gentoo Infrastructure gentoo-dev Security 2021-05-30 10:08:31 UTC
It'd help to see a build log from libcap-2.50 and ideally 2.49 too to compare, if possible? (Not in a position to test atm).
Comment 2 Larry the Git Cow gentoo-dev 2021-05-30 10:54:43 UTC
The bug has been closed via the following commit(s):

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

commit e4d012e535d80dcfd8c0135ff538764586fe8af8
Author:     Lars Wendler <polynomial-c@gentoo.org>
AuthorDate: 2021-05-30 10:54:09 +0000
Commit:     Lars Wendler <polynomial-c@gentoo.org>
CommitDate: 2021-05-30 10:54:34 +0000

    sys-libs/libcap: Revbump to install capsh binary again
    
    Closes: https://bugs.gentoo.org/793026
    Signed-off-by: Lars Wendler <polynomial-c@gentoo.org>

 .../files/libcap-2.50-install_capsh_again.patch    | 38 ++++++++++++++++++++++
 .../{libcap-2.50.ebuild => libcap-2.50-r1.ebuild}  |  1 +
 2 files changed, 39 insertions(+)