Script 'mail_helper' called by obssrc Hello community, here is the log from the commit of package go1.23 for openSUSE:Factory checked in at 2026-07-21 22:53:17 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Comparing /work/SRC/openSUSE:Factory/go1.23 (Old) and /work/SRC/openSUSE:Factory/.go1.23.new.24530 (New) ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Package is "go1.23" Tue Jul 21 22:53:17 2026 rev:20 rq:1366812 version:1.23.12 Changes: -------- --- /work/SRC/openSUSE:Factory/go1.23/go1.23.changes 2026-06-27 18:07:30.562835905 +0200 +++ /work/SRC/openSUSE:Factory/.go1.23.new.24530/go1.23.changes 2026-07-21 22:53:19.031192187 +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#1264392 + * 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#1264392 + * 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#1264392 + +------------------------------------------------------------------- +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 1239 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#1264392 + +------------------------------------------------------------------- ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Other differences: ------------------ ++++++ go1.23.spec ++++++ --- /var/tmp/diff_new_pack.M7zMOv/_old 2026-07-21 22:53:20.079227877 +0200 +++ /var/tmp/diff_new_pack.M7zMOv/_new 2026-07-21 22:53:20.083228014 +0200 @@ -19,7 +19,7 @@ # Specify Go toolchain version used to bootstrap this package's Go toolchain # Upstream Go minimum boostrap version is go1.20 # Use go1.21 as initial version bootstrapped by gccgo boo#1247816 -%define go_bootstrap_version go1.21 +%define go_bootstrap_version 1.21 # Build go-race only on platforms where C++14 is supported (SLE-15) %if 0%{?suse_version} >= 1500 || 0%{?sle_version} >= 150000 @@ -53,7 +53,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 123 +%define go_libalternatives 1239 # Use libalternatives for SLE 16.1+ and Tumbleweed. # Older distributions keep using update-alternatives, as before. @@ -65,19 +65,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 -%ifarch ppc64 -%define with_shared 0 -%endif # setup go_arch (BSD-like scheme) %ifarch %ix86 %define go_arch 386 @@ -125,7 +112,7 @@ Patch7: dont-force-gold-on-arm64.patch BuildRoot: %{_tmppath}/%{name}-%{version}-build # boostrap -BuildRequires: %{go_bootstrap_version} +BuildRequires: go%{go_bootstrap_version} BuildRequires: fdupes Suggests: %{name}-doc = %{version} %ifarch %{tsan_arch} @@ -211,7 +198,7 @@ %endif # Now, compile Go. -export GOROOT_BOOTSTRAP=%{_libdir}/%{go_bootstrap_version} +export GOROOT_BOOTSTRAP=%{_libdir}/go/%{go_bootstrap_version} # Ensure ARM arch is set properly - boo#1169832 %ifarch armv6l armv6hl export GOARCH=arm
