Bug#1065587: rust-polling: Please try to rebuild rust-polling for loong64

2024-03-07 Thread Peter Green
I have built the rust-polling successfully in my local loong64 
environment, without modifications required.


Make sure you are not using DEB_BUILD_OPTIONS=nocheck

since rust crates don't have stable ABIs and cargo doesn't support
pre-built rust crates, librust* packages contain source code rather
than binaries of any sort.

The package build process does a test build to check that the code
is actually buildable before packaging but this is skipped if
DEB_BUILD_OPTIONS=nocheck is set.



Please try to rebuild rust-polling for loong64 in the Debian Package 
Auto-Building environment.


It failed again.

I've taken a quick look at the code, but I'm not seeing anything
obvious. The definitions in linux-raw-sys seem to exist, at least
accoding to the error messages. I notice that the reexports of those
definitions are gaurded behind a target_pointer_bits guard, it may
be worth checking if rustc is setting that correctly on your
architecture (though if it isn't, I'd expect that to cause a lot
of problems)



Bug#1065587: rust-polling: Please try to rebuild rust-polling for loong64

2024-03-06 Thread zhangdandan

Source: rust-polling
Version: 3.4.0-1
Severity: wishlist
Tags: help
User: debian-loonga...@lists.debian.org
Usertags: loong64

Dear maintainers,

The package librust-async-io-2+default-dev blocked compilation of 29 
packages in the Debian Package Auto-Building environment.

The dependency state of rust-async-io is as follows,
```
Dependency installability problem for rust-async-io on loong64:
rust-async-io build-depends on missing:
- librust-polling-3+default-dev:loong64
```
After analyzing the package rust-async-io, I found out that it's because 
compilation of rust-polling failed.
The build log of rust-polling can be found at 
https://buildd.debian.org/status/logs.php?pkg=rust-polling&ver=3.4.0-1&arch=loong64.


I have built the rust-polling successfully in my local loong64 
environment, without modifications required.

```
..
   dh_md5sums -O--buildsystem=cargo
   dh_builddeb -O--buildsystem=cargo
dpkg-deb: building package '../librust-polling-dev_3.4.0-1_loong64.deb' 
in 'librust-polling-dev'。

dpkg-genbuildinfo -O../rust-polling_3.4.0-1_loong64.buildinfo
dpkg-genchanges -O../rust-polling_3.4.0-1_loong64.changes

```
Please try to rebuild rust-polling for loong64 in the Debian Package 
Auto-Building environment.

If you have any questions, you can contact me at any time.

thanks,
Dandan Zhang