diff -Nru golang-1.22-1.22.2/debian/changelog golang-1.22-1.22.2/debian/changelog --- golang-1.22-1.22.2/debian/changelog 2024-04-16 11:13:31.000000000 +0300 +++ golang-1.22-1.22.2/debian/changelog 2024-04-30 15:39:36.000000000 +0300 @@ -1,3 +1,12 @@ +golang-1.22 (1.22.2-2~23.10) mantic; urgency=medium + + * Backport to Mantic (LP: #2059756) + * Build with Go 1.20 + + d/control{,.in}: use golang-1.20-go in Build-Depends + + d/rules: use /usr/lib/go-1.20/bin/go to set GOROOT_BOOTSTRAP path + + -- Gabriel Nagy Tue, 30 Apr 2024 15:39:36 +0300 + golang-1.22 (1.22.2-2) unstable; urgency=medium * Team upload diff -Nru golang-1.22-1.22.2/debian/control golang-1.22-1.22.2/debian/control --- golang-1.22-1.22.2/debian/control 2024-04-16 11:13:31.000000000 +0300 +++ golang-1.22-1.22.2/debian/control 2024-04-30 15:39:36.000000000 +0300 @@ -13,7 +13,7 @@ Section: golang Priority: optional Build-Depends: debhelper-compat (= 13), - golang-go (>= 2:1.20~), + golang-1.20-go, netbase Standards-Version: 4.6.2 Vcs-Browser: https://salsa.debian.org/go-team/compiler/golang/tree/golang-1.22 diff -Nru golang-1.22-1.22.2/debian/control.in golang-1.22-1.22.2/debian/control.in --- golang-1.22-1.22.2/debian/control.in 2024-04-16 11:13:31.000000000 +0300 +++ golang-1.22-1.22.2/debian/control.in 2024-04-30 15:39:36.000000000 +0300 @@ -9,7 +9,7 @@ Section: golang Priority: optional Build-Depends: debhelper-compat (= 13), - golang-go (>= 2:1.20~), + golang-1.20-go, netbase Standards-Version: 4.6.2 Vcs-Browser: https://salsa.debian.org/go-team/compiler/golang/tree/golang-X.Y diff -Nru golang-1.22-1.22.2/debian/rules golang-1.22-1.22.2/debian/rules --- golang-1.22-1.22.2/debian/rules 2024-04-16 11:13:31.000000000 +0300 +++ golang-1.22-1.22.2/debian/rules 2024-04-30 15:39:36.000000000 +0300 @@ -14,7 +14,7 @@ export GOROOT := $(CURDIR) export GOROOT_FINAL := /usr/lib/go-$(GOVER) -export GOROOT_BOOTSTRAP := $(shell env -i GOPATH=$(GOPATH) go env GOROOT) +export GOROOT_BOOTSTRAP := $(shell env -i GOPATH=$(GOPATH) /usr/lib/go-1.20/bin/go env GOROOT) export GOPATH := $(CURDIR)/gopath/ # Go 1.12 needs a build cache, otherwise the build fails.