https://bugzilla.redhat.com/show_bug.cgi?id=2338952 --- Comment #15 from Tyler Fanelli <tfanelli@xxxxxxxxxx> --- (In reply to Cole Robinson from comment #13) > So I tried a scratch-build, but it's failing for non-x86 arches: > https://kojipkgs.fedoraproject.org//work/tasks/1442/128621442/build.log > I did: koji build --scratch f42 <srpm-path> > > I see you tried to cover that with supported-arches = ["x86_64"], which I > thought would cover it too. But that only skips %cargo_build and > %cargo_test. %cargo_install is still invoked, and that will apparently > trigger %cargo_build equivalent anyways. > > I _think_ supported-arches is only going to work for your case if this was a > plain rust crate and not a binary crate. So I think you'll need to add a > manual `ExclusiveArch: x86_64` to the spec file, like you do for the similar > rust-sevctl: > https://src.fedoraproject.org/rpms/rust-sevctl/blob/rawhide/f/rust-sevctl. > spec#_21 Yes, it seems after I added the ExclusiveArch in the spec file itself, it only builds for x86_64. I was seeing errors on scratch-build for other arches as well, but I ignored them because the build done by the review service reported success. Nonetheless, I updated the relevant files and resubmitted. -- You are receiving this mail because: You are on the CC list for the bug. You are always notified about changes to this product and component https://bugzilla.redhat.com/show_bug.cgi?id=2338952 Report this comment as SPAM: https://bugzilla.redhat.com/enter_bug.cgi?product=Bugzilla&format=report-spam&short_desc=Report%20of%20Bug%202338952%23c15 -- _______________________________________________ package-review mailing list -- package-review@xxxxxxxxxxxxxxxxxxxxxxx To unsubscribe send an email to package-review-leave@xxxxxxxxxxxxxxxxxxxxxxx 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/package-review@xxxxxxxxxxxxxxxxxxxxxxx Do not reply to spam, report it: https://pagure.io/fedora-infrastructure/new_issue