Note: This bug is displayed in read-only format because
the product is no longer active in Red Hat Bugzilla.
RHEL Engineering is moving the tracking of its product development work on RHEL 6 through RHEL 9 to Red Hat Jira (issues.redhat.com). If you're a Red Hat customer, please continue to file support cases via the Red Hat customer portal. If you're not, please head to the "RHEL project" in Red Hat Jira and file new tickets here. Individual Bugzilla bugs in the statuses "NEW", "ASSIGNED", and "POST" are being migrated throughout September 2023. Bugs of Red Hat partners with an assigned Engineering Partner Manager (EPM) are migrated in late September as per pre-agreed dates. Bugs against components "kernel", "kernel-rt", and "kpatch" are only migrated if still in "NEW" or "ASSIGNED". If you cannot log in to RH Jira, please consult article #7032570. That failing, please send an e-mail to the RH Jira admins at rh-issues@redhat.com to troubleshoot your issue as a user management inquiry. The email creates a ServiceNow ticket with Red Hat. Individual Bugzilla bugs that are migrated will be moved to status "CLOSED", resolution "MIGRATED", and set with "MigratedToJIRA" in "Keywords". The link to the successor Jira issue will be found under "Links", have a little "two-footprint" icon next to it, and direct you to the "RHEL project" in Red Hat Jira (issue links are of type "https://issues.redhat.com/browse/RHEL-XXXX", where "X" is a digit). This same link will be available in a blue banner at the top of the page informing you that that bug has been migrated.
The build fails with this output:
error: failed to run custom build command for `devicemapper-sys v0.1.3`
Caused by:
process didn't exit successfully: `/builddir/build/BUILD/fido-device-onboard-rs-0.4.7/target/release/build/devicemapper-sys-5afd9b270eb658d3/build-script-build` (exit status: 101)
--- stderr
thread 'main' panicked at '"enum_(unnamed_at_/usr/include/linux/dm-ioctl_h_235_1)" is not a valid Ident', /builddir/build/BUILD/fido-device-onboard-rs-0.4.7/vendor/proc-macro2/src/fallback.rs:756:9
note: run with `RUST_BACKTRACE=1` environment variable to display a backtrace
warning: build failed, waiting for other jobs to finish...
I believe you need to update bindgen to a version that includes:
clang: Detect anonymous items explicitly, rather than relying on empty names.
<https://github.com/rust-lang/rust-bindgen/commit/80738016a36e803fe3bf8b8f6f388c6589d86a1c>
> clang: Detect anonymous items explicitly, rather than relying on empty names.
> <https://github.com/rust-lang/rust-bindgen/commit/
> 80738016a36e803fe3bf8b8f6f388c6589d86a1c>
So it looks like this landed in v0.62.0, we've already moved to bindgen 0.63 in the 0.4.9 release and we're do to do a new build shortly. It also builds fine on F-38 which has clang-16 so I think we're covered here already.
So we now have a problem where we don't have an new enough version of rust:
error: package `devicemapper v0.33.5` cannot be built because it requires rustc 1.69.0 or newer, while the currently active rustc version is 1.66.1
Either upgrade to rustc 1.69.0 or newer, or use
cargo update -p devicemapper.5 --precise ver