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

Bug 775497

Summary: sys-fs/zfs-kmod-2.0.4 fails to build against kernel 5.11
Product: Gentoo Linux Reporter: Anton Gubarkov <anton.gubarkov>
Component: Current packagesAssignee: Georgy Yakovlev <gyakovlev>
Status: RESOLVED INVALID    
Severity: normal CC: sam
Priority: Normal    
Version: unspecified   
Hardware: All   
OS: Linux   
Whiteboard:
Package list:
Runtime testing required: ---

Description Anton Gubarkov 2021-03-11 17:34:20 UTC
* Messages for package sys-fs/zfs-kmod-2.0.4:

 * ERROR: sys-fs/zfs-kmod-2.0.4::gentoo failed (setup phase):
 *   Linux 5.10 is the latest supported version



contrary to the release message: Linux: compatible with 3.10 - 5.11 kernels
https://github.com/openzfs/zfs/releases/tag/zfs-2.0.4
Comment 1 Sam James archtester Gentoo Infrastructure gentoo-dev Security 2021-03-11 17:39:47 UTC
But we already allow 5.11 in the ebuild? I'll try reproduce.
Comment 2 Emily Rowlands 2021-03-11 17:41:30 UTC
Do you have ZFS_KERNEL_COMPAT_OVERRIDE set?
Comment 3 Anton Gubarkov 2021-03-11 17:43:01 UTC
Now yes 
ZFS_KERNEL_COMPAT_OVERRIDE="5.11"
Comment 4 Sam James archtester Gentoo Infrastructure gentoo-dev Security 2021-03-11 17:44:21 UTC
(In reply to Anton Gubarkov from comment #3)
> Now yes 
> ZFS_KERNEL_COMPAT_OVERRIDE="5.11"

.. but before? Can we have the full log please?
Comment 5 Anton Gubarkov 2021-03-11 17:47:36 UTC
Ooops!

I had 2 lines with ZFS_KERNEL_COMPAT_OVERRIDE= in make.conf

One was commented (at the end) ,and another was active (in the middle).
I've cleaned them all and the build runs ok, 

Sorry for nuisance.