[MacPorts] #64174: gvisor-tap-vsock: file was built for unsupported file format ( 0x7F 0x45 0x4C 0x46 0x02 0x01 0x01 0x00 0x00 0x00 0x00 0x00 0x00 0x00 0x00 0x00 ) which is not the architecture being linked (x86_64)
MacPorts
noreply at macports.org
Fri Dec 10 07:38:05 UTC 2021
#64174: gvisor-tap-vsock: file was built for unsupported file format ( 0x7F 0x45
0x4C 0x46 0x02 0x01 0x01 0x00 0x00 0x00 0x00 0x00 0x00 0x00 0x00 0x00 )
which is not the architecture being linked (x86_64)
------------------------+------------------------------
Reporter: ryandesign | Owner: judaew
Type: defect | Status: assigned
Priority: Normal | Milestone:
Component: ports | Version: 2.7.1
Keywords: | Port: gvisor-tap-vsock
------------------------+------------------------------
https://build.macports.org/builders/ports-10.12_x86_64-builder/builds/165022/steps
/install-port/logs/stdio
{{{
go build -ldflags '-s -w' -o bin/gvproxy ./cmd/gvproxy
go build -ldflags '-s -w' -o bin/qemu-wrapper ./cmd/qemu-wrapper
GOOS=linux CGO_ENABLED=0 go build -ldflags '-s -w' -o bin/vm ./cmd/vm
# github.com/containers/gvisor-tap-vsock/cmd/vm
loadinternal: cannot find runtime/cgo
/opt/local/lib/go/pkg/tool/darwin_amd64/link: running
/opt/local/var/macports/build
/_opt_bblocal_var_buildworker_ports_build_ports_net_gvisor-tap-vsock
/gvisor-tap-vsock/work/compwrap/cc/usr/bin/clang failed: exit status 1
ld: warning: option -s is obsolete and being ignored
ld: warning: ignoring file /opt/local/var/macports/build
/_opt_bblocal_var_buildworker_ports_build_ports_net_gvisor-tap-vsock
/gvisor-tap-vsock/work/.tmp/go-link-2142907621/go.o, file was built for
unsupported file format ( 0x7F 0x45 0x4C 0x46 0x02 0x01 0x01 0x00 0x00
0x00 0x00 0x00 0x00 0x00 0x00 0x00 ) which is not the architecture being
linked (x86_64): /opt/local/var/macports/build
/_opt_bblocal_var_buildworker_ports_build_ports_net_gvisor-tap-vsock
/gvisor-tap-vsock/work/.tmp/go-link-2142907621/go.o
Undefined symbols for architecture x86_64:
"_main", referenced from:
implicit entry/start for main executable
ld: symbol(s) not found for architecture x86_64
clang: error: linker command failed with exit code 1 (use -v to see
invocation)
make: *** [vm] Error 2
make: *** Waiting for unfinished jobs....
}}}
--
Ticket URL: <https://trac.macports.org/ticket/64174>
MacPorts <https://www.macports.org/>
Ports system for macOS
More information about the macports-tickets
mailing list