Opened 3 months ago

Last modified 7 days ago

#73038 assigned defect

nomad: invalid array length -delta * delta (constant -256 of type int64)

Reported by: langerma (DataPoints) Owned by: herbygillot (Herby Gillot)
Priority: Normal Milestone:
Component: ports Version:
Keywords: tahoe Cc: hmeine (Hans Meine)
Port: nomad

Description

working with a fresh installation on macos tahoe i get

:notice:build --->  Building nomad
:debug:build Executing org.macports.build (nomad)
:debug:build port disallows a parallel build, setting build jobs to 1
:debug:build port disallows a parallel build, setting build jobs to 1
:debug:build Environment:
:debug:build CC='/opt/local/var/macports/build/nomad-2973a18a/work/compwrap/cc/usr/bin/clang'
:debug:build CC_PRINT_OPTIONS='YES'
:debug:build CC_PRINT_OPTIONS_FILE='/opt/local/var/macports/build/nomad-2973a18a/work/.CC_PRINT_OPTIONS'
:debug:build CMAKE_CC_COMPILER_LAUNCHER='/opt/local/bin/ccache'
:debug:build CMAKE_CXX_COMPILER_LAUNCHER='/opt/local/bin/ccache'
:debug:build CMAKE_OBJCXX_COMPILER_LAUNCHER='/opt/local/bin/ccache'
:debug:build CMAKE_OBJC_COMPILER_LAUNCHER='/opt/local/bin/ccache'
:debug:build CPATH='/opt/local/include'
:debug:build CXX='/opt/local/var/macports/build/nomad-2973a18a/work/compwrap/cxx/usr/bin/clang++'
:debug:build DEVELOPER_DIR='/Library/Developer/CommandLineTools'
:debug:build F77=''
:debug:build F90=''
:debug:build FC=''
:debug:build GOPATH='/opt/local/var/macports/build/nomad-2973a18a/work'
:debug:build LIBRARY_PATH='/opt/local/lib'
:debug:build MACOSX_DEPLOYMENT_TARGET='26.0'
:debug:build MACPORTS_LEGACY_SUPPORT_DISABLED='1'
:debug:build OBJC='/opt/local/var/macports/build/nomad-2973a18a/work/compwrap/objc/usr/bin/clang'
:debug:build OBJCXX='/opt/local/var/macports/build/nomad-2973a18a/work/compwrap/objcxx/usr/bin/clang++'
:debug:build PATH='/opt/local/bin:/opt/local/sbin:/bin:/sbin:/usr/bin:/usr/sbin:/opt/local/var/macports/build/nomad-2973a18a/work/bin'
:debug:build SDKROOT='/Library/Developer/CommandLineTools/SDKs/MacOSX26.sdk'
:debug:build SOURCE_DATE_EPOCH='1748513281'
:info:build Executing:  cd "/opt/local/var/macports/build/nomad-2973a18a/work/gopath/src/github.com/hashicorp/nomad" && make -w bootstrap dev
:debug:build system:  cd "/opt/local/var/macports/build/nomad-2973a18a/work/gopath/src/github.com/hashicorp/nomad" && make -w bootstrap dev
:info:build go: downloading github.com/hashicorp/go-set/v3 v3.0.0-alpha.1
:info:build make: Entering directory `/opt/local/var/macports/build/nomad-2973a18a/work/gopath/src/github.com/hashicorp/nomad'
:info:build ==> Updating build dependencies...
:info:build go install github.com/hashicorp/go-bindata/go-bindata@bf7910af899725e4938903fb32048c7c0b15f12e
:info:build go: downloading github.com/hashicorp/go-bindata v3.0.8-0.20180209072458-bf7910af8997+incompatible
:info:build go install github.com/elazarl/go-bindata-assetfs/go-bindata-assetfs@234c15e7648ff35458026de92b34c637bae5e6f7
:info:build go: downloading github.com/elazarl/go-bindata-assetfs v1.0.1
:info:build go install github.com/a8m/tree/cmd/tree@fce18e2a750ea4e7f53ee706b1c3d9cbb22de79c
:info:build go: downloading github.com/a8m/tree v0.0.0-20201026183218-fce18e2a750e
:info:build go install gotest.tools/gotestsum@v1.10.0
:info:build go: downloading gotest.tools/gotestsum v1.10.0
:info:build go: downloading github.com/dnephin/pflag v1.0.7
:info:build go: downloading golang.org/x/tools v0.1.11
:info:build go: downloading github.com/fatih/color v1.13.0
:info:build go: downloading golang.org/x/sync v0.0.0-20220601150217-0de741cfad7f
:info:build go: downloading golang.org/x/term v0.0.0-20220526004731-065cf7ba2467
:info:build go: downloading github.com/google/shlex v0.0.0-20191202100458-e7afc7fbc510
:info:build go: downloading github.com/fsnotify/fsnotify v1.5.4
:info:build go: downloading golang.org/x/sys v0.0.0-20220715151400-c0bba94af5f8
:info:build go: downloading github.com/mattn/go-colorable v0.1.12
:info:build go: downloading github.com/mattn/go-isatty v0.0.14
:info:build go: downloading golang.org/x/mod v0.6.0-dev.0.20220419223038-86c51ed26bb4
:info:build go install github.com/hashicorp/hcl/v2/cmd/hclfmt@d0c4fa8b0bbc2e4eeccd1ed2a32c2089ed8c5cf1
:info:build go: downloading github.com/hashicorp/hcl/v2 v2.12.1-0.20220520183826-d0c4fa8b0bbc
:info:build go: downloading golang.org/x/crypto v0.0.0-20220517005047-85d78b3ac167
:info:build go: downloading github.com/agext/levenshtein v1.2.1
:info:build go: downloading github.com/apparentlymart/go-textseg/v13 v13.0.0
:info:build go: downloading github.com/zclconf/go-cty v1.8.0
:info:build go: downloading github.com/mitchellh/go-wordwrap v0.0.0-20150314170334-ad45545899c7
:info:build go: downloading github.com/google/go-cmp v0.3.1
:info:build go: downloading github.com/apparentlymart/go-textseg v1.0.0
:info:build go: downloading golang.org/x/text v0.3.6
:info:build go: downloading golang.org/x/term v0.0.0-20201126162022-7de9c90e9dd1
:info:build go: downloading golang.org/x/sys v0.0.0-20210615035016-665e8c7367d1
:info:build go install github.com/golang/protobuf/protoc-gen-go@v1.3.4
:info:build go: downloading github.com/golang/protobuf v1.3.4
:info:build go: module github.com/golang/protobuf is deprecated: Use the "google.golang.org/protobuf" module instead.
:info:build go install github.com/hashicorp/go-msgpack/v2/codec/codecgen@v2.1.2
:info:build go: downloading github.com/hashicorp/go-msgpack/v2 v2.1.2
:info:build go: downloading golang.org/x/tools v0.14.0
:info:build go: downloading golang.org/x/mod v0.13.0
:info:build go: downloading golang.org/x/sys v0.13.0
:info:build # golang.org/x/tools/internal/tokeninternal
:info:build ../../../../../pkg/mod/golang.org/x/tools@v0.14.0/internal/tokeninternal/tokeninternal.go:78:9: invalid array length -delta * delta (constant -256 of type int64)
:info:build make: *** [deps] Error 1
:info:build make: Leaving directory `/opt/local/var/macports/build/nomad-2973a18a/work/gopath/src/github.com/hashicorp/nomad'
:info:build Command failed:  cd "/opt/local/var/macports/build/nomad-2973a18a/work/gopath/src/github.com/hashicorp/nomad" && make -w bootstrap dev
:info:build Exit code: 2
:error:build Failed to build nomad: command execution failed
:debug:build Error code: CHILDSTATUS 80756 2
:debug:build Backtrace: command execution failed
:debug:build     while executing
:debug:build "system {*}$notty {*}$callback {*}$nice $fullcmdstring"
:debug:build     invoked from within
:debug:build "command_exec -callback portprogress::target_progress_callback build"
:debug:build     (procedure "portbuild::build_main" line 10)
:debug:build     invoked from within
:debug:build "$procedure $targetname"
:error:build See /opt/local/var/macports/logs/_opt_local_var_macports_sources_github.com_macports_macports-ports_net_nomad/nomad/main.log for details.

Change History (3)

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

Keywords: tahoe added
Owner: set to herbygillot
Status: newassigned
Summary: nomad installation does not worknomad: invalid array length -delta * delta (constant -256 of type int64)

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

Similar error in another port in #73132.

comment:3 Changed 7 days ago by hmeine (Hans Meine)

Cc: hmeine added
Note: See TracTickets for help on using tickets.