Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 671776 - net-misc/openvswitch - missing MODULES_OPTIONAL_USE
Summary: net-misc/openvswitch - missing MODULES_OPTIONAL_USE
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-11-23 22:59 UTC by David Klaftenegger
Modified: 2022-07-02 12:37 UTC (History)
2 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 David Klaftenegger 2018-11-23 22:59:24 UTC
When trying to install net-misc/openvswitch, I wondered why it pulled in sys-kernel/gentoo sources, even though I have USE="-modules".

If I understand the linux-mod eclass correctly, the ebuild could specify
MODULES_OPTIONAL_USE="modules" to avoid pulling in kernel sources when not building external kernel modules.

Is there a reason other than building kernel modules to have that dependency?
Comment 1 Larry the Git Cow gentoo-dev 2022-07-02 12:35:31 UTC
The bug has been closed via the following commit(s):

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

commit 9810e0f55cb9c8da7bdcf6bdcae630e61fcf3594
Author:     Sam James <sam@gentoo.org>
AuthorDate: 2022-07-02 12:31:46 +0000
Commit:     Sam James <sam@gentoo.org>
CommitDate: 2022-07-02 12:35:08 +0000

    net-misc/openvswitch: add 2.17.2
    
    Bug: https://bugs.gentoo.org/766135
    Closes: https://bugs.gentoo.org/596206
    Closes: https://bugs.gentoo.org/633516
    Closes: https://bugs.gentoo.org/671776
    Closes: https://bugs.gentoo.org/672870
    Closes: https://bugs.gentoo.org/794535
    Closes: https://bugs.gentoo.org/854663
    Signed-off-by: Sam James <sam@gentoo.org>

 net-misc/openvswitch/Manifest                  |   1 +
 net-misc/openvswitch/openvswitch-2.17.2.ebuild | 152 +++++++++++++++++++++++++
 2 files changed, 153 insertions(+)
Comment 2 Larry the Git Cow gentoo-dev 2022-07-02 12:37:29 UTC
The bug has been referenced in the following commit(s):

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

commit 3a0f70439688bccfb7c4d0a56928e99b6a2bf600
Author:     Sam James <sam@gentoo.org>
AuthorDate: 2022-07-02 12:36:23 +0000
Commit:     Sam James <sam@gentoo.org>
CommitDate: 2022-07-02 12:36:23 +0000

    net-misc/openvswitch: MODULES_OPTIONAL_USE is preinherit
    
    Bug: https://bugs.gentoo.org/671776
    Signed-off-by: Sam James <sam@gentoo.org>

 net-misc/openvswitch/openvswitch-2.17.2.ebuild | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)