Bug#1012779: bbswitch-dkms no compil in kernel 5.18

Jeremyp3 jeremy at pregonetwork.net
Mon Jun 13 23:44:50 BST 2022


Package: bbswitch-dkms
Version: 0.8-12
Severity: important

Dear Maintainer,

Since the passage to the Kernel 5.18.0-1-AMD64, it is impossible to build
BBSWitch:

Building initial module for 5.18.0-1-amd64
Error! Bad return status for module build on kernel: 5.18.0-1-amd64 (x86_64)
Consult /var/lib/dkms/bbswitch/0.8/build/make.log for more information.

DKMS make.log for bbswitch-0.8 for kernel 5.18.0-1-amd64 (x86_64)
mar. 14 juin 2022 00:29:18 CEST
make -C /lib/modules/5.18.0-1-amd64/build M="$(pwd)" modules
make[1] : on entre dans le répertoire 
« /usr/src/linux-headers-5.18.0-1-amd64 »
CC [M] /var/lib/dkms/bbswitch/0.8/build/bbswitch.o
/var/lib/dkms/bbswitch/0.8/build/bbswitch.c: In function ‘bbswitch_off’:
/var/lib/dkms/bbswitch/0.8/build/bbswitch.c:271:13: error: implicit 
declaration
of function ‘acpi_bus_get_device’; did you mean ‘acpi_is_pnp_device’?
[-Werror=implicit-function-declaration]
271 | r = acpi_bus_get_device(dis_handle, &ad);
| ^~~~~~~~~~~~~~~~~~~
| acpi_is_pnp_device
cc1: some warnings being treated as errors
make[2]: *** 
[/usr/src/linux-headers-5.18.0-1-common/scripts/Makefile.build:293
: /var/lib/dkms/bbswitch/0.8/build/bbswitch.o] Erreur 1
make[1]: *** [/usr/src/linux-headers-5.18.0-1-common/Makefile:1858 :
/var/lib/dkms/bbswitch/0.8/build] Erreur 2
make[1] : on quitte le répertoire « /usr/src/linux-headers-5.18.0-1-amd64 »
make: *** [Makefile:13 : default] Erreur 2

* What exactly did you do (or not do) that was effective (or
ineffective)?

To resolve the situation, view this pullrequest:
https://github.com/Bumblebee-Project/bbswitch/pull/219
replace bbswitch.c in /usr/src/bbswitch-0.8/

Thanks for the fix !


-- System Information:
Debian Release: bookworm/sid
APT prefers testing
APT policy: (500, 'testing'), (50, 'buildd-unstable'), (50, 'unstable'), 
(30, 'experimental')
Architecture: amd64 (x86_64)

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

Versions of packages bbswitch-dkms depends on:
ii dkms 3.0.3-2

bbswitch-dkms recommends no packages.

Versions of packages bbswitch-dkms suggests:
ii bumblebee 3.2.1-28

-- no debconf information



More information about the pkg-nvidia-devel mailing list