Hello community,

here is the log from the commit of package go for openSUSE:Factory checked in 
at 2017-09-21 12:28:07
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:Factory/go (Old)
 and      /work/SRC/openSUSE:Factory/.go.new (New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

Package is "go"

Thu Sep 21 12:28:07 2017 rev:81 rq:527305 version:1.9

Changes:
--------
--- /work/SRC/openSUSE:Factory/go/go.changes    2017-09-08 20:40:55.384045384 
+0200
+++ /work/SRC/openSUSE:Factory/.go.new/go.changes       2017-09-21 
12:28:08.523856129 +0200
@@ -1,0 +2,19 @@
+Mon Sep 18 08:52:45 UTC 2017 - [email protected]
+
+- Update to go1.9
+
+  There are two changes to the language: adding support for type aliases and
+  defining when implementations may fuse floating point operations. Most of the
+  changes are in the implementation of the toolchain, runtime, and libraries. 
As
+  always, the release maintains the Go 1 promise of compatibility. We expect
+  almost all Go programs to continue to compile and run as before.
+
+  The release adds transparent monotonic time support, parallelizes compilation
+  of functions within a package, better supports test helper functions, 
includes
+  a new bit manipulation package, and has a new concurrent map type.
+
+  Remove patches:
+    - fix_certificates_lookup.patch
+    - runtime-bump-MaxGomaxprocs.patch
+
+-------------------------------------------------------------------

Old:
----
  fix_certificates_lookup.patch
  go1.8.3.src.tar.gz
  runtime-bump-MaxGomaxprocs.patch

New:
----
  go1.9.src.tar.gz

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

Other differences:
------------------
++++++ go.spec ++++++
--- /var/tmp/diff_new_pack.XM4ddw/_old  2017-09-21 12:28:11.919378487 +0200
+++ /var/tmp/diff_new_pack.XM4ddw/_new  2017-09-21 12:28:11.923377925 +0200
@@ -55,7 +55,7 @@
 # See boo#1052528 for more details.
 %define tsan_commit 68e1532492f9b3fce0e9024f3c31411105965b11
 
-%define go_api 1.8
+%define go_api 1.9
 
 # shared library support
 %define shared_supported %(echo "%{go_api} >= 1.5" | bc -l)
@@ -77,7 +77,7 @@
 %endif
 
 Name:           go
-Version:        1.8.3
+Version:        1.9
 Release:        0
 Summary:        A compiled, garbage-collected, concurrent programming language
 License:        BSD-3-Clause
@@ -104,14 +104,9 @@
 # armv6l needs this patch for our build system
 # see https://groups.google.com/forum/#!topic/golang-nuts/MqKTX_XIOKE
 Patch6:         armv6l.patch
-# PATCH-FIX-OPENSUSE fix_certificates_lookup.patch [email protected] -- this 
patch forces Go to look for certificates only in the openSUSE/SLE locations. It 
also fixes certificate loading on SLE11, see 
https://github.com/golang/go/issues/6391
-# PATCH-FIX-SUSE fix_certificates_lookup.patch [email protected] -- this 
patch forces Go to look for certificates only in the openSUSE/SLE locations. It 
also fixes certificate loading on SLE11, see 
https://github.com/golang/go/issues/6391
-Patch7:         fix_certificates_lookup.patch
 # PATCH-FIX-UPSTREAM [email protected] - find /usr/bin/go-5 when 
bootstrapping with gcc5-go
 Patch8:         gcc6-go.patch
 Patch9:         gcc7-go.patch
-# PATCH-FIX-OPENSUSE: Bump _MaxGomaxprocs to a larger number for NUMA machines.
-Patch10:        runtime-bump-MaxGomaxprocs.patch
 # PATCH-FIX-UPSTREAM (compiler-rt): Fix sanitizer build against latest glibc
 Patch100:       fix-sanitizer-build-against-latest-glibc.patch
 BuildRoot:      %{_tmppath}/%{name}-%{version}-build
@@ -204,7 +199,6 @@
 %ifarch armv6hl
 %patch6 -p1
 %endif
-%patch7 -p1
 %if %{with_gccgo}
 %if 0%{?suse_version} == 1315
 # SLE12 or Leap 42.x
@@ -213,7 +207,6 @@
 %patch9 -p1
 %endif
 %endif
-%patch10 -p1
 cp %{SOURCE4} .
 
 # setup go_arch (BSD-like scheme)
@@ -382,7 +375,6 @@
 %doc %{_docdir}/go/%{go_api}/PATENTS
 %doc %{_docdir}/go/%{go_api}/README.md
 %doc %{_docdir}/go/%{go_api}/README.SUSE
-%doc %{_docdir}/go/%{go_api}/go%{go_api}.txt
 
 # We don't include TSAN in the main Go package.
 %ifarch %{tsan_arch}
@@ -397,6 +389,7 @@
 %doc %{_docdir}/go/%{go_api}/play
 %doc %{_docdir}/go/%{go_api}/gopher
 %doc %{_docdir}/go/%{go_api}/devel
+%doc %{_docdir}/go/%{go_api}/editors
 %doc %{_docdir}/go/%{go_api}/*.html
 %doc %{_docdir}/go/%{go_api}/*.css
 %doc %{_docdir}/go/%{go_api}/*.png

++++++ allow-binary-only-packages.patch ++++++
--- /var/tmp/diff_new_pack.XM4ddw/_old  2017-09-21 12:28:11.987368923 +0200
+++ /var/tmp/diff_new_pack.XM4ddw/_new  2017-09-21 12:28:11.987368923 +0200
@@ -1,13 +1,13 @@
-diff --git a/src/cmd/go/pkg.go b/src/cmd/go/pkg.go
-index 575f187f3b..56e6e29883 100644
---- a/src/cmd/go/pkg.go
-+++ b/src/cmd/go/pkg.go
-@@ -363,7 +363,7 @@ func loadImport(path, srcDir string, parent *Package, stk 
*importStack, importPo
+Index: go/src/cmd/go/internal/load/pkg.go
+===================================================================
+--- go.orig/src/cmd/go/internal/load/pkg.go
++++ go/src/cmd/go/internal/load/pkg.go
+@@ -414,7 +414,7 @@ func LoadImport(path, srcDir string, par
                        // Not vendoring, or we already found the vendored path.
                        buildMode |= build.IgnoreVendor
                }
--              bp, err := buildContext.Import(path, srcDir, buildMode)
-+              bp, err := buildContext.Import(path, srcDir, 
build.AllowBinary|buildMode)
+-              bp, err := cfg.BuildContext.Import(path, srcDir, buildMode)
++              bp, err := cfg.BuildContext.Import(path, srcDir, 
build.AllowBinary|buildMode)
                bp.ImportPath = importPath
-               if gobin != "" {
-                       bp.BinDir = gobin
+               if cfg.GOBIN != "" {
+                       bp.BinDir = cfg.GOBIN

++++++ armv6l.patch ++++++
--- /var/tmp/diff_new_pack.XM4ddw/_old  2017-09-21 12:28:11.999367235 +0200
+++ /var/tmp/diff_new_pack.XM4ddw/_new  2017-09-21 12:28:11.999367235 +0200
@@ -1,7 +1,7 @@
-diff --git a/go/src/runtime/os_linux_generic.go 
b/b/src/runtime/os_linux_generic.go
+diff --git a/src/runtime/os_linux_generic.go b/src/runtime/os_linux_generic.go
 index a16d140..8351ffb 100644
---- a/go/src/runtime/os_linux_generic.go
-+++ b/b/src/runtime/os_linux_generic.go
+--- a/src/runtime/os_linux_generic.go
++++ b/src/runtime/os_linux_generic.go
 @@ -11,7 +11,7 @@ package runtime
  
  const (

++++++ gcc6-go.patch ++++++
--- /var/tmp/diff_new_pack.XM4ddw/_old  2017-09-21 12:28:12.015364985 +0200
+++ /var/tmp/diff_new_pack.XM4ddw/_new  2017-09-21 12:28:12.019364423 +0200
@@ -1,20 +1,20 @@
-diff --git a/src/cmd/dist/buildtool.go b/src/cmd/dist/buildtool.go
-index b0b9b25..4a0b3fb 100644
---- a/src/cmd/dist/buildtool.go
-+++ b/src/cmd/dist/buildtool.go
-@@ -143,7 +143,7 @@ func bootstrapBuildTools() {
-       // https://groups.google.com/d/msg/golang-dev/Ss7mCKsvk8w/Gsq7VYI0AwAJ
+Index: go/src/cmd/dist/buildtool.go
+===================================================================
+--- go.orig/src/cmd/dist/buildtool.go
++++ go/src/cmd/dist/buildtool.go
+@@ -164,7 +164,7 @@ func bootstrapBuildTools() {
        // Use the math_big_pure_go build tag to disable the assembly in 
math/big
        // which may contain unsupported instructions.
--      run(workspace, ShowOutput|CheckExit, pathf("%s/bin/go", 
goroot_bootstrap), "install", "-gcflags=-l", "-tags=math_big_pure_go", "-v", 
"bootstrap/cmd/...")
-+      run(workspace, ShowOutput|CheckExit, pathf("%s/bin/go-6", 
goroot_bootstrap), "install", "-gcflags=-l", "-tags=math_big_pure_go", "-v", 
"bootstrap/cmd/...")
- 
-       // Copy binaries into tool binary directory.
-       for _, name := range bootstrapDirs {
-diff --git a/src/make.bash b/src/make.bash
-index 84aaab5..628b93e 100755
---- a/src/make.bash
-+++ b/src/make.bash
+       cmd := []string{
+-              pathf("%s/bin/go", goroot_bootstrap),
++              pathf("%s/bin/go-6", goroot_bootstrap),
+               "install",
+               "-gcflags=-l",
+               "-tags=math_big_pure_go",
+Index: go/src/make.bash
+===================================================================
+--- go.orig/src/make.bash
++++ go/src/make.bash
 @@ -41,7 +41,7 @@
  # This is used by cgo.  Default is CC.
  #
@@ -35,7 +35,7 @@
        echo "Set \$GOROOT_BOOTSTRAP to a working Go tree >= Go 1.4." >&2
        exit 1
  fi
-@@ -131,7 +131,7 @@ if [ "$GOROOT_BOOTSTRAP" == "$GOROOT" ]; then
+@@ -131,7 +131,7 @@ if [ "$GOROOT_BOOTSTRAP" = "$GOROOT" ];
        exit 1
  fi
  rm -f cmd/dist/dist
@@ -44,10 +44,10 @@
  
  # -e doesn't propagate out of eval, so check success by hand.
  eval $(./cmd/dist/dist env -p || echo FAIL=true)
-diff --git a/src/make.rc b/src/make.rc
-index ba3554c..6d40673 100755
---- a/src/make.rc
-+++ b/src/make.rc
+Index: go/src/make.rc
+===================================================================
+--- go.orig/src/make.rc
++++ go/src/make.rc
 @@ -46,13 +46,13 @@ echo cmd/dist
  GOROOT = `{cd .. && pwd}
  if(! ~ $#GOROOT_BOOTSTRAP 1)

++++++ gcc7-go.patch ++++++
--- /var/tmp/diff_new_pack.XM4ddw/_old  2017-09-21 12:28:12.031362735 +0200
+++ /var/tmp/diff_new_pack.XM4ddw/_new  2017-09-21 12:28:12.031362735 +0200
@@ -1,20 +1,20 @@
-diff --git a/src/cmd/dist/buildtool.go b/src/cmd/dist/buildtool.go
-index b0b9b2579d..f85a35d379 100644
---- a/src/cmd/dist/buildtool.go
-+++ b/src/cmd/dist/buildtool.go
-@@ -143,7 +143,7 @@ func bootstrapBuildTools() {
-       // https://groups.google.com/d/msg/golang-dev/Ss7mCKsvk8w/Gsq7VYI0AwAJ
+Index: go/src/cmd/dist/buildtool.go
+===================================================================
+--- go.orig/src/cmd/dist/buildtool.go
++++ go/src/cmd/dist/buildtool.go
+@@ -164,7 +164,7 @@ func bootstrapBuildTools() {
        // Use the math_big_pure_go build tag to disable the assembly in 
math/big
        // which may contain unsupported instructions.
--      run(workspace, ShowOutput|CheckExit, pathf("%s/bin/go", 
goroot_bootstrap), "install", "-gcflags=-l", "-tags=math_big_pure_go", "-v", 
"bootstrap/cmd/...")
-+      run(workspace, ShowOutput|CheckExit, pathf("%s/bin/go-7", 
goroot_bootstrap), "install", "-gcflags=-l", "-tags=math_big_pure_go", "-v", 
"bootstrap/cmd/...")
- 
-       // Copy binaries into tool binary directory.
-       for _, name := range bootstrapDirs {
-diff --git a/src/make.bash b/src/make.bash
-index 84aaab56db..950f1bdfbe 100755
---- a/src/make.bash
-+++ b/src/make.bash
+       cmd := []string{
+-              pathf("%s/bin/go", goroot_bootstrap),
++              pathf("%s/bin/go-7", goroot_bootstrap),
+               "install",
+               "-gcflags=-l",
+               "-tags=math_big_pure_go",
+Index: go/src/make.bash
+===================================================================
+--- go.orig/src/make.bash
++++ go/src/make.bash
 @@ -41,7 +41,7 @@
  # This is used by cgo.  Default is CC.
  #
@@ -35,7 +35,7 @@
        echo "Set \$GOROOT_BOOTSTRAP to a working Go tree >= Go 1.4." >&2
        exit 1
  fi
-@@ -131,7 +131,7 @@ if [ "$GOROOT_BOOTSTRAP" == "$GOROOT" ]; then
+@@ -131,7 +131,7 @@ if [ "$GOROOT_BOOTSTRAP" = "$GOROOT" ];
        exit 1
  fi
  rm -f cmd/dist/dist
@@ -44,10 +44,10 @@
  
  # -e doesn't propagate out of eval, so check success by hand.
  eval $(./cmd/dist/dist env -p || echo FAIL=true)
-diff --git a/src/make.rc b/src/make.rc
-index ba3554cd76..432e02559e 100755
---- a/src/make.rc
-+++ b/src/make.rc
+Index: go/src/make.rc
+===================================================================
+--- go.orig/src/make.rc
++++ go/src/make.rc
 @@ -46,13 +46,13 @@ echo cmd/dist
  GOROOT = `{cd .. && pwd}
  if(! ~ $#GOROOT_BOOTSTRAP 1)

++++++ go-1.5-build-dont-reinstall-stdlibs.patch ++++++
--- /var/tmp/diff_new_pack.XM4ddw/_old  2017-09-21 12:28:12.043361047 +0200
+++ /var/tmp/diff_new_pack.XM4ddw/_new  2017-09-21 12:28:12.047360484 +0200
@@ -1,33 +1,37 @@
-Index: go/src/cmd/go/build.go
+Index: go/src/cmd/go/internal/work/build.go
 ===================================================================
---- go.orig/src/cmd/go/build.go
-+++ go/src/cmd/go/build.go
-@@ -153,6 +153,7 @@ func init() {
- }
- 
- // Flags set by multiple commands.
-+var buildS bool               // OPENSUSE -s (for packaging only)
- var buildA bool               // -a flag
- var buildN bool               // -n flag
- var buildP = runtime.NumCPU() // -p flag
-@@ -209,6 +210,8 @@ func init() {
+--- go.orig/src/cmd/go/internal/work/build.go
++++ go/src/cmd/go/internal/work/build.go
+@@ -203,6 +203,8 @@ func init() {
  // addBuildFlags adds the flags common to the build, clean, get,
  // install, list, run, and test commands.
- func addBuildFlags(cmd *Command) {
-+      // OPENSUSE
-+      cmd.Flag.BoolVar(&buildS, "s", false, "")
-       cmd.Flag.BoolVar(&buildA, "a", false, "")
-       cmd.Flag.BoolVar(&buildN, "n", false, "")
-       cmd.Flag.IntVar(&buildP, "p", buildP, "")
-@@ -1502,6 +1505,11 @@ func (b *builder) linkShared(a *action)
+ func AddBuildFlags(cmd *base.Command) {
++      // OPENSUSE                                        
++      cmd.Flag.BoolVar(&cfg.BuildS, "s", false, "")
+       cmd.Flag.BoolVar(&cfg.BuildA, "a", false, "")
+       cmd.Flag.BoolVar(&cfg.BuildN, "n", false, "")
+       cmd.Flag.IntVar(&cfg.BuildP, "p", cfg.BuildP, "")
+@@ -1571,6 +1573,11 @@ func (b *Builder) linkShared(a *Action)
  
- // install is the action for installing a single package or executable.
- func (b *builder) install(a *action) (err error) {
-+      // OPENSUSE
-+      if buildS && (a.p.Standard || a.p.ImportPath == "cmd/cgo") {
+ // BuildInstallFunc is the action for installing a single package or 
executable.
+ func BuildInstallFunc(b *Builder, a *Action) (err error) {
++      // OPENSUSE                                        
++      if cfg.BuildS && (a.Package.Standard || a.Package.ImportPath == 
"cmd/cgo") {
 +              return nil
 +      }
 +
        defer func() {
                if err != nil && err != errPrintedOutput {
-                       err = fmt.Errorf("go install %s: %v", a.p.ImportPath, 
err)
+                       err = fmt.Errorf("go install %s: %v", 
a.Package.ImportPath, err)
+Index: go/src/cmd/go/internal/cfg/cfg.go
+===================================================================
+--- go.orig/src/cmd/go/internal/cfg/cfg.go
++++ go/src/cmd/go/internal/cfg/cfg.go
+@@ -18,6 +18,7 @@ import (
+ 
+ // These are general "build flags" used by build and other commands.
+ var (
++      BuildS                 bool               // OPENSUSE -s (for packaging 
only)
+       BuildA                 bool   // -a flag
+       BuildBuildmode         string // -buildmode flag
+       BuildContext           = build.Default

++++++ go-1.5-install-dont-reinstall-stdlibs.patch ++++++
--- /var/tmp/diff_new_pack.XM4ddw/_old  2017-09-21 12:28:12.055359359 +0200
+++ /var/tmp/diff_new_pack.XM4ddw/_new  2017-09-21 12:28:12.059358797 +0200
@@ -1,7 +1,7 @@
-diff --git a/src/cmd/go/pkg.go b/src/cmd/go/pkg.go
+diff --git a/src/cmd/go/internal/load/pkg.go b/src/cmd/go/internal/load/pkg.go
 index 07aa3ff..3f4836b 100644
---- a/src/cmd/go/pkg.go
-+++ b/src/cmd/go/pkg.go
+--- a/src/cmd/go/internal/load/pkg.go
++++ b/src/cmd/go/internal/load/pkg.go
 @@ -1457,6 +1457,13 @@ func isStale(p *Package) (bool, string) {
                return false, "standard package in Go release distribution"
        }

++++++ go1.8.3.src.tar.gz -> go1.9.src.tar.gz ++++++
/work/SRC/openSUSE:Factory/go/go1.8.3.src.tar.gz 
/work/SRC/openSUSE:Factory/.go.new/go1.9.src.tar.gz differ: char 11, line 1

++++++ tools-packaging.patch ++++++
--- /var/tmp/diff_new_pack.XM4ddw/_old  2017-09-21 12:28:12.135348108 +0200
+++ /var/tmp/diff_new_pack.XM4ddw/_new  2017-09-21 12:28:12.135348108 +0200
@@ -1,19 +1,19 @@
-Index: go/src/cmd/go/pkg.go
+Index: go/src/cmd/go/internal/load/pkg.go
 ===================================================================
---- go.orig/src/cmd/go/pkg.go
-+++ go/src/cmd/go/pkg.go
-@@ -781,7 +781,13 @@ func (p *Package) load(stk *importStack,
-               if goTools[p.ImportPath] == toTool {
+--- go.orig/src/cmd/go/internal/load/pkg.go
++++ go/src/cmd/go/internal/load/pkg.go
+@@ -912,7 +912,13 @@ func (p *Package) load(stk *ImportStack,
+               if GoTools[p.ImportPath] == ToTool {
                        // This is for 'go tool'.
                        // Override all the usual logic and force it into the 
tool directory.
--                      p.target = filepath.Join(gorootPkg, "tool", full)
-+            // If GOROOT_TARGET is set, then write to it for packaging purpose
-+            gorootTarget := os.Getenv("GOROOT_TARGET")
-+            if gorootTarget == "" {
-+                      p.target = filepath.Join(gorootPkg, "tool", full)
-+            } else {
-+                      p.target = filepath.Join(gorootTarget, "pkg/tool", full)
-+            }
+-                      p.Internal.Target = filepath.Join(cfg.GOROOTpkg, 
"tool", full)
++                      // If GOROOT_TARGET is set, then write to it for 
packaging purpose                                        
++                      gorootTarget := os.Getenv("GOROOT_TARGET")
++                      if gorootTarget == "" {
++                              p.Internal.Target = 
filepath.Join(cfg.GOROOTpkg, "tool", full)
++                      } else {
++                              p.Internal.Target = filepath.Join(gorootTarget, 
"pkg/tool", full)
++                      }
                }
-               if p.target != "" && buildContext.GOOS == "windows" {
-                       p.target += ".exe"
+               if p.Internal.Target != "" && cfg.BuildContext.GOOS == 
"windows" {
+                       p.Internal.Target += ".exe"

++++++ verbose-build.patch ++++++
--- /var/tmp/diff_new_pack.XM4ddw/_old  2017-09-21 12:28:12.147346420 +0200
+++ /var/tmp/diff_new_pack.XM4ddw/_new  2017-09-21 12:28:12.151345857 +0200
@@ -2,7 +2,7 @@
 ===================================================================
 --- go.orig/src/make.bash
 +++ go/src/make.bash
-@@ -153,12 +153,12 @@ if [ "$GOHOSTARCH" != "$GOARCH" -o "$GOH
+@@ -167,7 +167,7 @@ if [ "$GOHOSTARCH" != "$GOARCH" -o "$GOH
        # CC_FOR_TARGET is recorded as the default compiler for the go tool. 
When building for the host, however,
        # use the host compiler, CC, from `cmd/dist/dist env` instead.
        CC=$CC GOOS=$GOHOSTOS GOARCH=$GOHOSTARCH \
@@ -11,9 +11,12 @@
        echo
  fi
  
- echo "##### Building packages and commands for $GOOS/$GOARCH."
+@@ -175,7 +175,7 @@ echo "##### Building packages and comman
+ 
+ old_bin_files=$(cd $GOROOT/bin && echo *)
+ 
 -CC=$CC_FOR_TARGET "$GOTOOLDIR"/go_bootstrap install $GO_FLAGS -gcflags 
"$GO_GCFLAGS" -ldflags "$GO_LDFLAGS" -v std cmd
 +CC=$CC_FOR_TARGET "$GOTOOLDIR"/go_bootstrap install $GO_FLAGS -gcflags 
"$GO_GCFLAGS" -ldflags "$GO_LDFLAGS" -v -x std cmd
- echo
  
- rm -f "$GOTOOLDIR"/go_bootstrap
+ # Check that there are no new files in $GOROOT/bin other than go and gofmt
+ # and $GOOS_$GOARCH (a directory used when cross-compiling).


Reply via email to