On Sat, 2007-09-01 at 07:00 -0400, Jesse Keating wrote:
On Fri, 31 Aug 2007 21:27:11 -0500
Michael E Brown <Michael_E_Brown(a)dell.com> wrote:
> Builds in mock on x86_64 fail for packages with buildrequires on
> glib2-devel. Reported on EPEL 5.
>
> The suggested fix is to add glib2-devel/glib-devel to the exclude
> list.
>
> Question: is this something we want to apply for FC6/F7/et al?
I didn't commit that change or put that change up for patch as it's
incomplete. There are plenty of other packages in the multilib set
that start with gl, and this will be an ever chasing rathole.
Instead I asked Seth to help us come up with a plugin or syntax that
would allow us to include rather than exclude. There was a long
conversation on IRC about this weeks ago, and the result was a yum
plugin that would do what we want. Unfortunately we don't have a good
facility to use plugins with mock, and we really need it for other
things as well (like repo priorities to lower bandwidth usage of
koji.fp.o if static-repos are enabled).
I think we need to work on yum plugin support in mock so that we can
fix this properly without continually futzing with regexes to just get
glibc and glibc-devel.
Okay, so mock should be able to do this, I think, using the mock config
file format. Since it generates a yum.conf and you can generate
arbitrary files within it - we should be able to hack up something in
the short term and do something better in the longer term.
-sv