[Pkg-zfsonlinux-devel] Bug#934282: zfs-dkms: fails to install for 5.2.0-2-amd64 due to GPL-only symbol 'alternatives_patched'
Harry Sintonen
sintonen at iki.fi
Fri Aug 9 06:40:14 BST 2019
Package: zfs-dkms
Version: 0.8.1-3
Severity: important
Tags: patch
Dear Maintainer,
The module fails to build against 5.2.0-2-amd64 due to use of GPL-only symbol:
"
Building modules, stage 2.
MODPOST 8 modules
FATAL: modpost: GPL-incompatible module zfs.ko uses GPL-only symbol 'alternatives_patched'
make[6]: *** [/usr/src/linux-headers-5.2.0-2-common/scripts/Makefile.modpost:91: __modpost] Error 1
"
Apparently this is due to the kernel being built with CONFIG_X86_DEBUG_FPU=Y which results
in pulling the symbol. Patch fixing this issue is here:
https://github.com/zfsonlinux/zfs/commit/095b5412b31c07cad5cec74a4eb5ace011c92b27
-- System Information:
Debian Release: bullseye/sid
APT prefers unstable
APT policy: (500, 'unstable')
Architecture: amd64 (x86_64)
Foreign Architectures: i386
Kernel: Linux 4.19.0-5-amd64 (SMP w/12 CPU cores)
Kernel taint flags: TAINT_PROPRIETARY_MODULE, TAINT_OOT_MODULE, TAINT_UNSIGNED_MODULE
Locale: LANG=en_US.UTF-8, LC_CTYPE=en_US.UTF-8 (charmap=UTF-8), LANGUAGE=en_US.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/bash
Init: systemd (via /run/systemd/system)
LSM: AppArmor: enabled
Versions of packages zfs-dkms depends on:
ii debconf [debconf-2.0] 1.5.73
ii dkms 2.7.1-2
ii file 1:5.37-5
ii libc6-dev [libc-dev] 2.28-10
ii libpython3-stdlib 3.7.3-1
ii lsb-release 10.2019051400
ii perl 5.28.1-6
ii python3-distutils 3.7.4-3
Versions of packages zfs-dkms recommends:
ii linux-libc-dev 5.2.7-1
ii zfs-zed 0.8.1-3
ii zfsutils-linux 0.8.1-3
zfs-dkms suggests no packages.
-- debconf information:
zfs-dkms/stop-build-for-32bit-kernel: true
* zfs-dkms/note-incompatible-licenses:
zfs-dkms/stop-build-for-unknown-kernel: true
More information about the Pkg-zfsonlinux-devel
mailing list