Bug#914431: linux-headers-4.18.0-3-common: missing file referred in Makefile
Package: linux-headers-4.18.0-3-common
Version: 4.18.20-1
Severity: normal
Dear Maintainer,
a module couldn't be compiled by dkms with this specific kernel (for
information, it was the wireguard module). The compilation failed indicating
that it couldn't find the file "scripts/subarch.include", as referred in line
301 of /usr/src/linux-headers-4.18.0-3-common/Makefile (it is a "include
scripts/subarch.include"). This file is indeed absent from my system.
As a test, I simply tried to comment this include line. It happened that this
was sufficient for compiling the wireguard module. I suppose that the
subarch.include file is missing (or fails to be generated), even if it appears
that is was not necessary in my case.
I report this bug for linux-headers-4.18.0-3-common as it seemed to be the
place where lies the bug (at least for me), but it may actually be a wireguard
bug.
Thank you,
Cordially,
Raphael
-- System Information:
Debian Release: buster/sid
APT prefers unstable
APT policy: (500, 'unstable'), (500, 'testing'), (500, 'stable'), (1, 'experimental')
Architecture: amd64 (x86_64)
Foreign Architectures: i386
Kernel: Linux 4.18.0-3-amd64 (SMP w/4 CPU cores)
Locale: LANG=fr_FR.UTF-8, LC_CTYPE=fr_FR.UTF-8 (charmap=UTF-8), LANGUAGE=fr:en_US (charmap=UTF-8)
Shell: /bin/sh linked to /bin/dash
Init: systemd (via /run/systemd/system)
LSM: AppArmor: enabled
-- no debconf information
Reply to: