We probably should package bindgen since the kernel rust support requires it https://github.com/rust-lang/rust-bindgen # make LLVM=1 rustavailable *** *** Rust bindings generator 'bindgen' could not be found. *** make: *** [Makefile:1800: rustavailable] Error 1
See PR https://github.com/gentoo/gentoo/pull/28696
The bug has been referenced in the following commit(s): https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=cc45983ea9734149c5cfd763d349554b7ed96731 commit cc45983ea9734149c5cfd763d349554b7ed96731 Author: Bertrand Jacquin <bertrand@jacquin.bzh> AuthorDate: 2022-12-13 01:02:50 +0000 Commit: Georgy Yakovlev <gyakovlev@gentoo.org> CommitDate: 2022-12-20 04:49:33 +0000 dev-util/bindgen: new package, add 0.56.0, 0.62.0, 0.63.0 bindgen is required to build Linux kernel 6.1+ with rust[1]. * 0.56.0 is the recommended version to build kernel[2] * 0.62.0 is the previous latest version building kernel 6.1+ successfully * 0.63.0 is the current latest version[3], however does not allow to build kernel due to command line changes [1] https://docs.kernel.org/rust/quick-start.html#bindgen [2] https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git/tree/scripts/min-tool-version.sh?h=v6.1#n36 [3] https://crates.io/crates/bindgen/versions Bug: https://bugs.gentoo.org/886185 Signed-off-by: Bertrand Jacquin <bertrand@jacquin.bzh> Closes: https://github.com/gentoo/gentoo/pull/28696 Signed-off-by: Georgy Yakovlev <gyakovlev@gentoo.org> dev-util/bindgen/Manifest | 116 ++++++++++++++++++++++++++++++ dev-util/bindgen/bindgen-0.56.0.ebuild | 81 +++++++++++++++++++++ dev-util/bindgen/bindgen-0.62.0.ebuild | 125 +++++++++++++++++++++++++++++++++ dev-util/bindgen/bindgen-0.63.0.ebuild | 125 +++++++++++++++++++++++++++++++++ dev-util/bindgen/metadata.xml | 16 +++++ 5 files changed, 463 insertions(+)