#1 Override needed? lulzbot-marlin-firmware, src, arduino-code
Closed 2 years ago by churchyard. Opened 3 years ago by churchyard.

lulzbot-marlin-firmware is a noarch package, but it buildrequires arduino-code (not available on s390x at least). is this a candidate to add to overrides?


arduino has the following, slightly strange construct in its spec file:

# Require arduino-builder, which is a go project and won't exist outside these arches
ExclusiveArch:  %{go_arches}
Requires:       %{name}-builder >= 1.3.25

BuildArch:      noarch
ExcludeArch:    ppc64le s390x

The ExcludeArch tags have been added recently without comment - not sure if elxreno knows what he's doing. Maybe ask them why they removed ppc64le and s390x? It looks like it might just have been to fix a nonreproducibly buggy build ...


Other path forward: arduino-code is not available on ppc64le and s390x. Since lulzbot-marin-firmware is a noarch package, this qualifies it for the https://docs.fedoraproject.org/en-US/packaging-guidelines/#_noarch_with_unported_dependencies case, and it should probably exclude s390x and ppc64le as well.

However, I've heard rumors that the construct used in the packaging guidelines is actually causing koji issues for composes.

I suggest to use the following in lulzbot-marlin-firmware:

BuildArch: noarch
ExcludeArch: ppc64le s390x

If this (without noarch in ExclusiveArch!) works around the buggy koji behaviour where it includes noarch packages in Excluded arches, then all is well. if it doesn't, then I'll add an override for it :)

I'll ask the arduino maintainer first then.

lulzbot-marlin-firmware has long been retired.

Metadata Update from @churchyard:
- Issue status updated to: Closed (was: Open)

2 years ago

Login to comment on this ticket.

Metadata