https://bugzilla.redhat.com/show_bug.cgi?id=2167496
Fabio Valentini <[email protected]> changed: What |Removed |Added ---------------------------------------------------------------------------- Doc Type|--- |If docs needed, set a value Status|NEW |ASSIGNED Assignee|[email protected] |[email protected] CC| |[email protected] Flags| |fedora-review? Depends On| |2152697 --- Comment #2 from Fabio Valentini <[email protected]> --- > # -a is required here because the default feature is `threads` > # and `threads` depends on 3 optional dependencies. > # Optional dependencies are usually ignored by the > cargo_generate_buildrequires macro > # With -a we tell the macro to require all (there are only 3) optional > dependencies > %cargo_generate_buildrequires -a This might fix the problem of missing BuildRequires, but it's a solution for the wrong problem, and will result in broken packages down the line. The "dep:foo" syntax is not yet supported by our Rust tooling (c.f. RHBZ#2152697), and this crate will not be able to be packaged correctly until that's done (i.e. the fact that adding the "-a" flag "fixes" the build is a bug, and will not be required once the tooling is fixed). Referenced Bugs: https://bugzilla.redhat.com/show_bug.cgi?id=2152697 [Bug 2152697] rust2rpm / rust-packaging doesn't support Rust 1.60+ features for optional and conditional dependencies -- You are receiving this mail because: You are always notified about changes to this product and component You are on the CC list for the bug. https://bugzilla.redhat.com/show_bug.cgi?id=2167496 _______________________________________________ package-review mailing list -- [email protected] To unsubscribe send an email to [email protected] Fedora Code of Conduct: https://docs.fedoraproject.org/en-US/project/code-of-conduct/ List Guidelines: https://fedoraproject.org/wiki/Mailing_list_guidelines List Archives: https://lists.fedoraproject.org/archives/list/[email protected] Do not reply to spam, report it: https://pagure.io/fedora-infrastructure/new_issue
