mock Missing Dependencies

Richi Plana myfedora at richip.dhs.org
Thu Nov 22 01:19:43 UTC 2007


On Wed, 2007-11-21 at 19:36 -0500, Andrew Parker wrote:
> On Nov 21, 2007 7:30 PM, Richi Plana <myfedora at richip.dhs.org> wrote:
> > On Wed, 2007-11-21 at 17:32 -0500, Ignacio Vazquez-Abrams wrote:
> > > On Wed, 2007-11-21 at 14:20 -0700, Richi Plana wrote:
> > > > I'm trying to packages software that requires the glib2-devel package
> > > > for building. Unfortunately, mock keeps exiting and complaining that yum
> > > > can't satisfy certain missing dependencies:
> > > >
> > > > Error: Command(/usr/bin/yum
> > > > --installroot /var/lib/mock/fedora-8-x86_64/root install ccache
> > > > 'intltool' 'python-devel' 'libglade2-devel' 'autoconf'
> > > > 'libgnomeui-devel' 'gettext-devel' 'glib2' 'glib2-devel') failed.
> > > > Output:
> > > > Error: Missing Dependency: libgthread-2.0.so.0 is needed by package
> > > > glib2-devel
> > >
> > > You're using mock on a x86_64 system against a multilib repo. You need
> > > to exclude all i386 packages except glibc.i?86 from the main repo:
> > >
> > > exclude=[A-Za-fh-z]*.i*86 g[a-km-z]*.i?86 glib[^c]*.i?86 glib.i?86
> >
> > Which .repo files should I edit? The hosts? Do I need to invalidate the
> > cache? Better yet, is this covered on the wiki somewhere?
> >
> > (I tried changing the host's fedora.repo and fedora-updates.repo and
> > added those exclusions, but that didn't work. I looked at the root and
> > they contained .repo files which don't seem like they came from my local
> > copies (I've edited my local repos)).
> 
> mock repos are configured in /etc/mock.  there should be a .cfg file
> corresponding to the "-r" option you use when you run mock.

Thanks.

After editing the fedora.8.x86_64.cfg file, I discovered this line:

exclude=[ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefhijklmnopqrstuvwxyz]*.i*86
g[abcdefghijkmnopqrstuvwxyz]*.i?86 glib2.i?86 glib.i?86

Now, I'm not sure if yum uses wildcard globbing or regular expressions.
>From the above, it seems to be a combination of both. If it's pure
regexp, shouldn't it be something more like:

exclude=[^g].*\.i.?86 g[^l].*\.i.?86 gl[^i].*\.i.?86 gli[^b].*\.i.?86
glib[^c].*\.i.?86

?

At any rate, any more ideas?
--

Richi Plana




More information about the fedora-devel-list mailing list