[Pkg-zfsonlinux-devel] Bug#877694: spl-linux: Fails to build with kernel 4.13

Fahad Sadah fahad at sadah.uk
Wed Oct 4 12:47:49 UTC 2017


Source: spl-linux
Severity: normal

`sudo dkms build spl/0.6.5.11 -k 4.13.0-1-amd64` gives:
make -j4 KERNELRELEASE=4.13.0-1-amd64....(bad exit status: 2)
Error! Bad return status for module build on kernel: 4.13.0-1-amd64
(x86_64)
Consult /var/lib/dkms/spl/0.6.5.11/build/make.log for more information.

File /var/lib/dkms/spl/0.6.5.11/build/make.log contains relevant errors:
/var/lib/dkms/spl/0.6.5.11/build/module/spl/spl-proc.c:405:3: error:
positional initialization of field in ‘struct’ declared with
‘designated_init’ attribute [-Werror=designated-init]
  {0},
   ^
/var/lib/dkms/spl/0.6.5.11/build/module/spl/spl-proc.c:405:3: note:
(near initialization for ‘spl_kmem_table[6]’)
/var/lib/dkms/spl/0.6.5.11/build/module/spl/spl-proc.c:409:3: error:
positional initialization of field in ‘struct’ declared with
‘designated_init’ attribute [-Werror=designated-init]
  {0},
   ^
/var/lib/dkms/spl/0.6.5.11/build/module/spl/spl-proc.c:409:3: note:
(near initialization for ‘spl_kstat_table[0]’)
/var/lib/dkms/spl/0.6.5.11/build/module/spl/spl-proc.c:440:11: error:
positional initialization of field in ‘struct’ declared with
‘designated_init’ attribute [-Werror=designated-init]
         { 0 },
           ^
/var/lib/dkms/spl/0.6.5.11/build/module/spl/spl-proc.c:440:11: note:
(near initialization for ‘spl_table[4]’)
/var/lib/dkms/spl/0.6.5.11/build/module/spl/spl-proc.c:449:11: error:
positional initialization of field in ‘struct’ declared with
‘designated_init’ attribute [-Werror=designated-init]
         { 0 }
           ^
/var/lib/dkms/spl/0.6.5.11/build/module/spl/spl-proc.c:449:11: note:
(near initialization for ‘spl_dir[1]’)
/var/lib/dkms/spl/0.6.5.11/build/module/spl/spl-proc.c:461:4: error:
positional initialization of field in ‘struct’ declared with
‘designated_init’ attribute [-Werror=designated-init]
  { 0 }
    ^
/var/lib/dkms/spl/0.6.5.11/build/module/spl/spl-proc.c:461:4: note:
(near initialization for ‘spl_root[1]’)
cc1: some warnings being treated as errors
/usr/src/linux-headers-4.13.0-1-common/scripts/Makefile.build:307:
recipe for target
'/var/lib/dkms/spl/0.6.5.11/build/module/spl/spl-proc.o' failed
make[7]: *** [/var/lib/dkms/spl/0.6.5.11/build/module/spl/spl-proc.o]
Error 1

This build worked fine on kernel 4.12.0-1

-- System Information:
Debian Release: buster/sid
  APT prefers unstable
  APT policy: (500, 'unstable')
Architecture: amd64 (x86_64)
Foreign Architectures: mips, i386

Kernel: Linux 4.12.0-1-amd64 (SMP w/4 CPU cores)
Locale: LANG=en_GB.UTF-8, LC_CTYPE=en_GB.UTF-8 (charmap=UTF-8),
LANGUAGE=en_GB.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /usr/bin/dash
Init: systemd (via /run/systemd/system)



More information about the Pkg-zfsonlinux-devel mailing list