commit go for openSUSE:Factory

Hello community, here is the log from the commit of package go for openSUSE:Factory checked in at 2017-07-30 11:25:53 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Comparing /work/SRC/openSUSE:Factory/go (Old) and /work/SRC/openSUSE:Factory/.go.new (New) ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Package is "go" Sun Jul 30 11:25:53 2017 rev:77 rq:512221 version:1.8.3 Changes: -------- --- /work/SRC/openSUSE:Factory/go/go.changes 2017-06-30 18:38:32.418384479 +0200 +++ /work/SRC/openSUSE:Factory/.go.new/go.changes 2017-07-30 11:26:31.652612229 +0200 @@ -1,0 +2,20 @@ +Fri Jul 21 18:51:29 UTC 2017 - jmassaguerpla@suse.com + +- Remove ruby requirement. golang-macros are not ruby anymore, plus + this requirement should have been in the golang-packaging package + +------------------------------------------------------------------- +Fri Jul 7 10:44:28 UTC 2017 - jmassaguerpla@suse.com + +- Simplify all the "ifdef suse_version" by removing versions which + have reach eol (13.* 42.1 sle11*) + +------------------------------------------------------------------- +Thu Jul 6 15:18:14 UTC 2017 - jmassaguerpla@suse.com + +- Add gcc6-go.patch for sle12 and leap42.x and use binutils-gold + except for s390x/s390 + Remove gcc5-go.patch cause we use gcc6 for sle12 and leap42.x and + gcc7 for newer versions (factory) + +------------------------------------------------------------------- @@ -25,0 +46,5 @@ +------------------------------------------------------------------- +Thu May 11 13:09:03 UTC 2017 - agraf@suse.com + + +- Enable gccgo with gcc-6 for SLE12 Old: ---- gcc5-go.patch New: ---- gcc6-go.patch ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Other differences: ------------------ ++++++ go.spec ++++++ --- /var/tmp/diff_new_pack.ir1SSJ/_old 2017-07-30 11:26:32.588480172 +0200 +++ /var/tmp/diff_new_pack.ir1SSJ/_new 2017-07-30 11:26:32.596479043 +0200 @@ -96,43 +96,37 @@ # PATCH-FIX-SUSE fix_certificates_lookup.patch fcastelli@suse.com -- 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 marguerite@opensuse.org - find /usr/bin/go-5 when bootstrapping with gcc5-go -Patch8: gcc5-go.patch +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 BuildRoot: %{_tmppath}/%{name}-%{version}-build # boostrap %if %{with_gccgo} -%ifarch aarch64 +%ifnarch s390 s390x BuildRequires: binutils-gold %endif -%if 0%{?suse_version} > 1320 -BuildRequires: gcc7-go +%if 0%{?suse_version} == 1315 +# SLE12 or Leap 42.x +BuildRequires: gcc6-go %else -BuildRequires: gcc5-go +BuildRequires: gcc7-go %endif %else +# no gcc-go BuildRequires: go1.4 %endif -%if 0%{?suse_version} >= 1210 -BuildRequires: systemd -%endif -%if 0%{?suse_version} >= 1100 BuildRequires: fdupes +BuildRequires: systemd Recommends: go-doc = %{version} #BNC#818502 debug edit tool of rpm fails on i586 builds -%if 0%{?suse_version} > 1230 -BuildRequires: rpm >= 4.11.1 -%endif -%endif BuildRequires: bc +BuildRequires: rpm >= 4.11.1 # for go.gdbinit, directory ownership BuildRequires: gdb Requires(post): update-alternatives Requires(postun): update-alternatives Requires: gcc -# for golang-macros.rb -Requires: ruby Provides: go = %{version} Provides: go-devel = go%{version} Provides: go-devel-static = go%{version} @@ -171,10 +165,11 @@ %endif %patch7 -p1 %if %{with_gccgo} -%if 0%{?suse_version} > 1320 -%patch9 -p1 -%else +%if 0%{?suse_version} == 1315 +# SLE12 or Leap 42.x %patch8 -p1 +%else +%patch9 -p1 %endif %endif %patch10 -p1 @@ -288,9 +283,7 @@ cp -r AUTHORS CONTRIBUTORS CONTRIBUTING.md LICENSE PATENTS README.md README.SUSE %{buildroot}%{_docdir}/go/%{go_api} cp -r doc/* %{buildroot}%{_docdir}/go/%{go_api} -%if 0%{?suse_version} >= 1100 %fdupes -s %{buildroot}%{_prefix} -%endif %post ++++++ gcc5-go.patch -> gcc6-go.patch ++++++ --- /work/SRC/openSUSE:Factory/go/gcc5-go.patch 2017-06-09 15:55:35.539040336 +0200 +++ /work/SRC/openSUSE:Factory/.go.new/gcc6-go.patch 2017-07-30 11:26:31.500633674 +0200 @@ -1,5 +1,5 @@ diff --git a/src/cmd/dist/buildtool.go b/src/cmd/dist/buildtool.go -index b0b9b2579d..1647935a2b 100644 +index b0b9b25..4a0b3fb 100644 --- a/src/cmd/dist/buildtool.go +++ b/src/cmd/dist/buildtool.go @@ -143,7 +143,7 @@ func bootstrapBuildTools() { @@ -7,12 +7,12 @@ // 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-5", 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 84aaab56db..f794d4131c 100755 +index 84aaab5..628b93e 100755 --- a/src/make.bash +++ b/src/make.bash @@ -41,7 +41,7 @@ @@ -30,8 +30,8 @@ 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-5." >&2 ++if [ ! -x "$GOROOT_BOOTSTRAP/bin/go-6" ]; then ++ echo "ERROR: Cannot find $GOROOT_BOOTSTRAP/bin/go-6." >&2 echo "Set \$GOROOT_BOOTSTRAP to a working Go tree >= Go 1.4." >&2 exit 1 fi @@ -40,12 +40,12 @@ fi 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 ++GOROOT="$GOROOT_BOOTSTRAP" GOOS="" GOARCH="" "$GOROOT_BOOTSTRAP/bin/go-6" build -o cmd/dist/dist ./cmd/dist # -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..05c33a6f6d 100755 +index ba3554c..6d40673 100755 --- a/src/make.rc +++ b/src/make.rc @@ -46,13 +46,13 @@ echo cmd/dist @@ -54,14 +54,14 @@ 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] ++if(! test -x $GOROOT_BOOTSTRAP/bin/go-6){ ++ echo 'ERROR: Cannot find '$GOROOT_BOOTSTRAP'/bin/go-6.' >[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 ++GOROOT=$GOROOT_BOOTSTRAP GOOS='' GOARCH='' $GOROOT_BOOTSTRAP/bin/go-6 build -o cmd/dist/dist ./cmd/dist eval `{./cmd/dist/dist env -9} echo
participants (1)
-
root@hilbert.suse.de