[CentOS] Mock on 5.5 x86_64 failing with Could not find useradd inchroot, maybe the install failed? [SOLVED]

Sat Sep 25 21:25:51 UTC 2010
Jason Pyeron <jpyeron at pdinc.us>

Solved,

> -----Original Message-----
> From: centos-bounces at centos.org 
> [mailto:centos-bounces at centos.org] On Behalf Of Jason Pyeron
> Sent: Saturday, September 25, 2010 17:22
> To: 'CentOS mailing list'
> Subject: [CentOS] Mock on 5.5 x86_64 failing with Could not 
> find useradd inchroot, maybe the install failed?
> 
> I am atempting to work with some rpms in the c5-testing repo.
> 
> When I add:
> 
> [c5-testing]
> name=CentOS-5 Testing
> baseurl=http://dev.centos.org/centos/5/testing/x86_64/

Commenting out the GPG lines avoids the issue.

> gpgcheck=1
> gpgkey=http://dev.centos.org/centos/RPM-GPG-KEY-CentOS-testing
> 

Ex:

[mockbuild at localhost ~]$ mock -r centos-5-x86_64-testdev.cfg init
init
clean
prep
This may take a while
ending
done
Finished initializing root
[mockbuild at localhost ~]$ mock -r centos-5-x86_64-testdev.cfg
backuppc-3.1.0-1.el5.centos.src.rpm
init
clean
prep
This may take a while
setup
build
ending
done
Results and/or logs in: /var/lib/mock/centos-5-x86_64/result


--
-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-
-                                                               -
- Jason Pyeron                      PD Inc. http://www.pdinc.us -
- Principal Consultant              10 West 24th Street #100    -
- +1 (443) 269-1555 x333            Baltimore, Maryland 21218   -
-                                                               -
-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-
This message is copyright PD Inc, subject to license 20080407P00.