Hello community, here is the log from the commit of package go for openSUSE:Factory checked in at 2015-04-15 16:27:43 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ 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 2015-03-23 12:17:48.000000000 +0100 +++ /work/SRC/openSUSE:Factory/.go.new/go.changes 2015-04-15 16:27:44.000000000 +0200 @@ -1,0 +2,19 @@ +Wed Apr 8 09:00:41 UTC 2015 - [email protected] + +- Fix building of all the Go packages under devel:languages:go. The + %goprep macro contained some unescaped lines, causing go install to + attempt the installation of the build artifacts outside of the + buildroot. + +------------------------------------------------------------------- +Mon Mar 30 15:18:44 UTC 2015 - [email protected] + +- disable debuginfo/debug package creation on all golang packages + * .a files in golang doesn't contain debuginfo right now, + so extract a debug package will cause + "Failed to write file: invalid section alignment" + and we don't need to bother stripping them. + * we can't depend on good luck for all golang packages, hoping + they'll pass the build and not randomly fail. + +------------------------------------------------------------------- ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Other differences: ------------------ ++++++ macros.go ++++++ --- /var/tmp/diff_new_pack.GiRMxN/_old 2015-04-15 16:27:45.000000000 +0200 +++ /var/tmp/diff_new_pack.GiRMxN/_new 2015-04-15 16:27:45.000000000 +0200 @@ -2,7 +2,7 @@ # # Copyright: (c) 2011 Sascha Peilicke <[email protected]> # Copyright: (c) 2012 Graham Anderson <[email protected]> -# Copyright: (c) 2013 SUSE Linux Products GmbH +# Copyright: (c) 2015 SUSE Linux GmbH # %go_ver %(LC_ALL=C rpm -q --qf '%%{epoch}:%%{version}\\n' go | sed -e 's/(none)://' -e 's/ 0:/ /' | grep -v "is not") @@ -36,6 +36,12 @@ # We need a $GOPATH: go help gopath # We need a valid importpath: go help packages %goprep() \ +# *.a files in golang doesn't contain debuginfo right now, \ +# so extract a debug package will cause \ +# "Failed to write file: invalid section alignment" \ +# and we don't need to bother stripping them. \ +%global debug_package %{nil} \ +%global __strip /bin/true \ export GOPATH=%{_builddir}/go \ if [ %# -eq 0 ]; then \ echo "goprep: please specify a valid importpath, see: go help packages" \
