- Ensure 'Provides: golang(API) = %{api_version}' is consistent
to improve package resolution for common go dependency expressions
'BuildRequires: golang(API) >= 1.x' and BuildRequires: go >= 1.x
OBS projects that contain go code often have prjconf entries
'Prefer: go' which selects go metapackage over go1.x packages.
When go metapackage Provides: version is lower than go1.x versions,
'Prefer: go' is not effective and build failures occur with errors
unresolvable: have choice for golang(API) >= 1.13: go1.13 go1.14
Edits and changelog Jeff Kowalczyk <jkowalczyk@suse.com>
Refs boo#1172608
* Unify '{version'} and '{short_version}' as '{api_version}' for
'Provides: golang(API) = %{api_version}'
* Use both 'BuildRequires: go%{api_version}' and 'Requires: go%{api_version}'
to trigger build errors if go1.x is unavailable
* Add aarch64 to supported systems for go-race via
%define tsan_arch x86_64 aarch64
* Add tsan_arch x86_64 aarch64 for suse_version >= 1500 and
sle_version >= 150000, formerly conditional on suse_version >= 1315
* Ensure %ifarch %{tsan_arch} always evaluates (nil does not work)
via dummy tsan_arch on systems where go-race is not supported
OBS-URL: https://build.opensuse.org/request/show/821110
OBS-URL: https://build.opensuse.org/package/show/devel:languages:go/go?expand=0&rev=329
- go1.12 (released 2019/02/25) includes changes in the implementation of the
toolchain, runtime, and libraries. As always, the release maintains the Go 1
promise of compatibility. Upstream expects almost all Go programs to continue
to compile and run as before.
* GO111MODULE=on enables module-aware operations outside of a module directory
* GODEBUG=tls13=1 enables opt-in support for TLS 1.3 in the crypto/tls package
per RFC 8446. Will be default in go1.13.
* trace tool now supports plotting mutator utilization curves, including
cross-references to the execution trace. These are useful for analyzing the
impact of the garbage collector on application latency and throughput.
* arm64 assembler platform register renamed from R18 to R18_PLATFORM
* improvements to gc
* race detector is now supported on linux/arm64
* cgo is now supported on linux/ppc64
* go1.12 is the last release that will support binary-only packages.
OBS-URL: https://build.opensuse.org/request/show/683684
OBS-URL: https://build.opensuse.org/package/show/devel:languages:go/go?expand=0&rev=323
runtime, documentation, go command, and the net/http and go/types packages.
It includes a fix to a bug introduced in Go 1.11.3 that broke go get for
import path patterns containing "...". See the Go 1.11.4 milestone on our
issue tracker for details.
https://github.com/golang/go/issues?q=milestone%3AGo1.11.4+label%3ACherryPickApproved
* go#29272 misc/cgo/test: issue24161 tests broken on Darwin
* go#29248 cmd/go: "go get" fails on import path patterns with wildcards ("...")
* go#29191 cmd/go: symbolic links not dropped from repo
* go#29112 cmd/link: too many open files on high object-count dependencies
* go#28974 cmd/go: need to backport relaxing of go.mod go verb constraints to 1.11 series
* go#28972 go/types: problem with alias type
* go#28916 cmd/cgo: nested structure has too much alignment padding
* go#28799 runtime: fatal error: out of memory on reslice with negative index
* go#28752 reflect: scanning invalid return slots during a makeFunc call
* go#28725 cmd/go: panic when argument doesn't match any packages
* go#28694 cmd/compile: inline multiplication corrupts an argument on arm
* go#28690 runtime: ThreadSanitizer CHECK failed
* go#28673 x/net/http2: Transport is leaking streams on broken Body
* go#28617 cmd/compile: panic during fuse with if true block containing a goto and a return
* go#28586 cmd/compile: go binaries not working on exynos 64 bit CPUs
* go#27395 cmd/cgo: typedef pointer arguments regression
* go#27383 cmd/compile: failure on a function type alias
OBS-URL: https://build.opensuse.org/package/show/devel:languages:go/go?expand=0&rev=321
the crypto/x509 and cmd/go packages. See the Go 1.11.3 milestone
on upstream tracker for details:
https://github.com/golang/go/issues?q=milestone%3AGo1.11.3
* bsc#1118897 CVE-2018-16873
go#29230 cmd/go: remote command execution during "go get -u"
* bsc#1118898 CVE-2018-16874
go#29231 cmd/go: directory traversal in "go get" via curly braces in import paths
* bsc#1118899 CVE-2018-16875
go#29233 crypto/x509: CPU denial of service
* Upstream is aware of a functionality regression in "go get" when
executed in GOPATH mode on an import path pattern containing "..."
(e.g., "go get github.com/golang/pkg/..."), when downloading
packages not already present in the GOPATH workspace. This is go#29241
and will be resolved in the next minor patch release go-1.11.4
OBS-URL: https://build.opensuse.org/package/show/devel:languages:go/go?expand=0&rev=320
* Most of its changes are in the implementation of the toolchain,
runtime, and libraries. As always, the release maintains the
Go 1 promise of compatibility. We expect almost all Go programs
to continue to compile and run as before.
* For more details check: https://golang.org/doc/go1.11
- Use gcc8 instead of gcc7 for Factory/Tumbleweed.
- Update compiler-rt TSAN binary: the precompiled versions of
LLVM's compiler-rt has updated to commit
fe2c72c59aa7f4afa45e3f65a5d16a374b6cce26 in go1.11 source.
- Remove patch:
* fix-sanitizer-build-against-latest-glibc.patch: upstream fixed.
- Add patch:
* gcc8-go.patch: use gcc8 instead of gcc7 for Factory/Tumbleweed.
OBS-URL: https://build.opensuse.org/package/show/devel:languages:go/go?expand=0&rev=314
- Update to version 1.10.2:
* includes fixes to the compiler, linker, and go command.
- Changes in version 1.10.1:
* includes fixes to the compiler, runtime, and the archive/zip,
crypto/tls, crypto/x509, encoding/json, net, net/http, and net/http/pprof packages.
- Changes in version 1.10:
* This release improves caching of built packages, adds caching of successful
test results, runs vet automatically during tests, and permits passing string
values directly between Go and C using cgo. A new compiler option whitelist may
cause unexpected invalid flag errors in code that built successfully with older releases.
OBS-URL: https://build.opensuse.org/request/show/610058
OBS-URL: https://build.opensuse.org/package/show/devel:languages:go/go?expand=0&rev=311
- Update to go1.9.2
go1.9.2 (released 2017/10/25) includes fixes to the compiler,
linker, runtime, documentation, go command, and the crypto/x509,
database/sql, log, and net/smtp packages. It includes a fix to a
bug introduced in Go 1.9.1 that broke go get of non-Git
repositories under certain conditions. See the Go 1.9.2 milestone
on our issue tracker for details.
OBS-URL: https://build.opensuse.org/request/show/536894
OBS-URL: https://build.opensuse.org/package/show/devel:languages:go/go?expand=0&rev=303
- Update to go1.9
There are two changes to the language: adding support for type aliases and
defining when implementations may fuse floating point operations. Most of the
changes are in the implementation of the toolchain, runtime, and libraries. As
always, the release maintains the Go 1 promise of compatibility. We expect
almost all Go programs to continue to compile and run as before.
The release adds transparent monotonic time support, parallelizes compilation
of functions within a package, better supports test helper functions, includes
a new bit manipulation package, and has a new concurrent map type.
Remove patches:
- fix_certificates_lookup.patch
- runtime-bump-MaxGomaxprocs.patch
OBS-URL: https://build.opensuse.org/request/show/527061
OBS-URL: https://build.opensuse.org/package/show/devel:languages:go/go?expand=0&rev=299
- go-race: add compiler-rt TSAN binary, necessary for the race detector builds
to work. This requires building compiler-rt from source (becuase upstream Go
stores precompiled binaries in the tree, and we cannot use them). In
addition, a %check was added purely to ensure that we don't install the wrong
version of compiler-rt. boo#1052528
- go-rpmlintrc: add some entries to address the .syso additions.
OBS-URL: https://build.opensuse.org/request/show/517313
OBS-URL: https://build.opensuse.org/package/show/devel:languages:go/go?expand=0&rev=294