Opened 6 months ago

Last modified 6 months ago

#73132 assigned defect

vault @1.19.4_0: invalid array length -delta * delta (constant -256 of type int64)

Reported by: markblackman Owned by: herbygillot (Herby Gillot)
Priority: Normal Milestone:
Component: ports Version: 2.11.5
Keywords: tahoe arm64 Cc:
Port: vault

Description (last modified by ryandesign (Ryan Carsten Schmidt))

Vault build fails like so

:info:build # golang.org/x/tools/internal/tokeninternal
:info:build ../../../../pkg/mod/golang.org/x/tools@v0.19.0/internal/tokeninternal/tokeninternal.go:64:9: invalid array length -delta * delta (constant -256 of type int64)
:info:build --> gotest.tools/gotestsum@v1.12.0 ✖
:info:build make: *** [tools] Error 1
:info:build make: Leaving directory `/opt/local/var/macports/build/vault-b72bc575/work/gopath/src/github.com/hashicorp/vault'
:info:build Command failed:  cd "/opt/local/var/macports/build/vault-b72bc575/work/gopath/src/github.com/hashicorp/vault" && make -w bootstrap dev 

Probably connected to this go-1.25.0 issue: https://github.com/golang/go/issues/74462 and similar to #73038

Although 1.25.2 doesn't seem to fix it..

mblackman@NJFHX6636C salt % sudo port info go
Password:
go @1.25.2 (lang)
Sub-ports:            go-devel

Description:          The Go programming language is an open source project to make programmers more productive. Go is expressive, concise, clean, and efficient. Its concurrency mechanisms
                      make it easy to write programs that get the most out of multicore and networked machines, while its novel type system enables flexible and modular program construction.
                      Go compiles quickly to machine code yet has the convenience of garbage collection and the power of run-time reflection. It's a fast, statically typed, compiled language
                      that feels like a dynamically typed, interpreted language. Go is developed by Google Inc.
Homepage:             https://go.dev

Platforms:            darwin >= 10, freebsd, linux
License:              BSD
Maintainers:          Email: ciserlohn@macports.org, GitHub: ci42
                      Email: herby.gillot@gmail.com, GitHub: herbygillot
                      Policy: openmaintainer
mblackman@NJFHX6636C salt % go version
go version go1.25.2 darwin/arm64

Change History (4)

comment:1 Changed 6 months ago by markblackman

Description: modified (diff)

comment:2 Changed 6 months ago by jmroot (Joshua Root)

Owner: set to herbygillot
Status: newassigned

comment:3 Changed 6 months ago by ryandesign (Ryan Carsten Schmidt)

Description: modified (diff)
Keywords: tahoe arm64 added
Summary: vault-1.19.4_0 fails to build on on macports 2.11.5 under MacOS Tahoe 26.0.1 on arm64vault @1.19.4_0: invalid array length -delta * delta (constant -256 of type int64)

comment:4 Changed 6 months ago by huyz (Huy Z)

same for macOS 15.7.1 24G231 (Sequoia) Mac14,7 (Apple M2, arm64)

Note: See TracTickets for help on using tickets.