Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 775497 - sys-fs/zfs-kmod-2.0.4 fails to build against kernel 5.11
Summary: sys-fs/zfs-kmod-2.0.4 fails to build against kernel 5.11
Status: RESOLVED INVALID
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal normal (vote)
Assignee: Georgy Yakovlev
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2021-03-11 17:34 UTC by Anton Gubarkov
Modified: 2021-03-11 17:47 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 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.