[Pkg-zfsonlinux-devel] Bug#851465: [spl/dkms-failure] spl dkms doesn't build against linux-image-4.9.0-1-amd64
lumin
cdluminate at gmail.com
Sun Jan 15 09:28:47 UTC 2017
Package: spl-dkms
Version: 0.6.5.8-2
Severity: important
SPL dkms fails to build against the latest linux kernel on sid.
Setting severity to important because linux-4.8 is not the
final kernel version of stretch.
Setting up linux-headers-4.9.0-1-amd64 (4.9.2-2) ...
/etc/kernel/header_postinst.d/dkms:
Error! Bad return status for module build on kernel: 4.9.0-1-amd64 (x86_64)
Consult /var/lib/dkms/spl/0.6.5.8/build/make.log for more information.
configure: error:
*** Please make sure the kmod spl devel <kernel> package for your
*** distribution is installed then try again. If that fails you
*** can specify the location of the spl objects with the
*** '--with-spl-obj=PATH' option.
Error! Bad return status for module build on kernel: 4.9.0-1-amd64 (x86_64)
Consult /var/lib/dkms/zfs/0.6.5.8/build/make.log for more information.
---------------------------------------------------------------------------
$ cat /var/lib/dkms/spl/0.6.5.8/build/make.log
DKMS make.log for spl-0.6.5.8 for kernel 4.9.0-1-amd64 (x86_64)
Sun Jan 15 06:56:28 UTC 2017
make all-recursive
make[1]: Entering directory '/var/lib/dkms/spl/0.6.5.8/build'
Making all in include
make[2]: Entering directory '/var/lib/dkms/spl/0.6.5.8/build/include'
Making all in fs
make[3]: Entering directory '/var/lib/dkms/spl/0.6.5.8/build/include/fs'
make[3]: Nothing to be done for 'all'.
make[3]: Leaving directory '/var/lib/dkms/spl/0.6.5.8/build/include/fs'
Making all in linux
make[3]: Entering directory '/var/lib/dkms/spl/0.6.5.8/build/include/linux'
make[3]: Nothing to be done for 'all'.
make[3]: Leaving directory '/var/lib/dkms/spl/0.6.5.8/build/include/linux'
Making all in rpc
make[3]: Entering directory '/var/lib/dkms/spl/0.6.5.8/build/include/rpc'
make[3]: Nothing to be done for 'all'.
make[3]: Leaving directory '/var/lib/dkms/spl/0.6.5.8/build/include/rpc'
Making all in sharefs
make[3]: Entering directory '/var/lib/dkms/spl/0.6.5.8/build/include/sharefs'
make[3]: Nothing to be done for 'all'.
make[3]: Leaving directory '/var/lib/dkms/spl/0.6.5.8/build/include/sharefs'
Making all in sys
make[3]: Entering directory '/var/lib/dkms/spl/0.6.5.8/build/include/sys'
Making all in fm
make[4]: Entering directory '/var/lib/dkms/spl/0.6.5.8/build/include/sys/fm'
make[4]: Nothing to be done for 'all'.
make[4]: Leaving directory '/var/lib/dkms/spl/0.6.5.8/build/include/sys/fm'
Making all in fs
make[4]: Entering directory '/var/lib/dkms/spl/0.6.5.8/build/include/sys/fs'
make[4]: Nothing to be done for 'all'.
make[4]: Leaving directory '/var/lib/dkms/spl/0.6.5.8/build/include/sys/fs'
Making all in sysevent
make[4]: Entering directory '/var/lib/dkms/spl/0.6.5.8/build/include/sys/sysevent'
make[4]: Nothing to be done for 'all'.
make[4]: Leaving directory '/var/lib/dkms/spl/0.6.5.8/build/include/sys/sysevent'
make[4]: Entering directory '/var/lib/dkms/spl/0.6.5.8/build/include/sys'
make[4]: Nothing to be done for 'all-am'.
make[4]: Leaving directory '/var/lib/dkms/spl/0.6.5.8/build/include/sys'
make[3]: Leaving directory '/var/lib/dkms/spl/0.6.5.8/build/include/sys'
Making all in util
make[3]: Entering directory '/var/lib/dkms/spl/0.6.5.8/build/include/util'
make[3]: Nothing to be done for 'all'.
make[3]: Leaving directory '/var/lib/dkms/spl/0.6.5.8/build/include/util'
Making all in vm
make[3]: Entering directory '/var/lib/dkms/spl/0.6.5.8/build/include/vm'
make[3]: Nothing to be done for 'all'.
make[3]: Leaving directory '/var/lib/dkms/spl/0.6.5.8/build/include/vm'
make[3]: Entering directory '/var/lib/dkms/spl/0.6.5.8/build/include'
make[3]: Nothing to be done for 'all-am'.
make[3]: Leaving directory '/var/lib/dkms/spl/0.6.5.8/build/include'
make[2]: Leaving directory '/var/lib/dkms/spl/0.6.5.8/build/include'
Making all in rpm
make[2]: Entering directory '/var/lib/dkms/spl/0.6.5.8/build/rpm'
Making all in generic
make[3]: Entering directory '/var/lib/dkms/spl/0.6.5.8/build/rpm/generic'
make[3]: Nothing to be done for 'all'.
make[3]: Leaving directory '/var/lib/dkms/spl/0.6.5.8/build/rpm/generic'
Making all in redhat
make[3]: Entering directory '/var/lib/dkms/spl/0.6.5.8/build/rpm/redhat'
make[3]: Nothing to be done for 'all'.
make[3]: Leaving directory '/var/lib/dkms/spl/0.6.5.8/build/rpm/redhat'
make[3]: Entering directory '/var/lib/dkms/spl/0.6.5.8/build/rpm'
make[3]: Nothing to be done for 'all-am'.
make[3]: Leaving directory '/var/lib/dkms/spl/0.6.5.8/build/rpm'
make[2]: Leaving directory '/var/lib/dkms/spl/0.6.5.8/build/rpm'
Making all in module
make[2]: Entering directory '/var/lib/dkms/spl/0.6.5.8/build/module'
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]: Entering directory '/usr/src/linux-headers-4.9.0-1-amd64'
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-taskq.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/spl/spl-kmem.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/splat/splat-mutex.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/spl/spl-kmem-cache.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/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-vmem.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-cred.o
CC [M] /var/lib/dkms/spl/0.6.5.8/build/module/spl/spl-thread.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: recipe for target '/var/lib/dkms/spl/0.6.5.8/build/module/splat/splat-cred.o' failed
make[7]: *** [/var/lib/dkms/spl/0.6.5.8/build/module/splat/splat-cred.o] Error 1
make[7]: *** Waiting for unfinished jobs....
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/spl/spl-rwlock.o
CC [M] /var/lib/dkms/spl/0.6.5.8/build/module/spl/spl-vnode.o
/usr/src/linux-headers-4.9.0-1-common/scripts/Makefile.build:549: recipe for target '/var/lib/dkms/spl/0.6.5.8/build/module/splat' failed
make[6]: *** [/var/lib/dkms/spl/0.6.5.8/build/module/splat] Error 2
make[6]: *** Waiting for unfinished jobs....
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/spl/spl-kobj.o
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
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: recipe for target '/var/lib/dkms/spl/0.6.5.8/build/module/spl/spl-cred.o' failed
make[7]: *** [/var/lib/dkms/spl/0.6.5.8/build/module/spl/spl-cred.o] Error 1
make[7]: *** Waiting for unfinished jobs....
/usr/src/linux-headers-4.9.0-1-common/scripts/Makefile.build:549: recipe for target '/var/lib/dkms/spl/0.6.5.8/build/module/spl' failed
make[6]: *** [/var/lib/dkms/spl/0.6.5.8/build/module/spl] Error 2
/usr/src/linux-headers-4.9.0-1-common/Makefile:1507: recipe for target '_module_/var/lib/dkms/spl/0.6.5.8/build/module' failed
make[5]: *** [_module_/var/lib/dkms/spl/0.6.5.8/build/module] Error 2
Makefile:150: recipe for target 'sub-make' failed
make[4]: *** [sub-make] Error 2
Makefile:8: recipe for target 'all' failed
make[3]: *** [all] Error 2
make[3]: Leaving directory '/usr/src/linux-headers-4.9.0-1-amd64'
Makefile:11: recipe for target 'modules' failed
make[2]: *** [modules] Error 2
make[2]: Leaving directory '/var/lib/dkms/spl/0.6.5.8/build/module'
Makefile:589: recipe for target 'all-recursive' failed
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory '/var/lib/dkms/spl/0.6.5.8/build'
Makefile:470: recipe for target 'all' failed
make: *** [all] Error 2
More information about the Pkg-zfsonlinux-devel
mailing list