Accepting request 439834 from home:cyphar:branches:devel:languages:go

Finally fix this issue.

- Disable stripping to fix __.PKGDEF issues. bsc#964546
  There is an upstream issue about it as well, with a patch which will
  hopefully make Go more resilient to this issue.

OBS-URL: https://build.opensuse.org/request/show/439834
OBS-URL: https://build.opensuse.org/package/show/devel:languages:go/go?expand=0&rev=273
This commit is contained in:
Jordi Massaguer 2016-11-11 09:09:52 +00:00 committed by Git OBS Bridge
parent 7d8b641f97
commit f6ca88e30c
2 changed files with 21 additions and 6 deletions

View File

@ -1,7 +1,15 @@
-------------------------------------------------------------------
Fri Nov 11 04:22:29 UTC 2016 - asarai@suse.com
- Disable stripping to fix __.PKGDEF issues. bsc#964546
There is an upstream issue about it as well, with a patch which will
hopefully make Go more resilient to this issue.
https://github.com/golang/go/issues/17890
-------------------------------------------------------------------
Thu Nov 3 16:17:51 UTC 2016 - jmassaguerpla@suse.com
- Make sure we build go using gcc-go in Factory cause there is no go1.4
- Make sure we build go using gcc-go in Factory cause there is no go1.4
-------------------------------------------------------------------
Mon Sep 26 14:29:33 UTC 2016 - jmassaguerpla@suse.com
@ -17,11 +25,11 @@ Mon Sep 26 14:29:33 UTC 2016 - jmassaguerpla@suse.com
promoted from the x/net subrepository and now used in the standard
library; and adds support in the testing package for creating
hierarchies of tests and benchmarks. The release also finalizes
the vendoring support started in Go 1.5, making it a standard feature.
the vendoring support started in Go 1.5, making it a standard feature.
more at: https://golang.org/doc/go1.7
Review patches:
Review patches:
- armv6l.patch
- fix_certificates_lookup.patch,
- go-1.5-install-dont-reinstall-stdlibs.patch
@ -48,7 +56,7 @@ Wed Sep 21 15:35:51 UTC 2016 - jmassaguerpla@suse.com
-------------------------------------------------------------------
Tue Aug 30 14:38:11 UTC 2016 - jmassaguerpla@suse.com
- build ppc64le with gcc-go
- build ppc64le with gcc-go
-------------------------------------------------------------------
Sun Aug 14 03:32:46 UTC 2016 - i@marguerite.su

11
go.spec
View File

@ -14,8 +14,15 @@
# Please submit bugfixes or comments via http://bugs.opensuse.org/
#
# nodebuginfo
# strip will cause Go's .a archives to become invalid because strip appears to
# reassemble the archive incorrectly. This is a known issue upstream
# (https://github.com/golang/go/issues/17890), but we have to deal with it in
# the meantime.
%define __arch_install_post export NO_BRP_STRIP_DEBUG=true
# By default use go and not gccgo
%define with_gccgo 0
@ -94,7 +101,7 @@ Patch9: gcc6-go.patch
BuildRoot: %{_tmppath}/%{name}-%{version}-build
# boostrap
%if %{with_gccgo}
%if 0%{?suse_version} > 1320
%if 0%{?suse_version} > 1320
BuildRequires: gcc6-go
%else
BuildRequires: gcc5-go
@ -158,7 +165,7 @@ Go examples and documentation.
%endif
%patch7 -p1
%if %{with_gccgo}
%if 0%{?suse_version} > 1320
%if 0%{?suse_version} > 1320
%patch9 -p1
%else
%patch8 -p1