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

warning: Command dpkg-shlibdeps failed to launch (no auto deps for ...) #118

Open
sshine opened this issue Nov 13, 2023 · 1 comment
Open

Comments

@sshine
Copy link

sshine commented Nov 13, 2023

I'm not sure if I should create a new issue, or post as a comment to:

This could be solved by #107, but judging by the comments there, it may not be preferred.

When I run cargo deb, I get a bunch of warnings:

...
warning: Command dpkg-shlibdeps failed to launch (no auto deps for .../target/aarch64-unknown-linux-gnu/release/...)
warning: Command dpkg-shlibdeps failed to launch (no auto deps for .../target/aarch64-unknown-linux-gnu/release/...)
warning: Command dpkg-shlibdeps failed to launch (no auto deps for .../target/aarch64-unknown-linux-gnu/release/...)
...

Searching for this warning, I get a StackOverflow post that suggests dh_shlibdeps --dpkg-shlibdeps-params=--ignore-missing-info as the solution, but does not address cargo-deb. Reading #107 comments, I understand that cargo-deb does not use dh, so I'm not sure what that translates into.

My Cargo.toml has depends = "$auto, systemd, rsyslog". I would think that $auto covers the mentioned assets, but the warnings prevail.

I would like for these warnings to go away; either by specifying something about them, or by allowing the suppression of the warning.

What would a good solution look like?

I could try to provide a solution for cargo-deb, but I am just a user of this tool right now.

@kornelski
Copy link
Owner

You can remove $auto and specify everything manually.

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

No branches or pull requests

2 participants