I have set up a koji build system and on running a scratch build (koji build --scratch dist-ncp bzip2-1.0.5-7.el6_0.src.rpm), I see the below error in mock_output.log. All the source rpms have been imported into the build server.
INFO: mock.py version 1.1.32 starting...
Start: init plugins
INFO: selinux enabled
Finish: init plugins
Start: run
Start: lock buildroot
Start: clean chroot
Finish: clean chroot
Finish: lock buildroot
Start: chroot init
Start: lock buildroot
Mock Version: 1.1.32
INFO: Mock Version: 1.1.32
INFO: calling preinit hooks
Start: device setup
Finish: device setup
Start: yum update
Start: Outputting list of available packages
Finish: Outputting list of available packages
Finish: yum update
ERROR: Could not find useradd in chroot, maybe the install failed?
Here are the packages I have added to the group
koji list-groups dist-ncp-build
bash: None, default [dist-ncp-build]
bzip2: None, default [dist-ncp- build]
coreutils: None, default [dist-ncp-build]
cpio: None, default [dist-ncp-build]
cvs: None, default [dist-ncp-build]
diffutils: None, default [dist-ncp-build]
fedora-release: None, default [dist-ncp-build]
findutils: None, default [dist-ncp-build]
gawk: None, default [dist-ncp-build]
gcc: None, default [dist-ncp-build]
gcc-c++: None, default [dist-ncp-build]
gnupg: None, default [dist-ncp-build]
grep: None, default [dist-ncp-build]
gzip: None, default [dist-ncp-build]
info: None, default [dist-ncp-build]
make: None, default [dist-ncp-build]
patch: None, default [dist-ncp-build]
redhat-rpm-config: None, default [dist-ncp-build]
rpm-build: None, default [dist-ncp-build]
rpmdevtools: None, default [dist-ncp-build]
sed: None, default [dist-ncp-build]
shadow-utils: None, default [dist-ncp-build]
tar: None, default [dist-ncp-build]
unzip: None, default [dist-ncp-build]
utils-linux-ng: None, default [dist-ncp-build]
wget: None, default [dist-ncp-build]
which: None, default [dist-ncp-build]
What am I missing?
Thanks,
Radha.