Script 'mail_helper' called by obssrc Hello community, here is the log from the commit of package go1.15 for openSUSE:Factory checked in at 2024-04-18 22:10:49 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Comparing /work/SRC/openSUSE:Factory/go1.15 (Old) and /work/SRC/openSUSE:Factory/.go1.15.new.26366 (New) ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Package is "go1.15" Thu Apr 18 22:10:49 2024 rev:19 rq:1168529 version:1.15.15 Changes: -------- --- /work/SRC/openSUSE:Factory/go1.15/go1.15.changes 2024-02-27 22:49:42.277466580 +0100 +++ /work/SRC/openSUSE:Factory/.go1.15.new.26366/go1.15.changes 2024-04-18 22:11:32.539135669 +0200 @@ -1,0 +2,5 @@ +Mon Apr 15 18:00:45 UTC 2024 - Bernhard Wiedemann <bwiedem...@suse.com> + +- Add reproducible.patch to avoid build-time race (boo#1102408) + +------------------------------------------------------------------- New: ---- reproducible.patch BETA DEBUG BEGIN: New: - Add reproducible.patch to avoid build-time race (boo#1102408) BETA DEBUG END: ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Other differences: ------------------ ++++++ go1.15.spec ++++++ --- /var/tmp/diff_new_pack.eB6sSG/_old 2024-04-18 22:11:33.411167716 +0200 +++ /var/tmp/diff_new_pack.eB6sSG/_new 2024-04-18 22:11:33.411167716 +0200 @@ -154,6 +154,7 @@ Patch9: gcc7-go.patch # PATCH-FIX-UPSTREAM prefer /etc/hosts over DNS when /etc/nsswitch.conf not present boo#1172868 gh#golang/go#35305 Patch12: go1.x-prefer-etc-hosts-over-dns.patch +Patch13: reproducible.patch BuildRoot: %{_tmppath}/%{name}-%{version}-build # boostrap %if %{with gccgo} @@ -248,6 +249,7 @@ %patch -P 9 -p1 %endif %endif +%patch -P 13 -p1 cp %{SOURCE4} . ++++++ reproducible.patch ++++++ Date: 2024-04-15 Author: Bernhard M. Wiedemann <bmwiedemann suse de> Workaround variations in build results between -j1 and -j4 builds. Compilation time on 4-core VM increases from 211 to 322 seconds, while 1-core VM remains at 519 s. This patch applies to go1.15, go1.14 and go1.13 packages. Index: go/src/make.bash =================================================================== --- go.orig/src/make.bash +++ go/src/make.bash @@ -209,7 +209,7 @@ fi # Run dist bootstrap to complete make.bash. # Bootstrap installs a proper cmd/dist, built with the new toolchain. # Throw ours, built with Go 1.4, away after bootstrap. -./cmd/dist/dist bootstrap $buildall $vflag $GO_DISTFLAGS "$@" +taskset 1 ./cmd/dist/dist bootstrap $buildall $vflag $GO_DISTFLAGS "$@" rm -f ./cmd/dist/dist # DO NOT ADD ANY NEW CODE HERE.