[Pkg-rust-maintainers] Bug#1072567: rust-lv2-sys: FTBFS: Add loongarch64 support

zhangdandan zhangdandan at loongson.cn
Tue Jun 4 13:45:37 BST 2024


Source: rust-lv2-sys
Version: 2.0.0-1
Severity: wishlist
Tags: FTBFS patch
User: debian-loongarch at lists.debian.org
Usertags: loong64

Dear maintainers,

Compiling the rust-lv2-sys failed for loong64 in the Debian Package 
Auto-Building environment.
The error log is as follows,
```
  error: The targeted computer architecture is not supported by rust-lv2!
  --> src/linux/unsupported.rs:1:1
......
```
The full build log can be found at 
https://buildd.debian.org/status/logs.php?pkg=rust-lv2-sys&ver=2.0.0-1&arch=loong64.

I have added the loongarch64 support to the rust-lv2-sys source package. 
And built successfully on my local ENV.
Please consider the patch I attached.
I also duploaded the below packages to debian ports.
```
dpkg-deb: building package 'librust-lv2-sys-dev' in 
'../librust-lv2-sys-dev_2.0.0-1+loong64_loong64.deb'.
  dpkg-genbuildinfo -O../rust-lv2-sys_2.0.0-1+loong64_loong64.buildinfo
  dpkg-genchanges -sa -O../rust-lv2-sys_2.0.0-1+loong64_loong64.changes
dpkg-genchanges: info: including full source code in upload
  dpkg-source --after-build .
```

Meanwhile, I have submitted a pull request to upstream rust-lv2-sys.
Please see https://github.com/RustAudio/rust-lv2/pull/120.
If you have any questions, you can contact me at any time.

thanks,
Dandan Zhang

-------------- next part --------------
A non-text attachment was scrubbed...
Name: rust-lv2-sys-add-loongarch64-support.patch
Type: text/x-patch
Size: 133457 bytes
Desc: not available
URL: <http://alioth-lists.debian.net/pipermail/pkg-rust-maintainers/attachments/20240604/06b1bb32/attachment-0001.bin>


More information about the Pkg-rust-maintainers mailing list