Script 'mail_helper' called by obssrc Hello community, here is the log from the commit of package go1.21 for openSUSE:Factory checked in at 2026-07-21 22:53:10 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Comparing /work/SRC/openSUSE:Factory/go1.21 (Old) and /work/SRC/openSUSE:Factory/.go1.21.new.24530 (New) ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Package is "go1.21" Tue Jul 21 22:53:10 2026 rev:29 rq:1366802 version:1.21.13 Changes: -------- --- /work/SRC/openSUSE:Factory/go1.21/go1.21.changes 2026-06-27 18:02:57.197644936 +0200 +++ /work/SRC/openSUSE:Factory/.go1.21.new.24530/go1.21.changes 2026-07-21 22:53:12.170958570 +0200 @@ -1,0 +2,43 @@ +Fri Jul 17 14:14:48 UTC 2026 - Jeff Kowalczyk <[email protected]> + +- Packaging improvements: + * Revert %ghost /usr/bin/go /usr/bin/gofmt which prevents install + of a working go command. Refs boo#1245878 bsc#1264390 + * Based on feedback from Factory maintainers restore the original + lifecycle for these files: Each go1.x toolchain shares + ownership of a go and gofmt symlink managed by the alternatives + system (update-alternatives and libalternatives). When the last + go1.x package is uninstalled the symlinks will be removed. + * Context: %ghost was introduced to prevent file conflicts among + go1.x toolchain packages reported by installcheck dev tool. + %ghost prevents the files from being installed, which results + in no installed go command. The shared ownership of the go and + gofmt symlinks is intentional. + +------------------------------------------------------------------- +Mon Jul 13 19:16:58 UTC 2026 - Jeff Kowalczyk <[email protected]> + +- Packaging improvements: + * Define go_bootstrap_version with digits without go1.x prefix. + Correct path spelling to align with current toolchain layout + GOROOT_BOOTSTRAP=%{_libdir}/go/%{go_bootstrap_version}, + noting interstitial /go/ in path. Fixes bootstrap + ERROR: Cannot find /usr/lib64/go1.x/bin/go. + Set $GOROOT_BOOTSTRAP to a working Go tree >= Go 1.x.y. + Bootstrap error first observed when using %ghost /usr/bin/go. + Fixed by Eugenio Paolantonio. Refs boo#1245878 bsc#1264390 + * Mark %ghost /usr/bin/go /usr/bin/gofmt to avoid file conflicts + among go1.x toolchain packages. These files are managed by the + alternatives system. Refs boo#1245878 bsc#1264390 + +------------------------------------------------------------------- +Fri Jul 10 01:27:59 UTC 2026 - Jeff Kowalczyk <[email protected]> + +- Packaging improvements: + * Drop unused conditional %define with_shared refs jsc#PED-1962 + * Uniqify %define go_libalternatives 1219 to accommodate parallel + installed toolchain variants per go1.x major version. + go1.x has highest alternatives priority and uses suffix 9. + refs boo#1245878 bsc#1264390 + +------------------------------------------------------------------- ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Other differences: ------------------ ++++++ go1.21.spec ++++++ --- /var/tmp/diff_new_pack.86w86G/_old 2026-07-21 22:53:12.998986767 +0200 +++ /var/tmp/diff_new_pack.86w86G/_new 2026-07-21 22:53:13.002986904 +0200 @@ -24,11 +24,11 @@ # Usually ahead of bootstrap version specified by upstream Go # Use Tumbleweed default gccgo and N-1 go1.x for testing %define gcc_go_version 13 -%define go_bootstrap_version go1.18 +%define go_bootstrap_version 1.18 %else # Use gccgo and go1.x specified by upstream Go %define gcc_go_version 13 -%define go_bootstrap_version go1.17 +%define go_bootstrap_version 1.17 %endif # Bootstrap go toolchain using existing go package go_bootstrap_version @@ -82,7 +82,7 @@ # go_libalternatives is the name for the libalternatives configuration file # which denotes its priority and numbered as go_api sans dot separator -%define go_libalternatives 121 +%define go_libalternatives 1219 # Use libalternatives for SLE 16.1+ and Tumbleweed. # Older distributions keep using update-alternatives, as before. @@ -94,16 +94,6 @@ %define with_update_alternatives 1 %endif -# shared library support -%if "%{rpm_vercmp %{go_api} 1.5}" > "0" -%ifarch %ix86 %arm x86_64 aarch64 -%define with_shared 1 -%else -%define with_shared 0 -%endif -%else -%define with_shared 0 -%endif # setup go_arch (BSD-like scheme) %ifarch %ix86 %define go_arch 386 @@ -158,7 +148,7 @@ BuildRequires: gcc%{gcc_go_version}-go %else # no gcc-go -BuildRequires: %{go_bootstrap_version} +BuildRequires: go%{go_bootstrap_version} %endif BuildRequires: fdupes Suggests: %{name}-doc = %{version} @@ -260,7 +250,7 @@ %if %{with gccgo_go121} export GOROOT_BOOTSTRAP=%{_prefix} %else -export GOROOT_BOOTSTRAP=%{_libdir}/%{go_bootstrap_version} +export GOROOT_BOOTSTRAP=%{_libdir}/go/%{go_bootstrap_version} %endif # Ensure ARM arch is set properly - boo#1169832 %ifarch armv6l armv6hl
