Package: dkms
Version: 3.0.11-3
Severity: normal

Dear Maintainer,

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.

More specifically I get the following error:

    dkms: running auto installation service for kernel 6.4.0-1-amd64.
    Sign command: /lib/modules/6.4.0-1-amd64/build/scripts/sign-file
    Signing key: /var/lib/dkms/mok.key
    Public certificate (MOK): /var/lib/dkms/mok.pub

    Building module:
    Cleaning build area...
    make -j2 KERNELRELEASE=6.4.0-1-amd64 -C /lib/modules/6.4.0-1-amd64/build
M=/var/lib/dkms/tp_smapi/0.43/build HDAPS=1...(bad exit status: 2)
    Error! Bad return status for module build on kernel: 6.4.0-1-amd64 (x86_64)
    Consult /var/lib/dkms/tp_smapi/0.43/build/make.log for more information.
    dkms autoinstall on 6.4.0-1-amd64/x86_64 failed for tp_smapi(10)
    Error! One or more modules failed to install during autoinstall.
    Refer to previous errors for more information.

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 »


-- Stefan


-- System Information:
Debian Release: trixie/sid
  APT prefers testing
  APT policy: (990, 'testing'), (500, 'stable-security'), (100, 'stable')
Architecture: i386 (x86_64)
Foreign Architectures: amd64

Kernel: Linux 6.1.0-7-amd64 (SMP w/2 CPU threads; PREEMPT)
Kernel taint flags: TAINT_WARN, TAINT_OOT_MODULE, TAINT_UNSIGNED_MODULE
Locale: LANG=fr_CH.UTF-8, LC_CTYPE=fr_CH.UTF-8 (charmap=UTF-8), LANGUAGE not set
Shell: /bin/sh linked to /usr/bin/dash
Init: systemd (via /run/systemd/system)
LSM: AppArmor: enabled

Versions of packages dkms depends on:
ii  build-essential      12.10
ii  dpkg-dev             1.21.22
ii  gcc [c-compiler]     4:13.1.0-4
ii  gcc-10 [c-compiler]  10.4.0-7
ii  gcc-11 [c-compiler]  11.4.0-2
ii  gcc-12 [c-compiler]  12.3.0-6
ii  gcc-13 [c-compiler]  13.1.0-9
ii  gcc-9 [c-compiler]   9.3.0-22
ii  kmod                 30+20230519-1
ii  lsb-release          12.0-2
ii  make                 4.3-4.1
ii  patch                2.7.6-7

Versions of packages dkms recommends:
ii  fakeroot                                     1.32.1-1
iu  linux-headers-amd64 [linux-headers-generic]  6.4.4-1
ii  sudo                                         1.9.14p2-1

Versions of packages dkms suggests:
ii  e2fsprogs  1.47.0-2
ii  menu       2.1.50

-- Configuration Files:
/etc/modprobe.d/dkms.conf changed:


-- no debconf information

Reply via email to