dkms (2.8.7-2ubuntu2.1) jammy depends on gcc-12 which is under universe archive

Bug #1998154 reported by Atlas Yu
22
This bug affects 3 people
Affects Status Importance Assigned to Milestone
OEM Priority Project
Fix Released
High
Atlas Yu
dkms (Ubuntu)
Invalid
Undecided
Dimitri John Ledkov

Bug Description

[Description]

The latest dkms(2.8.7-2ubuntu2.1) depends on gcc-12 which is in universe archive.

https://packages.ubuntu.com/search?keywords=gcc-12
gcc-12 is under main for kinect, and the patches are cherry-picked from kinect/stable, I suppose it is a mistake for jammy in universe.

[debian/changelog]

dkms (2.8.7-2ubuntu2.1) jammy; urgency=medium

Cherry-pick patches from kinetic/stable to address building dkms
modules correctly for HWE kernels (LP: #1991664):

Fix dkms-autopkgtest when a given dkms package is built into the
kernel already of the same version. (i.e. zfs-linux on Ubuntu).

Use exact compiler for dkms as used to build the kernel, when
possible.

Depend on gcc-12 to build modules for HWE kernels correctly.

Atlas Yu (pseudoc)
no longer affects: dkms
Steve Langasek (vorlon)
Changed in dkms (Ubuntu):
assignee: nobody → Dimitri John Ledkov (xnox)
Atlas Yu (pseudoc)
tags: added: jammy
Revision history for this message
Bin Li (binli) wrote :

Hi Matthias,

 gcc-12 looks in a wrong archive, could you help fix it? Or do you know who could fix it? Thanks!

Changed in oem-priority:
importance: Undecided → Critical
importance: Critical → Undecided
tags: added: oem-priority
Rex Tsai (chihchun)
Changed in oem-priority:
importance: Undecided → High
Revision history for this message
Launchpad Janitor (janitor) wrote :

Status changed to 'Confirmed' because the bug affects multiple users.

Changed in dkms (Ubuntu):
status: New → Confirmed
Revision history for this message
Steve Langasek (vorlon) wrote :

Because gcc-12 source is in main already, *and* is already published in jammy-{security,updates}, it seems it is straightforward to simply promote the binaries to solve this problem.

I'll work on this; it may take a couple of rounds to get all the dependencies promoted.

Revision history for this message
Steve Langasek (vorlon) wrote :

Promoting gcc-12 and cpp-12 binaries was sufficient to fix this.

Changed in dkms (Ubuntu):
status: Confirmed → Invalid
Atlas Yu (pseudoc)
Changed in oem-priority:
status: New → Fix Released
Bin Li (binli)
Changed in oem-priority:
assignee: nobody → Atlas Yu (pseudoc)
Revision history for this message
Atlas Yu (pseudoc) wrote :

since gcc-12 is now in main, this does not affect the OEM project any longer.

Changed in oem-priority:
status: Fix Released → Triaged
status: Triaged → Fix Released
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Duplicates of this bug

Other bug subscribers

Remote bug watches

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