Build fails with linux-kvm

Bug #2007151 reported by Andrei Gherzan
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
backport-iwlwifi-dkms (Ubuntu)
Fix Released
Undecided
Andrei Gherzan
Jammy
New
Undecided
Unassigned
Kinetic
New
Undecided
Unassigned
Lunar
Fix Released
Undecided
Andrei Gherzan

Bug Description

This issue was caught by ADT which failed with

  The kernel was built by: x86_64-linux-gnu-gcc-12 (Ubuntu 12.2.0-3ubuntu1) 12.2.0
  You are using: gcc-12 (Ubuntu 12.2.0-3ubuntu1) 12.2.0
  CC [M] /var/lib/dkms/backport-iwlwifi/9904/build/compat/main.o
  LD [M] /var/lib/dkms/backport-iwlwifi/9904/build/compat/iwlwifi-compat.o
  MODPOST /var/lib/dkms/backport-iwlwifi/9904/build/Module.symvers
  CC [M] /var/lib/dkms/backport-iwlwifi/9904/build/compat/iwlwifi-compat.mod.o
  LD [M] /var/lib/dkms/backport-iwlwifi/9904/build/compat/iwlwifi-compat.ko
  BTF [M] /var/lib/dkms/backport-iwlwifi/9904/build/compat/iwlwifi-compat.ko
Skipping BTF generation for /var/lib/dkms/backport-iwlwifi/9904/build/compat/iwlwifi-compat.ko due to unavailability of vmlinux
====================
./backport-iwlwifi/9904/build/make.log
I: Summary:
I: FAIL 5.19.0-1019-kvm
autopkgtest [06:16:28]: test dkms-autopkgtest: -----------------------]
autopkgtest [06:16:28]: test dkms-autopkgtest: - - - - - - - - - - results - - - - - - - - - -
dkms-autopkgtest FAIL non-zero exit status 1
autopkgtest [06:16:28]: @@@@@@@@@@@@@@@@@@@@ summary
dkms-autopkgtest FAIL non-zero exit status 1
Creating nova instance adt-kinetic-amd64-backport-iwlwifi-dkms-20230212-061104-juju-4d1272-prod-proposed-migration-9 from image adt/ubuntu-kinetic-amd64-server-20230211.img (UUID 7a9eef30-644a-4e1e-ba3d-d94f09dcadee)...

For reference, the above is for linux-kvm 5.19.0-1019.20

This failure is due to the fact that the dkms configuration expects specific kernel modules built which in turn depend on specific kernel configuration for the running kernel. On linux-kvm, these dependencies are not met so building should be skipped.

This is a snipped of the Kconfig dependency for IWLWIFI:

config IWLWIFI
        tristate "Intel Wireless WiFi Next Gen AGN - Wireless-N/Advanced-N/Ultimate-N (iwlwifi) "
        depends on m
        depends on PCI && HAS_IOMEM && CFG80211
        depends on IWLMEI || !IWLMEI
        depends on FW_LOADER

Tags: sru-20230130

Related branches

Changed in backport-iwlwifi-dkms (Ubuntu):
assignee: nobody → Andrei Gherzan (agherzan)
description: updated
Revision history for this message
Dimitri John Ledkov (xnox) wrote :

Sponsored to lunar, with manually generated debian/changelog entry such that sponsorhip attribution works towards Andrei, and such that bug report will be autoclosed.

Revision history for this message
Roxana Nicolescu (roxanan) wrote :

This affects jammy:linux-kvm as well.

tags: added: sru-2023-01-30
tags: added: sru-20230130
removed: sru-2023-01-30
Revision history for this message
Launchpad Janitor (janitor) wrote :

This bug was fixed in the package backport-iwlwifi-dkms - 9904-0ubuntu3.4

---------------
backport-iwlwifi-dkms (9904-0ubuntu3.4) lunar; urgency=medium

  * Add dh-sequence-dkms build-depends.

 -- Dimitri John Ledkov <email address hidden> Mon, 20 Feb 2023 21:01:27 +0000

Changed in backport-iwlwifi-dkms (Ubuntu):
status: New → Fix Released
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.