Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 582248 - [Patch] sys-kernel/spl and sys-fs/zfs-kmod 0.6.5.6 check against wrong kernel version
Summary: [Patch] sys-kernel/spl and sys-fs/zfs-kmod 0.6.5.6 check against wrong kernel...
Status: RESOLVED OBSOLETE
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal normal (vote)
Assignee: Richard Yao (RETIRED)
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2016-05-06 09:09 UTC by mrhanky
Modified: 2020-06-10 22:00 UTC (History)
3 users (show)

See Also:
Package list:
Runtime testing required: ---


Attachments
Fixes wrong kernel version check (spl-zfs-0.6.5.6-ebuild.patch,1.04 KB, patch)
2016-05-06 09:09 UTC, mrhanky
Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description mrhanky 2016-05-06 09:09:35 UTC
Created attachment 433386 [details, diff]
Fixes wrong kernel version check

I'm on kernel 4.5.x, the (masked) versions 0.6.5.6 of sys-kernel/spl and sys-fs/zfs-kmod check against the wrong kernel version (4.3.x), both support 4.5.x. 

Patch attached.

Greetings, mrhanky
Comment 1 occ1701 2016-05-07 17:27:25 UTC
Thank you for the patch!

Here I put the patch into /etc/portage/patches

build.log:
The specific snippet of code:
 *               die "Failed Patch: ${patchname}!";


spl-zfs-0.6.5.6-ebuild.patch.out:

can't find file to patch at input line 4
Perhaps you used the wrong -p or --strip option?
The text leading up to this was:
--------------------------
|diff -Nur a/sys-fs/zfs-kmod/zfs-kmod-0.6.5.6.ebuild b/sys-fs/zfs-kmod/zfs-kmod-0.6.5.6.ebuild
|--- a/sys-fs/zfs-kmod/zfs-kmod-0.6.5.6.ebuild	2016-05-06 10:37:45.889786242 +0200
|+++ b/sys-fs/zfs-kmod/zfs-kmod-0.6.5.6.ebuild	2016-05-06 10:38:22.561784700 +0200
--------------------------
No file to patch.  Skipping patch.
1 out of 1 hunk ignored
can't find file to patch at input line 16
Perhaps you used the wrong -p or --strip option?
The text leading up to this was:
--------------------------
|diff -Nur a/sys-kernel/spl/spl-0.6.5.6.ebuild b/sys-kernel/spl/spl-0.6.5.6.ebuild
|--- a/sys-kernel/spl/spl-0.6.5.6.ebuild	2016-05-06 10:38:02.241785554 +0200
|+++ b/sys-kernel/spl/spl-0.6.5.6.ebuild	2016-05-06 10:38:38.961784010 +0200
--------------------------
No file to patch.  Skipping patch.
1 out of 1 hunk ignored

patch program exited with status 1
Comment 2 Georgy Yakovlev archtester gentoo-dev 2020-06-10 22:00:23 UTC
spl is gone from the tree. closing.

reopen if you still see the problem with new packages.