Closed pepa65 closed 11 months ago
I tried to reproduce this in a fresh container, but it seems to compile as it should. I used the following steps:
podman run -it docker.io/library/ubuntu:latest
apt-get update
apt-get install git cargo libclang-dev libudev-dev
cd /tmp/
git clone https://github.com/ellerh/softfido
cd softfido
cargo build
This is a clang issue, see https://github.com/rust-lang/rust-bindgen/issues/2312.
Building in a container somehow works, same version of ubuntu as on the host... But on the host it also works after installing packages libclang-14-dev libclang-common-14-dev libclang-dev libobjc-11-dev
so I think that sums up the issue.
After installing
libudev-dev
I get this when I doRUST_BACKTRACE=full cargo build
: