This bug is missing log files that will aid in diagnosing the problem.
While running an Ubuntu kernel (not a mainline or third-party kernel)
please enter the following command in a terminal window:

apport-collect 1951583

and then change the status of the bug to 'Confirmed'.

If, due to the nature of the issue you have encountered, you are unable
to run this command, please add a comment stating that fact and change
the bug status to 'Confirmed'.

This change has been made by an automated script, maintained by the
Ubuntu Kernel Team.

** Changed in: linux (Ubuntu)
       Status: New => Incomplete

-- 
You received this bug notification because you are a member of Kernel
Packages, which is subscribed to linux in Ubuntu.
https://bugs.launchpad.net/bugs/1951583

Title:
  bbswitch dkms build failure with 5.15 on armhf and ppc64el

Status in linux package in Ubuntu:
  Incomplete
Status in linux source package in Jammy:
  Incomplete

Bug description:
  It looks like bbswitch is using acpi_bus_get_device() on any
  architectures, but this function is not available on armhf or ppc64el:

    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_get_gpe_device’? [-Werror=implicit-function-declaration]
    271 |         r = acpi_bus_get_device(dis_handle, &ad);
        |             ^~~~~~~~~~~~~~~~~~~
        |             acpi_get_gpe_device
  /var/lib/dkms/bbswitch/0.8/build/bbswitch.c:276:15: error: invalid use of 
undefined type ‘struct acpi_device’
    276 |         if (ad->power.state == ACPI_STATE_UNKNOWN) {
        |               ^~
  /var/lib/dkms/bbswitch/0.8/build/bbswitch.c:278:15: error: invalid use of 
undefined type ‘struct acpi_device’
    278 |             ad->power.state = ACPI_STATE_D0;
        |               ^~

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/linux/+bug/1951583/+subscriptions


-- 
Mailing list: https://launchpad.net/~kernel-packages
Post to     : kernel-packages@lists.launchpad.net
Unsubscribe : https://launchpad.net/~kernel-packages
More help   : https://help.launchpad.net/ListHelp

Reply via email to