#66194 closed defect (fixed)
dive fails to build on macOS 13 Ventura
Reported by: | breun (Nils Breunese) | Owned by: | amake (Aaron Madlon-Kay) |
---|---|---|---|
Priority: | Normal | Milestone: | |
Component: | ports | Version: | 2.8.0 |
Keywords: | Cc: | temp (Stephan Wentz) | |
Port: | dive |
Description (last modified by breun (Nils Breunese))
~ ❯ sw_vers ProductName: macOS ProductVersion: 13.0.1 BuildVersion: 22A400
After upgrading to macOS 13 Ventura I cannot build dive
anymore:
:info:build Executing: cd "/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_devel_dive/dive/work/gopath/src/github.com/wagoodman/dive" && /opt/local/bin/go build -o dist/dive -ldflags="-s -w -X main.version=0.10.0" :debug:build system: cd "/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_devel_dive/dive/work/gopath/src/github.com/wagoodman/dive" && /opt/local/bin/go build -o dist/dive -ldflags="-s -w -X main.version=0.10.0" :info:build # github.com/docker/cli/vendor/golang.org/x/sys/unix :info:build ../../docker/cli/vendor/golang.org/x/sys/unix/zsyscall_darwin_amd64.go:28:3: //go:linkname must refer to declared function or variable :info:build ../../docker/cli/vendor/golang.org/x/sys/unix/zsyscall_darwin_amd64.go:43:3: //go:linkname must refer to declared function or variable :info:build ../../docker/cli/vendor/golang.org/x/sys/unix/zsyscall_darwin_amd64.go:59:3: //go:linkname must refer to declared function or variable :info:build ../../docker/cli/vendor/golang.org/x/sys/unix/zsyscall_darwin_amd64.go:75:3: //go:linkname must refer to declared function or variable :info:build ../../docker/cli/vendor/golang.org/x/sys/unix/zsyscall_darwin_amd64.go:90:3: //go:linkname must refer to declared function or variable :info:build ../../docker/cli/vendor/golang.org/x/sys/unix/zsyscall_darwin_amd64.go:105:3: //go:linkname must refer to declared function or variable :info:build ../../docker/cli/vendor/golang.org/x/sys/unix/zsyscall_darwin_amd64.go:121:3: //go:linkname must refer to declared function or variable :info:build ../../docker/cli/vendor/golang.org/x/sys/unix/zsyscall_darwin_amd64.go:136:3: //go:linkname must refer to declared function or variable :info:build ../../docker/cli/vendor/golang.org/x/sys/unix/zsyscall_darwin_amd64.go:151:3: //go:linkname must refer to declared function or variable :info:build ../../docker/cli/vendor/golang.org/x/sys/unix/zsyscall_darwin_amd64.go:166:3: //go:linkname must refer to declared function or variable :info:build ../../docker/cli/vendor/golang.org/x/sys/unix/zsyscall_darwin_amd64.go:166:3: too many errors :info:build # github.com/docker/docker/vendor/golang.org/x/sys/unix :info:build ../../docker/docker/vendor/golang.org/x/sys/unix/zsyscall_darwin_amd64.go:28:3: //go:linkname must refer to declared function or variable :info:build ../../docker/docker/vendor/golang.org/x/sys/unix/zsyscall_darwin_amd64.go:43:3: //go:linkname must refer to declared function or variable :info:build ../../docker/docker/vendor/golang.org/x/sys/unix/zsyscall_darwin_amd64.go:59:3: //go:linkname must refer to declared function or variable :info:build ../../docker/docker/vendor/golang.org/x/sys/unix/zsyscall_darwin_amd64.go:75:3: //go:linkname must refer to declared function or variable :info:build ../../docker/docker/vendor/golang.org/x/sys/unix/zsyscall_darwin_amd64.go:90:3: //go:linkname must refer to declared function or variable :info:build ../../docker/docker/vendor/golang.org/x/sys/unix/zsyscall_darwin_amd64.go:105:3: //go:linkname must refer to declared function or variable :info:build ../../docker/docker/vendor/golang.org/x/sys/unix/zsyscall_darwin_amd64.go:121:3: //go:linkname must refer to declared function or variable :info:build ../../docker/docker/vendor/golang.org/x/sys/unix/zsyscall_darwin_amd64.go:136:3: //go:linkname must refer to declared function or variable :info:build ../../docker/docker/vendor/golang.org/x/sys/unix/zsyscall_darwin_amd64.go:151:3: //go:linkname must refer to declared function or variable :info:build ../../docker/docker/vendor/golang.org/x/sys/unix/zsyscall_darwin_amd64.go:166:3: //go:linkname must refer to declared function or variable :info:build ../../docker/docker/vendor/golang.org/x/sys/unix/zsyscall_darwin_amd64.go:166:3: too many errors :info:build # golang.org/x/sys/unix :info:build ../../../golang.org/x/sys/unix/syscall_darwin.1_13.go:25:3: //go:linkname must refer to declared function or variable :info:build ../../../golang.org/x/sys/unix/zsyscall_darwin_amd64.1_13.go:27:3: //go:linkname must refer to declared function or variable :info:build ../../../golang.org/x/sys/unix/zsyscall_darwin_amd64.1_13.go:40:3: //go:linkname must refer to declared function or variable :info:build ../../../golang.org/x/sys/unix/zsyscall_darwin_amd64.go:28:3: //go:linkname must refer to declared function or variable :info:build ../../../golang.org/x/sys/unix/zsyscall_darwin_amd64.go:43:3: //go:linkname must refer to declared function or variable :info:build ../../../golang.org/x/sys/unix/zsyscall_darwin_amd64.go:59:3: //go:linkname must refer to declared function or variable :info:build ../../../golang.org/x/sys/unix/zsyscall_darwin_amd64.go:75:3: //go:linkname must refer to declared function or variable :info:build ../../../golang.org/x/sys/unix/zsyscall_darwin_amd64.go:90:3: //go:linkname must refer to declared function or variable :info:build ../../../golang.org/x/sys/unix/zsyscall_darwin_amd64.go:105:3: //go:linkname must refer to declared function or variable :info:build ../../../golang.org/x/sys/unix/zsyscall_darwin_amd64.go:121:3: //go:linkname must refer to declared function or variable :info:build ../../../golang.org/x/sys/unix/zsyscall_darwin_amd64.go:121:3: too many errors :info:build Command failed: cd "/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_devel_dive/dive/work/gopath/src/github.com/wagoodman/dive" && /opt/local/bin/go build -o dist/dive -ldflags="-s -w -X main.version=0.10.0" :info:build Exit code: 2 :error:build Failed to build dive: command execution failed :debug:build Error code: CHILDSTATUS 17736 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 8) :debug:build invoked from within :debug:build "$procedure $targetname" :error:build See /opt/local/var/macports/logs/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_devel_dive/dive/main.log for details.
I get similar errors on an arm64 Mac, except with arm64
instead of amd64
in the file names.
Change History (5)
comment:1 Changed 2 years ago by breun (Nils Breunese)
Description: | modified (diff) |
---|---|
Summary: | dive fails to build on macOS 13 Ventura → dive fails to build on macOS 13 Ventura arm64 |
comment:2 Changed 2 years ago by breun (Nils Breunese)
Description: | modified (diff) |
---|---|
Summary: | dive fails to build on macOS 13 Ventura arm64 → dive fails to build on macOS 13 Ventura |
comment:3 Changed 23 months ago by temp (Stephan Wentz)
Cc: | temp added |
---|
comment:4 Changed 16 months ago by Aaron Madlon-Kay <amake@…>
Resolution: | → fixed |
---|---|
Status: | assigned → closed |
comment:5 Changed 16 months ago by amake (Aaron Madlon-Kay)
The problem was that the github.com/docker/cli dependency vendors its own, old version of golang.org/x/sys, leading to https://stackoverflow.com/questions/71507321/go-1-18-build-error-on-mac-unix-syscall-darwin-1-13-go253-golinkname-mus
Deleting the vendored dependency lets the compiler resolve to the port's version of golang.org/x/sys.
Note: See
TracTickets for help on using
tickets.
In dbfdfd1a8374bfc28544cfc506454060255c4afe/macports-ports (master):