[Pkg-rust-maintainers] Debian & bindgen issue
Miguel Ojeda
miguel.ojeda.sandonis at gmail.com
Wed Oct 30 15:15:40 GMT 2024
Hi Matthias, Debian Rust maintainers,
While researching an issue (that we will trigger in the kernel in the
future) with bindgen 0.69.4 (and libclang >= 19.1), solved in 0.69.5
(as well as the newer 0.70.x), I went to check whether Debian would be
affected.
Debian Testing seems OK since libclang is older -- I checked using
Docker `debian:testing` image.
Debian Sid triggers the issue, because it has bindgen 0.66.1 which
uses libclang 19.1.2 (2). I confirmed this using the Docker
`debian:sid` image.
Do you plan to backport the fix or to upgrade bindgen there? (as far
as I understand, you already carry patches for other bugs in Debian's
bindgen). Or, perhaps, to provide a newer bindgen in a versioned
package, like the Ubuntu's rust-* versioned packages?
The fix I am referring to is:
https://github.com/rust-lang/rust-bindgen/pull/2824
i.e. these commits in upstream bindgen:
35f0f9aafc9b ("Use clang_getFileLocation instead of
clang_getSpellingLocation")
600f63895f73 ("Use clang_getFileLocation instead of
clang_getSpellingLocation")
Thanks!
Cheers,
Miguel
More information about the Pkg-rust-maintainers
mailing list