[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Bug#949586: marked as done (scripts/basic/Makefile: No such file or directory)



Your message dated Wed, 22 Jan 2020 15:12:59 +0000
with message-id <c18060a99f2cce9036bea68c9877238fa71e2d67.camel@decadent.org.uk>
and subject line Re: Bug#949586: scripts/basic/Makefile: No such file or directory
has caused the Debian Bug report #949586,
regarding scripts/basic/Makefile: No such file or directory
to be marked as done.

This means that you claim that the problem has been dealt with.
If this is not the case it is now your responsibility to reopen the
Bug report if necessary, and/or fix the problem forthwith.

(NB: If you are a system administrator and have no idea what this
message is talking about, this may indicate a serious mail system
misconfiguration somewhere. Please contact owner@bugs.debian.org
immediately.)


-- 
949586: https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=949586
Debian Bug Tracking System
Contact owner@bugs.debian.org with problems
--- Begin Message ---
Package: linux-headers-5.4.0-0.bpo.2-common
Version: 5.4.8-1~bpo10+1
Severity: important

Dear Maintainer,

After I installed latest backported kernel 5.4.0-0.bpo.2 from Debian
backports repository, it is not possible to install any software
that needs to compile kernel module. For example VMware Player.

During kernel module compilation following message appears:

/usr/src/linux-headers-5.4.0-0.bpo.2-common-rt/scripts/Makefile.build:42:
/usr/src/linux-headers-5.4.0-0.bpo.2-common-rt/scripts/basic/Makefile: No such
file or directory




Full log is listed below:



cat /var/lib/dkms/evdi/5.2.14/build/make.log
DKMS make.log for evdi-5.2.14 for kernel 5.4.0-0.bpo.2-rt-amd64 (x86_64)
Wed 22 Jan 2020 01:33:16 PM EET
make KBUILD_VERBOSE=1 SUBDIRS=/var/lib/dkms/evdi/5.2.14/build
SRCROOT=/var/lib/dkms/evdi/5.2.14/build CONFIG_MODULE_SIG= -C
/lib/modules/5.4.0-0.bpo.2-rt-amd64/build modules
make[1]: Entering directory '/usr/src/linux-headers-5.4.0-0.bpo.2-rt-amd64'
make -C /usr/src/linux-headers-5.4.0-0.bpo.2-rt-amd64 -f /usr/src/linux-
headers-5.4.0-0.bpo.2-common-rt/Makefile modules
make -f /usr/src/linux-headers-5.4.0-0.bpo.2-common-rt/Makefile syncconfig
if [ -f /usr/src/linux-headers-5.4.0-0.bpo.2-common-rt/.config -o \
         -d /usr/src/linux-headers-5.4.0-0.bpo.2-common-rt/include/config -o \
         -d /usr/src/linux-headers-5.4.0-0.bpo.2-common-
rt/arch/x86/include/generated ]; then \
        echo >&2 "***"; \
        echo >&2 "*** The source tree is not clean, please run 'make
mrproper'"; \
        echo >&2 "*** in /usr/src/linux-headers-5.4.0-0.bpo.2-common-rt";\
        echo >&2 "***"; \
        false; \
fi
make -f /usr/src/linux-headers-5.4.0-0.bpo.2-common-rt/scripts/Makefile.build
obj=scripts/basic
ln -fsn /usr/src/linux-headers-5.4.0-0.bpo.2-common-rt source
sh /usr/src/linux-headers-5.4.0-0.bpo.2-common-rt/scripts/mkmakefile
/usr/src/linux-headers-5.4.0-0.bpo.2-common-rt
sh: 0: Can't open /usr/src/linux-headers-5.4.0-0.bpo.2-common-
rt/scripts/mkmakefile
make[3]: *** [/usr/src/linux-headers-5.4.0-0.bpo.2-common-rt/Makefile:513:
outputmakefile] Error 127
make[3]: *** Waiting for unfinished jobs....
/usr/src/linux-headers-5.4.0-0.bpo.2-common-rt/scripts/Makefile.build:42:
/usr/src/linux-headers-5.4.0-0.bpo.2-common-rt/scripts/basic/Makefile: No such
file or directory
make[4]: *** No rule to make target '/usr/src/linux-
headers-5.4.0-0.bpo.2-common-rt/scripts/basic/Makefile'.  Stop.
make[3]: *** [/usr/src/linux-headers-5.4.0-0.bpo.2-common-rt/Makefile:499:
scripts_basic] Error 2
make[2]: *** [/usr/src/linux-headers-5.4.0-0.bpo.2-common-rt/Makefile:677:
include/config/auto.conf.cmd] Error 2
make[1]: *** [/usr/src/linux-headers-5.4.0-0.bpo.2-common-rt/Makefile:179: sub-
make] Error 2
make[1]: Leaving directory '/usr/src/linux-headers-5.4.0-0.bpo.2-rt-amd64'
make: *** [Makefile:22: all] Error 2





This issue is not present with older backported kernels.

Best regards,
Svjatoslav



-- System Information:
Debian Release: 10.2
  APT prefers stable
  APT policy: (500, 'stable')
Architecture: amd64 (x86_64)
Foreign Architectures: i386

Kernel: Linux 5.4.0-0.bpo.2-rt-amd64 (SMP w/4 CPU cores; PREEMPT)
Kernel taint flags: 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 /usr/bin/dash
Init: systemd (via /run/systemd/system)
LSM: AppArmor: enabled

-- no debconf information

--- End Message ---
--- Begin Message ---
On Wed, 2020-01-22 at 14:12 +0200, Svjatoslav Agejenko wrote:
> Package: linux-headers-5.4.0-0.bpo.2-common
> Version: 5.4.8-1~bpo10+1
> Severity: important
> 
> Dear Maintainer,
> 
> After I installed latest backported kernel 5.4.0-0.bpo.2 from Debian
> backports repository, it is not possible to install any software
> that needs to compile kernel module. For example VMware Player.

This does still work, in general:

~$ make -C /lib/modules/5.4.0-3-amd64/build M=$PWD/tmp/modtest
make: Entering directory '/usr/src/linux-headers-5.4.0-3-amd64'
  CC [M]  /home/ben/tmp/modtest/modtest.o
  AR      /home/ben/tmp/modtest/built-in.a
  Building modules, stage 2.
  MODPOST 1 modules
  CC [M]  /home/ben/tmp/modtest/modtest.mod.o
  LD [M]  /home/ben/tmp/modtest/modtest.ko
make: Leaving directory '/usr/src/linux-headers-5.4.0-3-amd64'
~$ 

> During kernel module compilation following message appears:
> 
> /usr/src/linux-headers-5.4.0-0.bpo.2-common-rt/scripts/Makefile.build:42:
> /usr/src/linux-headers-5.4.0-0.bpo.2-common-rt/scripts/basic/Makefile: No such
> file or directory
> 
> 
> 
> 
> Full log is listed below:
> 
> 
> 
> cat /var/lib/dkms/evdi/5.2.14/build/make.log
> DKMS make.log for evdi-5.2.14 for kernel 5.4.0-0.bpo.2-rt-amd64 (x86_64)
> Wed 22 Jan 2020 01:33:16 PM EET
> make KBUILD_VERBOSE=1 SUBDIRS=/var/lib/dkms/evdi/5.2.14/build
> SRCROOT=/var/lib/dkms/evdi/5.2.14/build CONFIG_MODULE_SIG= -C
> /lib/modules/5.4.0-0.bpo.2-rt-amd64/build modules
[...]

This is the problem: the SUBDIRS variable in Kbuild has been deprecated
for years, warned about since Linux 5.0, and is unsupported starting
with Linux 5.4.  The distributor for this module (which doesn't seem to
be Debian) needs to replace "SUBDIRS" with "KBUILD_EXTMOD".

Ben.

-- 
Ben Hutchings
It is easier to write an incorrect program
than to understand a correct one.


Attachment: signature.asc
Description: This is a digitally signed message part


--- End Message ---

Reply to: