#6819 RFE: arch-dependent SRPMs
Closed: Invalid 6 years ago Opened 6 years ago by ignatenkobrain.

As of now we publish only one version of src.rpm which was built on random architecture in koji which is enough for end-users to get source code and do something with it. However, there are more use-cases for SRPMs like getting its requires remotely (what yum-builddep/dnf-builddep and other tools are doing). For example, people report bugs like https://bugzilla.redhat.com/show_bug.cgi?id=1402784.

In base-runtime we query for runtime and build dependencies for packages recursively and we have to regenerate SRPMs for architecture we are looking for the dependencies, so either we should take all srpms and regenerate them for each architecture (which is not really fast) or try-and-guess which packages use %ifarch or similar.

I would like to ask releng to find solution how to share srpms which are different on different architectures.

Thanks in advance!


this would have to go to koji. koji throws away the srpm from all but one arch.

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

6 years ago

I would also add that we have no budget for storage of all the srpms built on every arch. This has come up a few times. with the answer being that in order to ensure that you have the build deps right you must rebuild the srpm and parse it for the intended target arch

Login to comment on this ticket.

Metadata