#9472 Building a package with 'ExclusiveArch: %{kernel_arches} noarch' fails for f32
Closed: Upstream 3 years ago by kevin. Opened 3 years ago by frantisekz.

I am trying to build a package ( https://src.fedoraproject.org/rpms/testcloud ) that has the following in it's spec:

ExclusiveArch: %{kernel_arches} noarch

Builds for Rawhide and f33 went just fine, but for f32, I am getting:

open (buildvm-ppc64le-24.iad2.fedoraproject.org) -> FAILED: BuildError: No valid arches were found. tag ['armhfp', 'i386', 'x86_64', 'aarch64', 'ppc64le', 's390x'], exclusive ['%{kernel_arches}', 'noarch'], exclude []

The same happened also on a s390x builder. It is a same spec in all the Fedora releases (minus f31).

Am I doing anything wrong? Or is that some issue with builders?


This is because kernel-srpm-macros was never built or pushed to f32, nor was redhat-rpm-config updated in f32 to require it.

ie, %kernel_arches is not defined there.

I'd suggest filing a bug on kernel-srpm-macros asking them to build/push updates for f32 and also to update redhat-rpm-config to require it.

Metadata Update from @kevin:
- Issue close_status updated to: Upstream
- Issue status updated to: Closed (was: Open)

3 years ago

Login to comment on this ticket.

Metadata