New comment by jcgruenhage on void-packages repository https://github.com/void-linux/void-packages/pull/32480#issuecomment-1144664885 Comment: > has this branch been rebased recently (after mid-March)? I think i was getting some similar errors with bindgen + cross and solved it by adding this to the rust build helper: Yes, it has been rebased since then. I just rebased it again to incorporate some package updates and to drop the license files for openpgp-card-tools (as that now has git tags :tada:), but the bindgen problems persist. > That sounds like bindgen not receiving all the flags it should have and looking at the wrong headers/missing some target definitions (probably the latter). We might have a fix for this by using a patched bindgen, iirc. @ericonr do you happen to have a link to a different package that had these problems and how we worked around it over there? > That's on Rust, they shouldn't have deprecated the type on 64-bit musl. And more importantly, the software should still be buildable with warnings like that.... I fully agree. Something somewhere in the build process is setting it to deny building with warnings, I'll do some digging where that happens.