https://bugzilla.redhat.com/show_bug.cgi?id=2338952

Cole Robinson <[email protected]> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
              Flags|                            |fedora-review?
                   |                            |needinfo?([email protected]
                   |                            |om)
                 CC|                            |[email protected]
           Assignee|[email protected]    |[email protected]
             Status|NEW                         |ASSIGNED



--- Comment #13 from Cole Robinson <[email protected]> ---
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


-- 
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=2338952

Report this comment as SPAM: 
https://bugzilla.redhat.com/enter_bug.cgi?product=Bugzilla&format=report-spam&short_desc=Report%20of%20Bug%202338952%23c13

-- 
_______________________________________________
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

Reply via email to