Control: reassign -1 src:linux Control: affects -1 + src:dkms
On Thu, 03 Aug 2023 19:13:42 -0400 Stefan Monnier <monn...@iro.umontreal.ca> wrote:
My machine is running Debian testing i386 but with an amd64 kernel (to make better use of my 8GB of RAM). I also have `dkms` and `tp-smapi-dkms` installed. Until recently this worked fine and built the `tp-smapi` kernel module for my `amd64` kernel. But now installation of the `linux-image-6.4.0-1-amd64:amd64` kernel encounters problems when dkms tries to build the dkms package.
...> and `/var/lib/dkms/tp_smapi/0.43/build/make.log` says:
DKMS make.log for tp_smapi-0.43 for kernel 6.4.0-1-amd64 (x86_64) jeu 03 aoû 2023 18:35:09 EDT make : on entre dans le répertoire « /usr/src/linux-headers-6.4.0-1-amd64 » CC [M] /var/lib/dkms/tp_smapi/0.43/build/thinkpad_ec.o /bin/bash: ligne 1: x86_64-linux-gnu-gcc-13 : commande introuvable make[1]: *** [/usr/src/linux- headers-6.4.0-1-common/scripts/Makefile.build:257 : /var/lib/dkms/tp_smapi/0.43/build/thinkpad_ec.o] Erreur 127 make[1]: *** Attente des tâches non terminées.... CC [M] /var/lib/dkms/tp_smapi/0.43/build/tp_smapi.o /bin/bash: ligne 1: x86_64-linux-gnu-gcc-13 : commande introuvable make[1]: *** [/usr/src/linux- headers-6.4.0-1-common/scripts/Makefile.build:257 : /var/lib/dkms/tp_smapi/0.43/build/tp_smapi.o] Erreur 127 make: *** [/usr/src/linux-headers-6.4.0-1-common/Makefile:2051 : /var/lib/dkms/tp_smapi/0.43/build] Erreur 2 make : on quitte le répertoire « /usr/src/linux-headers-6.4.0-1-amd64 »
I can reproduce that in a minimal i386 chroot with dkms installed by running this command: dpkg --add-architecture amd64 && apt-get update && apt-get install -yf linux-headers-amd64 && /usr/lib/dkms/dkms-autopkgtest dkms-test-dkms This causes the installation if these (foreign) header packages and friends: Get:1 http://ftp.de.debian.org/debian unstable/main i386 libelf1 i386 0.189-4 [180 kB] Get:2 http://ftp.de.debian.org/debian unstable/main i386 linux-compiler-gcc-13-x86 i386 6.4.13-1 [676 kB] Get:3 http://ftp.de.debian.org/debian unstable/main i386 linux-headers-6.4.0-4-common all 6.4.13-1 [9997 kB] Get:4 http://ftp.de.debian.org/debian unstable/main i386 linux-kbuild-6.4.0-4 i386 6.4.13-1 [967 kB] Get:5 http://ftp.de.debian.org/debian unstable/main amd64 linux-headers-6.4.0-4-amd64 amd64 6.4.13-1 [1214 kB] Get:6 http://ftp.de.debian.org/debian unstable/main amd64 linux-headers-amd64 amd64 6.4.13-1 [1416 B] and dkms fails with DKMS make.log for dkms_test-1.0 for kernel 6.4.0-4-amd64 (x86_64) Wed Sep 13 20:27:19 UTC 2023 make: Entering directory '/usr/src/linux-headers-6.4.0-4-amd64' CC [M] /var/lib/dkms/dkms_test/1.0/build/dkms_test.o /bin/sh: 1: x86_64-linux-gnu-gcc-13: not found make[1]: *** [/usr/src/linux-headers-6.4.0-4-common/scripts/Makefile.build:257: /var/lib/dkms/dkms_test/1.0/build/dkms_test.o] Error 127 make[1]: *** Waiting for unfinished jobs.... make: *** [/usr/src/linux-headers-6.4.0-4-common/Makefile:2057: /var/lib/dkms/dkms_test/1.0/build] Error 2 make: Leaving directory '/usr/src/linux-headers-6.4.0-4-amd64' since the wrong package: linux-compiler-gcc-13-x86 is isntalled. Andreas PS: I'll add this foreign arch module build to the dkms autopkgtest