Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 679278 - sys-apps/thunderbolt-software-user-space-0.9.3 checks kernel options and aborts the build if they are not set
Summary: sys-apps/thunderbolt-software-user-space-0.9.3 checks kernel options and abor...
Status: RESOLVED CANTFIX
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal normal (vote)
Assignee: jonas.licht
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2019-03-02 21:41 UTC by Roy Bamford
Modified: 2019-05-06 12:00 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 Roy Bamford gentoo-dev 2019-03-02 21:41:43 UTC
sys-apps/thunderbolt-software-user-space-0.9.3 does

pkg_pretend() {
        CONFIG_CHECK="THUNDERBOLT"
        ERROR_THUNDERBOLT="This program talks to the thunderbolt kernel driver, so please enable it."
        CONFIG_CHECK="HOTPLUG_PCI"
        ERROR_HOTPLUG_PCI="Thunderpolt needs pci hotplug support, so please enable it."
 
This prevents a binary package being built on one system, that may not have the options set, for use on others where the kernel is correct.

Custom and practice is that the ebuild should warn about required unset kernel options but not prevent the build from completing.

With the quoted section commented out it builds on an arm64 box where I have no access to fix the kernel.
Comment 1 Andreas Sturmlechner gentoo-dev 2019-03-02 21:47:32 UTC
Strictly concerning ~arm* keywording, I'm not sure it even makes sense:

I've masked these flags on arm:
># Andreas Sturmlechner (25 Feb 2019)
># (SM)BIOS/Thunderbolt outside of amd64/x86? - citation needed
>sys-apps/fwupd dell thunderbolt
Comment 2 Roy Bamford gentoo-dev 2019-05-06 12:00:59 UTC
Thunderbolt support for arm64 appears to have been in the learn in the early days of thunderbolt buts its gone now so sys-apps/thunderbolt-software-user-space cannot be useful on arm64