Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 674868 - x11-drivers/nvidia-drivers-415 should not check for CONFIG_I2C_NVIDIA_GPU=m
Summary: x11-drivers/nvidia-drivers-415 should not check for CONFIG_I2C_NVIDIA_GPU=m
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal normal
Assignee: Jeroen Roovers (RETIRED)
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2019-01-08 11:50 UTC by Helmut Auer
Modified: 2020-04-22 10:08 UTC (History)
0 users

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 Helmut Auer 2019-01-08 11:50:54 UTC
The CONFIG_CHECK in the nvidia-drivers-415 ebuild requires CONFIG_I2C_NVIDIA_GPU not to be set. In my distribution I want to set this to M but then I cannot install the drivers package.
I would vote for setting
CONFIG_CHECK="!DEBUG_MUTEXES ~!I2C_NVIDIA_GPU ...

Reproducible: Always

Actual Results:  
Ebuild fails
Comment 1 Jeroen Roovers (RETIRED) gentoo-dev 2019-01-08 14:04:58 UTC
Have you actually tested the combination?
Comment 2 Helmut Auer 2019-01-08 19:32:37 UTC
No I haven't, but a kernel with module X built as externatl module should be the same as a kernel built without that module ...
Comment 3 Helmut Auer 2019-01-08 19:34:42 UTC
P.S: but its compiling fine with CONFIG_I2C_NVIDIA_GPU=m
Comment 4 Helmut Auer 2019-01-28 09:59:48 UTC
Hello
As a circumvention for my distribution I am using now:

sed -i /usr/src/linux/.config \
-e "s%^CONFIG_I2C_NVIDIA_GPU=m%# CONFIG_I2C_NVIDIA_GPU=m%"

emerge x11-drivers/nvidia-drivers

sed -i /usr/src/linux/.config \
-e "s%^# CONFIG_I2C_NVIDIA_GPU=m%CONFIG_I2C_NVIDIA_GPU=m%"

Anyway changing this in the ebuild would be nicer :)

Regards
Helmut
Comment 5 Larry the Git Cow gentoo-dev 2019-11-27 15:07:04 UTC
The bug has been closed via the following commit(s):

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

commit 052b4ca0cce7d91f57c96895ae3de661f3f6cc7b
Author:     Jeroen Roovers <jer@gentoo.org>
AuthorDate: 2019-11-27 15:05:36 +0000
Commit:     Jeroen Roovers <jer@gentoo.org>
CommitDate: 2019-11-27 15:07:01 +0000

    x11-drivers/nvidia-drivers: Relax CONFIG_I2C_NVIDIA_GPU check
    
    Package-Manager: Portage-2.3.79, Repoman-2.3.18
    Fixes: https://bugs.gentoo.org/674868
    Signed-off-by: Jeroen Roovers <jer@gentoo.org>

 x11-drivers/nvidia-drivers/nvidia-drivers-430.64.ebuild | 2 +-
 x11-drivers/nvidia-drivers/nvidia-drivers-435.21.ebuild | 2 +-
 x11-drivers/nvidia-drivers/nvidia-drivers-440.31.ebuild | 2 +-
 x11-drivers/nvidia-drivers/nvidia-drivers-440.36.ebuild | 2 +-
 4 files changed, 4 insertions(+), 4 deletions(-)
Comment 6 Maik 2020-04-22 10:08:21 UTC
Why does the ebuild complain about this at all? It is a needed driver for the USB-C port on Turing cards. The nvidia driver doesn't take care of this.