* gnu/packages/golang-check.scm (go-github-com-onsi-ginkgo-v2)
[native-inputs]: Add go-go-uber-org-automaxprocs.
(go-ginkgo): Swap to PACKAGE/INHERIT.
[arguments]: Substitute instead of overwrite.
[native-inputs]: Merge native and propagated inputs from
go-github-com-onsi-ginkgo-v2.
[propagated-inputs]: Drop all.
[inputs]: Likewise.
Change-Id: Ie5184de7ed2176a955ac5c089da37606b145ac7a
After the defult Golang version was set to 1.24 some of the older
packages which had no fresh version started failing on the 'check phase,
this change pins them to go-1.23 helping to resolve the issue.
Go 1.24 requires non-constant format strings to be explicitly handled.
The errors might look like these:
non-constant format string in call to (*testing.common).Errorf
ExampleParseOptionsLifetime refers to unknown identifier: ParseOptionsLifetime
See <https://tip.golang.org/doc/go1.24#vet>.
Change-Id: Ife5093c4fd98af7cea59abf1a9a29351b66602bb
We are now building with go-1.24 by default.
Automated via:
git grep -rl '#:go go-1.2' | xargs sed -i '/.*#:go go-1.2[234].*/d'
Change-Id: Ib821d96753619c7748a67ff58b95d8fa358839b7
Modified-by: Sharlatan Hellseher <sharlatanus@gmail.com>
Signed-off-by: Sharlatan Hellseher <sharlatanus@gmail.com>
go-honnef-co-go-tools@0.6.1 does not provide <cmd/keyify> which was
removed in v0.5.0.
See: <https://github.com/dominikh/go-tools/releases/tag/2024.1>.
* gnu/packages/golang-check.scm (go-keyify): Delete variable.
Change-Id: I4e4b8cd8611dfd70f6dce3b6815e0ef057191f33
Fixesguix/guix#1555
Simplify package by utilizing <skip-build?> argument parameter and using
default 'check. Do not overwrite chosen go compiler in inherited
packages which fixes their build.
* gnu/packages/golang-check.scm (go-honnef-co-go-tools):
[arguments] <skip-build?>: No go files in project's root, use it
instead of deleting 'build phase.
<phases>: Use default 'check.
(go-staticcheck, go-structlayout, go-structlayout,optimize,
go-structlayout-pretty): Do not overwrite argument paramter, substitue
them. Swap INHERIT with PACKAGE/INHERIT.
Change-Id: I308e6162813757a1c668bb328652adf89b3b30f0
* gnu/packages/golang-build.scm (go-golang-org-x-sys) [arguments]
<test-flags>: Skip 4 failing tests on ARM systems.
(go-golang-org-x-net) [arguments] <test-flags>: Skip 2 tests on ARM
systems. <phases>: Do not delete 'build, skip it.
* gnu/packages/golang-check.scm (go-github-com-smartystreets-goconvey)
[arguments] <test-flags>: Skip one failing test on ARM systems.
* gnu/packages/golang-maths.scm (go-gonum-org-v1-gonum) [arguments]
<test-subdirs>: Skip tests in "spatial" on non x86-64 systems.
* gnu/packages/golang-web.scm (go-github-com-safchain-ethtool)
[arguments] <test-flags>: Skip one test failing on ARM.
(go-github-com-mdlayher-socket) [arguments] <test-flags>: Skip one test
on ARM systems.
(go-github-com-mdlayher-netlink) [arguments] <test-flags>: Skip some
failing tests on ARM systems.
(go-github-com-mikioh-tcp) [arguments] <test-flags>: Move logic here,
skip one test on ARM system. <phases>: Remove 'disable-failing-tests.
(go-github-com-libp2p-go-yamux-v4) [arguments] <test-flags>: Skip one
failing test on ARM systems.
(go-github-com-libp2p-go-yamux-v5) [arguments]: Inherit from
go-github-com-libp2p-go-yamux-v4.
(go-github-com-marten-seemann-tcp) [arguments] <test-flags>: Move logic
here, and skip one failing test on ARM system. <phases>: Remove
'disable-failing-tests.
* gnu/packages/golang-xyz.scm (go-github-com-jbenet-go-temp-err-catcher)
[arguments] <test-flags>: Skip one failing test on ARM system.
(go-github-com-jbenet-goprocess): [arguments] <test-flags>: Run short
tests only skip 7 tests on ARM systems.
(go-github-com-cilium-ebpf) [arguments] <test-flags>: Skip 2 failing
tests on ARM system.
(go-github-com-elastic-gosigar) [arguments] <test-flags>: Utilize it and
skip 2 failing tests on ARM systems. <phases>: Remove
'disable-failing-tests.
Change-Id: I191cd2a20a16eef0c77b04f0f6fdf72a3bb8d3be
* gnu/packages/golang-check.scm (go-gotest-tools-v3): Update to 3.5.2.
[arguments] <test-flags>: Refresh the list of skipped tests, add skip
ARM specific one.
Change-Id: I789e7ef0bf678427ca5d67b2ad4871937c146fa7
* gnu/packages/golang-xyz.scm (go-github-com-benbjohnson-clock): Move
from here ...
* gnu/packages/golang-check.scm: ... to here.
Change-Id: I8dbd3490ef60bfcc84c2d10956c2b69e7751d8af
As they seem to fail, and this package seems unmaintained.
* gnu/packages/golang-check.scm (go-github-com-google-gofuzz)[arguments]: Skip
tests on 32bit systems.
Change-Id: I1f87d4e37199b7dcf9c88e05727d1e5defb85f60
* gnu/packages/golang.scm (go-github-com-golangplus-fmt): Move from here ...
* gnu/packages/golang-check.scm: ... to here.
Change-Id: If236c036b3922d82d88fd745bf81c94f9d4d2bc5
* gnu/packages/golang.scm (go-github-com-rubyist-tracerx): Move from here ...
* gnu/packages/golang-check.scm: ... to here.
Change-Id: Ie3791edb545221c42468293b1ac7e9a818c32662
No in use by any packages in Guix, no updates for 6 years.
* gnu/packages/golang-check.scm (go-gopkg-in-errgo-v2): Delete variable.
Change-Id: I21ff459c1a67e252e7b18343d50697f4d95246fd
* gnu/packages/golang.scm (go-mvdan-cc-unparam, unparam): Move from here ...
* gnu/packages/golang-check.scm: ... to here.
Change-Id: I4059ca18c951182d7fa186b8b9787992cfe90410
* gnu/packages/golang.scm (go-github-com-jtolds-gls): Move from here ...
* gnu/packages/golang-check.scm: ... to here.
Change-Id: Ic4e483abf95146a3a39919f40e8dda86c64dd355
These changes need to be applied together to allow bootstrapping of
missing inputs.
* gnu/packages/golang-check.scm (go-github-com-golangplus-testing-bootstrap):
New variable.
(go-github-com-golangplus-testing) [native-inputs]: Add
go-github-com-golangplus-bytes-bootstrap.
* gnu/packages/golang-xyz.scm (go-github-com-golangplus-bytes): New
variable.
Change-Id: Ib97363281fc9a169a734a63197db70a3ce8f9d48
Limit tests to x86_64 architecture as they fail on others, see
<https://ci.guix.gnu.org/build/7801336/log/raw>.
* gnu/packages/golang-check.scm (go-github-com-go-playground-validator-v10)
[arguments] <tests?>: Only run on x86_64 system.
Change-Id: I0b07638cbfdf8a737ea2f040bcb0dd27bfede09a
* gnu/packages/golang.scm (go-github-com-go-playground-validator-v10):
Move from here ...
* gnu/packages/golang-check.scm: ... to here.
Change-Id: Idd8b93fbd1415c0cd329fad722f40cd22a0e5d4b
* gnu/packages/golang.scm (go-github-com-maruel-panicparse): Move from
here ...
* gnu/packages/golang-check.scm: ... to here.
Change-Id: Ib11a56341d3c77bb87a1eef21956482df7e1b50d
Fix build on non x86_64 architectures by disabling tests.
* gnu/packages/golang-check.scm: Add "guix utils" module.
(go-github-com-stretchr-testify): Update to 1.10.0.
[arguments] <tests?>: Limit them to x86_64 architecture.
Change-Id: Ib157a3824df37e3bc9293ef9278a86573ababef1