[Pkg-rust-maintainers] Bug#985858: Fails to start with seccomp violation (eventfd2)

peter green plugwash at p10link.net
Thu Mar 25 19:44:40 GMT 2021


On 25/03/2021 01:17, peter green wrote:> The second is to fix the autopkgtest. It's currently "neutral"> due to a dependency on rust-boxxy which is not present in> Debian. From taking a quick look it looks to me like any> tests that rely on boxxy could probablly be patched out and> the dev-dependency dropped to allow the remainder of the> testsuite to run.
I started investigating this approach.

Unfortunately the only way I could find to prevent the build
of examples/boxxy.rs was to remove the file completely.

I then ran into a couple of issues in bench.rs,

Firstly IPv4Protocol had been renamed to IPProtocol
and moved to pktparse::ip as part of adding ipv6
support to pktparse.
https://github.com/bestouff/pktparse-rs/commit/ebb468ace109339b9833e0e633494a410549fb41

Secondly centrifuge::parse was renamed to centrifuge::parse_eth in
https://github.com/kpcyrd/sniffglue/commit/2bf3785b275fc2b52ba039fc6a11c91bb4b069f8

After fixing these issues the autopkgtest parses.

I've attatched a diff to this mail, should I go ahead and push/
upload it? (If I get no response I will upload it in a week or so)
-------------- next part --------------
A non-text attachment was scrubbed...
Name: sniffglue.diff
Type: text/x-patch
Size: 4804 bytes
Desc: not available
URL: <http://alioth-lists.debian.net/pipermail/pkg-rust-maintainers/attachments/20210325/d7d8e17c/attachment.bin>


More information about the Pkg-rust-maintainers mailing list