[Pkg-rust-maintainers] Bug#973499: rust-onig: autopkgtest fails on i386/armhf with new bindgen/onig-sys

peter green plugwash at p10link.net
Sat Oct 31 21:14:31 GMT 2020


Package: rust-onig
Version: 5.0.0-3
Severity: serious

The autopkgtest for rust-onig fails with memory errors on i386 and armhf.


https://ci.debian.net/data/autopkgtest/testing/armhf/r/rust-onig/7843624/log.gz
> Caused by:
>   process didn't exit successfully: `/tmp/tmp.p7bE9eMN2s/target/armv7-unknown-linux-gnueabihf/debug/deps/onig-38f586f8e98643ab` (signal: 7, SIGBUS: access to undefined memory)

https://ci.debian.net/data/autopkgtest/testing/i386/r/rust-onig/7842255/log.gz
> Caused by:
>   process didn't exit successfully: `/tmp/tmp.SP8w1ClZkZ/target/i686-unknown-linux-gnu/debug/deps/onig-cd997929b710cbf4` (signal: 11, SIGSEGV: invalid memory reference)

Doing some searching I notice that the onig, syntect and bat crates have all had new major versions released.
So I decided to test the latest version of onig on i386, unfortunately that failed too.

I then tried doing a test outside of the "debcargo" environment, I first tried using
an upstream git checkout but that failed to find it's embedded copy of libonig
so I decided to use cargo clone instead.

cargo install cargo clone
cargo clone onig
cd onig
cargo test

I have reported this upstream at https://github.com/rust-onig/rust-onig/issues/155



More information about the Pkg-rust-maintainers mailing list