Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!

Bug 618914

Summary: =x11-drivers/nvidia-drivers-381.22 checks kernel version incorrectly
Product: Gentoo Linux Reporter: Claes <letharion>
Component: Current packagesAssignee: Gentoo Linux bug wranglers <bug-wranglers>
Status: RESOLVED DUPLICATE    
Severity: normal    
Priority: Normal    
Version: unspecified   
Hardware: All   
OS: Linux   
Whiteboard:
Package list:
Runtime testing required: ---

Description Claes 2017-05-19 09:19:19 UTC
In all other ebuilds the check looks like "kernel_is ge 4 11", but 381.22 has a dot in the check: "kernel_is ge 4.12", which when I read the linux-info eclass looks incorrect.

Relevant part of diff below:

$ diff -u /usr/portage/x11-drivers/nvidia-drivers/nvidia-drivers-381.09.ebuild /usr/portage/x11-drivers/nvidia-drivers/nvidia-drivers-381.22.ebuild 
--- /usr/portage/x11-drivers/nvidia-drivers/nvidia-drivers-381.09.ebuild        2017-05-19 00:18:01.000000000 +0200
+++ /usr/portage/x11-drivers/nvidia-drivers/nvidia-drivers-381.22.ebuild        2017-05-19 00:18:08.000000000 +0200
@@ -92,11 +92,11 @@
                die "Unexpected \${DEFAULT_ABI} = ${DEFAULT_ABI}"
        fi
 
-       if use kernel_linux && kernel_is ge 4 11; then
+       if use kernel_linux && kernel_is ge 4.12; then
                ewarn "Gentoo supports kernels which are supported by NVIDIA"
                ewarn "which are limited to the following kernels:"
Comment 1 Jeroen Roovers (RETIRED) gentoo-dev 2017-05-19 09:36:49 UTC

*** This bug has been marked as a duplicate of bug 618886 ***