[CentOS-devel] rpm2cpi and Mock on CentOS 7 and 8 cannot handle Fedora 31 SRPM's

Sun Nov 3 18:43:17 UTC 2019
Nico Kadel-Garcia <nkadel at gmail.com>

On Sun, Nov 3, 2019 at 12:40 AM Nico Kadel-Garcia <nkadel at gmail.com> wrote:
>
> On Sat, Nov 2, 2019 at 9:34 PM Neal Gompa <ngompa13 at gmail.com> wrote:
> >
> > On Sat, Nov 2, 2019 at 9:03 PM Nico Kadel-Garcia <nkadel at gmail.com> wrote:
>
> > > I've tried to report it as a feature request with my Red Hat Linux
> > > Server license. As it seems to turn out, their main web page customer
> > > support page doesn't have any apparent links to to the Bugzilla, it
> > > just accepts described problems to try and guess, in this case
> > > irrelevantly, about what Wiki might have information. But the Bugzilla
> > > is still available, I submitted it at
> > > https://bugzilla.redhat.com/show_bug.cgi?id=1768147
> >
> > That's essentially a dupe of https://bugzilla.redhat.com/show_bug.cgi?id=1715799
>
> Thank you for the pointer. It's a duplicate.

And... there is apparently a workaround now for doing mock
compilation, though it doesn't solve the inability to use "rpm -i" or
"rpm2cpio" on such compresed files. Recent versions of "mock" involve
the use of bootstrap images with "podman".

* yum install podman
* Add these lines to /etc/mock/templates/fedoa-31.tpl
* * config_opts['use_bootstrap_container'] = True
* * config_opts['use_bootstrap_images'] = True