Your message dated Fri, 07 Mar 2025 12:22:20 +0000
with message-id <[email protected]>
and subject line Bug#1098921: fixed in rust-uucore 0.0.23-3.1
has caused the Debian Bug report #1098921,
regarding rust-uucore: Please add loongarch64 support
to be marked as done.
This means that you claim that the problem has been dealt with.
If this is not the case it is now your responsibility to reopen the
Bug report if necessary, and/or fix the problem forthwith.
(NB: If you are a system administrator and have no idea what this
message is talking about, this may indicate a serious mail system
misconfiguration somewhere. Please contact [email protected]
immediately.)
--
1098921: https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=1098921
Debian Bug Tracking System
Contact [email protected] with problems
--- Begin Message ---
Source: rust-uucore
Version: 0.0.23-3
Severity: normal
Tags: patch
User: [email protected]
Usertags: loong64
Hi maintainers,
The rust-uucore package was built on loong64.
But I found that there is a lack of loong64 support in
src/lib/features/fs.rs file.
If the support for loong64 is missing in rust-uucore source package,
packages that depend on librust-uucore-dev:loong64 will fail to build,
for example,
Compiling the rust-findutils 0.7.0-3 failed for loong64 in the Debian
Package Auto-Building environment.
Build failed 5 times.
The build error log is as follows,
```
error[E0308]: mismatched types
-->
/usr/share/cargo/registry/uucore-0.0.23/src/lib/features/fs.rs:124:16
|
111 | pub fn number_of_links(&self) -> u64 {
| --- expected `u64` because
of return type
...
124 | return self.0.st_nlink;
| ^^^^^^^^^^^^^^^ expected `u64`, found `u32`
|
help: you can convert a `u32` to a `u64`
|
124 | return self.0.st_nlink.into();
| +++++++
...
```
The full build log can be found at
https://buildd.debian.org/status/fetch.php?pkg=rust-findutils&arch=loong64&ver=0.7.0-3&stamp=1740507372&raw=0.
Please consider the patch I attached for rust-uucore source package.
I have built rust-uucore 0.0.23-3+loong64 package successfully on my
local ENV.
```
dh_builddeb -O--buildsystem=cargo
dpkg-deb: building package 'librust-uucore-dev' in
'../librust-uucore-dev_0.0.23-3+loong64_loong64.deb'.
dpkg-genbuildinfo -O../rust-uucore_0.0.23-3+loong64_loong64.buildinfo
dpkg-genchanges -O../rust-uucore_0.0.23-3+loong64_loong64.changes
```
And based on librust-uucore-dev_0.0.23-3+loong64, I have built
rust-findutils successfully on my local ENV.
Could you add loong64 support in the next upload?
Best regrads,
Dandan Zhang
Description: Add loongarch64 support
.
rust-uucore (0.0.23-3+loong64) unstable; urgency=medium
.
* Add loongarch64 support.
Author: Dandan Zhang <[email protected]>
---
Last-Update: 2025-02-26
--- rust-uucore-0.0.23.orig/src/lib/features/fs.rs
+++ rust-uucore-0.0.23/src/lib/features/fs.rs
@@ -119,6 +119,7 @@ impl FileInformation {
not(target_os = "solaris"),
not(target_arch = "aarch64"),
not(target_arch = "riscv64"),
+ not(target_arch = "loongarch64"),
target_pointer_width = "64"
))]
return self.0.st_nlink;
@@ -133,6 +134,7 @@ impl FileInformation {
target_os = "solaris",
target_arch = "aarch64",
target_arch = "riscv64",
+ target_arch = "loongarch64",
not(target_pointer_width = "64")
)
))]
--- End Message ---
--- Begin Message ---
Source: rust-uucore
Source-Version: 0.0.23-3.1
Done: Gianfranco Costamagna <[email protected]>
We believe that the bug you reported is fixed in the latest version of
rust-uucore, which is due to be installed in the Debian FTP archive.
A summary of the changes between this version and the previous one is
attached.
Thank you for reporting the bug, which will now be closed. If you
have further comments please address them to [email protected],
and the maintainer will reopen the bug report if appropriate.
Debian distribution maintenance software
pp.
Gianfranco Costamagna <[email protected]> (supplier of updated
rust-uucore package)
(This message was generated automatically at their request; if you
believe that there is a problem with it please contact the archive
administrators by mailing [email protected])
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA512
Format: 1.8
Date: Fri, 07 Mar 2025 13:11:56 +0100
Source: rust-uucore
Built-For-Profiles: noudeb
Architecture: source
Version: 0.0.23-3.1
Distribution: unstable
Urgency: medium
Maintainer: Debian Rust Maintainers
<[email protected]>
Changed-By: Gianfranco Costamagna <[email protected]>
Closes: 1098921
Changes:
rust-uucore (0.0.23-3.1) unstable; urgency=medium
.
* Non-maintainer upload.
.
[ zhangdandan <[email protected]> ]
* Cherry-pick upstream patch to add loongarch64 support (Closes: #1098921)
Checksums-Sha1:
654d071635b9a37c451eb2d39fb4a0019f10c062 2901 rust-uucore_0.0.23-3.1.dsc
101d54dd1e78a66210ce4ccecb23173320465ad6 6564
rust-uucore_0.0.23-3.1.debian.tar.xz
d5793974103068036076d16fbbf7ed38e6c551e9 8993
rust-uucore_0.0.23-3.1_source.buildinfo
Checksums-Sha256:
eb6e48c232e767ccdb62b7433e7a61a4b66ea6b0cfb05126e478a69cc7d26c42 2901
rust-uucore_0.0.23-3.1.dsc
dedb97fe99a6b704022757ebedd5e6eadc29f11207879458c847d6f92a01760d 6564
rust-uucore_0.0.23-3.1.debian.tar.xz
99c1abf5ee5a9dcbf2b402007ccfae39d44b451c6e8da64267ad64c82ae1fcee 8993
rust-uucore_0.0.23-3.1_source.buildinfo
Files:
335f828a603bc184ee3bf5acdf10b604 2901 rust optional rust-uucore_0.0.23-3.1.dsc
073b900fc343be5fbd1d613137a90365 6564 rust optional
rust-uucore_0.0.23-3.1.debian.tar.xz
2e35efc13da09e185cef09f43bdd9ad7 8993 rust optional
rust-uucore_0.0.23-3.1_source.buildinfo
-----BEGIN PGP SIGNATURE-----
iQIzBAEBCgAdFiEEkpeKbhleSSGCX3/w808JdE6fXdkFAmfK4roACgkQ808JdE6f
Xdle7w/6A7CxslEZ/r8ugOJAm8tPNXKswAnE+03VcPO8TFlyC5EebfAdFn2zKqV7
lM4tii605Xnj9wMTQeuRUPgwKBP96uNk6VK490IsFe79qJTVyGroH/ABznsUNLqT
K1bDM1Tl2nhdcNSF0CCMQpd5x8q8dCQ85cliV6MQrsGNdSxiplkGdq/5wUnqb4m3
EJVUuUd+aU/3/2tCOFlmLnm42L6Z/FF3suhB9iUgwQf0Yk/D7m+zTYOo8929W4cz
vmT2tH7NYoQzqmJQyr2SR68nP5BFtqhppZjHHecVKw09Mb+ENLdq4GhHIX+n2XDm
R5MX3CPHCJVqJMRcAAP6qQgaNS0aEakCXNiNc3nxZslo8rYf9xEoLnOvEQpIyMNS
yrinkEQvQxMc+WllQIilQD9ZKiGLZ/NOSZqnc1vOcY+0sCPWSYfOf5wkEG2WLy0J
bj0wWDbTIm+wOBHddBmHs8KvHfebCPGFVIjBWqIdOyte8maUVBj1G1Jjpdss5ebx
QQABSS9Zgct8nYRlxeVNe6zF6ip8mikb4mXwdKmropgot6qomEcHBRT3OQSfNO+6
kImfUwQnOhemoYK25yZe59kcI29qizYTZb1gRwrAEh44UuTmuyT8oBU8CMGLpCo/
VYASaU1cjt3/70yH5/C8ZC17w+3TDGCUAjfI18x/Y9WRtz8NLSQ=
=vG1W
-----END PGP SIGNATURE-----
pgpMymKJnL2Vs.pgp
Description: PGP signature
--- End Message ---