unable to use mock

cranium2003 cranium2003 at yahoo.com
Tue Jun 6 10:17:15 UTC 2006


Hi,
--- Paul Howarth <paul at city-fan.org> wrote:

> cranium2003 wrote:
> > Hi,
> >     I executed yum --installroot
> > /var/lib/mock/fedora-development-i386-core/root 
> > groupinstall build-minimal build-base build
> >  as root and it takes much time and installed 140
> > packages. Then i restart system. As mock does
> takes a
> > srpm and builds it in a chroot. So i created as
> root
> > one SRPM from SPEC file as
> > rpmbuild -bs foo.spec
> > then i did
> > su - build
> > then i gave
> >  mock -r fedora-5-i386-core.cfg foo.src.rpm  
> > and its output is still
> > init
> > clean
> > prep
> > This may take a while
> > Error peforming yum command: /usr/sbin/mock-helper
> yum
> > --installroot
> > /var/lib/mock/fedora-development-i386-core/root
> > groupinstall build build-minimal build-base
> > ending
> > done
> 
> There's still something wrong with your
> configuration here. You're using 
> fedora-5-i386-core.cfg yet the root is
> fedora-development-i386-core. 
> What's in /etc/mock/fedora-5-i386-core.cfg?
> 
 Attaching /etc/mock/fedora-5-i386-core.cfg file here.

__________________________________________________
Do You Yahoo!?
Tired of spam?  Yahoo! Mail has the best spam protection around 
http://mail.yahoo.com 
-------------- next part --------------
A non-text attachment was scrubbed...
Name: fedora-5-i386-core.cfg
Type: application/octet-stream
Size: 1356 bytes
Desc: 3045534007-fedora-5-i386-core.cfg
URL: <http://listman.redhat.com/archives/fedora-extras-list/attachments/20060606/8ca5bb65/attachment.obj>


More information about the fedora-extras-list mailing list