Hello community, here is the log from the commit of package go for openSUSE:Factory checked in at 2016-02-22 08:58:06 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Comparing /work/SRC/openSUSE:Factory/go (Old) and /work/SRC/openSUSE:Factory/.go.new (New) ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Package is "go" Changes: -------- --- /work/SRC/openSUSE:Factory/go/go.changes 2016-02-18 12:36:54.000000000 +0100 +++ /work/SRC/openSUSE:Factory/.go.new/go.changes 2016-02-22 08:58:18.000000000 +0100 @@ -1,0 +2,17 @@ +Fri Feb 19 09:27:32 UTC 2016 - jmassaguer...@suse.com + +- Update to version 1.6 + + * On Linux on little-endian 64-bit PowerPC (linux/ppc64le), Go 1.6 now supports cgo with external linking and is roughly feature complete. + * Vendoring support + * HTTP2 transparent support + * fix gc and gccgo incompatibility regarding embedded unexported struct types containing exported fields + * Linux on 64-bit MIPS and Android on 32-bit x86 + * enforced rules for sharing Go pointers with C + * new mechanism for template reuse + * performance improvements + ... and more! + + see more in https://tip.golang.org/doc/go1.6 + +------------------------------------------------------------------- Old: ---- go1.5.3.src.tar.gz New: ---- go1.6.src.tar.gz ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Other differences: ------------------ ++++++ go.spec ++++++ --- /var/tmp/diff_new_pack.K4wojR/_old 2016-02-22 08:58:19.000000000 +0100 +++ /var/tmp/diff_new_pack.K4wojR/_new 2016-02-22 08:58:19.000000000 +0100 @@ -26,9 +26,9 @@ %endif %endif -%define go_api 1.5 +%define go_api 1.6 Name: go -Version: 1.5.3 +Version: 1.6 Release: 0 Summary: A compiled, garbage-collected, concurrent programming language License: BSD-3-Clause ++++++ allow-binary-only-packages.patch ++++++ --- /var/tmp/diff_new_pack.K4wojR/_old 2016-02-22 08:58:20.000000000 +0100 +++ /var/tmp/diff_new_pack.K4wojR/_new 2016-02-22 08:58:20.000000000 +0100 @@ -1,13 +1,13 @@ -Index: go/src/cmd/go/pkg.go -=================================================================== ---- go.orig/src/cmd/go/pkg.go -+++ go/src/cmd/go/pkg.go -@@ -341,7 +341,7 @@ func loadImport(path, srcDir string, par - // - // TODO: After Go 1, decide when to pass build.AllowBinary here. - // See issue 3268 for mistakes to avoid. -- bp, err := buildContext.Import(path, srcDir, build.ImportComment) -+ bp, err := buildContext.Import(path, srcDir, build.AllowBinary | build.ImportComment) - - // If we got an error from go/build about package not found, - // it contains the directories from $GOROOT and $GOPATH that +diff --git a/src/cmd/go/pkg.go b/src/cmd/go/pkg.go +index 0c0cf07..4c0e450 100644 +--- a/src/cmd/go/pkg.go ++++ b/src/cmd/go/pkg.go +@@ -365,7 +365,7 @@ func loadImport(path, srcDir string, parent *Package, stk *importStack, importPo + // 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.ImportPath = importPath + if gobin != "" { + bp.BinDir = gobin ++++++ armv6l.patch ++++++ --- /var/tmp/diff_new_pack.K4wojR/_old 2016-02-22 08:58:20.000000000 +0100 +++ /var/tmp/diff_new_pack.K4wojR/_new 2016-02-22 08:58:20.000000000 +0100 @@ -1,5 +1,5 @@ ---- a/src/runtime/os2_linux.go -+++ b/src/runtime/os2_linux.go +--- a/src/runtime/os2_linux_generic.go ++++ b/src/runtime/os2_linux_generic.go @@ -6,7 +6,7 @@ const ( ++++++ fix_certificates_lookup.patch ++++++ --- /var/tmp/diff_new_pack.K4wojR/_old 2016-02-22 08:58:20.000000000 +0100 +++ /var/tmp/diff_new_pack.K4wojR/_new 2016-02-22 08:58:20.000000000 +0100 @@ -1,22 +1,8 @@ -Index: go/src/crypto/x509/root_linux.go -=================================================================== ---- go.orig/src/crypto/x509/root_linux.go -+++ go/src/crypto/x509/root_linux.go -@@ -6,8 +6,5 @@ package x509 - - // Possible certificate files; stop after finding one. - var certFiles = []string{ -- "/etc/ssl/certs/ca-certificates.crt", // Debian/Ubuntu/Gentoo etc. -- "/etc/pki/tls/certs/ca-bundle.crt", // Fedora/RHEL -- "/etc/ssl/ca-bundle.pem", // OpenSUSE -- "/etc/pki/tls/cacert.pem", // OpenELEC -+ "/etc/ssl/ca-bundle.pem", // openSUSE and SLE12+ - } -Index: go/src/crypto/x509/root_unix.go -=================================================================== ---- go.orig/src/crypto/x509/root_unix.go -+++ go/src/crypto/x509/root_unix.go -@@ -6,12 +6,15 @@ +diff --git a/src/crypto/x509/root_unix.go b/src/crypto/x509/root_unix.go +index 9f06f9d..b3b2bb8 100644 +--- a/src/crypto/x509/root_unix.go ++++ b/src/crypto/x509/root_unix.go +@@ -6,13 +6,15 @@ package x509 @@ -29,12 +15,13 @@ // Possible directories with certificate files; stop after successfully // reading at least one file from a directory. var certDirectories = []string{ +- "/etc/ssl/certs", // SLES10/SLES11, https://golang.org/issue/12139 - "/system/etc/security/cacerts", // Android -+ "/etc/ssl/certs", // SLE11 ++ "/etc/ssl/certs", // SLES10/SLES11, https://golang.org/issue/12139 } func (c *Certificate) systemVerify(opts *VerifyOptions) (chains [][]*Certificate, err error) { -@@ -29,22 +32,26 @@ func initSystemRoots() { +@@ -30,22 +32,26 @@ func initSystemRoots() { } } ++++++ gcc5-go.patch ++++++ --- /var/tmp/diff_new_pack.K4wojR/_old 2016-02-22 08:58:20.000000000 +0100 +++ /var/tmp/diff_new_pack.K4wojR/_new 2016-02-22 08:58:20.000000000 +0100 @@ -1,15 +1,20 @@ -Index: go/src/make.bash -=================================================================== ---- go.orig/src/make.bash -+++ go/src/make.bash -@@ -113,12 +113,12 @@ echo '##### Building Go bootstrap tool.' +diff --git a/src/make.bash b/src/make.bash +index 2531ca4..12f1aa1 100755 +--- a/src/make.bash ++++ b/src/make.bash +@@ -112,8 +112,8 @@ echo '##### Building Go bootstrap tool.' echo cmd/dist export GOROOT="$(cd .. && pwd)" GOROOT_BOOTSTRAP=${GOROOT_BOOTSTRAP:-$HOME/go1.4} -if [ ! -x "$GOROOT_BOOTSTRAP/bin/go" ]; then +- echo "ERROR: Cannot find $GOROOT_BOOTSTRAP/bin/go." >&2 +if [ ! -x "$GOROOT_BOOTSTRAP/bin/go-5" ]; then - echo "ERROR: Cannot find $GOROOT_BOOTSTRAP/bin/go." >&2 ++ echo "ERROR: Cannot find $GOROOT_BOOTSTRAP/bin/go-5." >&2 echo "Set \$GOROOT_BOOTSTRAP to a working Go tree >= Go 1.4." >&2 + exit 1 + fi +@@ -123,7 +123,7 @@ if [ "$GOROOT_BOOTSTRAP" == "$GOROOT" ]; then + exit 1 fi rm -f cmd/dist/dist -GOROOT="$GOROOT_BOOTSTRAP" GOOS="" GOARCH="" "$GOROOT_BOOTSTRAP/bin/go" build -o cmd/dist/dist ./cmd/dist @@ -17,11 +22,32 @@ # -e doesn't propagate out of eval, so check success by hand. eval $(./cmd/dist/dist env -p || echo FAIL=true) -Index: go/src/cmd/dist/buildtool.go -=================================================================== ---- go.orig/src/cmd/dist/buildtool.go -+++ go/src/cmd/dist/buildtool.go -@@ -108,7 +108,7 @@ func bootstrapBuildTools() { +diff --git a/src/make.rc b/src/make.rc +index 6016204..2223092 100755 +--- a/src/make.rc ++++ b/src/make.rc +@@ -46,13 +46,13 @@ echo cmd/dist + GOROOT = `{cd .. && pwd} + if(! ~ $#GOROOT_BOOTSTRAP 1) + GOROOT_BOOTSTRAP = $home/go1.4 +-if(! test -x $GOROOT_BOOTSTRAP/bin/go){ +- echo 'ERROR: Cannot find '$GOROOT_BOOTSTRAP'/bin/go.' >[1=2] ++if(! test -x $GOROOT_BOOTSTRAP/bin/go-5){ ++ echo 'ERROR: Cannot find '$GOROOT_BOOTSTRAP'/bin/go-5.' >[1=2] + echo 'Set $GOROOT_BOOTSTRAP to a working Go tree >= Go 1.4.' >[1=2] + exit bootstrap + } + rm -f cmd/dist/dist +-GOROOT=$GOROOT_BOOTSTRAP GOOS='' GOARCH='' $GOROOT_BOOTSTRAP/bin/go build -o cmd/dist/dist ./cmd/dist ++GOROOT=$GOROOT_BOOTSTRAP GOOS='' GOARCH='' $GOROOT_BOOTSTRAP/bin/go-5 build -o cmd/dist/dist ./cmd/dist + + eval `{./cmd/dist/dist env -9} + echo +diff --git a/src/cmd/dist/buildtool.go b/src/cmd/dist/buildtool.go +index 20d9535..26cfb20 100644 +--- a/src/cmd/dist/buildtool.go ++++ b/src/cmd/dist/buildtool.go +@@ -111,7 +111,7 @@ func bootstrapBuildTools() { os.Setenv("GOHOSTARCH", "") // Run Go 1.4 to build binaries. ++++++ go1.5.3.src.tar.gz -> go1.6.src.tar.gz ++++++ /work/SRC/openSUSE:Factory/go/go1.5.3.src.tar.gz /work/SRC/openSUSE:Factory/.go.new/go1.6.src.tar.gz differ: char 12, line 1