Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 660782 - sys-apps/irqbalance[-caps] links to libcap-ng if installed
Summary: sys-apps/irqbalance[-caps] links to libcap-ng if installed
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: 2018-07-09 11:45 UTC by Manuel Mommertz
Modified: 2018-07-09 13:51 UTC (History)
0 users

See Also:
Package list:
Runtime testing required: ---


Attachments
Use correct variable name (without_libcap_ng.patch,343 bytes, patch)
2018-07-09 11:45 UTC, Manuel Mommertz
Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description Manuel Mommertz 2018-07-09 11:45:50 UTC
Created attachment 538900 [details, diff]
Use correct variable name

irqbalance links to libcap-ng if it is installed, even when useflag caps is disabled. This is an error in the configure-script, which checks for the wrong variable to determine if the user used --with/--without for libcap-ng.
Comment 1 Lars Wendler (Polynomial-C) (RETIRED) gentoo-dev 2018-07-09 12:23:07 UTC
Thanks! I took the liberty to report this fix to upstream as it is still unfixed in their git repo:

https://github.com/Irqbalance/irqbalance/pull/69/commits/8ad74cdabac37599d20a985e6a456b1faca92df8
Comment 2 Larry the Git Cow gentoo-dev 2018-07-09 12:34:53 UTC
The bug has been referenced in the following commit(s):

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

commit 3a3f1112c39d4134a912edfb8a4e94efdbd74a69
Author:     Lars Wendler <polynomial-c@gentoo.org>
AuthorDate: 2018-07-09 12:34:14 +0000
Commit:     Lars Wendler <polynomial-c@gentoo.org>
CommitDate: 2018-07-09 12:34:46 +0000

    sys-apps/irqbalance: Fixed USE="-caps" still linking to libcaps
    
    Also revbumped to 1.4.0-r1 with added "tui" USE flag.
    
    Bug: https://bugs.gentoo.org/660782
    Package-Manager: Portage-2.3.41, Repoman-2.3.9

 .../files/irqbalance-1.4.0-configure.patch         | 68 ++++++++++++++++++++++
 sys-apps/irqbalance/irqbalance-1.3.0.ebuild        |  7 ++-
 ...nce-1.4.0.ebuild => irqbalance-1.4.0-r1.ebuild} | 13 +++--
 sys-apps/irqbalance/metadata.xml                   |  1 +
 4 files changed, 82 insertions(+), 7 deletions(-)
Comment 3 Lars Wendler (Polynomial-C) (RETIRED) gentoo-dev 2018-07-09 12:36:15 UTC
Keeping this bug open until upstream approved the fix.
Comment 4 Lars Wendler (Polynomial-C) (RETIRED) gentoo-dev 2018-07-09 13:51:22 UTC
Upstream merged the fixes.