From: raid5atemyhomework via Bug reports for GNU Guix <bug-guix@gnu.org>
To: 45401@debbugs.gnu.org
Subject: bug#45401: ZFS package not compiling on recent kernel
Date: Thu, 24 Dec 2020 00:53:09 +0000 [thread overview]
Message-ID: <jtYDKvkF5nsDoYCHggN-Is9lOA1_iOiCLpfNZ5NWdXt7Yd6Wq8qrA6EqzXE6P-1EFFqekIHxJSXtIOytr9IVB4CbLO759dyZvZ-OJH-v-z4=@protonmail.com> (raw)
Installing `zfs` results in the following errors:
```
In file included from /tmp/guix-build-zfs-0.8.5.drv-0/zfs-0.8.5/include/sys/dmu.h:848:0,
from /tmp/guix-build-zfs-0.8.5.drv-0/zfs-0.8.5/include/sys/spa.h:44,
from /tmp/guix-build-zfs-0.8.5.drv-0/zfs-0.8.5/include/sys/spa_impl.h:35,
from /tmp/guix-build-zfs-0.8.5.drv-0/zfs-0.8.5/module/zfs/vdev_disk.c:30:
/tmp/guix-build-zfs-0.8.5.drv-0/zfs-0.8.5/module/zfs/vdev_disk.c: In function 'vdev_disk_open':
/tmp/guix-build-zfs-0.8.5.drv-0/zfs-0.8.5/include/linux/blkdev_compat.h:378:37: error: implicit declaration of function 'check_disk_change'; did you mean 'bdev_disk_changed'? [-Werror=implicit-function-declaration]
#define vdev_bdev_reread_part(bdev) check_disk_change(bdev)
^
/tmp/guix-build-zfs-0.8.5.drv-0/zfs-0.8.5/module/zfs/vdev_disk.c:218:17: note: in expansion of macro 'vdev_bdev_reread_part'
int error = vdev_bdev_reread_part(bdev);
^~~~~~~~~~~~~~~~~~~~~
/tmp/guix-build-zfs-0.8.5.drv-0/zfs-0.8.5/module/zfs/vdev_disk.c: In function 'vdev_blkg_tryget':
/tmp/guix-build-zfs-0.8.5.drv-0/zfs-0.8.5/module/zfs/vdev_disk.c:506:37: error: 'struct percpu_ref' has no member named 'count'
rc = atomic_long_inc_not_zero(&ref->count);
^~
cc1: some warnings being treated as errors
```
This is using kernel 5.10.2 I believe:
```
downloading from https://ci.guix.gnu.org/nar/lzip/si6ly6im9ih9fpycp5zq1895y2jl4kzm-linux-libre-5.10.2 ...
linux-libre-5.10.2 76.4MiB
downloading from https://ci.guix.gnu.org/nar/lzip/gw4nybiqbfg7mayvykvrk4vd7jf2liyx-linux-libre-module-builder-5.10.2 ...
linux-libre-module-builder-5.10.2 17.4MiB
```
next reply other threads:[~2020-12-24 10:48 UTC|newest]
Thread overview: 3+ messages / expand[flat|nested] mbox.gz Atom feed top
2020-12-24 0:53 raid5atemyhomework via Bug reports for GNU Guix [this message]
2020-12-24 1:34 ` bug#45401: ZFS package not compiling on recent kernel raid5atemyhomework via Bug reports for GNU Guix
2020-12-24 1:36 ` raid5atemyhomework via Bug reports for GNU Guix
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
List information: https://guix.gnu.org/
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to='jtYDKvkF5nsDoYCHggN-Is9lOA1_iOiCLpfNZ5NWdXt7Yd6Wq8qrA6EqzXE6P-1EFFqekIHxJSXtIOytr9IVB4CbLO759dyZvZ-OJH-v-z4=@protonmail.com' \
--to=bug-guix@gnu.org \
--cc=45401@debbugs.gnu.org \
--cc=raid5atemyhomework@protonmail.com \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
Code repositories for project(s) associated with this public inbox
https://git.savannah.gnu.org/cgit/guix.git
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).