Script 'mail_helper' called by obssrc
Hello community,

here is the log from the commit of package go1.27 for openSUSE:Factory checked 
in at 2026-09-07 11:28:28
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:Factory/go1.27 (Old)
 and      /work/SRC/openSUSE:Factory/.go1.27.new.1265 (New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

Package is "go1.27"

Mon Sep  7 11:28:28 2026 rev:4 rq:1375249 version:1.27.1

Changes:
--------
--- /work/SRC/openSUSE:Factory/go1.27/go1.27.changes    2026-08-21 
16:50:19.925576963 +0200
+++ /work/SRC/openSUSE:Factory/.go1.27.new.1265/go1.27.changes  2026-09-07 
11:29:25.801222096 +0200
@@ -1,0 +2,31 @@
+Tue Sep  1 19:52:53 UTC 2026 - Jeff Kowalczyk <[email protected]>
+
+- go1.27.1 (released 2026-09-01) includes fixes to cgo, the
+  compiler, the runtime, the go fix command, and the database/sql,
+  debug/elf, encoding/json, net/http, os, simd, and simd/archsimd
+  packages.
+  Refs boo#1272545 go1.27 release tracking
+  * go#81195 cmd/compile: malformed linker symbol for generic method with a 
receiver that is an alias to a pointer
+  * go#81151 database/sql: closingMutex lost wakeup deadlocks Rows.Next 
against concurrent Rows.Close
+  * go#81114 debug/elf: applyRelocationsPPC was broken by CL 705075
+  * go#81110 simd/archsimd/internal/simd_test: SIGILL on RK3588 and possibly 
other arm64 processors
+  * go#81109 cmd/compile: GOEXPERIMENT=simd stub method parameter enforced 
inconsistently Int16s.ShiftAllLeft rejects both uint8 and uint64 arguments 
depending on context
+  * go#81101 cmd/fix, x/tools/go/analysis/passes/modernize: embedlit: comma in 
a comment produces invalid code
+  * go#81096 cmd/compile: SIGILL due to new dependency on z14 s390x 
instruction set version on z13 and earlier CPUs
+  * go#81083 encoding/json: quoted null rejected for string fields with the 
,string option in Go 1.27
+  * go#81059 cmd/fix, x/tools/go/analysis/passes/modernize: embedlit: moving 
field assignments produces duplicate field name in struct literal
+  * go#81027 net/http: Request.Body.Close returns io.EOF when a handler leaves 
part of the body unread
+  * go#81016 database/sql: support for uuid.UUID undocumented
+  * go#81012 encoding/json/v2: missing io.ErrUnexpectedEOF from v1 
Decoder.Token
+  * go#81011 encoding/json/v2: definition of "JSON-representable fields" looks 
incorrect
+  * go#81006 cmd/go: go fix embedded literal produces non-compiling program
+  * go#80981 cmd/compile: malformed relocation target for generic method when 
type argument name contains the method name
+  * go#80935 crypto/tls: client handshake tests hardcode TLSv1.0
+
+-------------------------------------------------------------------
+Sat Aug 22 18:23:44 UTC 2026 - Bernhard Wiedemann <[email protected]>
+
+- Add go1.27-use-Objdir-relative-paths-in-cgo-compile-action-IDs.patch
+  to fix esbuild reproducible builds (boo#1234374)
+
+-------------------------------------------------------------------

Old:
----
  go1.27.0.src.tar.gz

New:
----
  go1.27-use-Objdir-relative-paths-in-cgo-compile-action-IDs.patch
  go1.27.1.src.tar.gz

----------(New B)----------
  New:
- Add go1.27-use-Objdir-relative-paths-in-cgo-compile-action-IDs.patch
  to fix esbuild reproducible builds (boo#1234374)
----------(New E)----------

++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

Other differences:
------------------
++++++ go1.27.spec ++++++
--- /var/tmp/diff_new_pack.1AQKMq/_old  2026-09-07 11:29:27.274273756 +0200
+++ /var/tmp/diff_new_pack.1AQKMq/_new  2026-09-07 11:29:27.279273931 +0200
@@ -96,7 +96,7 @@
 %endif
 
 Name:           go1.27
-Version:        1.27.0
+Version:        1.27.1
 Release:        0
 Summary:        A compiled, garbage-collected, concurrent programming language
 License:        BSD-3-Clause
@@ -112,6 +112,8 @@
 Source100:      llvm-51bfeff0e4b0757ff773da6882f4d538996c9b04.tar.xz
 Source101:      llvm-c3c24be13f7928460ca1e2fe613a1146c868854e.tar.xz
 Patch9:         go-fixseccomp.patch
+# Go PR #81041 cmd/go: use Objdir-relative paths in cgo compile action IDs
+Patch10:        
go1.27-use-Objdir-relative-paths-in-cgo-compile-action-IDs.patch
 BuildRoot:      %{_tmppath}/%{name}-%{version}-build
 # boostrap
 BuildRequires:  go%{go_bootstrap_version}
@@ -202,6 +204,9 @@
 %patch -P 9 -p1
 %endif
 
+# Go PR #81041 cmd/go: use Objdir-relative paths in cgo compile action IDs
+%patch -P 10 -p1
+
 cp %{SOURCE4} .
 
 %build

++++++ go1.27-use-Objdir-relative-paths-in-cgo-compile-action-IDs.patch ++++++
>From 1ae809a1da66402a4ae19edcdadbc17f3ac7e8d3 Mon Sep 17 00:00:00 2001
From: "Bernhard M. Wiedemann" <[email protected]>
Date: Sat, 22 Aug 2026 03:32:32 +0200
Subject: [PATCH] cmd/go: use Objdir-relative paths in cgo compile action IDs

The per-file cgo compile actions compute their action ID as a subkey of
the build action ID keyed on the file path. For cgo-generated files
(_cgo_export.c, *.cgo2.c, swig outputs) that path lives inside the
per-build randomly named object directory, so the action ID - and with
it the -frandom-seed=<hash of action ID> passed to the C compiler -
changes on every build.

With plain compilation an unstable seed is mostly harmless, but when
CGO_CFLAGS contains -flto, GCC records the command line including
-frandom-seed in the .gnu.lto_.opts section and derives LTO section
name suffixes from the seed, so the object files and everything hashed
from them (package content IDs, the final binary's build ID and GNU
build-id note) change on every build, making all cgo packages built
with LTO unreproducible.

Strip the Objdir prefix so the subkey only depends on the stable file
name within the object directory.

Solved differently upstream by commit 89b06d0c43b5093816c8dc66c17dcf15217e79f5
that needs 47ee8952f584100d7f47cf7ee8186670c1dbb83c as well.
---
 src/cmd/go/internal/work/action.go | 5 ++++-
 1 file changed, 4 insertions(+), 1 deletion(-)

diff --git a/src/cmd/go/internal/work/action.go 
b/src/cmd/go/internal/work/action.go
index 8b3897e2..b2622f13 100644
--- a/src/cmd/go/internal/work/action.go
+++ b/src/cmd/go/internal/work/action.go
@@ -621,7 +621,10 @@ func (c cgoCompileActor) Act(b *Builder, ctx 
context.Context, a *Action) error {
        a.nonGoOverlay = pr.nonGoOverlay
        buildAction := a.triggers[0].triggers[0] // cgo compile -> cgo collect 
-> build
 
-       a.actionID = cache.Subkey(buildAction.actionID, "cgo compile "+c.file) 
// buildAction's action id was computed by the check cache action.
+       // Objdir is randomly named and we don't want it passed into the action 
ID,
+       // which is used as the compiler's -frandom-seed ; Trim to allow 
reproducible builds.
+       file := strings.TrimPrefix(c.file, a.Objdir)
+       a.actionID = cache.Subkey(buildAction.actionID, "cgo compile "+file) // 
buildAction's action id was computed by the check cache action.
        return c.compileFunc(a, a.Objdir, a.Target, c.getFlagsFunc(pr), c.file)
 }
 
-- 
2.55.0


++++++ go1.27.0.src.tar.gz -> go1.27.1.src.tar.gz ++++++
/work/SRC/openSUSE:Factory/go1.27/go1.27.0.src.tar.gz 
/work/SRC/openSUSE:Factory/.go1.27.new.1265/go1.27.1.src.tar.gz differ: char 
115, line 1

Reply via email to