mock Missing Dependencies

Andrew Parker andrewparker at bigfoot.com
Thu Nov 22 00:36:18 UTC 2007


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.




More information about the fedora-devel-list mailing list