-
Notifications
You must be signed in to change notification settings - Fork 3
Open
Description
using latest, attempting to build the go package target/debug/cubicle package update go results in
Use 'docker scan' to run Snyk tests against images to find vulnerabilities and learn how to fix them
Copying/extracting seed tarball
15.5KiB 0:00:00 [4.12MiB/s] [================================>] 100%
Checking latest version of Go
./build.sh: 13: go: not found
./build.sh: 14: go: not found
Have installed at
Downloading go1.19.1
% Total % Received % Xferd Average Speed Time Time Time Current
Dload Upload Total Spent Left Speed
100 75 100 75 0 0 681 0 --:--:-- --:--:-- --:--:-- 681
100 141M 100 141M 0 0 80.6M 0 0:00:01 0:00:01 --:--:-- 92.1M
Unpacking go1.19.1
141MiB 0:00:02 [54.8MiB/s] [============================================================================================================================================================================================================================================>] 100%
qemu-x86_64: Could not open '/lib64/ld-linux-x86-64.so.2': No such file or directory
qemu-x86_64: Could not open '/lib64/ld-linux-x86-64.so.2': No such file or directory
ERROR: Have installed at , which is still not right
Error: failed to update package: "go"
Caused by:
0: error building package "go"
1: failed to run command in environment "package-go"
2: Non-zero exit status (1) from docker exec
Stack backtrace:
0: backtrace::backtrace::libunwind::trace
at /Users/simon/.cargo/registry/src/github.com-1ecc6299db9ec823/backtrace-0.3.66/src/backtrace/libunwind.rs:93:5
backtrace::backtrace::trace_unsynchronized
at /Users/simon/.cargo/registry/src/github.com-1ecc6299db9ec823/backtrace-0.3.66/src/backtrace/mod.rs:66:5
1: backtrace::backtrace::trace
at /Users/simon/.cargo/registry/src/github.com-1ecc6299db9ec823/backtrace-0.3.66/src/backtrace/mod.rs:53:14
2: anyhow::backtrace::capture::Backtrace::create
at /Users/simon/.cargo/registry/src/github.com-1ecc6299db9ec823/anyhow-1.0.61/src/backtrace.rs:216:13
3: anyhow::backtrace::capture::Backtrace::capture
at /Users/simon/.cargo/registry/src/github.com-1ecc6299db9ec823/anyhow-1.0.61/src/backtrace.rs:204:17
4: anyhow::error::<impl core::convert::From<E> for anyhow::Error>::from
at /Users/simon/.cargo/registry/src/github.com-1ecc6299db9ec823/anyhow-1.0.61/src/error.rs:533:25
5: <T as core::convert::Into<U>>::into
at /rustc/4b91a6ea7258a947e59c6522cd5898e7c0a6a88f/library/core/src/convert/mod.rs:550:9
6: anyhow::kind::Trait::new
poking around in build.sh and in the created docker image, it looks like the build.sh assumes ~/bin is in the path, but it doesn't appear to be. At least from docker exec -i cub-package-go sh from that shell, it lists the path as PATH='/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin'
The PATH issue may be a complete red herring, and the real issue is whatever causes the qemu logging.
I'll continue to poke around.
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
No labels