Backport dwarves 1.25

Bug #2025988 reported by Dimitri John Ledkov
8
This bug affects 1 person
Affects Status Importance Assigned to Milestone
dwarves (Ubuntu)
Fix Released
Undecided
Unassigned
Jammy
Fix Released
Undecided
Unassigned
Kinetic
Won't Fix
Undecided
Unassigned
Lunar
Fix Released
Undecided
Unassigned
Mantic
Fix Released
Undecided
Unassigned

Bug Description

[Impact]

To continue having BTF enabled in Linux HWE kernels an update to dwarves is required.

v6.3+ kernels require dwarves v1.25 or better.

This bug report is similar to a previous such backport https://bugs.launchpad.net/ubuntu/+source/dwarves-dfsg/+bug/1912811

Similar to before, to minimise changes, dwarves will be built with vendored and statically linked libbpf on releases that have older libbpf (jammy & kinetic). Lunar & Mantic use shared linked libbpf as the one in the archive is the same version as vendored one.

[Test Case]

* Rebuild given series GA kernel
* On Jammy, rebuild GA, HWE, and Mantic kernels

[Where problems could occur]

Currently in jammy-lunar we ship cherry-pick from development pre-release 1.25 to address new BTF types. The upstream approach since this cherry-pick has changed to a more conservative one. This backport will align Ubuntu BTF with now released versions of BTF.

Currently in lunar we have a BTF bug which leads to generating duplicate BTF information. This backport will address it. See https://bugs.launchpad.net/ubuntu/lunar/+source/dwarves/+bug/2025370

Changed in libbpf (Ubuntu Mantic):
status: New → Fix Released
Changed in libbpf (Ubuntu Lunar):
status: New → In Progress
Changed in libbpf (Ubuntu Kinetic):
status: New → In Progress
Changed in libbpf (Ubuntu Jammy):
status: New → In Progress
description: updated
description: updated
Revision history for this message
Steve Langasek (vorlon) wrote : Please test proposed package

Hello Dimitri, or anyone else affected,

Accepted dwarves into lunar-proposed. The package will build now and be available at https://launchpad.net/ubuntu/+source/dwarves/1.25-0ubuntu1~23.04.1 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-lunar to verification-done-lunar. If it does not fix the bug for you, please add a comment stating that, and change the tag to verification-failed-lunar. 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.

tags: added: verification-needed verification-needed-lunar
Revision history for this message
Steve Langasek (vorlon) wrote :

Hello Dimitri, or anyone else affected,

Accepted dwarves into kinetic-proposed. The package will build now and be available at https://launchpad.net/ubuntu/+source/dwarves/1.25-0ubuntu1~22.10.1 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-kinetic to verification-done-kinetic. If it does not fix the bug for you, please add a comment stating that, and change the tag to verification-failed-kinetic. 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.

tags: added: verification-needed-kinetic
affects: libbpf (Ubuntu Jammy) → dwarves (Ubuntu Jammy)
Changed in dwarves (Ubuntu Lunar):
status: In Progress → Fix Committed
Changed in dwarves (Ubuntu Kinetic):
status: In Progress → Fix Committed
Changed in dwarves (Ubuntu Jammy):
status: In Progress → Fix Committed
tags: added: verification-needed-jammy
Revision history for this message
Steve Langasek (vorlon) wrote :

Hello Dimitri, or anyone else affected,

Accepted dwarves into jammy-proposed. The package will build now and be available at https://launchpad.net/ubuntu/+source/dwarves/1.25-0ubuntu1~22.04.1 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-jammy to verification-done-jammy. If it does not fix the bug for you, please add a comment stating that, and change the tag to verification-failed-jammy. 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.

Revision history for this message
Ubuntu SRU Bot (ubuntu-sru-bot) wrote : Autopkgtest regression report (dwarves/1.25-0ubuntu1~22.10.1)

All autopkgtests for the newly accepted dwarves (1.25-0ubuntu1~22.10.1) for kinetic have finished running.
The following regressions have been reported in tests triggered by the package:

dwarves/1.25-0ubuntu1~22.10.1 (amd64, arm64, armhf, ppc64el, s390x)

Please visit the excuses page listed below and investigate the failures, proceeding afterwards as per the StableReleaseUpdates policy regarding autopkgtest regressions [1].

https://people.canonical.com/~ubuntu-archive/proposed-migration/kinetic/update_excuses.html#dwarves

[1] https://wiki.ubuntu.com/StableReleaseUpdates#Autopkgtest_Regressions

Thank you!

Revision history for this message
Ubuntu SRU Bot (ubuntu-sru-bot) wrote : Autopkgtest regression report (dwarves/1.25-0ubuntu1~22.04.1)

All autopkgtests for the newly accepted dwarves (1.25-0ubuntu1~22.04.1) for jammy have finished running.
The following regressions have been reported in tests triggered by the package:

dwarves/1.25-0ubuntu1~22.04.1 (amd64, arm64, armhf, ppc64el, s390x)

Please visit the excuses page listed below and investigate the failures, proceeding afterwards as per the StableReleaseUpdates policy regarding autopkgtest regressions [1].

https://people.canonical.com/~ubuntu-archive/proposed-migration/jammy/update_excuses.html#dwarves

[1] https://wiki.ubuntu.com/StableReleaseUpdates#Autopkgtest_Regressions

Thank you!

Revision history for this message
Dimitri John Ledkov (xnox) wrote :

Builds are successful with

https://launchpad.net/~xnox/+archive/ubuntu/dwarves-1.25

lunar
linux 6.2.0-24.24 dwarves 1.25-0ubuntu1~23.04.1 on all arches

kinetic
linux 5.19.0-46.47 dwarves 1.25-0ubuntu1~23.04.1 on all arches

jammy
linux 5.15.0-76.83 dwarves 1.25-0ubuntu1~22.04.1 on all arches
linux-hwe-5.19 5.19.0-46.47~22.04.1 dwarves 1.25-0ubuntu1~22.04.1 on all arches
linux-hwe-6.2 6.2.0-25.25~22.04.3 dwarves 1.25-0ubuntu1~22.04.1 on all arches

Note, as expected config needed tweaks with new dwarves for hwe-6.2 as it already desires to use new features, for the rebuild test, simply disabled them anyway.

https://launchpad.net/~xnox/+archive/ubuntu/dwarves-1.25.-2
jammy
linux - 6.3.0-7.7 dwarves 1.25-0ubuntu1~22.04.1 on all arches => direct rebuild from mantic on all arches, including exercising the new dwarves features for rust.

Confirming that this update resolves the bug in lunar w.r.t. duplicate BTF on arm64:

before
Package: linux-image-unsigned-6.2.0-24-generic-64k
Installed-Size: 20322

after
Package: linux-image-unsigned-6.2.0-24-generic-64k
Installed-Size: 16449

20% reduction, attributed to dwarves change of BTF.

tags: added: verification-done verification-done-jammy verification-done-kinetic verification-done-lunar
removed: verification-needed verification-needed-jammy verification-needed-kinetic verification-needed-lunar
Revision history for this message
Dimitri John Ledkov (xnox) wrote :

Uploaded .2 versions of dwarves for jammy & kinetic to address autopkgtest failing to satisfy deps when pahole is using vendored libbtf.

Revision history for this message
Steve Langasek (vorlon) wrote : Please test proposed package

Hello Dimitri, or anyone else affected,

Accepted dwarves into kinetic-proposed. The package will build now and be available at https://launchpad.net/ubuntu/+source/dwarves/1.25-0ubuntu1~22.10.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-kinetic to verification-done-kinetic. If it does not fix the bug for you, please add a comment stating that, and change the tag to verification-failed-kinetic. 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.

tags: added: verification-needed verification-needed-kinetic
removed: verification-done verification-done-kinetic
Revision history for this message
Steve Langasek (vorlon) wrote :

Hello Dimitri, or anyone else affected,

Accepted dwarves into jammy-proposed. The package will build now and be available at https://launchpad.net/ubuntu/+source/dwarves/1.25-0ubuntu1~22.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-jammy to verification-done-jammy. If it does not fix the bug for you, please add a comment stating that, and change the tag to verification-failed-jammy. 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.

tags: added: verification-needed-jammy
removed: verification-done-jammy
Revision history for this message
Andreas Hasenack (ahasenack) wrote :

Kinetic is EOL

Changed in dwarves (Ubuntu Kinetic):
status: Fix Committed → Won't Fix
Revision history for this message
Andreas Hasenack (ahasenack) wrote :

I was worried that something like https://bugs.launchpad.net/ubuntu/+source/dwarves-dfsg/+bug/1951438 could be reintroduced, but I tried a libvirt build on lunar and it worked just fine. No build-dep even pulled in dwarves, but I installed it from proposed anyway just to be sure. Tests also ran.

Revision history for this message
Andreas Hasenack (ahasenack) wrote : Update Released

The verification of the Stable Release Update for dwarves has completed successfully and the package is now being released to -updates. Subsequently, the Ubuntu Stable Release Updates Team is being unsubscribed and will not receive messages about this bug report. In the event that you encounter a regression using the package from -updates please report a new bug using ubuntu-bug and tag the bug report regression-update so we can easily find any regressions.

Revision history for this message
Launchpad Janitor (janitor) wrote :

This bug was fixed in the package dwarves - 1.25-0ubuntu1~23.04.1

---------------
dwarves (1.25-0ubuntu1~23.04.1) lunar; urgency=medium

  * Backport 1.25 dwarves to stable series (LP: #2025988)

 -- Dimitri John Ledkov <email address hidden> Wed, 05 Jul 2023 09:46:31 +0100

Changed in dwarves (Ubuntu Lunar):
status: Fix Committed → Fix Released
Revision history for this message
Dimitri John Ledkov (xnox) wrote :

autopkgtests passed, and the dwarves build otherwise has the same code.

marking 1.25-0ubuntu1~22.04.2 as passed verification testing for jammy, after the update for autopkgtest failure.

tags: added: verification-done verification-done-jammy verification-done-kinetic
removed: verification-needed verification-needed-jammy verification-needed-kinetic
Revision history for this message
Launchpad Janitor (janitor) wrote :

This bug was fixed in the package dwarves - 1.25-0ubuntu1~22.04.2

---------------
dwarves (1.25-0ubuntu1~22.04.2) jammy; urgency=medium

  * Backport 1.25 dwarves to stable series (LP: #2025988)
    - Use statically linked vendored libbpf
    - Relax autopkgtest libbpf-dev depends

 -- Dimitri John Ledkov <email address hidden> Wed, 05 Jul 2023 09:46:31 +0100

Changed in dwarves (Ubuntu Jammy):
status: Fix Committed → 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.