[Pkg-rust-maintainers] Bug#977421: rust-sha1collisiondetection: FTBFS on architectures with unsigned char

Andrei POPESCU andreimpopescu at gmail.com
Tue Dec 15 08:51:03 GMT 2020


Control: reassign -1 src:rust-sha1collisiondetection 0.2.2-1

On Lu, 14 dec 20, 18:13:04, Daniel Kahn Gillmor wrote:
> Package: rust-sha1collisiondetection
> Version: 0.2.2-1
> Severity: critical
> Control: forwarded -1 https://gitlab.com/sequoia-pgp/sha1collisiondetection/-/issues/1
> 
> Looks like rust-sha1collisiondetection code isn't as portable as
> upstream expected it to be.  It is failing on platforms with an unsigned
> char, with errors like:
> 
> ~~~
> error[E0308]: mismatched types
>    --> lib/lib.rs:252:31
>     |
> 252 | ...                   input.as_ptr() as *const i8,
>     |                       ^^^^^^^^^^^^^^^^^^^^^^^^^^^ expected `u8`, found `i8`
>     |
>     = note: expected raw pointer `*const u8`
>                found raw pointer `*const i8`
> ~~~
> 
> This means that the package fails to build from source on arm, powerpc,
> riscv, and s390 architectures.
> 
> This is reported to upstream at
> https://gitlab.com/sequoia-pgp/sha1collisiondetection/-/issues/1 so
> hopefully they'll sort it out shortly.
> 
>      --dkg

Reassigning to correct (source) package.

Kind regards,
Andrei
-- 
Looking after bugs assigned to unknown or inexistent packages
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 833 bytes
Desc: not available
URL: <http://alioth-lists.debian.net/pipermail/pkg-rust-maintainers/attachments/20201215/54fcfc8c/attachment-0001.sig>


More information about the Pkg-rust-maintainers mailing list