[Pkg-rust-maintainers] Bug#1098928: rust-aya-obj: FTBFS: Add loongarch64 support
zhangdandan
zhangdandan at loongson.cn
Wed Feb 26 06:28:02 GMT 2025
Source: rust-aya-obj
Version: 0.2.1-1
Severity: normal
Tags: patch
User: debian-loongarch at lists.debian.org
Usertags: loong64
Dear maintainers,
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.
```
......
dh_builddeb -O--buildsystem=cargo
dpkg-deb: building package 'librust-aya-obj-dev' in
'../librust-aya-obj-dev_0.2.1-1+loong64_loong64.deb'.
dpkg-genbuildinfo -O../rust-aya-obj_0.2.1-1+loong64_loong64.buildinfo
dpkg-genchanges -O../rust-aya-obj_0.2.1-1+loong64_loong64.changes
```
Your opinions are welcome.
Best regards,
Dandan Zhang
-------------- next part --------------
A non-text attachment was scrubbed...
Name: rust-aya-obj-enable-build-on-loong64.patch
Type: text/x-patch
Size: 84306 bytes
Desc: not available
URL: <http://alioth-lists.debian.net/pipermail/pkg-rust-maintainers/attachments/20250226/43aacfb8/attachment-0001.bin>
More information about the Pkg-rust-maintainers
mailing list