Note: This is a public test instance of Red Hat Bugzilla. The data contained within is a snapshot of the live data so any changes you make will not be reflected in the production Bugzilla. Email is disabled so feel free to test any aspect of the site that you want. File any problems you find or give feedback at bugzilla.redhat.com.
Bug 1978414 - build fails on s390x due to issue in vendored dependency
Summary: build fails on s390x due to issue in vendored dependency
Keywords:
Status: NEW
Alias: None
Product: Fedora EPEL
Classification: Fedora
Component: rust-below
Version: epel8
Hardware: Unspecified
OS: Unspecified
unspecified
unspecified
Target Milestone: ---
Assignee: Rust SIG
QA Contact:
URL:
Whiteboard:
Depends On:
Blocks: F-ExcludeArch-s390x
TreeView+ depends on / blocked
 
Reported: 2021-07-01 18:24 UTC by Davide Cavalca
Modified: 2021-07-01 18:24 UTC (History)
2 users (show)

Fixed In Version:
Doc Type: If docs needed, set a value
Doc Text:
Clone Of:
Environment:
Last Closed:
Type: Bug
Embargoed:


Attachments (Terms of Use)

Description Davide Cavalca 2021-07-01 18:24:32 UTC
https://koji.fedoraproject.org/koji/taskinfo?taskID=71146290 fails with:

error[E0432]: unresolved import `nix::sys::statfs::CGROUP2_SUPER_MAGIC`
  --> /builddir/build/BUILD/below-0.2.0/vendor/cgroupfs/src/lib.rs:21:33
   |
21 | use nix::sys::statfs::{fstatfs, CGROUP2_SUPER_MAGIC};
   |                                 ^^^^^^^^^^^^^^^^^^^ no `CGROUP2_SUPER_MAGIC` in `sys::statfs`
error: aborting due to previous error

because versions on nix < 0.20 gate that our for s390x for some reason, and libbpf-rs pulls in 0.17. This has already been fixed upstream in https://github.com/libbpf/libbpf-rs/commit/d1b0ab3bd2a6eaf4319a4a9633526bfab87e76e1 we just need to wait for a new libbpf-rs release and bump it in below.


Note You need to log in before you can comment on or make changes to this bug.