Hello community, here is the log from the commit of package go1.13 for openSUSE:Factory checked in at 2020-06-11 14:44:21 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Comparing /work/SRC/openSUSE:Factory/go1.13 (Old) and /work/SRC/openSUSE:Factory/.go1.13.new.3606 (New) ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Package is "go1.13" Thu Jun 11 14:44:21 2020 rev:9 rq:813286 version:1.13.11 Changes: -------- --- /work/SRC/openSUSE:Factory/go1.13/go1.13.changes 2020-05-16 22:24:32.509052396 +0200 +++ /work/SRC/openSUSE:Factory/.go1.13.new.3606/go1.13.changes 2020-06-11 14:44:48.301400510 +0200 @@ -1,0 +2,11 @@ +Mon Jun 8 08:22:07 UTC 2020 - Guillaume GARDET <guillaume.gar...@opensuse.org> + +- Ensure ARM arch is set properly - boo#1169832 + +------------------------------------------------------------------- +Sat Jun 6 01:46:13 UTC 2020 - Aleksa Sarai <asa...@suse.com> + +- Document (and clean up) LLVM snapshotting for go-race. +- Update _service to no longer fetch Go from git. + +------------------------------------------------------------------- ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Other differences: ------------------ ++++++ go1.13.spec ++++++ --- /var/tmp/diff_new_pack.3ybYxc/_old 2020-06-11 14:44:49.373403633 +0200 +++ /var/tmp/diff_new_pack.3ybYxc/_new 2020-06-11 14:44:49.377403645 +0200 @@ -65,14 +65,16 @@ #!BuildIgnore: gcc-PIE %endif -# By default we don't include tsan. It's only supported on amd64. +# Build go-race only on platforms where it's supported (only amd64 for now). %define tsan_arch x86_64 # Go has precompiled versions of LLVM's compiler-rt inside their source code. # We cannot ship pre-compiled binaries so we have to recompile said source, # however they vendor specific commits from upstream. This value comes from # src/runtime/race/README (and we verify that it matches in check). -# See boo#1052528 for more details. +# +# In order to update the TSAN version, modify _service. See boo#1052528 for +# more details. %define tsan_commit fe2c72c59aa7f4afa45e3f65a5d16a374b6cce26 %define go_api 1.13 @@ -237,10 +239,11 @@ # First, compile LLVM's TSAN, and replace the built-in with it. We can only do # this for amd64. %ifarch %{tsan_arch} -pushd ../compiler-rt*/lib/tsan/go +TSAN_DIR="../compiler-rt-g%{tsan_commit}/lib/tsan/go" +pushd "$TSAN_DIR" ./buildgo.sh popd -cp ../compiler-rt*/lib/tsan/go/race_linux_%{go_arch}.syso src/runtime/race/race_linux_%{go_arch}.syso +cp -v "$TSAN_DIR/race_linux_%{go_arch}.syso" src/runtime/race/ %endif # Now, compile Go. @@ -249,6 +252,15 @@ %else export GOROOT_BOOTSTRAP=%{_libdir}/%{go_bootstrap_version} %endif +# Ensure ARM arch is set properly - boo#1169832 +%ifarch armv6l armv6hl +export GOARCH=arm +export GOARM=6 +%endif +%ifarch armv7l armv7hl +export GOARCH=arm +export GOARM=7 +%endif export GOROOT="`pwd`" export GOROOT_FINAL=%{_libdir}/go/%{go_api} export GOBIN="$GOROOT/bin" @@ -269,7 +281,7 @@ %check %ifarch %{tsan_arch} # Make sure that we have the right TSAN checked out. -grep "%{tsan_commit}" src/runtime/race/README +grep "^race_linux_%{go_arch}.syso built with LLVM %{tsan_commit}" src/runtime/race/README %endif %install ++++++ _service ++++++ --- /var/tmp/diff_new_pack.3ybYxc/_old 2020-06-11 14:44:49.449403855 +0200 +++ /var/tmp/diff_new_pack.3ybYxc/_new 2020-06-11 14:44:49.449403855 +0200 @@ -1,20 +1,5 @@ <services> <service name="tar_scm" mode="disabled"> - <param name="url">https://github.com/golang/go</param> - <param name="scm">git</param> - <param name="exclude">.git</param> - <param name="versionformat">1.13+git%cd.%h</param> - <param name="revision">master</param> - <param name="changesgenerate">enable</param> - </service> - <service name="recompress" mode="disabled"> - <param name="file">go-*.tar</param> - <param name="compression">xz</param> - </service> - <service name="set_version" mode="disabled"> - <param name="basename">go</param> - </service> - <service name="tar_scm" mode="disabled"> <param name="url">https://git.llvm.org/git/compiler-rt.git</param> <param name="scm">git</param> <param name="exclude">.git</param> @@ -22,9 +7,6 @@ <param name="versionformat">g%H</param> <param name="revision">fe2c72c59aa7f4afa45e3f65a5d16a374b6cce26</param> </service> - <service name="download_files" mode="disabled"> - <param name="changesgenerate">enable</param> - </service> <service name="recompress" mode="disabled"> <param name="file">compiler-rt-*.tar</param> <param name="compression">xz</param> ++++++ compiler-rt-gfe2c72c59aa7f4afa45e3f65a5d16a374b6cce26.tar.xz ++++++