> I would like to contribute IBM Z series RPM binaries to The Foreman yum
> repository. I will not be modifying code; only compiling for the s390x
> architecture for the SRPMs that aren't noarch. Is there someone here
> who can point me in the right direction on getting
> ahttp://yum.theforeman.org/releases/1.9/el6/s390x distribution set up?
This won't be possible until the software collections and EPEL packages
that we depend on are available for s390x, which is no small task.
EPEL is only available for x86, but there was recent talk of it -
perhaps start there
(https://lists.fedoraproject.org/pipermail/epel-devel/2015-June/011322.html).
The two SCLs (ruby193, v8314) that we currently use are again only x86
and this needs fixing in two places.
a) The original SRPMs are produced by Red Hat in RHSCL, who only provide
them on x86. For s390x users on RHEL, RHSCL would have to be shipped
for s390x. For non-RHEL users it'd be useful to know that they were
tested at least.
b) The binary RPMs from softwarecollections.org that we use on RHEL
rebuilds are only x86 as it's built on Fedora Copr which is x86-only.
This is probably a similar (if not harder) situation to EPEL where the
project would need additional hardware. #fedora-buildsys on Freenode
might be the best place to bring it up.
SCL development and distribution(?) is moving over to the CentOS
project, but they don't build for s390x either at the moment.
Once our dependencies are available, we'd need s390x builder(s) donated
and connected to our Koji instance in order to build and distribute
binaries for yum.tf.org.
> I am not a developer by any measure. I'm simply rpmbuliding the SRPM
> packages on RHEL 6 and 7 for IBM System Z (zlinux) so I'll probably need
> some hand holding.
You might find mock or mockchain a lot easier - it provides a
reproducible build environment, and can reuse existing builds to build
further packages. Example configs are in
https://github.com/theforeman/foreman-packaging/tree/rpm/develop/mock.
I'd say for now you should probably just doing a full rebuild using the
SRPMs we, EPEL and softwarecollections.org provide in mockchain (e.g.
mockchain -r el7-scl --recurse *.srpm) but be prepared as none of the
stack will have been tested under that arch. We couldn't publish the
result, but if it works you could put it somewhere like fedorapeople.org
for others to use if they wish.
It'd be good to see the proper build chains get s390x arch support, but
it would need some donations and help provided to all the relevant
projects to get it online.
Sorry for the gloomy outlook.
Cheers,
···
On 30/08/15 16:43, Brian Schonecker wrote:
–
Dominic Cleal
dominic@cleal.org