[Pkg-rust-maintainers] Bug#1098932: rust-utmp-classic-raw: FTBFS: Add loongarch64 support

zhangdandan zhangdandan at loongson.cn
Wed Feb 26 06:54:36 GMT 2025


Source: rust-utmp-classic-raw
Version: 0.1.3-1
Severity: normal
Tags: patch
User: debian-loongarch at lists.debian.org
Usertags: loong64

Dear maintainers,

Compiling the rust-utmp-classic-raw failed for loong64 in the Debian 
Package Auto-Building environment.
The error log is as follows,
```
error: The target platform is not supported, please help us add it.
   --> src/lib.rs:67:9
    |
67 |         compile_error!("The target platform is not supported, 
please help us add it.");
    | 
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
......
```
The full build log can be found at 
https://buildd.debian.org/status/fetch.php?pkg=rust-utmp-classic-raw&arch=loong64&ver=0.1.3-1%2Bb1&stamp=1740507047&raw=0.

Please consider the patch I attached.
Based on the attached patch, rust-utmp-classic-raw (0.1.3-1+loong64) was 
built successfully on local ENV.
```
......
    dh_builddeb -O--buildsystem=cargo
dpkg-deb: building package 'librust-utmp-classic-raw-dev' in 
'../librust-utmp-classic-raw-dev_0.1.3-1+loong64_loong64.deb'.
  dpkg-genbuildinfo 
-O../rust-utmp-classic-raw_0.1.3-1+loong64_loong64.buildinfo
  dpkg-genchanges -O../rust-utmp-classic-raw_0.1.3-1+loong64_loong64.changes
```

Your opinions are welcome.

Best regards,
Dandan Zhang

-------------- next part --------------
A non-text attachment was scrubbed...
Name: rust-utmp-classic-raw-add-loongarch64-support.patch
Type: text/x-patch
Size: 535 bytes
Desc: not available
URL: <http://alioth-lists.debian.net/pipermail/pkg-rust-maintainers/attachments/20250226/169db171/attachment.bin>


More information about the Pkg-rust-maintainers mailing list