[Pkg-zfsonlinux-devel] Bug#851352: Build fails with Linux kernel 4.9.0
Benjamin Eikel
debian at eikel.org
Sat Jan 14 09:35:59 UTC 2017
Package: spl-dkms
Version: 0.6.5.8-2
Severity: important
Tags: upstream
After updating the Linux kernel packages to 4.9.0-1-amd64, the spl kernel
module build fails.
I think this is related to the upstream issue https://github.com/zfsonlinux/
spl/issues/579.
I will attach the file /var/lib/dkms/spl/0.6.5.8/build/make.log.
-- System Information:
Debian Release: stretch/sid
APT prefers unstable
APT policy: (500, 'unstable'), (500, 'testing'), (101, 'experimental')
Architecture: amd64 (x86_64)
Foreign Architectures: i386
Kernel: Linux 4.8.0-2-amd64 (SMP w/8 CPU cores)
Locale: LANG=de_DE.UTF-8, LC_CTYPE=de_DE.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/dash
Init: systemd (via /run/systemd/system)
Versions of packages spl-dkms depends on:
ii dkms 2.3-2
ii file 1:5.29-2
ii libc6-dev [libc-dev] 2.24-8
ii lsb-release 9.20161125
Versions of packages spl-dkms recommends:
ii spl 0.6.5.8-2
spl-dkms suggests no packages.
-- no debconf information
-------------- next part --------------
DKMS make.log for spl-0.6.5.8 for kernel 4.9.0-1-amd64 (x86_64)
Sa 14. Jan 10:24:58 CET 2017
make all-recursive
make[1]: Verzeichnis ?/var/lib/dkms/spl/0.6.5.8/build? wird betreten
Making all in include
make[2]: Verzeichnis ?/var/lib/dkms/spl/0.6.5.8/build/include? wird betreten
Making all in fs
make[3]: Verzeichnis ?/var/lib/dkms/spl/0.6.5.8/build/include/fs? wird betreten
make[3]: F?r das Ziel ?all? ist nichts zu tun.
make[3]: Verzeichnis ?/var/lib/dkms/spl/0.6.5.8/build/include/fs? wird verlassen
Making all in linux
make[3]: Verzeichnis ?/var/lib/dkms/spl/0.6.5.8/build/include/linux? wird betreten
make[3]: F?r das Ziel ?all? ist nichts zu tun.
make[3]: Verzeichnis ?/var/lib/dkms/spl/0.6.5.8/build/include/linux? wird verlassen
Making all in rpc
make[3]: Verzeichnis ?/var/lib/dkms/spl/0.6.5.8/build/include/rpc? wird betreten
make[3]: F?r das Ziel ?all? ist nichts zu tun.
make[3]: Verzeichnis ?/var/lib/dkms/spl/0.6.5.8/build/include/rpc? wird verlassen
Making all in sharefs
make[3]: Verzeichnis ?/var/lib/dkms/spl/0.6.5.8/build/include/sharefs? wird betreten
make[3]: F?r das Ziel ?all? ist nichts zu tun.
make[3]: Verzeichnis ?/var/lib/dkms/spl/0.6.5.8/build/include/sharefs? wird verlassen
Making all in sys
make[3]: Verzeichnis ?/var/lib/dkms/spl/0.6.5.8/build/include/sys? wird betreten
Making all in fm
make[4]: Verzeichnis ?/var/lib/dkms/spl/0.6.5.8/build/include/sys/fm? wird betreten
make[4]: F?r das Ziel ?all? ist nichts zu tun.
make[4]: Verzeichnis ?/var/lib/dkms/spl/0.6.5.8/build/include/sys/fm? wird verlassen
Making all in fs
make[4]: Verzeichnis ?/var/lib/dkms/spl/0.6.5.8/build/include/sys/fs? wird betreten
make[4]: F?r das Ziel ?all? ist nichts zu tun.
make[4]: Verzeichnis ?/var/lib/dkms/spl/0.6.5.8/build/include/sys/fs? wird verlassen
Making all in sysevent
make[4]: Verzeichnis ?/var/lib/dkms/spl/0.6.5.8/build/include/sys/sysevent? wird betreten
make[4]: F?r das Ziel ?all? ist nichts zu tun.
make[4]: Verzeichnis ?/var/lib/dkms/spl/0.6.5.8/build/include/sys/sysevent? wird verlassen
make[4]: Verzeichnis ?/var/lib/dkms/spl/0.6.5.8/build/include/sys? wird betreten
make[4]: F?r das Ziel ?all-am? ist nichts zu tun.
make[4]: Verzeichnis ?/var/lib/dkms/spl/0.6.5.8/build/include/sys? wird verlassen
make[3]: Verzeichnis ?/var/lib/dkms/spl/0.6.5.8/build/include/sys? wird verlassen
Making all in util
make[3]: Verzeichnis ?/var/lib/dkms/spl/0.6.5.8/build/include/util? wird betreten
make[3]: F?r das Ziel ?all? ist nichts zu tun.
make[3]: Verzeichnis ?/var/lib/dkms/spl/0.6.5.8/build/include/util? wird verlassen
Making all in vm
make[3]: Verzeichnis ?/var/lib/dkms/spl/0.6.5.8/build/include/vm? wird betreten
make[3]: F?r das Ziel ?all? ist nichts zu tun.
make[3]: Verzeichnis ?/var/lib/dkms/spl/0.6.5.8/build/include/vm? wird verlassen
make[3]: Verzeichnis ?/var/lib/dkms/spl/0.6.5.8/build/include? wird betreten
make[3]: F?r das Ziel ?all-am? ist nichts zu tun.
make[3]: Verzeichnis ?/var/lib/dkms/spl/0.6.5.8/build/include? wird verlassen
make[2]: Verzeichnis ?/var/lib/dkms/spl/0.6.5.8/build/include? wird verlassen
Making all in rpm
make[2]: Verzeichnis ?/var/lib/dkms/spl/0.6.5.8/build/rpm? wird betreten
Making all in generic
make[3]: Verzeichnis ?/var/lib/dkms/spl/0.6.5.8/build/rpm/generic? wird betreten
make[3]: F?r das Ziel ?all? ist nichts zu tun.
make[3]: Verzeichnis ?/var/lib/dkms/spl/0.6.5.8/build/rpm/generic? wird verlassen
Making all in redhat
make[3]: Verzeichnis ?/var/lib/dkms/spl/0.6.5.8/build/rpm/redhat? wird betreten
make[3]: F?r das Ziel ?all? ist nichts zu tun.
make[3]: Verzeichnis ?/var/lib/dkms/spl/0.6.5.8/build/rpm/redhat? wird verlassen
make[3]: Verzeichnis ?/var/lib/dkms/spl/0.6.5.8/build/rpm? wird betreten
make[3]: F?r das Ziel ?all-am? ist nichts zu tun.
make[3]: Verzeichnis ?/var/lib/dkms/spl/0.6.5.8/build/rpm? wird verlassen
make[2]: Verzeichnis ?/var/lib/dkms/spl/0.6.5.8/build/rpm? wird verlassen
Making all in module
make[2]: Verzeichnis ?/var/lib/dkms/spl/0.6.5.8/build/module? wird betreten
make -C /lib/modules/4.9.0-1-amd64/build SUBDIRS=`pwd` O=/lib/modules/4.9.0-1-amd64/build CONFIG_SPL=m modules
make[3]: Verzeichnis ?/usr/src/linux-headers-4.9.0-1-amd64? wird betreten
CC [M] /var/lib/dkms/spl/0.6.5.8/build/module/splat/splat-ctl.o
CC [M] /var/lib/dkms/spl/0.6.5.8/build/module/spl/spl-proc.o
CC [M] /var/lib/dkms/spl/0.6.5.8/build/module/splat/splat-kmem.o
CC [M] /var/lib/dkms/spl/0.6.5.8/build/module/splat/splat-taskq.o
CC [M] /var/lib/dkms/spl/0.6.5.8/build/module/spl/spl-kmem.o
CC [M] /var/lib/dkms/spl/0.6.5.8/build/module/splat/splat-mutex.o
CC [M] /var/lib/dkms/spl/0.6.5.8/build/module/splat/splat-random.o
CC [M] /var/lib/dkms/spl/0.6.5.8/build/module/spl/spl-kmem-cache.o
CC [M] /var/lib/dkms/spl/0.6.5.8/build/module/spl/spl-vmem.o
CC [M] /var/lib/dkms/spl/0.6.5.8/build/module/splat/splat-condvar.o
CC [M] /var/lib/dkms/spl/0.6.5.8/build/module/splat/splat-thread.o
CC [M] /var/lib/dkms/spl/0.6.5.8/build/module/splat/splat-rwlock.o
CC [M] /var/lib/dkms/spl/0.6.5.8/build/module/spl/spl-thread.o
CC [M] /var/lib/dkms/spl/0.6.5.8/build/module/spl/spl-taskq.o
CC [M] /var/lib/dkms/spl/0.6.5.8/build/module/splat/splat-time.o
CC [M] /var/lib/dkms/spl/0.6.5.8/build/module/splat/splat-vnode.o
CC [M] /var/lib/dkms/spl/0.6.5.8/build/module/splat/splat-kobj.o
CC [M] /var/lib/dkms/spl/0.6.5.8/build/module/splat/splat-atomic.o
CC [M] /var/lib/dkms/spl/0.6.5.8/build/module/spl/spl-rwlock.o
CC [M] /var/lib/dkms/spl/0.6.5.8/build/module/spl/spl-vnode.o
CC [M] /var/lib/dkms/spl/0.6.5.8/build/module/splat/splat-list.o
CC [M] /var/lib/dkms/spl/0.6.5.8/build/module/splat/splat-generic.o
CC [M] /var/lib/dkms/spl/0.6.5.8/build/module/splat/splat-zlib.o
CC [M] /var/lib/dkms/spl/0.6.5.8/build/module/splat/splat-cred.o
CC [M] /var/lib/dkms/spl/0.6.5.8/build/module/spl/spl-err.o
CC [M] /var/lib/dkms/spl/0.6.5.8/build/module/splat/splat-linux.o
CC [M] /var/lib/dkms/spl/0.6.5.8/build/module/spl/spl-kobj.o
/var/lib/dkms/spl/0.6.5.8/build/module/splat/splat-cred.c: In function ?splat_cred_test3?:
/var/lib/dkms/spl/0.6.5.8/build/module/splat/splat-cred.c:191:20: error: ?NGROUPS_SMALL? undeclared (first use in this function)
gi = groups_alloc(NGROUPS_SMALL);
^~~~~~~~~~~~~
/var/lib/dkms/spl/0.6.5.8/build/module/splat/splat-cred.c:191:20: note: each undeclared identifier is reported only once for each function it appears in
/var/lib/dkms/spl/0.6.5.8/build/module/splat/splat-cred.c:203:3: error: implicit declaration of function ?GROUP_AT? [-Werror=implicit-function-declaration]
GROUP_AT(gi, i) = make_kgid(current_user_ns(), tmp_gid);
^~~~~~~~
/var/lib/dkms/spl/0.6.5.8/build/module/splat/splat-cred.c:203:19: error: lvalue required as left operand of assignment
GROUP_AT(gi, i) = make_kgid(current_user_ns(), tmp_gid);
^
cc1: some warnings being treated as errors
/usr/src/linux-headers-4.9.0-1-common/scripts/Makefile.build:298: die Regel f?r Ziel ?/var/lib/dkms/spl/0.6.5.8/build/module/splat/splat-cred.o? scheiterte
make[7]: *** [/var/lib/dkms/spl/0.6.5.8/build/module/splat/splat-cred.o] Fehler 1
make[7]: *** Es wird auf noch nicht beendete Prozesse gewartet...
CC [M] /var/lib/dkms/spl/0.6.5.8/build/module/spl/spl-generic.o
CC [M] /var/lib/dkms/spl/0.6.5.8/build/module/spl/spl-atomic.o
CC [M] /var/lib/dkms/spl/0.6.5.8/build/module/spl/spl-mutex.o
CC [M] /var/lib/dkms/spl/0.6.5.8/build/module/spl/spl-kstat.o
CC [M] /var/lib/dkms/spl/0.6.5.8/build/module/spl/spl-condvar.o
/usr/src/linux-headers-4.9.0-1-common/scripts/Makefile.build:549: die Regel f?r Ziel ?/var/lib/dkms/spl/0.6.5.8/build/module/splat? scheiterte
make[6]: *** [/var/lib/dkms/spl/0.6.5.8/build/module/splat] Fehler 2
make[6]: *** Es wird auf noch nicht beendete Prozesse gewartet...
CC [M] /var/lib/dkms/spl/0.6.5.8/build/module/spl/spl-xdr.o
CC [M] /var/lib/dkms/spl/0.6.5.8/build/module/spl/spl-cred.o
CC [M] /var/lib/dkms/spl/0.6.5.8/build/module/spl/spl-tsd.o
CC [M] /var/lib/dkms/spl/0.6.5.8/build/module/spl/spl-zlib.o
In file included from /var/lib/dkms/spl/0.6.5.8/build/module/spl/spl-cred.c:27:0:
/var/lib/dkms/spl/0.6.5.8/build/module/spl/spl-cred.c: In function ?cr_groups_search?:
/var/lib/dkms/spl/0.6.5.8/build/module/spl/spl-cred.c:53:20: error: implicit declaration of function ?GROUP_AT? [-Werror=implicit-function-declaration]
KGID_TO_SGID(GROUP_AT(group_info, mid));
^
/var/lib/dkms/spl/0.6.5.8/build/include/sys/cred.h:52:38: note: in definition of macro ?KGID_TO_SGID?
#define KGID_TO_SGID(x) (__kgid_val(x))
^
/var/lib/dkms/spl/0.6.5.8/build/module/spl/spl-cred.c:53:20: error: incompatible type for argument 1 of ?__kgid_val?
KGID_TO_SGID(GROUP_AT(group_info, mid));
^
/var/lib/dkms/spl/0.6.5.8/build/include/sys/cred.h:52:38: note: in definition of macro ?KGID_TO_SGID?
#define KGID_TO_SGID(x) (__kgid_val(x))
^
In file included from /usr/src/linux-headers-4.9.0-1-common/include/linux/stat.h:19:0,
from /usr/src/linux-headers-4.9.0-1-common/include/linux/module.h:10,
from /var/lib/dkms/spl/0.6.5.8/build/include/sys/cred.h:28,
from /var/lib/dkms/spl/0.6.5.8/build/module/spl/spl-cred.c:27:
/usr/src/linux-headers-4.9.0-1-common/include/linux/uidgid.h:38:21: note: expected ?kgid_t {aka struct <anonymous>}? but argument is of type ?int?
static inline gid_t __kgid_val(kgid_t gid)
^~~~~~~~~~
In file included from /var/lib/dkms/spl/0.6.5.8/build/module/spl/spl-cred.c:27:0:
/var/lib/dkms/spl/0.6.5.8/build/module/spl/spl-cred.c: In function ?crgetgroups?:
/var/lib/dkms/spl/0.6.5.8/build/module/spl/spl-cred.c:107:26: error: ?struct group_info? has no member named ?blocks?
gids = KGIDP_TO_SGIDP(gi->blocks[0]);
^
/var/lib/dkms/spl/0.6.5.8/build/include/sys/cred.h:55:30: note: in definition of macro ?KGIDP_TO_SGIDP?
#define KGIDP_TO_SGIDP(x) (&(x)->val)
^
cc1: some warnings being treated as errors
/usr/src/linux-headers-4.9.0-1-common/scripts/Makefile.build:298: die Regel f?r Ziel ?/var/lib/dkms/spl/0.6.5.8/build/module/spl/spl-cred.o? scheiterte
make[7]: *** [/var/lib/dkms/spl/0.6.5.8/build/module/spl/spl-cred.o] Fehler 1
make[7]: *** Es wird auf noch nicht beendete Prozesse gewartet...
/usr/src/linux-headers-4.9.0-1-common/scripts/Makefile.build:549: die Regel f?r Ziel ?/var/lib/dkms/spl/0.6.5.8/build/module/spl? scheiterte
make[6]: *** [/var/lib/dkms/spl/0.6.5.8/build/module/spl] Fehler 2
/usr/src/linux-headers-4.9.0-1-common/Makefile:1507: die Regel f?r Ziel ?_module_/var/lib/dkms/spl/0.6.5.8/build/module? scheiterte
make[5]: *** [_module_/var/lib/dkms/spl/0.6.5.8/build/module] Fehler 2
Makefile:150: die Regel f?r Ziel ?sub-make? scheiterte
make[4]: *** [sub-make] Fehler 2
Makefile:8: die Regel f?r Ziel ?all? scheiterte
make[3]: *** [all] Fehler 2
make[3]: Verzeichnis ?/usr/src/linux-headers-4.9.0-1-amd64? wird verlassen
Makefile:11: die Regel f?r Ziel ?modules? scheiterte
make[2]: *** [modules] Fehler 2
make[2]: Verzeichnis ?/var/lib/dkms/spl/0.6.5.8/build/module? wird verlassen
Makefile:589: die Regel f?r Ziel ?all-recursive? scheiterte
make[1]: *** [all-recursive] Fehler 1
make[1]: Verzeichnis ?/var/lib/dkms/spl/0.6.5.8/build? wird verlassen
Makefile:470: die Regel f?r Ziel ?all? scheiterte
make: *** [all] Fehler 2
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 833 bytes
Desc: This is a digitally signed message part.
URL: <http://lists.alioth.debian.org/pipermail/pkg-zfsonlinux-devel/attachments/20170114/2f7fa980/attachment.sig>
More information about the Pkg-zfsonlinux-devel
mailing list