Hello community, here is the log from the commit of package go for openSUSE:Factory checked in at 2013-07-18 17:31:19 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ 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 2013-03-30 14:56:25.000000000 +0100 +++ /work/SRC/openSUSE:Factory/.go.new/go.changes 2013-07-18 17:31:21.000000000 +0200 @@ -1,0 +2,52 @@ +Wed Jul 10 12:33:34 UTC 2013 - [email protected] + +- Fix godoc path locations patch + +------------------------------------------------------------------- +Thu Jun 13 08:37:25 UTC 2013 - [email protected] + +- Update to Go 1.1.1 +- cmd/gc: compute initialization order for top-level blank vars +- cmd/gc: save local var list before inlining +- cmd/gc: fix missing slice/array types in export data. +- runtime: fix heap corruption during GC +- runtime: zeroize g->fnstart to not prevent GC of the closure. +- cmd/gc: repair make(T) in export data for inlining.i +- runtime: fix GC scanning of slices +- cmd/gc: do not corrupt init() with initializers of _ in closures. +- runtime: introduce cnewarray() to simplify allocation of typed + arrays. + +------------------------------------------------------------------- +Tue May 14 09:03:19 UTC 2013 - [email protected] + +- Package changes + - macros.go: update go version macro to cut trailing characters + added by new style of "go version" identifier string + - Update openSUSE specific patches to cleanly apply against Go 1.1 + +- Update package source and version to Go 1.1 +- Full release notes for Go 1.1 can be found online here: + http://golang.org/doc/go1.1 +- There are too many bug fixes to list individually; details of all + bugs fixed can be found on the issue tracker tagged with Go1.1 + http://code.google.com/p/go/issues/list?can=1&q=label%3AGo1.1 +- Language changes which may affect your existing programmes + - Integer division by zero: http://golang.org/doc/go1.1#divzero + - Surrogates in unicode literals: http://golang.org/doc/go1.1#unicode_literals + - Method values: http://golang.org/doc/go1.1#method_values + - Return requirements: http://golang.org/doc/go1.1#return + +- The majority of improvements in this release are performance related + with optimizations in the compiler and linker, garbage collection, + goroutine scheduler, map/hashmap implementation and numerous speedups + in the standard library. Please see the full release notes for details. + +- One noteworthy addition to the toolchain is the addition of a race + detector. This should help improve the memory safety and accuracy of + your concurrent Go programmes. Race detection versions of the standard + library are included in this package update. You can find instructions + for building librarys and programmes with race detection in the manual: + http://golang.org/doc/articles/race_detector.html + +------------------------------------------------------------------- Old: ---- go1.0.3.src.tar.gz New: ---- go1.1.1.src.tar.gz ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Other differences: ------------------ ++++++ go.spec ++++++ --- /var/tmp/diff_new_pack.xg8zMK/_old 2013-07-18 17:31:22.000000000 +0200 +++ /var/tmp/diff_new_pack.xg8zMK/_new 2013-07-18 17:31:22.000000000 +0200 @@ -18,12 +18,11 @@ Name: go -Version: 1.0.3 +Version: 1.1.1 Release: 0 Summary: A compiled, garbage-collected, concurrent programming language License: BSD-3-Clause -Group: Development/Languages/Other -Url: http://golang.org +Group: Development/Languages/OthUrl: http://golang.org Source0: http://go.googlecode.com/files/go%{version}.src.tar.gz Source1: rpmlintrc Source2: go.sh @@ -38,11 +37,14 @@ # PATCH-FIX-OPENSUSE re-enable build binary only packages (we are binary distro) # see http://code.google.com/p/go/issues/detail?id=2775 & also issue 3268 Patch4: allow-binary-only-packages.patch +#PATCH-FIX-OPENSUSE use -x verbose build output for qemu-arm builders Patch5: verbose-build.patch # PATCH-FIX-OPENSUSE BNC#776058 Patch6: go-install-dont-reinstall-stdlibs.patch BuildRoot: %{_tmppath}/%{name}-%{version}-build +BuildRequires: rpm %if 0%{?suse_version} >= 1210 +BuildRequires: mercurial BuildRequires: systemd %endif %if 0%{?suse_version} >= 1100 @@ -58,11 +60,6 @@ %systemd_requires %endif -# fc pukes on the debug info in the command binaries -%if 0%{?fedora} -%define debug_package %{nil} -%endif - %description Go is an expressive, concurrent, garbage collected systems programming language that is type safe and memory safe. It has pointers but no pointer arithmetic. @@ -124,18 +121,24 @@ export GOBIN="$GOROOT/bin" mkdir -p "$GOBIN" cd src -export GDB_PRINTER="%{gdb_printer}" HOST_EXTRA_CFLAGS="%{optflags} -Wno-error" ./make.bash +%ifarch x86_64 +# Install race detection version of std libraries (amd64 only) +cd ../ +bin/go install -race std +%endif + %install export GOROOT="%{buildroot}%{_libdir}/%{name}" -install -Dm644 misc/bash/go %{buildroot}%{_sysconfdir}/bash_completion.d/go +# bash completion seems broken +#install -Dm644 misc/bash/go %%{buildroot}%%{_sysconfdir}/bash_completion.d/go.sh install -Dm644 %{SOURCE2} %{buildroot}%{_sysconfdir}/profile.d/go.sh install -Dm644 misc/emacs/go-mode-load.el %{buildroot}%{_datadir}/emacs/site-lisp/go-mode-load.el install -Dm644 misc/emacs/go-mode.el %{buildroot}%{_datadir}/emacs/site-lisp/go-mode.el install -Dm644 misc/vim/autoload/go/complete.vim %{buildroot}%{_datadir}/vim/site/autoload/go/complete.vim install -d %{buildroot}%{_datadir}/vim/site/ftplugin/go -install -Dm644 misc/vim/ftplugin/go/{fmt,godoc,import}.vim %{buildroot}%{_datadir}/vim/site/ftplugin/go/ +install -Dm644 misc/vim/ftplugin/go/{fmt,import}.vim %{buildroot}%{_datadir}/vim/site/ftplugin/go/ install -Dm644 misc/vim/indent/go.vim %{buildroot}%{_datadir}/vim/site/indent/go.vim install -Dm644 misc/vim/plugin/godoc.vim %{buildroot}%{_datadir}/vim/site/plugin/godoc.vim install -Dm644 misc/vim/syntax/godoc.vim %{buildroot}%{_datadir}/vim/site/syntax/godoc.vim @@ -231,7 +234,8 @@ %{_datadir}/go/ %{_bindir}/go* %{_libdir}/go/ -%config %{_sysconfdir}/bash_completion.d/go +# bash completion seems broken +#%%config %{_sysconfdir}/bash_completion.d/go.sh %config %{_sysconfdir}/profile.d/go.sh %config %{_sysconfdir}/rpm/macros.go %if 0%{?suse_version} >= 1210 || 0%{?fedora} >= 16 ++++++ go1.0.3.src.tar.gz -> go1.1.1.src.tar.gz ++++++ /work/SRC/openSUSE:Factory/go/go1.0.3.src.tar.gz /work/SRC/openSUSE:Factory/.go.new/go1.1.1.src.tar.gz differ: char 15, line 1 ++++++ godoc-path-locations.patch ++++++ --- /var/tmp/diff_new_pack.xg8zMK/_old 2013-07-18 17:31:22.000000000 +0200 +++ /var/tmp/diff_new_pack.xg8zMK/_new 2013-07-18 17:31:22.000000000 +0200 @@ -1,9 +1,9 @@ diff --git a/src/cmd/godoc/godoc.go b/src/cmd/godoc/godoc.go -index f6dc678..0fa85bc 100644 +index 26b0b97..580d8f7 100644 --- a/src/cmd/godoc/godoc.go +++ b/src/cmd/godoc/godoc.go -@@ -82,7 +82,35 @@ var ( - pkgHandler docServer +@@ -89,8 +89,19 @@ var ( + notes = flag.String("notes", "BUG", "regular expression matching note markers to show") ) +const ( @@ -13,28 +13,12 @@ +) + func initHandlers() { + fileServer = http.FileServer(&httpFS{fs}) ++ + // OPENSUSE: Bind godoc & source location + fs.Bind("/doc", OS(SUSE_DOC_DIR), "/doc", bindReplace) + fs.Bind("/src", OS(SUSE_SRC_DIR), "/src", bindBefore) + -+ d, err := os.Open(SUSE_CONTRIB_SRC_DIR) -+ if err != nil { -+ log.Fatalf("cannot read Go contrib source dir:", err) -+ } -+ if files, err := d.Readdir(0); err == nil { -+ for _, file := range files { -+ if file.IsDir() { -+ path := SUSE_CONTRIB_SRC_DIR + file.Name() -+ if *pkgPath != "" { -+ *pkgPath += ":" -+ } -+ *pkgPath += path -+ } -+ } -+ } else { -+ log.Fatal(err) -+ } -+ - // Add named directories in -path argument as - // subdirectories of src/pkg. - for _, p := range filepath.SplitList(*pkgPath) { + cmdHandler = docServer{"/cmd/", "/src/cmd"} + pkgHandler = docServer{"/pkg/", "/src/pkg"} + } ++++++ macros.go ++++++ --- /var/tmp/diff_new_pack.xg8zMK/_old 2013-07-18 17:31:22.000000000 +0200 +++ /var/tmp/diff_new_pack.xg8zMK/_new 2013-07-18 17:31:22.000000000 +0200 @@ -6,7 +6,7 @@ %go_ver %(LC_ALL=C rpm -q --qf '%%{epoch}:%%{version}\\n' go | sed -e 's/ (none):/ /' -e 's/ 0:/ /' | grep -v "is not") %go_arch GOARCH -%go_build_ver %(go version | sed 's/^go version //' | tr -d ' ') +%go_build_ver %(go version | sed 's/^go version //' | sed 's:\/::g' | tr -d ' ' | cut -c 1-7 ) %go_dir %{_libdir}/go %go_sitedir %{_libdir}/go/pkg ++++++ verbose-build.patch ++++++ --- /var/tmp/diff_new_pack.xg8zMK/_old 2013-07-18 17:31:22.000000000 +0200 +++ /var/tmp/diff_new_pack.xg8zMK/_new 2013-07-18 17:31:22.000000000 +0200 @@ -1,11 +1,19 @@ ---- go/src/make.bash.orig 2012-05-29 18:30:57.734377736 +0200 -+++ go/src/make.bash 2012-05-29 18:30:59.922377826 +0200 -@@ -127,7 +127,7 @@ +diff --git a/src/make.bash b/src/make.bash +index 8d0f6eb..905ec04 100755 +--- a/src/make.bash ++++ b/src/make.bash +@@ -140,12 +140,12 @@ echo + if [ "$GOHOSTARCH" != "$GOARCH" -o "$GOHOSTOS" != "$GOOS" ]; then + echo "# Building packages and commands for host, $GOHOSTOS/$GOHOSTARCH." + GOOS=$GOHOSTOS GOARCH=$GOHOSTARCH \ +- "$GOTOOLDIR"/go_bootstrap install -ccflags "$GO_CCFLAGS" -gcflags "$GO_GCFLAGS" -ldflags "$GO_LDFLAGS" -v std ++ "$GOTOOLDIR"/go_bootstrap install -ccflags "$GO_CCFLAGS" -gcflags "$GO_GCFLAGS" -ldflags "$GO_LDFLAGS" -v -x std + echo fi echo "# Building packages and commands for $GOOS/$GOARCH." --"$GOTOOLDIR"/go_bootstrap install -gcflags "$GO_GCFLAGS" -ldflags "$GO_LDFLAGS" -v std -+"$GOTOOLDIR"/go_bootstrap install -gcflags "$GO_GCFLAGS" -ldflags "$GO_LDFLAGS" -v -x std +-"$GOTOOLDIR"/go_bootstrap install $GO_FLAGS -ccflags "$GO_CCFLAGS" -gcflags "$GO_GCFLAGS" -ldflags "$GO_LDFLAGS" -v std ++"$GOTOOLDIR"/go_bootstrap install $GO_FLAGS -ccflags "$GO_CCFLAGS" -gcflags "$GO_GCFLAGS" -ldflags "$GO_LDFLAGS" -v -x std echo rm -f "$GOTOOLDIR"/go_bootstrap -- To unsubscribe, e-mail: [email protected] For additional commands, e-mail: [email protected]
