On Fri, Oct 15, 2010 at 11:33, Narendra Sisodiya
<narendra(a)narendrasisodiya.com> wrote:
On Fri, Oct 15, 2010 at 10:31 PM, Narendra Sisodiya
<narendra(a)narendrasisodiya.com> wrote:
>
> creating 32 bit iso file on 64 bit machine using pungi and mock. but
> following error I am getting.
>
>
> [root@narendra mock]# mock -r fedora-13-i386 --clean
> INFO: mock.py version 1.1.5 starting...
> State Changed: init plugins
> INFO: selinux enabled
> State Changed: start
> State Changed: lock buildroot
> State Changed: clean
> [root@narendra mock]# mock -r fedora-13-i386 --init
> INFO: mock.py version 1.1.5 starting...
> State Changed: init plugins
> INFO: selinux enabled
> State Changed: start
> State Changed: lock buildroot
> State Changed: clean
> State Changed: init
> State Changed: lock buildroot
> Mock Version: 1.1.5
> INFO: Mock Version: 1.1.5
> INFO: enabled root cache
> State Changed: unpacking root cache
> INFO: enabled yum cache
> State Changed: cleaning yum metadata
> INFO: enabled ccache
> State Changed: running yum
> ERROR: Command failed. See logs for output.
> # ['/usr/sbin/groupadd', '-g', '478', 'mockbuild']
> [root@narendra mock]#
>
Ok I ran into this problem. The issue is that you can not run mock as
the root user. Add the user who is going to run mock into the group
user.
groupadd -a -G mock username
and then run as that user and you should avoid both problems.
After this, I have applied this commad
# mock -r fedora-13-i386 --no-clean --install pungi
INFO: mock.py version 1.1.5 starting...
State Changed: init plugins
INFO: selinux enabled
State Changed: start
State Changed: lock buildroot
but it is not installing anything. it seems to be hang.
--
┌─────────────────────────┐
│ Narendra Sisodiya
│
http://narendrasisodiya.com
└─────────────────────────┘
--
buildsys mailing list
buildsys(a)lists.fedoraproject.org
https://admin.fedoraproject.org/mailman/listinfo/buildsys
--
Stephen J Smoogen.
“The core skill of innovators is error recovery, not failure avoidance.”
Randy Nelson, President of Pixar University.
"We have a strategic plan. It's called doing things.""
— Herb Kelleher, founder Southwest Airlines