[Pkg-rust-maintainers] Bug#1098928: Bug#1098928: rust-aya-obj: FTBFS: Add loongarch64 support

Noah Meyerhans noahm at debian.org
Wed Feb 26 22:33:49 GMT 2025


On Wed, Feb 26, 2025 at 02:28:02PM +0800, zhangdandan wrote:
> 
> Compiling the rust-aya-obj failed for loong64 in the Debian Package
> Auto-Building environment.
> The error log is as follows,
> ```
> error[E0432]: unresolved import `crate::generated::btf_header`
>   --> src/btf/btf.rs:23:33
>    |
> 23 |     generated::{btf_ext_header, btf_header},
>    |                                 ^^^^^^^^^^ no `btf_header` in
> `generated`
> 
> error[E0432]: unresolved imports `crate::generated::bpf_func_info`,
> `crate::generated::bpf_line_info`
>  --> src/btf/info.rs:7:17
>   |
> 7 |     generated::{bpf_func_info, bpf_line_info},
>   |                 ^^^^^^^^^^^^^  ^^^^^^^^^^^^^ no `bpf_line_info` in
> `generated`
>   |                 |
>   |                 no `bpf_func_info` in `generated`
> ......
> ```
> The full build log can be found at
> https://buildd.debian.org/status/logs.php?pkg=rust-aya-obj&arch=loong64.
> 
> Please consider the patch I attached.
> Based on the attached patch, rust-aya-obj 0.2.1-1+loong64 was built
> successfully on local ENV.
> ```

Please submit this change to the upstream project at
https://github.com/aya-rs/aya?  Maintaining this set of
architecture-specific bindings over the long term is impactical.

noah



More information about the Pkg-rust-maintainers mailing list