Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 667644 - sys-apps/iproute2-4.17.0 should have caps use flag
Summary: sys-apps/iproute2-4.17.0 should have caps use flag
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal normal (vote)
Assignee: Gentoo's Team for Core System packages
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2018-10-03 09:37 UTC by Terra
Modified: 2018-10-29 22:21 UTC (History)
3 users (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 Terra 2018-10-03 09:37:22 UTC
iproute2 configure program explicitly checks for libcap support and the ebuild does not provide a way to control for this dependency.  Unfortunately, there does not seem to be an easy way to tell its configure to enable/disable libcap inclusion and solely depends on libcap's existence in the system.

For example, a system is initially built with -caps, but later +caps is enabled, the iproute2 package will not rebuild on a world --newuse update.

Also, the ebuild has no *DEPEND for sys-libs/libcap
Comment 1 Terra 2018-10-03 09:38:19 UTC
This was for: sys-apps/iproute2-4.17.0
Comment 2 Daniel M. Weeks 2018-10-24 20:59:17 UTC
This should be a higher priority than "normal". This breaks network init scripts on systems that use binary packages if they were automagically linked to libcap!
Comment 3 David Flogeras 2018-10-29 21:21:07 UTC
I hit this as well on a binpkg system since upgrading to iproute2-4.17
Comment 4 Larry the Git Cow gentoo-dev 2018-10-29 22:21:13 UTC
The bug has been closed via the following commit(s):

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

commit 2185fdc6724d0cf893fa228ef8e63b3791cae223
Author:     Lars Wendler <polynomial-c@gentoo.org>
AuthorDate: 2018-10-29 22:18:50 +0000
Commit:     Lars Wendler <polynomial-c@gentoo.org>
CommitDate: 2018-10-29 22:21:06 +0000

    sys-apps/iproute2: Revbumps to fix automagic dep on sys-libs/libcap
    
    Closes: https://bugs.gentoo.org/667644
    Signed-off-by: Lars Wendler <polynomial-c@gentoo.org>
    Package-Manager: Portage-2.3.51, Repoman-2.3.11

 ...tch => iproute2-4.17.0-configure-nomagic.patch} | 68 +++++++++++++---------
 ...te2-4.17.0.ebuild => iproute2-4.17.0-r1.ebuild} |  6 +-
 ...te2-4.19.0.ebuild => iproute2-4.18.0-r1.ebuild} |  6 +-
 ...te2-4.18.0.ebuild => iproute2-4.19.0-r1.ebuild} |  8 ++-
 sys-apps/iproute2/iproute2-9999.ebuild             |  8 ++-
 5 files changed, 60 insertions(+), 36 deletions(-)