unable to use mock

Paul Howarth paul at city-fan.org
Tue Jun 6 10:14:10 UTC 2006


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?

Paul.




More information about the fedora-extras-list mailing list