[SRU] Backport Go 1.20 to Jammy

Bug #2020658 reported by Denison Barbosa
20
This bug affects 1 person
Affects Status Importance Assigned to Milestone
golang-1.20 (Ubuntu)
Invalid
High
Denison Barbosa
Jammy
Fix Released
High
Unassigned

Bug Description

[Impact]

* We have customers who want the new version of adsys backported to Jammy and it requires the 1.20 version of the Go toolchain. This can be achieved by backporting the golang-1.20 package, which is available in Lunar, to Jammy as a separate versioned package.

[Test Plan]

1. Ensure Golang 1.20 is published in -proposed;
2. Start a build with a package that requires Golang 1.20 (dependency + PATH set to the Golang 1.20 go binary)
3. Ensure the package builds successfully;
4. Run "go version" which should display: "go1.20.x" (x being the version uploaded).

[Where problems could occur]

* Packages that depend on the new version not being able to compile;
* Since it's a separate package rather than an update of the current one, there will be no difference on the existing ecosystem.

Changed in golang-1.20 (Ubuntu):
assignee: nobody → Denison Barbosa (justdenis)
importance: Undecided → High
Revision history for this message
Denison Barbosa (justdenis) wrote :

This debdiff should be enough for the backporting of the golang-1.20 package.

Revision history for this message
Ubuntu Foundations Team Bug Bot (crichton) wrote :

The attachment "jammy1.diff" seems to be a debdiff. The ubuntu-sponsors team has been subscribed to the bug report so that they can review and hopefully sponsor the debdiff. If the attachment isn't a patch, please remove the "patch" flag from the attachment, remove the "patch" tag, and if you are member of the ~ubuntu-sponsors, unsubscribe the team.

[This is an automated message performed by a Launchpad user owned by ~brian-murray, for any issue please contact him.]

tags: added: patch
tags: added: rls-jj-incoming
Dave Jones (waveform)
tags: added: foundations-todo
removed: rls-jj-incoming
Revision history for this message
Shengjing Zhu (zhsj) wrote :

I just review the debdiff.
1. no need to downgrade debhelper-compat, jammy has debhelper 13, so it just works.
2. please use version 1.20.3-1~22.04, so it's consistent with other golang-1.x SRU.

Revision history for this message
Shengjing Zhu (zhsj) wrote :

@justdenis thanks for the update. LGTM

@didrocks could you continue uploading it to the archive? (I'm still not a core dev with uploading rights).

Revision history for this message
Shengjing Zhu (zhsj) wrote :

@justdenis oh i think you miss the LP bug number in the changelog.

Revision history for this message
Denison Barbosa (justdenis) wrote :

Oops, thanks for the heads up @zhsj! Here's the fixed one.

Changed in golang-1.20 (Ubuntu Jammy):
importance: Undecided → High
Revision history for this message
Steve Langasek (vorlon) wrote : Proposed package upload rejected

An upload of golang-1.20 to jammy-proposed has been rejected from the upload queue for the following reason: "misses security fixes from 1.20.3-1ubuntu0.1 / 1.20.4 upstream".

Revision history for this message
Benjamin Drung (bdrung) wrote :

Since the debdiff is trivial, I rebased the debdiff on 1.20.3-1ubuntu0.1 and uploaded 1.20.3-1ubuntu0.1~22.04 to jammy.

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

Hello Denison, or anyone else affected,

Accepted golang-1.20 into jammy-proposed. The package will build now and be available at https://launchpad.net/ubuntu/+source/golang-1.20/1.20.3-1ubuntu0.1~22.04 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.

Changed in golang-1.20 (Ubuntu Jammy):
status: New → Fix Committed
tags: added: verification-needed verification-needed-jammy
Revision history for this message
Shengjing Zhu (zhsj) wrote :

I installed the golang-1.20 1.20.3-1ubuntu0.1~22.04 from jammy-proposed.

+ I execute the `/usr/lib/go-1.20/bin/go version` command, and the output is `go version go1.20.3 linux/amd64`.
+ I rebuild several Go packages (adsys/0.8.4, containerd/1.5.9-0ubuntu3) with golang-1.20. They all build successfully.

tags: added: verification-done verification-done-jammy
removed: verification-needed verification-needed-jammy
no longer affects: golang-1.20 (Ubuntu Focal)
Revision history for this message
Launchpad Janitor (janitor) wrote :

This bug was fixed in the package golang-1.20 - 1.20.3-1ubuntu0.1~22.04

---------------
golang-1.20 (1.20.3-1ubuntu0.1~22.04) jammy; urgency=medium

  * Backport to Jammy (LP: #2020658)

 -- Denison Barbosa <email address hidden> Thu, 15 Jun 2023 14:55:15 +0200

Changed in golang-1.20 (Ubuntu Jammy):
status: Fix Committed → Fix Released
Revision history for this message
Andreas Hasenack (ahasenack) wrote : Update Released

The verification of the Stable Release Update for golang-1.20 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.

Shengjing Zhu (zhsj)
Changed in golang-1.20 (Ubuntu):
status: New → Invalid
Benjamin Drung (bdrung)
tags: removed: foundations-todo
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.