diff --git a/gnu/packages/authentication.scm b/gnu/packages/authentication.scm index c7f7d819734..6e113bc91ee 100644 --- a/gnu/packages/authentication.scm +++ b/gnu/packages/authentication.scm @@ -143,7 +143,6 @@ PSKC (RFC6030) to manage secret key data.") (build-system go-build-system) (arguments (list - #:go go-1.23 #:install-source? #f #:import-path "github.com/google/oauth2l" #:test-flags @@ -161,7 +160,9 @@ PSKC (RFC6030) to manage secret key data.") "TestServiceAccountImpersonationFlow/fetch._sso.*" "TestStsFlow/fetch._2lo._sts" "TestStsFlow/fetch._sso._sts") - "|")) + "|") + ;; go 1.24 runs -vet by default, but oauth2l isn't ready + "-vet=off") #:phases #~(modify-phases %standard-phases (add-before 'check 'pre-check diff --git a/gnu/packages/bioinformatics.scm b/gnu/packages/bioinformatics.scm index 4847596ad1f..14d3b8a3c5b 100644 --- a/gnu/packages/bioinformatics.scm +++ b/gnu/packages/bioinformatics.scm @@ -25137,9 +25137,9 @@ functions.") (build-system go-build-system) (arguments (list - #:go go-1.23 #:skip-build? #t - #:import-path "github.com/biogo/store")) + #:import-path "github.com/biogo/store" + #:test-flags #~(list "-vet=off"))) (propagated-inputs (list go-gopkg-in-check-v1 go-github-com-kr-pretty)) diff --git a/gnu/packages/containers.scm b/gnu/packages/containers.scm index d70c724fbcd..aea66158ed9 100644 --- a/gnu/packages/containers.scm +++ b/gnu/packages/containers.scm @@ -255,11 +255,11 @@ containers highly integrated with the hosts.") (build-system go-build-system) (arguments (list - #:go go-1.23 #:install-source? #f #:build-flags #~(list (string-append "-ldflags=-X main.version=" #$version)) - #:import-path "github.com/wagoodman/dive")) + #:import-path "github.com/wagoodman/dive" + #:test-flags #~(list "-vet=off"))) (native-inputs (list go-github-com-awesome-gocui-gocui go-github-com-awesome-gocui-keybinding diff --git a/gnu/packages/databases.scm b/gnu/packages/databases.scm index 8f82bbfe291..c84ec459011 100644 --- a/gnu/packages/databases.scm +++ b/gnu/packages/databases.scm @@ -472,11 +472,11 @@ database later.") (build-system go-build-system) (arguments (list - #:go go-1.23 #:build-flags #~(list "-tags" "external_libzstd") #:test-flags #~(list "-tags" "external_libzstd" ;; Skip tests requiring git in PATH. - "-skip" "TestLint") + "-skip" "TestLint" + "-vet=off") ;; XXX: Maybe run more tests if possible. #:test-subdirs #~(list "internal/...") #:import-path "github.com/cockroachdb/pebble")) diff --git a/gnu/packages/education.scm b/gnu/packages/education.scm index ba34357ebff..9f9a013fa20 100644 --- a/gnu/packages/education.scm +++ b/gnu/packages/education.scm @@ -717,7 +717,6 @@ machine, and more.") (build-system go-build-system) (arguments (list - #:go go-1.23 #:install-source? #f #:import-path "github.com/exercism/cli/exercism" #:unpack-path "github.com/exercism/cli" @@ -755,7 +754,8 @@ machine, and more.") (mkdir-p (dirname zsh)) (with-output-to-file zsh (lambda () - (invoke exercism "completion" "zsh"))))))))) + (invoke exercism "completion" "zsh"))))))) + #:test-flags #~(list "-vet=off"))) (native-inputs (list go-github-com-blang-semver go-github-com-spf13-cobra diff --git a/gnu/packages/file-systems.scm b/gnu/packages/file-systems.scm index e21cdb09426..b7ec7c52460 100644 --- a/gnu/packages/file-systems.scm +++ b/gnu/packages/file-systems.scm @@ -478,7 +478,6 @@ is corrupted you'll lose the affected file(s) but not the whole back-up.") (build-system go-build-system) (arguments (list - #:go go-1.23 #:import-path "github.com/google/fscrypt" #:install-source? #f #:test-flags @@ -489,7 +488,9 @@ is corrupted you'll lose the affected file(s) but not the whole back-up.") "TestLoadReadOnlyMount" "TestReadWriteMountIsPreferredOverReadOnlyMount" "TestLoadAmbiguousMounts" - "TestRootSubtreeIsPreferred") "|")) + "TestRootSubtreeIsPreferred") "|") + ;; Disable go vet in go 1.24+ + "-vet=off") #:phases #~(modify-phases %standard-phases (add-before 'build 'fix-version-detection @@ -622,7 +623,6 @@ significantly increases the risk of irreversible data loss!") (build-system go-build-system) (arguments (list - #:go go-1.23 #:install-source? #f #:import-path "github.com/rfjakob/gocryptfs" #:build-flags @@ -637,7 +637,9 @@ significantly increases the risk of irreversible data loss!") (list "TestPrepareAtSyscall" "TestPrepareAtSyscallPlaintextnames" "TestGetdents") - "|")) + "|") + ;; disable go vet for go 1.24+ + "-vet=off") ;; XXX: Test suit requires a root access to mount, limit to some unit ;; tests, figure out how to enable most of the them. #:test-subdirs #~(list "internal/...") diff --git a/gnu/packages/golang-check.scm b/gnu/packages/golang-check.scm index b77ef6efdc0..372f69a3b89 100644 --- a/gnu/packages/golang-check.scm +++ b/gnu/packages/golang-check.scm @@ -472,8 +472,8 @@ test (using testing.TB's @code{TempDir}) and with a few helper methods.") (build-system go-build-system) (arguments (list - #:go go-1.23 - #:import-path "github.com/cheekybits/is")) + #:import-path "github.com/cheekybits/is" + #:test-flags #~(list "-vet=off"))) (home-page "https://github.com/cheekybits/is") (synopsis "Mini testing helper for Go") (description "A mini testing helper for Go. @@ -563,8 +563,8 @@ writing and reading these tests.") (build-system go-build-system) (arguments (list - #:go go-1.23 - #:import-path "github.com/coder/quartz")) + #:import-path "github.com/coder/quartz" + #:test-flags #~(list "-vet=off"))) (home-page "https://github.com/coder/quartz") (synopsis "Golang time testing library for writing deterministic unit tests") (description @@ -616,14 +616,14 @@ strings which may be used in mock tests.") (build-system go-build-system) (arguments (list - #:go go-1.23 #:import-path "github.com/DATA-DOG/go-sqlmock" #:phases #~(modify-phases %standard-phases (add-after 'unpack 'remove-examples (lambda* (#:key tests? import-path #:allow-other-keys) (with-directory-excursion (string-append "src/" import-path) - (delete-file-recursively "examples"))))))) + (delete-file-recursively "examples"))))) + #:test-flags #~(list "-vet=off"))) (propagated-inputs (list go-github-com-kisielk-sqlstruct)) (home-page "https://github.com/DATA-DOG/go-sqlmock") @@ -1249,10 +1249,10 @@ package, but can be used in other contexts too.") (build-system go-build-system) (arguments (list - #:go go-1.23 #:import-path "github.com/google/gofuzz" ;; Tests fail on 32bit - #:tests? (target-64bit?))) + #:tests? (target-64bit?) + #:test-flags #~(list "-vet=off"))) (home-page "https://github.com/google/gofuzz") (synopsis "Fuzz testing library for Go") (description @@ -1990,8 +1990,8 @@ output capturing, mocking, and much more.") (build-system go-build-system) (arguments (list - #:go go-1.23 - #:import-path "github.com/matryer/is")) + #:import-path "github.com/matryer/is" + #:test-flags #~(list "-vet=off"))) (home-page "https://github.com/matryer/is") (synopsis "Lightweight testing mini-framework for Golang") (description @@ -2133,9 +2133,9 @@ error messages, preserving the order of @code{have} (actual result) before (build-system go-build-system) (arguments (list - #:go go-1.23 #:import-path "github.com/onsi/ginkgo" - #:test-flags #~(list "-skip" "TestIntegration"))) + #:test-flags #~(list "-skip" "TestIntegration" + "-vet=off"))) (propagated-inputs (list go-github-com-go-task-slim-sprig go-github-com-nxadm-tail @@ -2166,12 +2166,12 @@ Gomega matcher library.") (base32 "01rmm0lx29bwl973qixx6avwa8m6yc1vkara52cbl0jxxwf1jf3d")))) (arguments (list - #:go go-1.23 #:import-path "github.com/onsi/ginkgo/v2" #:test-subdirs ;; XXX: Most of the tests hang, find out why, keeping bare minimal ;; amount. - #~(list "dsl/..." "extensions/globals" "."))) + #~(list "dsl/..." "extensions/globals" ".") + #:test-flags #~(list "-vet=off"))) (native-inputs (list go-go-uber-org-automaxprocs)) ; for the CLI (propagated-inputs @@ -2212,14 +2212,14 @@ Gomega matcher library.") (build-system go-build-system) (arguments (list - #:go go-1.23 #:import-path "github.com/onsi/gomega" #:phases #~(modify-phases %standard-phases (add-after 'unpack 'remove-failing-test-files (lambda* (#:key import-path #:allow-other-keys) (with-directory-excursion (string-append "src/" import-path) - (delete-file "gexec/build_test.go"))))))) + (delete-file "gexec/build_test.go"))))) + #:test-flags #~(list "-vet=off"))) (native-inputs (list go-github-com-onsi-ginkgo-v2-bootstrap)) (propagated-inputs @@ -2252,8 +2252,8 @@ framework.") (build-system go-build-system) (arguments (list - #:go go-1.23 - #:import-path "github.com/otiai10/mint")) + #:import-path "github.com/otiai10/mint" + #:test-flags #~(list "-vet=off"))) (home-page "https://github.com/otiai10/mint") (synopsis "Minimal assertion for Golang testing framework") (description @@ -2467,8 +2467,8 @@ GIT_TRACE mechanism.") (build-system go-build-system) (arguments (list - #:go go-1.23 - #:import-path "github.com/smarty/assertions")) + #:import-path "github.com/smarty/assertions" + #:test-flags #~(list "-vet=off"))) (home-page "https://github.com/smarty/assertions") (synopsis "Fluent assertion-style functions") (description @@ -2496,8 +2496,8 @@ functions and even in applications.") (build-system go-build-system) (arguments (list - #:go go-1.23 - #:import-path "github.com/smarty/gunit")) + #:import-path "github.com/smarty/gunit" + #:test-flags #~(list "-vet=off"))) (home-page "https://github.com/smarty/gunit") (synopsis "Golang xUnit-style test fixture test adapter") (description @@ -2816,8 +2816,8 @@ customization (build-system go-build-system) (arguments (list - #:go go-1.23 - #:import-path "github.com/warpfork/go-testmark")) + #:import-path "github.com/warpfork/go-testmark" + #:test-flags #~(list "-vet=off"))) (propagated-inputs (list go-github-com-warpfork-go-fsx)) (home-page "https://github.com/warpfork/go-testmark") @@ -3450,8 +3450,8 @@ thoroughly (build-system go-build-system) (arguments (list - #:go go-1.23 - #:import-path "sigs.k8s.io/randfill")) + #:import-path "sigs.k8s.io/randfill" + #:test-flags #~(list "-vet=off"))) (home-page "https://sigs.k8s.io/randfill") (synopsis "Fuzz testing for Golang") (description diff --git a/gnu/packages/golang-crypto.scm b/gnu/packages/golang-crypto.scm index 8462fca67ea..3373e42bede 100644 --- a/gnu/packages/golang-crypto.scm +++ b/gnu/packages/golang-crypto.scm @@ -217,7 +217,6 @@ primitives.") (build-system go-build-system) (arguments (list - #:go go-1.23 #:import-path "github.com/99designs/keyring" #:test-flags #~(list "-skip" (string-join @@ -227,7 +226,8 @@ primitives.") "TestLibSecretGetWhenNotEmpty" "TestLibSecretRemoveWhenEmpty" "TestLibSecretRemoveWhenNotEmpty") - "|")))) + "|") + "-vet=off"))) (native-inputs (list gnupg go-github-com-stretchr-testify password-store)) (propagated-inputs @@ -365,9 +365,9 @@ with its management port enabled.") (build-system go-build-system) (arguments (list - #:go go-1.23 #:skip-build? #t - #:import-path "github.com/blanu/Dust")) + #:import-path "github.com/blanu/Dust" + #:test-flags #~(list "-vet=off"))) (propagated-inputs (list go-github-com-operatorfoundation-ed25519 go-github-com-op-go-logging @@ -546,8 +546,8 @@ described at @url{https://xxhash.com/}.") (build-system go-build-system) (arguments (list - #:go go-1.23 - #:import-path "github.com/chmduquesne/rollinghash/")) + #:import-path "github.com/chmduquesne/rollinghash/" + #:test-flags #~(list "-vet=off"))) (propagated-inputs (list go-code-cloudfoundry-org-bytefmt)) (home-page "https://github.com/chmduquesne/rollinghash") diff --git a/gnu/packages/golang-maths.scm b/gnu/packages/golang-maths.scm index 831af6cc6b7..207d9cd694e 100644 --- a/gnu/packages/golang-maths.scm +++ b/gnu/packages/golang-maths.scm @@ -386,14 +386,16 @@ penalization.") (build-system go-build-system) (arguments (list - #:go go-1.23 #:import-path "github.com/montanaflynn/stats" #:phases #~(modify-phases %standard-phases (add-after 'unpack 'remove-examples (lambda* (#:key tests? import-path #:allow-other-keys) (with-directory-excursion (string-append "src/" import-path) - (delete-file-recursively "examples"))))))) + (delete-file-recursively "examples"))))) + #:test-flags + ;; disable go vet in go 1.24+ + #~(list "-vet=off"))) (home-page "https://github.com/montanaflynn/stats") (synopsis "Statistics library for Golang") (description @@ -498,7 +500,6 @@ format as binary16.") (build-system go-build-system) (arguments (list - #:go go-1.23 #:import-path "gonum.org/v1/gonum" #:test-subdirs #~(list "." @@ -521,7 +522,8 @@ format as binary16.") '("spatial/...") '()) "stat/..." - "uniti/..."))) + "uniti/...") + #:test-flags #~(list "-vet=off"))) (propagated-inputs (list go-github-com-goccmack-gocc go-github-com-google-go-cmp diff --git a/gnu/packages/golang-vcs.scm b/gnu/packages/golang-vcs.scm index be72ac412e5..301a13fe326 100644 --- a/gnu/packages/golang-vcs.scm +++ b/gnu/packages/golang-vcs.scm @@ -232,8 +232,8 @@ using the Git pkt-line format used in various Git operations.") (build-system go-build-system) (arguments (list - #:go go-1.23 - #:import-path "github.com/jiangxin/goconfig")) + #:import-path "github.com/jiangxin/goconfig" + #:test-flags #~(list "-vet=off"))) (native-inputs (list git-minimal/pinned go-github-com-jiu2015-gotestspace diff --git a/gnu/packages/golang-web.scm b/gnu/packages/golang-web.scm index 96109e7007c..5566c4cd508 100644 --- a/gnu/packages/golang-web.scm +++ b/gnu/packages/golang-web.scm @@ -577,9 +577,9 @@ Gemini clients and servers.") (build-system go-build-system) (arguments (list - #:go go-1.23 #:embed-files #~(list "prelude.graphql") - #:import-path "git.sr.ht/~emersion/gqlclient")) + #:import-path "git.sr.ht/~emersion/gqlclient" + #:test-flags #~(list "-vet=off"))) ;; For the CLI. (native-inputs (list go-github-com-dave-jennifer @@ -606,8 +606,8 @@ Gemini clients and servers.") (build-system go-build-system) (arguments (list - #:go go-1.23 - #:import-path "git.sr.ht/~rockorager/go-jmap")) + #:import-path "git.sr.ht/~rockorager/go-jmap" + #:test-flags #~(list "-vet=off"))) (native-inputs (list go-github-com-stretchr-testify)) @@ -986,8 +986,8 @@ particular test phases or milestones have been reached. It is part of the (build-system go-build-system) (arguments (list - #:go go-1.23 - #:import-path "github.com/apex/log")) + #:import-path "github.com/apex/log" + #:test-flags #~(list "-vet=off"))) (native-inputs (list go-github-com-tj-assert go-github-com-stretchr-testify)) @@ -1017,9 +1017,9 @@ require encoding and decoding before fanning-out to handlers.") (hidden-package (package/inherit go-github-com-apex-log (arguments - (list #:go go-1.23 - #:import-path "github.com/apex/log" - #:test-subdirs #~(list "."))) + (list #:import-path "github.com/apex/log" + #:test-subdirs #~(list ".") + #:test-flags #~(list "-vet=off"))) (propagated-inputs (list go-github-com-fatih-color go-github-com-pkg-errors))))) @@ -2503,8 +2503,8 @@ and RFC 5389).") (build-system go-build-system) (arguments (list - #:go go-1.23 - #:import-path "github.com/cenkalti/backoff/v4")) + #:import-path "github.com/cenkalti/backoff/v4" + #:test-flags #~(list "-vet=off"))) (home-page "https://github.com/cenkalti/backoff") (synopsis "The exponential backoff algorithm in Go") (description @@ -3729,7 +3729,6 @@ Data Representation (XDR) standard protocol as specified in RFC (build-system go-build-system) (arguments (list - #:go go-1.23 #:import-path "github.com/digitalocean/godo" #:test-flags #~(list "-skip" (string-join @@ -3742,7 +3741,8 @@ Data Representation (XDR) standard protocol as specified in RFC "TestRegistry_DeleteTag" "TestRegistry_ListManifests" "TestRepository_ListTags") - "|")))) + "|") + "-vet=off"))) (native-inputs (list go-github-com-stretchr-testify)) (propagated-inputs @@ -3851,8 +3851,8 @@ translation (NAT), proxies, sockets, and transport layer security (TLS).") (build-system go-build-system) (arguments (list - #:go go-1.23 - #:import-path "github.com/donovanhide/eventsource")) + #:import-path "github.com/donovanhide/eventsource" + #:test-flags #~(list "-vet=off"))) (home-page "https://github.com/donovanhide/eventsource") (synopsis "Server Side Events client and server for Golang") (description @@ -4328,8 +4328,8 @@ for Go.") (build-system go-build-system) (arguments (list - #:go go-1.23 - #:import-path "github.com/emersion/go-smtp")) + #:import-path "github.com/emersion/go-smtp" + #:test-flags #~(list "-vet=off"))) (propagated-inputs (list go-github-com-emersion-go-sasl)) (home-page "https://github.com/emersion/go-smtp") @@ -4538,8 +4538,8 @@ Files.com from applications written in Go.") (build-system go-build-system) (arguments (list - #:go go-1.23 - #:import-path "github.com/flosch/pongo2/v6")) + #:import-path "github.com/flosch/pongo2/v6" + #:test-flags #~(list "-vet=off"))) (native-inputs (list go-gopkg-in-check-v1)) (home-page "https://github.com/flosch/pongo2") @@ -4848,8 +4848,8 @@ Features: (build-system go-build-system) (arguments (list - #:go go-1.23 - #:import-path "github.com/go-chi/chi/v5")) + #:import-path "github.com/go-chi/chi/v5" + #:test-flags #~(list "-vet=off"))) (home-page "https://github.com/go-chi/chi") (synopsis "Composable router for HTTP services written in Go") (description @@ -4944,8 +4944,8 @@ Signature headers are to be set (but not both).") (build-system go-build-system) (arguments (list - #:go go-1.23 - #:import-path "github.com/go-jose/go-jose/v3")) + #:import-path "github.com/go-jose/go-jose/v3" + #:test-flags #~(list "-vet=off"))) (native-inputs (list go-github-com-google-go-cmp go-github-com-stretchr-testify)) @@ -5091,8 +5091,8 @@ about the content.") (build-system go-build-system) (arguments (list - #:go go-1.23 - #:import-path "github.com/go-openapi/errors")) + #:import-path "github.com/go-openapi/errors" + #:test-flags #~(list "-vet=off"))) (native-inputs (list go-github-com-stretchr-testify)) (home-page "https://github.com/go-openapi/errors") @@ -5208,9 +5208,9 @@ Supports JSON and YAML documents.") (build-system go-build-system) (arguments (list - #:go go-1.23 #:embed-files #~(list "jsonschema-draft-04\\.json" "schema\\.json") - #:import-path "github.com/go-openapi/runtime")) + #:import-path "github.com/go-openapi/runtime" + #:test-flags #~(list "-vet=off"))) (native-inputs (list go-github-com-stretchr-testify)) (propagated-inputs @@ -5345,7 +5345,6 @@ projects.") (build-system go-build-system) (arguments (list - #:go go-1.23 #:embed-files #~(list "jsonschema-draft-04\\.json" "schema\\.json") #:import-path "github.com/go-openapi/validate" #:phases @@ -5357,7 +5356,8 @@ projects.") (for-each delete-file (list "benchmark_test.go" "example_validator_test.go" - "doc_test.go")))))))) + "doc_test.go")))))) + #:test-flags #~(list "-vet=off"))) (native-inputs (list go-github-com-stretchr-testify)) (propagated-inputs @@ -5530,8 +5530,8 @@ from CloudFlare's github.com/cloudflare/cfssl/revoke.") (build-system go-build-system) (arguments (list - #:go go-1.23 - #:import-path "github.com/gobwas/httphead")) + #:import-path "github.com/gobwas/httphead" + #:test-flags #~(list "-vet=off"))) (home-page "https://github.com/gobwas/httphead") (synopsis "Tiny HTTP header value parsing library in Golang") (description @@ -5585,8 +5585,8 @@ protocol as specified in @url{https://rfc-editor.org/rfc/rfc6455.html, RFC (build-system go-build-system) (arguments (list - #:go go-1.23 - #:import-path "github.com/goccy/go-json")) + #:import-path "github.com/goccy/go-json" + #:test-flags #~(list "-vet=off"))) (home-page "https://github.com/goccy/go-json") (synopsis "JSON encoder/decoder in Go") (description @@ -5679,7 +5679,6 @@ APIs.") (build-system go-build-system) (arguments (list - #:go go-1.23 #:skip-build? #t #:import-path "github.com/gogo/protobuf" ;; protoc: exec: "protoc-min-version": executable file not found in $PATH @@ -5695,7 +5694,8 @@ APIs.") "TestRepeatedEmbed" "TestStdTypesGoString" "TestTakesTooLongToDebug") - "|")))) + "|") + "-vet=off"))) (home-page "https://github.com/gogo/protobuf") (synopsis "Protocol Buffers for Go with Gadgets") (description "Gogoprotobuf is a fork of golang/protobuf with extra code @@ -6006,8 +6006,8 @@ iptables successor). It does not rely on libnftnl wrappers.") (build-system go-build-system) (arguments (list - #:go go-1.23 - #:import-path "github.com/google/safehtml")) + #:import-path "github.com/google/safehtml" + #:test-flags #~(list "-vet=off"))) (propagated-inputs (list go-golang-org-x-text)) (home-page "https://github.com/google/safehtml") @@ -7333,9 +7333,9 @@ authenticated identities and their attributes.") (build-system go-build-system) (arguments (list - #:go go-1.23 #:import-path "github.com/jcmturner/gokrb5/v8" - #:unpack-path "github.com/jcmturner/gokrb5")) + #:unpack-path "github.com/jcmturner/gokrb5" + #:test-flags #~(list "-vet=off"))) (native-inputs (list go-github-com-stretchr-testify)) (propagated-inputs @@ -7466,8 +7466,8 @@ about missing required fields, or when pattern validation does not match.") (build-system go-build-system) (arguments (list - #:go go-1.23 - #:import-path "github.com/jhillyerd/enmime")) + #:import-path "github.com/jhillyerd/enmime" + #:test-flags #~(list "-vet=off"))) (native-inputs (list go-github-com-go-test-deep go-github-com-stretchr-testify)) @@ -7518,8 +7518,8 @@ geared towards parsing MIME encoded emails.") (build-system go-build-system) (arguments (list - #:go go-1.23 - #:import-path "github.com/jlaffaye/ftp")) + #:import-path "github.com/jlaffaye/ftp" + #:test-flags #~(list "-vet=off"))) (native-inputs (list go-github-com-stretchr-testify)) (propagated-inputs @@ -7547,8 +7547,8 @@ described in @url{https://www.rfc-editor.org/rfc/rfc959,RFC 959}.") (build-system go-build-system) (arguments (list - #:go go-1.23 - #:import-path "github.com/jmespath/go-jmespath")) + #:import-path "github.com/jmespath/go-jmespath" + #:test-flags #~(list "-vet=off"))) (native-inputs (list go-github-com-davecgh-go-spew go-github-com-pmezard-go-difflib @@ -7625,7 +7625,6 @@ controlled. It is based on netlink messages.") (build-system go-build-system) (arguments (list - #:go go-1.23 #:import-path "github.com/json-iterator/go" #:test-flags #~(list "-skip" (string-join @@ -7633,7 +7632,8 @@ controlled. It is based on netlink messages.") "Test_marshal/.57._/string" "Test_string_encode_with_std_without_html_escape" "Test_symmetric/map.test.stringKeyType.string") - "|")))) + "|") + "-vet=off"))) (native-inputs (list go-github-com-davecgh-go-spew go-github-com-google-gofuzz @@ -7942,9 +7942,9 @@ protocol in Go language.") (build-system go-build-system) (arguments (list - #:go go-1.23 #:skip-build? #t - #:import-path "github.com/labbsr0x/goh")) + #:import-path "github.com/labbsr0x/goh" + #:test-flags #~(list "-vet=off"))) (propagated-inputs (list go-github-com-go-cmd-cmd go-github-com-go-errors-errors @@ -8793,8 +8793,8 @@ fixed.") go-golang-org-x-text)) (arguments (list - #:go go-1.23 - #:import-path "github.com/makeworld-the-better-one/go-gemini")) + #:import-path "github.com/makeworld-the-better-one/go-gemini" + #:test-flags #~(list "-vet=off"))) (home-page "https://github.com/makew0rld/go-gemini") (synopsis "Client/server library for the Gemini protocol, in Go") (description @@ -10547,7 +10547,6 @@ Border Gateway Protocol}} implementation.") (build-system go-build-system) (arguments (list - #:go go-1.23 #:skip-build? #t #:import-path "github.com/ovn-kubernetes/libovsdb" #:test-flags @@ -10577,7 +10576,8 @@ Border Gateway Protocol}} implementation.") "TestWaitOpNotEquals" "Test_merge") #~())) - "|")) + "|") + "-vet=off") #:phases #~(modify-phases %standard-phases (add-after 'unpack 'remove-examples @@ -10634,9 +10634,9 @@ also be used to manage your stamp collection.") (build-system go-build-system) (arguments (list - #:go go-1.23 #:skip-build? #t - #:import-path "github.com/pascaldekloe/goe")) + #:import-path "github.com/pascaldekloe/goe" + #:test-flags #~(list "-vet=off"))) (home-page "https://github.com/pascaldekloe/goe") (synopsis "Enterprise tooling for Golang") (description @@ -10688,8 +10688,8 @@ API.") (build-system go-build-system) (arguments (list - #:go go-1.23 - #:import-path "github.com/perimeterx/marshmallow")) + #:import-path "github.com/perimeterx/marshmallow" + #:test-flags #~(list "-vet=off"))) (native-inputs (list go-github-com-go-test-deep)) (propagated-inputs @@ -11244,8 +11244,8 @@ Protocol,SCTP} as specified in (build-system go-build-system) (arguments (list - #:go go-1.23 - #:import-path "github.com/pion/stun")) + #:import-path "github.com/pion/stun" + #:test-flags #~(list "-vet=off"))) (native-inputs (list go-github-com-stretchr-testify)) (propagated-inputs @@ -11279,8 +11279,8 @@ Protocol,SCTP} as specified in (base32 "0zli55ls5izpr6cw0wj0gy44872xn9rk20i8ay9cfk7j2rb60y60")))) (arguments (list - #:go go-1.23 - #:import-path "github.com/pion/stun/v2")) + #:import-path "github.com/pion/stun/v2" + #:test-flags #~(list "-vet=off"))) (propagated-inputs (list go-github-com-pion-dtls-v2 go-github-com-pion-logging @@ -11304,8 +11304,8 @@ Protocol,SCTP} as specified in (base32 "0yavl76y0fida9f1jfdmzdg7rm5jhp6kvdgn3smsf93jad1vbr2x")))) (arguments (list - #:go go-1.23 - #:import-path "github.com/pion/stun/v3")) + #:import-path "github.com/pion/stun/v3" + #:test-flags #~(list "-vet=off"))) (propagated-inputs (list go-github-com-pion-dtls-v3 go-github-com-pion-logging @@ -12257,7 +12257,6 @@ RFC 1014) in Go.") (build-system go-build-system) (arguments (list - #:go go-1.23 #:import-path "github.com/rcrowley/go-metrics" #:test-flags ;; Arbitrary precision tests are known to be broken on aarch64, ppc64le @@ -12269,7 +12268,8 @@ RFC 1014) in Go.") "TestUniformSampleSnapshot" "TestUniformSampleStatistics") "|")) - '())))) + '()) + "-vet=off"))) (propagated-inputs (list go-github-com-stathat-go)) (home-page "https://github.com/rcrowley/go-metrics") @@ -13054,7 +13054,6 @@ StatHat} account.") (build-system go-build-system) (arguments (list - #:go go-1.23 #:import-path "github.com/swaggo/swag" #:unpack-path "github.com/swaggo/swag" #:embed-files @@ -13068,7 +13067,8 @@ StatHat} account.") "schema\\.json") #:test-flags #~(list "-skip" (string-append "TestParseGoList/enableGOMODULE" - "|TestParseDescriptionMarkdown")) + "|TestParseDescriptionMarkdown") + "-vet=off") #:phases #~(modify-phases %standard-phases (add-after 'unpack 'remove-examples @@ -13645,8 +13645,8 @@ files to XML generation (for example, @code{gin.Context} or (build-system go-build-system) (arguments (list - #:go go-1.23 - #:import-path "github.com/urfave/negroni")) + #:import-path "github.com/urfave/negroni" + #:test-flags #~(list "-vet=off"))) (home-page "https://github.com/urfave/negroni") (synopsis "Idiomatic HTTP Middleware for Golang") (description @@ -13671,8 +13671,8 @@ tiny,non-intrusive, and encourages use of @code{net/http} Handlers.") (build-system go-build-system) (arguments (list - #:go go-1.23 - #:import-path "github.com/urfave/negroni/v3")))) + #:import-path "github.com/urfave/negroni/v3" + #:test-flags #~(list "-vet=off"))))) (define-public go-github-com-valyala-fasthttp (package @@ -14201,11 +14201,11 @@ programming language.") (build-system go-build-system) (arguments (list - #:go go-1.23 ;; validation of time strings. only RFC3339 not all of ISO 8601 are ;; valid. expects: false, given true Schema: {"format":"time"} Data: ;; "01:01:01,1111" - #:test-flags #~(list "-skip" "TestFormats") + #:test-flags #~(list "-skip" "TestFormats" + "-vet=off") #:import-path "github.com/xeipuuv/gojsonschema")) (native-inputs (list go-github-com-stretchr-testify)) @@ -16506,7 +16506,6 @@ the code or routes.") (build-system go-build-system) (arguments (list - #:go go-1.23 #:import-path "maunium.net/go/mautrix" #:embed-files #~(list @@ -16530,7 +16529,8 @@ the code or routes.") "TestResolveServerName/RM_Step_4" "TestResolveServerName/RM_Step_4_MSC4040" "TestResolveServerName/maunium") - "|")))) + "|") + "-vet=off"))) ;; XXX: The final application needs a "libolm" package. (native-inputs (list olm)) diff --git a/gnu/packages/golang-xyz.scm b/gnu/packages/golang-xyz.scm index de9afb131af..4d7670c0ec7 100644 --- a/gnu/packages/golang-xyz.scm +++ b/gnu/packages/golang-xyz.scm @@ -5786,7 +5786,6 @@ structs in the Go programming language.") (arguments (list ;; See . - #:go go-1.23 #:import-path "github.com/d5/tengo/v2" #:phases #~(modify-phases %standard-phases @@ -5795,7 +5794,8 @@ structs in the Go programming language.") (with-directory-excursion (string-append "src/" import-path) (let* ((data (string-append #$output:doc "/share")) (doc (string-append data "/doc/" #$name "-" #$version))) - (copy-recursively "docs/" doc)))))))) + (copy-recursively "docs/" doc)))))) + #:test-flags #~(list "-vet=off"))) (home-page "https://github.com/d5/tengo") (synopsis "Script language for Go") (description @@ -9397,7 +9397,6 @@ size.") (build-system go-build-system) (arguments (list - #:go go-1.23 #:import-path "github.com/godbus/dbus" #:phases #~(modify-phases %standard-phases @@ -9409,7 +9408,9 @@ size.") "go" "test" "./..." ;; Disable tests which require a system D-Bus ;; instance. - "-skip" "TestSystemBus|TestConnectSystemBus")))))))) + "-skip" "TestSystemBus|TestConnectSystemBus" + ;; Disable go vet + "-vet=off")))))))) (native-inputs (list dbus)) ;dbus-launch (home-page "https://github.com/godbus/dbus/") @@ -10857,7 +10858,6 @@ expressing configuration which is easy for both humans and machines to read.") (build-system go-build-system) (arguments (list - #:go go-1.23 #:import-path "github.com/hashicorp/hcl/v2" #:test-flags #~(list "-skip" @@ -10865,7 +10865,8 @@ expressing configuration which is easy for both humans and machines to read.") (list "TestExpressionParseAndValue/.*unk.*" "TestFunctionCallExprValue/valid_call_with_unknown_arg.*" "TestFunctionCallExprValue/valid_call_with_dynamic_arg") - "|")))) + "|") + "-vet=off"))) (native-inputs (list go-github-com-davecgh-go-spew go-github-com-go-test-deep @@ -11390,12 +11391,12 @@ better way of handling YAML when marshaling to and from structs.") (build-system go-build-system) (arguments (list - #:go go-1.23 #:import-path "github.com/itchyny/go-flags" ;; Test is time dependent and not reproducible. ;; -.TH TestMan 1 "1 January 1970" ;; +.TH TestMan 1 "26 June 2025" - #:test-flags #~(list "-skip" "TestMan"))) + #:test-flags #~(list "-skip" "TestMan" + "-vet=off"))) (propagated-inputs (list go-golang-org-x-sys)) (home-page "https://github.com/itchyny/go-flags") @@ -12334,9 +12335,9 @@ Golang.") (build-system go-build-system) (arguments (list - #:go go-1.23 #:skip-build? #t - #:import-path "github.com/jedib0t/go-pretty/v6")) + #:import-path "github.com/jedib0t/go-pretty/v6" + #:test-flags #~(list "-vet=off"))) (native-inputs (list go-github-com-pkg-profile ; for the CLI go-github-com-stretchr-testify)) @@ -12394,9 +12395,9 @@ hierarchies of @code{map[string]interface{}} objects provided by the (build-system go-build-system) (arguments (list - #:go go-1.23 #:import-path "github.com/jessevdk/go-flags" - #:test-flags #~(list "-skip" "TestCompletion|TestParserCompletion"))) + #:test-flags #~(list "-skip" "TestCompletion|TestParserCompletion" + "-vet=off"))) (propagated-inputs (list go-golang-org-x-sys)) (home-page "https://github.com/jessevdk/go-flags") @@ -15314,7 +15315,6 @@ string.") (build-system go-build-system) (arguments (list - #:go go-1.23 #:import-path "github.com/mattn/go-shellwords" #:phases #~(modify-phases %standard-phases @@ -15322,7 +15322,8 @@ string.") (lambda* (#:key import-path #:allow-other-keys) (substitute* (string-append "src/" import-path "/util_posix.go") - (("/bin/sh") (which "sh")))))))) + (("/bin/sh") (which "sh")))))) + #:test-flags #~(list "-vet=off"))) (home-page "https://github.com/mattn/go-shellwords") (synopsis "Parse lines into shell words") (description "This package parses text into shell arguments. Based on @@ -16269,14 +16270,14 @@ https://github.com/syndtr/gocapability.") (build-system go-build-system) (arguments (list - #:go go-1.23 #:import-path "github.com/moby/sys/mountinfo" #:unpack-path "github.com/moby/sys" #:test-flags #~(list "-skip" (string-join (list "TestMountedBy/not_mounted_socket" "TestMountedBy/socket_bind-mounted_to_itself") - "|")))) + "|") + "-vet=off"))) (propagated-inputs (list go-golang-org-x-sys)) (home-page "https://github.com/moby/sys") (synopsis "Retrieve information about OS mounts") @@ -17530,9 +17531,9 @@ pretty printed rendering in Golang.") (build-system go-build-system) (arguments (list - #:go go-1.23 #:skip-build? #t - #:import-path "github.com/nlpodyssey/spago")) + #:import-path "github.com/nlpodyssey/spago" + #:test-flags #~(list "-vet=off"))) (native-inputs (list go-github-com-stretchr-testify)) (propagated-inputs @@ -19143,7 +19144,6 @@ on top of the standard library @code{flag} package.") (build-system go-build-system) (arguments (list - #:go go-1.23 #:import-path "github.com/pingcap/errors" #:test-flags #~(list "-skip" (string-join @@ -19158,7 +19158,8 @@ on top of the standard library @code{flag} package.") "TestFrameLine" "TestStackTrace" "TestStackTraceFormat") - "|")))) + "|") + "-vet=off"))) (native-inputs (list go-github-com-pkg-errors)) (home-page "https://github.com/pingcap/errors") @@ -19301,9 +19302,9 @@ https://en.wikipedia.org/wiki/Extended_file_attributes}.") (build-system go-build-system) (arguments (list - #:go go-1.23 #:import-path "github.com/pmezard/go-difflib/difflib" - #:unpack-path "github.com/pmezard/go-difflib/")) + #:unpack-path "github.com/pmezard/go-difflib/" + #:test-flags #~(list "-vet=off"))) (home-page "https://github.com/pmezard/go-difflib") (synopsis "Go diff implementation") (description @@ -20075,8 +20076,8 @@ logging.") (base32 "0d1rg1drrfmabilqjjayklsz5d0n3hkf979sr3wsrw92bfbkivs7")))) (arguments (list - #:go go-1.23 - #:import-path "github.com/russross/blackfriday/v2")))) + #:import-path "github.com/russross/blackfriday/v2" + #:test-flags #~(list "-vet=off"))))) (define-public go-github-com-rvflash-elapsed (package @@ -25377,7 +25378,6 @@ written in YAML or JSON.") (build-system go-build-system) (arguments (list - #:go go-1.23 #:import-path "go.mongodb.org/mongo-driver" #:test-flags #~(list "-skip" @@ -25394,7 +25394,8 @@ written in YAML or JSON.") "TestTimeCodec" "TestTopologyConstructionLogging" "TestURIOptionsSpec") - "|")) + "|") + "-vet=off") #:test-subdirs #~(list "bson/..." "event/..." "internal/..." "tag/..." "x/...") #:phases @@ -25862,7 +25863,6 @@ organization}.") (build-system go-build-system) (arguments (list - #:go go-1.23 #:skip-build? #t #:import-path "go4.org" #:test-subdirs @@ -25898,7 +25898,8 @@ organization}.") (lambda* (#:key import-path #:allow-other-keys) (with-directory-excursion (string-append "src/" import-path) (for-each delete-file - (find-files "." "example.*_test\\.go$")))))))) + (find-files "." "example.*_test\\.go$")))))) + #:test-flags #~(list "-vet=off"))) (propagated-inputs (list ;; go-cloud-google-com-go ;; go-cloud-google-com-go-storage @@ -26744,7 +26745,6 @@ split out here for ease of reuse and maintainability.") (build-system go-build-system) (arguments (list - #:go go-1.23 #:import-path "k8s.io/klog/v2" #:test-flags #~(list "-skip" @@ -26754,7 +26754,8 @@ split out here for ease of reuse and maintainability.") "TestDestinationsWithDifferentFlags/with_log_dir_only" "TestDestinationsWithDifferentFlags/with_log_dir_only_and_one_output" "TestDestinationsWithDifferentFlags/with_log_file_and_log_dir") - "|")) + "|") + "-vet=off") #:phases #~(modify-phases %standard-phases (add-after 'unpack 'remove-examples @@ -27970,14 +27971,14 @@ libraries.") (build-system go-build-system) (arguments (list - #:go go-1.23 #:import-path "sigs.k8s.io/kustomize/kyaml" #:unpack-path "sigs.k8s.io/kustomize" #:test-flags #~(list "-skip" (string-join (list "TestCommandResultsChecker_UpdateExpectedFromActual" "TestProcessorResultsChecker_UpdateExpectedFromActual") - "|")))) + "|") + "-vet=off"))) (native-inputs (list go-github-com-stretchr-testify go-github-com-davecgh-go-spew)) @@ -28292,9 +28293,9 @@ helpful utility functions, and makes testing fairly easy.") (build-system go-build-system) (arguments (list - #:go go-1.23 #:import-path "zgo.at/zstd" - #:test-flags #~(list "-skip" "TestExists/4"))) + #:test-flags #~(list "-skip" "TestExists/4" + "-vet=off"))) (home-page "https://github.com/arp242/zstd") (synopsis "Extensions to Go's standard library") (description diff --git a/gnu/packages/irc.scm b/gnu/packages/irc.scm index 6ce3c37d0ce..69966f9f5cf 100644 --- a/gnu/packages/irc.scm +++ b/gnu/packages/irc.scm @@ -1237,7 +1237,6 @@ seen, tell, and what.") (build-system go-build-system) (arguments (list - #:go go-1.23 #:install-source? #f #:import-path "codeberg.org/emersion/soju" #:phases @@ -1262,7 +1261,8 @@ seen, tell, and what.") (lambda* (#:key import-path #:allow-other-keys) (with-directory-excursion (string-append "src/" import-path) (setenv "PREFIX" #$output) - (invoke "make" "install"))))))) + (invoke "make" "install"))))) + #:test-flags #~(list "-vet=off"))) (native-inputs (list go-codeberg-org-emersion-go-scfg go-git-sr-ht-emersion-go-sqlite3-fts5 diff --git a/gnu/packages/password-utils.scm b/gnu/packages/password-utils.scm index ec1f55ba7d4..32bdfb3bc28 100644 --- a/gnu/packages/password-utils.scm +++ b/gnu/packages/password-utils.scm @@ -157,7 +157,6 @@ (build-system go-build-system) (arguments (list - #:go go-1.23 #:install-source? #f #:import-path "github.com/99designs/aws-vault" #:build-flags @@ -187,7 +186,8 @@ ;; denied. (add-before 'check 'set-home (lambda _ - (setenv "HOME" "/tmp")))))) + (setenv "HOME" "/tmp")))) + #:test-flags #~(list "-vet=off"))) (native-inputs (list go-github-com-99designs-keyring go-github-com-alecthomas-kingpin-v2 diff --git a/gnu/packages/text-editors.scm b/gnu/packages/text-editors.scm index dbd83321f4c..687bd6b2f17 100644 --- a/gnu/packages/text-editors.scm +++ b/gnu/packages/text-editors.scm @@ -182,7 +182,6 @@ extensions over the standard utility.") (build-system go-build-system) (arguments (list - #:go go-1.23 #:install-source? #f #:import-path "github.com/zyedidia/micro/v2/cmd/micro" #:unpack-path "github.com/zyedidia/micro/v2" @@ -207,7 +206,8 @@ extensions over the standard utility.") (add-before 'build 'go-generate (lambda _ (invoke "go" "generate" "-v" "-x" - "github.com/zyedidia/micro/v2/runtime")))))) + "github.com/zyedidia/micro/v2/runtime")))) + #:test-flags #~(list "-vet=off"))) (inputs (list go-github-com-blang-semver go-github-com-dustin-go-humanize go-github-com-go-errors-errors diff --git a/gnu/packages/version-control.scm b/gnu/packages/version-control.scm index 9ff85282677..85b8e8bd20a 100644 --- a/gnu/packages/version-control.scm +++ b/gnu/packages/version-control.scm @@ -4788,7 +4788,6 @@ developer workflow, and project and release management.") (build-system go-build-system) (arguments (list - #:go go-1.23 #:import-path "git.sr.ht/~xenrox/hut" #:phases #~(modify-phases %standard-phases @@ -4802,7 +4801,8 @@ developer workflow, and project and release management.") (lambda* (#:key import-path #:allow-other-keys) (with-directory-excursion (string-append "src/" import-path) (invoke "make" "install" - (string-append "PREFIX=" #$output)))))))) + (string-append "PREFIX=" #$output)))))) + #:test-flags #~(list "-vet=off"))) (native-inputs (list scdoc)) (inputs diff --git a/gnu/packages/video.scm b/gnu/packages/video.scm index 5c0d5798d0e..0622f29b6f9 100644 --- a/gnu/packages/video.scm +++ b/gnu/packages/video.scm @@ -3453,7 +3453,6 @@ playlists.") (build-system go-build-system) (arguments (list - #:go go-1.23 #:install-source? #f #:import-path "github.com/Kethsar/ytarchive" #:embed-files #~(list "children" "nodes" "text") @@ -3464,7 +3463,8 @@ playlists.") (wrap-program (string-append #$output "/bin/ytarchive") `("PATH" ":" prefix (,(string-append #$(this-package-input "ffmpeg") - "/bin/ffmpeg"))))))))) + "/bin/ffmpeg"))))))) + #:test-flags #~(list "-vet=off"))) (native-inputs (list go-github-com-alessio-shellescape go-github-com-dannav-hhmmss diff --git a/gnu/packages/web-browsers.scm b/gnu/packages/web-browsers.scm index 54e0c91da6f..1123dbff787 100644 --- a/gnu/packages/web-browsers.scm +++ b/gnu/packages/web-browsers.scm @@ -925,7 +925,6 @@ history, and page outlines.") (build-system go-build-system) (arguments (list - #:go go-1.23 #:import-path "tildegit.org/sloum/bombadillo" #:install-source? #f #:phases @@ -942,7 +941,8 @@ history, and page outlines.") (with-directory-excursion builddir (install-file "bombadillo.desktop" appdir) (install-file "bombadillo.1" mandir) - (install-file "bombadillo-icon.png" pixdir)))))))) + (install-file "bombadillo-icon.png" pixdir)))))) + #:test-flags #~(list "-vet=off"))) (home-page "https://bombadillo.colorfield.space") (synopsis "Terminal browser for the gopher, gemini, and finger protocols") (description "Bombadillo is a non-web browser for the terminal with diff --git a/gnu/packages/web.scm b/gnu/packages/web.scm index 21b2795fa66..951ba010386 100644 --- a/gnu/packages/web.scm +++ b/gnu/packages/web.scm @@ -1575,7 +1575,7 @@ project) (delete-file-recursively "vendor"))))) (build-system go-build-system) (arguments - (list #:go go-1.23 + (list #:import-path "github.com/adnanh/webhook" #:phases #~(modify-phases %standard-phases @@ -1585,7 +1585,8 @@ project) (("/bin/echo") (search-input-file inputs "bin/echo")) (("/bin/sh") - (search-input-file inputs "bin/sh")))))))) + (search-input-file inputs "bin/sh")))))) + #:test-flags #~(list "-vet=off"))) (native-inputs (list go-github-com-clbanning-mxj-v2 go-github-com-coreos-go-systemd-v22