Sitelet https://github.com/kornelski/cargo-deb/issues/118
Skip to content

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

Description

@sshine

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.

Activity

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

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions