cross-rs/cross

Build linux binary from Windows

Nekiplay opened this issue · 1 comments

Checklist

Describe your issue

docker: failed to register layer: error creating overlay mount to /var/lib/docker/overlay2/0f41d525b0d0970bc10813ce1c5f12a2313b47c4fc169fc7074ab7a668d76863/merged: too many levels of symbolic links.
See 'docker run --help'.

What target(s) are you cross-compiling for?

x86_64-unknown-linux-gnu

Which operating system is the host (e.g computer cross is on) running?

  • macOS
  • Windows
  • Linux / BSD
  • other OS (specify in description)

What architecture is the host?

  • x86_64 / AMD64
  • arm32
  • arm64 (including Mac M1)

What container engine is cross using?

  • docker
  • podman
  • other container engine (specify in description)

cross version

cross 0.2.5 (96a8da5 2023-11-19)

Example

No response

Additional information / notes

No response

this is more a docker issue than cross

maybe one of these helps?

docker/for-win#5763 (comment)
https://unix.stackexchange.com/a/679309
https://stackoverflow.com/a/70852166

that last link suggest removing the image and repulling. So try

docker image rm ghcr.io/cross-rs/x86_64-unknown-linux-gnu:main

if you add -v to the cross command you can see the docker command we do.
Can you post the output and the error you get together when using -v