Google Groups no longer supports new Usenet posts or subscriptions. Historical content remains viewable.
Dismiss

Bug#1028284: zfs-dkms: build fails for linux-headers-6.1.0-1-amd64

190 views
Skip to first unread message

Achim Schaefer

unread,
Jan 9, 2023, 4:00:05 AM1/9/23
to
Package: zfs-dkms
Version: 2.1.7-1
Severity: important
X-Debbugs-Cc: bts.deb...@schaefer-home.eu


When installing the new 6.1 kernel headers, dkms starts to build the zfs
module, but fails:
configure: creating ./config.status
config.status: creating Makefile
config.status: creating include/Makefile
config.status: creating include/os/Makefile
config.status: creating include/os/linux/Makefile
config.status: creating include/os/linux/kernel/Makefile
config.status: creating include/os/linux/kernel/linux/Makefile
config.status: creating include/os/linux/spl/Makefile
config.status: creating include/os/linux/spl/rpc/Makefile
config.status: error: cannot find input file: `include/os/linux/spl/sys/Makefile.in'

Building module:
Cleaning build area...
make -j12 KERNELRELEASE=6.1.0-1-amd64...(bad exit status: 2)
Error! Bad return status for module build on kernel: 6.1.0-1-amd64 (x86_64)
Consult /var/lib/dkms/zfs/2.1.7/build/make.log for more information.
Error! One or more modules failed to install during autoinstall.
Refer to previous errors for more information.
failed!
run-parts: /etc/kernel/header_postinst.d/dkms exited with return code 11


-----
cat /var/lib/dkms/zfs/2.1.7/build/make.log
DKMS make.log for zfs-2.1.7 for kernel 6.1.0-1-amd64 (x86_64)
Mo 9. Jan 09:19:40 CET 2023
cd . && /bin/bash ./config.status zfs_config.h
config.status: creating zfs_config.h
make all-recursive
make[1]: Verzeichnis „/var/lib/dkms/zfs/2.1.7/build“ wird betreten
Making all in module
make[2]: Verzeichnis „/var/lib/dkms/zfs/2.1.7/build/module“ wird betreten
make[2]: *** Keine Regel, um „all“ zu erstellen. Schluss.
make[2]: Verzeichnis „/var/lib/dkms/zfs/2.1.7/build/module“ wird verlassen
make[1]: *** [Makefile:892: all-recursive] Fehler 1
make[1]: Verzeichnis „/var/lib/dkms/zfs/2.1.7/build“ wird verlassen
make: *** [Makefile:753: all] Fehler 2


Thanks

-- System Information:
Debian Release: bookworm/sid
APT prefers stable-updates
APT policy: (500, 'stable-updates'), (500, 'stable-security'), (500, 'unstable'), (500, 'testing'), (500, 'stable'), (200, 'experimental')
Architecture: amd64 (x86_64)

Kernel: Linux 6.0.0-6-amd64 (SMP w/12 CPU threads; PREEMPT)
Kernel taint flags: TAINT_PROPRIETARY_MODULE, TAINT_OOT_MODULE, TAINT_UNSIGNED_MODULE
Locale: LANG=de_DE.UTF-8, LC_CTYPE=de_DE.UTF-8 (charmap=UTF-8), LANGUAGE=de:en_GB:en_US
Shell: /bin/sh linked to /usr/bin/dash
Init: systemd (via /run/systemd/system)
LSM: AppArmor: enabled

Versions of packages zfs-dkms depends on:
ii debconf [debconf-2.0] 1.5.81
ii dkms 3.0.9-1
ii file 1:5.41-4
ii libc6-dev [libc-dev] 2.36-8
ii libpython3-stdlib 3.10.6-3
ii lsb-release 12.0-1
ii perl 5.36.0-6
ii python3-distutils 3.10.8-1

Versions of packages zfs-dkms recommends:
ii linux-libc-dev 6.0.12-1
ii zfs-zed 2.1.7-1
ii zfsutils-linux 2.1.7-1

Versions of packages zfs-dkms suggests:
ii debhelper 13.11.4

-- debconf information:
zfs-dkms/stop-build-for-32bit-kernel: true
* zfs-dkms/note-incompatible-licenses:
* zfs-dkms/stop-build-for-unknown-kernel: false

Antonio Russo

unread,
Jan 9, 2023, 9:20:03 AM1/9/23
to
On 1/9/23 01:48, Achim Schaefer wrote:
> Package: zfs-dkms
> Version: 2.1.7-1
> Severity: important
> X-Debbugs-Cc: bts.deb...@schaefer-home.eu
>
>
> When installing the new 6.1 kernel headers, dkms starts to build the zfs
> module, but fails:
> configure: creating ./config.status
> config.status: creating Makefile
> config.status: creating include/Makefile
> config.status: creating include/os/Makefile
> config.status: creating include/os/linux/Makefile
> config.status: creating include/os/linux/kernel/Makefile
> config.status: creating include/os/linux/kernel/linux/Makefile
> config.status: creating include/os/linux/spl/Makefile
> config.status: creating include/os/linux/spl/rpc/Makefile
> config.status: error: cannot find input file: `include/os/linux/spl/sys/Makefile.in'

Hello,

Can you please check that /usr/src/zfs-2.1.7/include/os/linux/spl/sys/Makefile.in
actually exists on your installation? I.e., run

ls -l /usr/src/zfs-2.1.7/include/os/linux/spl/sys/Makefile.in

If that does not exist, please reinstall zfs-dkms; the file was somehow deleted.

On an unrelated note: BTS 1028242 means that some temporary files on ZFS with Linux 6.1
will not work. (This should not be related to your compiling issue at all, though).

Best,
Antonio Russo

bts.deb...@schaefer-home.eu

unread,
Jan 11, 2023, 4:00:04 PM1/11/23
to
Thanks.

Re-install helped.

Achim
0 new messages