Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Build linux binary from Windows #1378

Open
4 of 11 tasks
Nekiplay opened this issue Nov 25, 2023 · 1 comment
Open
4 of 11 tasks

Build linux binary from Windows #1378

Nekiplay opened this issue Nov 25, 2023 · 1 comment
Labels
A-docker Area: docker container engine

Comments

@Nekiplay
Copy link

Nekiplay commented Nov 25, 2023

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

@Emilgardis
Copy link
Member

Emilgardis commented Nov 25, 2023

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

@Emilgardis Emilgardis added the A-docker Area: docker container engine label Nov 25, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
A-docker Area: docker container engine
Projects
None yet
Development

No branches or pull requests

2 participants