new mock package

Paul Howarth paul at city-fan.org
Thu Jun 22 20:28:57 UTC 2006


On Fri, 2006-06-23 at 07:54 +1200, Michael J. Knox wrote:
> Eric Tanguy wrote:
> > Le jeudi 22 juin 2006 à 08:13 +0100, Paul Howarth a écrit :
> > 
> >>On Thu, 2006-06-22 at 07:39 +0200, Eric Tanguy wrote:
> >>
> >>>Since i updated mock to 0.6-1.fc5 when i try to run it i obtain :
> >>>init
> >>>clean
> >>>prep
> >>>This may take a while
> >>>Could not find useradd in chroot, maybe the install failed?
> >>>ending
> >>>done
> >>>
> >>>What is the problem ?
> >>
> >>Look in your root.log and try to figure out why shadow-utils (a
> >>dependency of rpm) didn't get installed.
> >>
> >>Paul.
> >>
> > 
> > Executing /usr/sbin/mock-helper yum
> > --installroot /var/lib/mock/fedora-development-i386-core/root install
> > buildsys-build
> > No Match for argument: buildsys-build
> > 
> > Eric
> > 
> > 
> 
> I am not sure the differnce, but in the /etc/mock/defaults.cfg file 
> there are two lines that look like this:
> 
> config_opts['chroot_setup_cmd'] = 'install buildsys-build'
> #config_opts['chroot_setup_cmd'] = 'groupinstall build'
> 
> I made it look like:
> 
> #config_opts['chroot_setup_cmd'] = 'install buildsys-build'
> config_opts['chroot_setup_cmd'] = 'groupinstall build'
> 
> And my mock setup is working again.....

You'll get this if you have a local groups repo. You need to add the
buildsys-build package to it. You can get it from here:

http://buildsys.fedoraproject.org/buildgroups/development/i386/

Paul.




More information about the fedora-extras-list mailing list