[Bug 2076262] Re: Failed to build against linux-6.11

Andreas Hasenack 2076262 at bugs.launchpad.net
Fri Sep 20 17:42:57 UTC 2024


Hello You-Sheng, or anyone else affected,

Accepted ipu6-drivers into noble-proposed. The package will build now
and be available at
https://launchpad.net/ubuntu/+source/ipu6-drivers/0~git202406240945.aecec2aa-0ubuntu2~24.04.2
in a few hours, and then in the -proposed repository.

Please help us by testing this new package.  See
https://wiki.ubuntu.com/Testing/EnableProposed for documentation on how
to enable and use -proposed.  Your feedback will aid us getting this
update out to other Ubuntu users.

If this package fixes the bug for you, please add a comment to this bug,
mentioning the version of the package you tested, what testing has been
performed on the package and change the tag from verification-needed-
noble to verification-done-noble. If it does not fix the bug for you,
please add a comment stating that, and change the tag to verification-
failed-noble. In either case, without details of your testing we will
not be able to proceed.

Further information regarding the verification process can be found at
https://wiki.ubuntu.com/QATeam/PerformingSRUVerification .  Thank you in
advance for helping!

N.B. The updated package will be released to -updates after the bug(s)
fixed by this package have been verified and the package has been in
-proposed for a minimum of 7 days.

** Changed in: ipu6-drivers (Ubuntu Noble)
       Status: In Progress => Fix Committed

** Tags added: verification-needed verification-needed-noble

-- 
You received this bug notification because you are a member of Ubuntu
Sponsors, which is subscribed to the bug report.
https://bugs.launchpad.net/bugs/2076262

Title:
  Failed to build against linux-6.11

Status in ipu6-drivers package in Ubuntu:
  Fix Released
Status in ipu6-drivers source package in Noble:
  Fix Committed
Status in ipu6-drivers source package in Oracular:
  Fix Released

Bug description:
  [SRU Justification]

  [Impact]

  Upstream commit d69d804845985 ("driver core: have match() callback in
  struct bus_type take a const *") added const attribute the the second
  parameter of the match callback, and this fails the build against
  linux-6.11.

  [Fix]

  Ubuntu sauced change to accommodate to the API change. Also proposed
  to the upstream as https://github.com/intel/ipu6-drivers/pull/261.

  [Test Case]

  1. install kernel headers packages. This should include kernel headers for generic-6.8, oem-6.8, linux-hwe-6.8/jammy according to kernel-versions dkms map. linux-oem-6.5 is outdated therefore is skipped here.
  2. install intel-ipu6-dkms from -proposed and trigger dkms builds on all mentioned kernel versions
  3. reboot into the kernels to check if intel-ipu6 module was loaded automatically as before.

  [Where problems could occur]

  For Oracular, there is a new upstream release mostly for a next Intel
  platform, but there are also code refinements as well. No specious
  side effect found.

  For Noble, there is only preprocessor macros to satisfy the API
  compatibility.

  [Other Info]

  ipu6-drivers/oracular is used in linux/oracular and linux-
  oem-6.11/noble, and ipu6-drivers/noble is used in linux/noble, linux-
  oem-6.8/noble and linux-hwe-6.8/jammy. The Noble SRU is only to
  satisfy compiling ipu6-drivers/noble against linux-oem-6.11/noble, but
  that's not how linux-modules-ipu6-oem-24.04b is built.

  ========== original bug report ==========

  /var/lib/dkms/ipu6-drivers/0~git202406240945.aecec2aa-0ubuntu2/build/drivers/media/pci/intel/ipu6/../ipu-bus.c:145:18: error: initialization of 'int (*)(struct device
  *, const struct device_driver *)' from incompatible pointer type 'int (*)(struct device *, struct device_driver *)' [-Wincompatible-pointer-types]
    145 |         .match = ipu_bus_match,
        |                  ^~~~~~~~~~~~~

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/ipu6-drivers/+bug/2076262/+subscriptions




More information about the Ubuntu-sponsors mailing list