Package: mock Version: 1.0.8-1 Severity: grave Justification: renders package unusable
Trying to run mock as root yields the following error message: debian:~# mock -r epel-5-i386 --init INFO: mock.py version 1.0.8 starting... State Changed: init plugins ERROR: No module named root_cache Traceback (most recent call last): File "/usr/sbin/mock", line 693, in <module> main(retParams) File "/usr/sbin/mock", line 535, in main chroot = mock.backend.Root(config_opts, uidManager) File "<peak.util.decorators.rewrap wrapping mock.backend.__init__ at 0xB6986D84>", line 3, in __init__ def __init__(self, config, uidManager): return __decorated(self, config, uidManager) File "/usr/lib/pymodules/python2.6/mock/trace_decorator.py", line 70, in trace result = func(*args, **kw) File "/usr/lib/pymodules/python2.6/mock/backend.py", line 102, in __init__ self._initPlugins() File "<peak.util.decorators.rewrap wrapping mock.backend._initPlugins at 0xB698A994>", line 3, in _initPlugins def _initPlugins(self): return __decorated(self) File "/usr/lib/pymodules/python2.6/mock/trace_decorator.py", line 70, in trace result = func(*args, **kw) File "/usr/lib/pymodules/python2.6/mock/backend.py", line 571, in _initPlugins fp, pathname, description = imp.find_module(modname, [self.pluginDir]) ImportError: No module named root_cache As mock does not seem to work without 'root_cache', which appears to be something shipped by mock, I consider mock to be broken in it's current state. Thanks, Christian -- System Information: Debian Release: squeeze/sid APT prefers unstable APT policy: (500, 'unstable'), (1, 'experimental') Architecture: i386 (i686) Kernel: Linux 2.6.32-5-686 (SMP w/1 CPU core) Locale: LANG=en_US.utf8, LC_CTYPE=en_US.utf8 (charmap=UTF-8) Shell: /bin/sh linked to /bin/dash Versions of packages mock depends on: ii adduser 3.112 add and remove users and groups ii python 2.6.6-1 interactive high-level object-orie ii python-decoratortools 1.8-1 version-agnostic decorators suppor ii python-support 1.0.9 automated rebuilding support for P ii rpm 4.8.1-5 package manager for RPM ii usermode 1.106-1 Graphical tools for certain user a ii yum 3.2.25-1 Advanced front-end for rpm mock recommends no packages. mock suggests no packages. -- no debconf information -- To UNSUBSCRIBE, email to debian-bugs-rc-requ...@lists.debian.org with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org