Skip to content

Fix ldd auto-dependency warning for armv7 Debian package #56

@qwandor

Description

@qwandor

As mentioned on #55, building a Debian package for armv7 gives a warning that ldd doesn't recognise the binary format. This means that cargo-deb's automatic dependency feature doesn't work. We need to figure out how do get an ldd which supports other architectures, or patch cargo-deb to use something else.

TARGET=armv7-unknown-linux-gnueabihf ./package.sh
...
warning: ldd (/home/qwandor/projects/reading-xiaomi-temp/target/armv7-unknown-linux-gnueabihf/release/mijia-homie):  (no auto deps for /home/qwandor/projects/reading-xiaomi-temp/target/armv7-unknown-linux-gnueabihf/release/mijia-homie)

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't working

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions