INFO: mock.py version 1.2.7 starting (python version = 2.7.8)... Start: init plugins INFO: tmpfs initialized INFO: selinux disabled Finish: init plugins Start: run INFO: Start(/var/tmp/lynis/lynis-2.0.0-27.fc21.art.src.rpm) Config(epel-5-x86_64) Start: clean chroot Finish: clean chroot Start: chroot init INFO: mounting tmpfs at /var/lib/mock/epel-5-x86_64/root. INFO: calling preinit hooks INFO: enabled root cache INFO: enabled yum cache Start: cleaning yum metadata Finish: cleaning yum metadata INFO: enabled ccache ERROR: Exception(/var/tmp/lynis/lynis-2.0.0-27.fc21.art.src.rpm) Config(epel-5-x86_64) 0 minutes 0 seconds INFO: Results and/or logs in: /var/lib/mock/epel-5-x86_64/result INFO: unmounting tmpfs. Traceback (most recent call last): File "/usr/sbin/mock", line 829, in main() File "/usr/lib/python2.7/site-packages/mockbuild/trace_decorator.py", line 84, in trace result = func(*args, **kw) File "/usr/sbin/mock", line 650, in main run_command(options, args, config_opts, commands, buildroot, state) File "/usr/lib/python2.7/site-packages/mockbuild/trace_decorator.py", line 84, in trace result = func(*args, **kw) File "/usr/sbin/mock", line 725, in run_command do_rebuild(config_opts, commands, buildroot, args) File "/usr/lib/python2.7/site-packages/mockbuild/trace_decorator.py", line 84, in trace result = func(*args, **kw) File "/usr/sbin/mock", line 496, in do_rebuild post=post_build, clean=clean) File "/usr/lib/python2.7/site-packages/mockbuild/trace_decorator.py", line 84, in trace result = func(*args, **kw) File "/usr/sbin/mock", line 440, in rebuild_generic commands.init(prebuild=not config_opts.get('short_circuit')) File "/usr/lib/python2.7/site-packages/mockbuild/trace_decorator.py", line 84, in trace result = func(*args, **kw) File "/usr/lib/python2.7/site-packages/mockbuild/backend.py", line 122, in init self.buildroot.initialize(**kwargs) File "/usr/lib/python2.7/site-packages/mockbuild/trace_decorator.py", line 84, in trace result = func(*args, **kw) File "/usr/lib/python2.7/site-packages/mockbuild/buildroot.py", line 80, in initialize self._init(prebuild=prebuild, do_log=do_log) File "/usr/lib/python2.7/site-packages/mockbuild/trace_decorator.py", line 84, in trace result = func(*args, **kw) File "/usr/lib/python2.7/site-packages/mockbuild/buildroot.py", line 117, in _init self.plugins.call_hooks('preinit') File "/usr/lib/python2.7/site-packages/mockbuild/trace_decorator.py", line 84, in trace result = func(*args, **kw) File "/usr/lib/python2.7/site-packages/mockbuild/plugin.py", line 65, in call_hooks hook(*args, **kwargs) File "/usr/lib/python2.7/site-packages/mockbuild/trace_decorator.py", line 84, in trace result = func(*args, **kw) File "/usr/lib/python2.7/site-packages/mockbuild/plugins/ccache.py", line 60, in _ccachePreInitHook self.buildroot.uid_manager.changeOwner(self.ccachePath, recursive=True) File "/usr/lib/python2.7/site-packages/mockbuild/trace_decorator.py", line 84, in trace result = func(*args, **kw) File "/usr/lib/python2.7/site-packages/mockbuild/uid.py", line 84, in changeOwner os.chown(os.path.join(root, f), uid, gid) OSError: [Errno 2] No such file or directory: '/var/cache/mock/epel-5-x86_64/ccache/u501/b/stats.lock'