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

cross deb fails. #210

Closed
vi opened this issue Aug 30, 2018 · 2 comments
Closed

cross deb fails. #210

vi opened this issue Aug 30, 2018 · 2 comments

Comments

@vi
Copy link

vi commented Aug 30, 2018

$ cross  deb 
error: no such subcommand: `deb`

	Did you mean `doc`?

$ cross  --version
cross 0.1.14
cargo 1.29.0-nightly (6a7672ef5 2018-08-14)

Although cross deb shows the similar message as cross deb1234, it takes longer to run, so maybe it tries... Do I need to somehow install cargo-deb inside the container?

How do I actually use cross deb? In any case the error message if cargo deb fails inside container should be customized by cross somehow.

@rdelfin
Copy link

rdelfin commented Oct 1, 2021

In case someone hits this in search (or for you if you haven't solved this), the solution is in mmstick/cargo-deb#99
I've tested it and it works, but you do need to install some cross compilation tools onto your system and add overrides in .cargo/config.toml

@Alexhuszagh
Copy link
Contributor

This is now a duplicate of #716 (the more general solution).

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

3 participants