Opened 8 weeks ago
#70728 assigned defect
vault @1.15.4: Fails to build: unrecognized import path "go/version"
Reported by: | akkornel (A. Karl Kornel) | Owned by: | herbygillot (Herby Gillot) |
---|---|---|---|
Priority: | Normal | Milestone: | |
Component: | ports | Version: | 2.10.1 |
Keywords: | Cc: | ||
Port: | vault |
Description
Hello! I am setting up a new Mac, running an M-series processor, with macOS Sonoma 14.6.1. When installing the Vault package, I get an error during the Build phase.
Here is—I think—the relevant part from the main.log
file:
:debug:build system: cd "/opt/local/var/macports/build/_Users_akkornel_git_macports-ports_security_vault/vault/work/gopath/src/github.com/hashicorp/vault" && make -w bootstrap dev :info:build make: Entering directory `/opt/local/var/macports/build/_Users_akkornel_git_macports-ports_security_vault/vault/work/gopath/src/github.com/hashicorp/vault' :info:build Installing/Updating golang.org/x/tools/cmd/goimports :info:build # golang.org/x/tools/go/ast/astutil :info:build ../../../golang.org/x/tools/go/ast/astutil/util.go:11:48: undefined: ast.Unparen :info:build Installing/Updating github.com/golangci/revgrep/cmd/revgrep :info:build Installing/Updating mvdan.cc/gofumpt :info:build package go/version: unrecognized import path "go/version": import path does not begin with hostname :info:build Installing/Updating honnef.co/go/tools/cmd/staticcheck :info:build package go/version: unrecognized import path "go/version": import path does not begin with hostname :info:build make: *** [.ci-bootstrap] Error 1 :info:build make: Leaving directory `/opt/local/var/macports/build/_Users_akkornel_git_macports-ports_security_vault/vault/work/gopath/src/github.com/hashicorp/vault' :info:build Command failed: cd "/opt/local/var/macports/build/_Users_akkornel_git_macports-ports_security_vault/vault/work/gopath/src/github.com/hashicorp/vault" && make -w bootstrap dev :info:build Exit code: 2
I will attach the full main.log
file from the build.
The version of Go I have installed is "go @1.21.5_0". I didn't install it explicitly; it was pulled in automatically.
I had a look on the Vault project's GitHub for "unrecognized import path", but did not find anything that seemed relevant. I'm not sure if this is an upstream issue or not, so I wanted to report it here first.
Please let me know if there's anything you'd like me to try, or if you have any questions. Thanks much!
Attachments (1)
Note: See
TracTickets for help on using
tickets.
"main.log" file from the port install operation