Bug 1978414

Summary: build fails on s390x due to issue in vendored dependency
Product: [Fedora] Fedora EPEL Reporter: Davide Cavalca <davide>
Component: rust-belowAssignee: Rust SIG <rust-sig>
Status: CLOSED ERRATA QA Contact:
Severity: unspecified Docs Contact:
Priority: unspecified    
Version: epel8CC: davide, rust-sig
Target Milestone: ---   
Target Release: ---   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard:
Fixed In Version: rust-below-0.4.0-2.el8 Doc Type: If docs needed, set a value
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2021-10-30 00:12:10 UTC Type: Bug
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:
Bug Depends On:    
Bug Blocks: 485231    

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.

Comment 1 Fedora Update System 2021-10-28 17:45:33 UTC
FEDORA-EPEL-2021-fa593819c3 has been submitted as an update to Fedora EPEL 8. https://bodhi.fedoraproject.org/updates/FEDORA-EPEL-2021-fa593819c3

Comment 2 Fedora Update System 2021-10-28 20:08:17 UTC
FEDORA-EPEL-2021-fa593819c3 has been pushed to the Fedora EPEL 8 testing repository.

You can provide feedback for this update here: https://bodhi.fedoraproject.org/updates/FEDORA-EPEL-2021-fa593819c3

See also https://fedoraproject.org/wiki/QA:Updates_Testing for more information on how to test updates.

Comment 3 Fedora Update System 2021-10-30 00:12:10 UTC
FEDORA-EPEL-2021-fa593819c3 has been pushed to the Fedora EPEL 8 stable repository.
If problem still persists, please make note of it in this bug report.