[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Bug#597164: marked as done (mock: fails with ImportError: No module named root_cache)

Your message dated Sat, 18 Sep 2010 17:54:32 +0000
with message-id <E1Ox1cO-00075W-B7@franck.debian.org>
and subject line Bug#597164: fixed in mock 1.0.8-2
has caused the Debian Bug report #597164,
regarding mock: fails with ImportError: No module named root_cache
to be marked as done.

This means that you claim that the problem has been dealt with.
If this is not the case it is now your responsibility to reopen the
Bug report if necessary, and/or fix the problem forthwith.

(NB: If you are a system administrator and have no idea what this
message is talking about, this may indicate a serious mail system
misconfiguration somewhere. Please contact owner@bugs.debian.org

597164: http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=597164
Debian Bug Tracking System
Contact owner@bugs.debian.org with problems
--- Begin Message ---
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>
  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__
  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


-- 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

--- End Message ---
--- Begin Message ---
Source: mock
Source-Version: 1.0.8-2

We believe that the bug you reported is fixed in the latest version of
mock, which is due to be installed in the Debian FTP archive:

  to main/m/mock/mock_1.0.8-2.debian.tar.gz
  to main/m/mock/mock_1.0.8-2.dsc
  to main/m/mock/mock_1.0.8-2_all.deb

A summary of the changes between this version and the previous one is

Thank you for reporting the bug, which will now be closed.  If you
have further comments please address them to 597164@bugs.debian.org,
and the maintainer will reopen the bug report if appropriate.

Debian distribution maintenance software
Sandro Tosi <morph@debian.org> (supplier of updated mock package)

(This message was generated automatically at their request; if you
believe that there is a problem with it please contact the archive
administrators by mailing ftpmaster@debian.org)

Hash: SHA1

Format: 1.8
Date: Sat, 18 Sep 2010 19:30:05 +0200
Source: mock
Binary: mock
Architecture: source all
Version: 1.0.8-2
Distribution: unstable
Urgency: low
Maintainer: Debian QA Group <packages@qa.debian.org>
Changed-By: Sandro Tosi <morph@debian.org>
 mock       - Build rpm packages inside a chroot
Closes: 597164
 mock (1.0.8-2) unstable; urgency=low
   * QA upload.
   * Makefile.in
     - hardcode the path to the mock directory, needed to properly load (at least
       it's how mock is designed) the plugins; Closes: #597164
 97f959887ce0b85e1af4ade96366fb03788d06e4 1182 mock_1.0.8-2.dsc
 b5b1db02c11e284f3f639ae74e703c37ac64d104 9575 mock_1.0.8-2.debian.tar.gz
 88c7dbec23ca85f30048c9957503a4f9a6e0bd59 87134 mock_1.0.8-2_all.deb
 b2c65e9a0801f7dab3b1cc41e64cdeb2c871785158bc57661d2c439735ae70ad 1182 mock_1.0.8-2.dsc
 dcc949551d72182f4b34f712bcce5f9dc29b741ca10acfb4546c62323cb2a9e0 9575 mock_1.0.8-2.debian.tar.gz
 830990baec60ac2071386c5126cf9f9027cac64766a64408d9c05a8c34b527e8 87134 mock_1.0.8-2_all.deb
 a512ccf1354f6ea13711c0318debd8b4 1182 devel optional mock_1.0.8-2.dsc
 ce30bff745ec9b3a729fb751e1624d48 9575 devel optional mock_1.0.8-2.debian.tar.gz
 1a05941c1f0259e031e361915b6e5916 87134 devel optional mock_1.0.8-2_all.deb

Version: GnuPG v1.4.10 (GNU/Linux)


--- End Message ---

Reply to: