Bug 2419751

Summary: rust-uuod: enable macro-diagnostics feature as it's needed by binwalk
Product: [Fedora] Fedora Reporter: Peter Robinson <pbrobinson>
Component: rust-uuidAssignee: Rust SIG <rust-sig>
Status: CLOSED WONTFIX QA Contact: Fedora Extras Quality Assurance <extras-qa>
Severity: medium Docs Contact:
Priority: unspecified    
Version: rawhideCC: decathorpe, rust-sig
Target Milestone: ---   
Target Release: ---   
Hardware: Unspecified   
OS: Linux   
Whiteboard:
Fixed In Version: Doc Type: ---
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2026-03-06 14:40:06 UTC Type: ---
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: 2323264    

Description Peter Robinson 2025-12-07 11:56:35 UTC
The 3.0+ version of binwalk moves to rust and uses the macro-diagnostics feature of uuid which is currently disabled in the Fedora packages.

Reproducible: Always

Comment 1 Fabio Valentini 2025-12-07 13:50:51 UTC
Usually the macro-diagnostics feature isn't *really* necessary since it just gives you better error messages during development. Can you check whether that is also the case here? Just dropping the "macro-diganostics" feature from the "uuid" dependency should work.

Comment 2 Peter Robinson 2025-12-07 14:31:04 UTC
Yup, I have some other deps to deal with so will have a further dig once I have them.

Comment 3 Fabio Valentini 2026-03-06 14:40:06 UTC
The "macro-diagnostics" feature was deprecated in uuid v1.20.0+:
https://github.com/uuid-rs/uuid/releases/tag/v1.20.0

It is now a noop that is only present for backwards compatibility.