On Sun, 2008-01-20 at 18:50 +0100, Frank Büttner wrote:
Frank Büttner schrieb:
> Ok testet, now an mock init fails with:
> mock -r fedora-4-i386-epel init
> INFO: mock.py version 0.8.9 starting...
> State Changed: init plugins
> State Changed: start
> State Changed: lock buildroot
> State Changed: clean
> State Changed: init
> ERROR: Could not create dir /var/lib/mock/epel-4-i386/result. Error:
> [Errno 13] Permission denied: '/var/lib/mock/epel-4-i386/result'
> Traceback (most recent call last):
> File "/usr/lib/python2.4/site-packages/mock/util.py", line 42, in
> mkdirIfAbsent
> os.makedirs(dir)
> File "/usr/lib/python2.4/os.py", line 159, in makedirs
> mkdir(name, mode)
> OSError: [Errno 13] Permission denied: '/var/lib/mock/epel-4-i386/result'
> ERROR: Could not create dir /var/lib/mock/epel-4-i386/result. Error:
> [Errno 13] Permission denied: '/var/lib/mock/epel-4-i386/result'
>
>
This was resolved.(the permission of /var/lib/mock)
But now I get this:
ERROR: Bad build req: No Package Found for ccache. Exiting.
I (on Fedora 8) and also mock-0.8.9 have the following
in /etc/mock/fedora-4-i386-epel.cfg:
# ccache not available on epel4
config_opts['plugin_conf']['ccache_enable'] = False
Do you see it in your configuration file? If not, please compare it with
distribution one and make the appropriate changes. In case the lines are
present, please upload your complete build logs somewhere, so we can try
to find you what was trying to pull ccache in.
Thanks,
--
Lubomir Kundrak (Red Hat Security Response Team)