Bug#597164: mock: fails with ImportError: No module named root_cache

2010-09-18 Thread Sandro Tosi
Hello,

On Fri, Sep 17, 2010 at 17:37, Justus Winter
<4win...@informatik.uni-hamburg.de> wrote:
> I cannot reproduce this bug, I just built rpms for both epel-5-x86_64
> and epel-5-i386 on two different machines running squeeze (one
> being a x86_64 machine, the other one is an i386).

Nono, the bug is there: I can easily replicate it with a clean chroot.

The reason of the bug is:

# grep PKGPYTHONDIR /usr/sbin/mock
PKGPYTHONDIR="/var/lib/python-support/python2.5/mock"

that obviously point to a wrong directory. if I change that to
/usr/share/pyshared/mock/plugins/ (where root_cache.py lives) it works
fine.

Now I need to find a way to pass that thru automake magic.

Regards,
-- 
Sandro Tosi (aka morph, morpheus, matrixhasu)
My website: http://matrixhasu.altervista.org/
Me at Debian: http://wiki.debian.org/SandroTosi



-- 
To UNSUBSCRIBE, email to debian-qa-packages-requ...@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org
Archive: 
http://lists.debian.org/aanlkti=+=zuj0ze-ygjsvqldgrc64hzkytejn+vce...@mail.gmail.com



Processing of mock_1.0.8-2_amd64.changes

2010-09-18 Thread Archive Administrator
mock_1.0.8-2_amd64.changes uploaded successfully to localhost
along with the files:
  mock_1.0.8-2.dsc
  mock_1.0.8-2.debian.tar.gz
  mock_1.0.8-2_all.deb

Greetings,

Your Debian queue daemon (running on host franck.debian.org)


-- 
To UNSUBSCRIBE, email to debian-qa-packages-requ...@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org
Archive: http://lists.debian.org/e1ox1qf-0005lw...@franck.debian.org



mock_1.0.8-2_amd64.changes ACCEPTED into unstable

2010-09-18 Thread Archive Administrator



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


Override entries for your package:
mock_1.0.8-2.dsc - source devel
mock_1.0.8-2_all.deb - optional devel

Announcing to debian-devel-chan...@lists.debian.org
Closing bugs: 597164 


Thank you for your contribution to Debian.


-- 
To UNSUBSCRIBE, email to debian-qa-packages-requ...@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org
Archive: http://lists.debian.org/e1ox1co-00075n...@franck.debian.org



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

2010-09-18 Thread Debian Bug Tracking System
Your message dated Sat, 18 Sep 2010 17:54:32 +
with message-id 
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 ow...@bugs.debian.org
immediately.)


-- 
597164: http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=597164
Debian Bug Tracking System
Contact ow...@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 
main(retParams)
  File "/usr/sbin/mock", line 535, in main
chroot = mock.backend.Root(config_opts, uidManager)
  File "", 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 "", 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  python2.6.6-1interactive high-level object-orie
ii  python-decoratortools 1.8-1  version-agnostic decorators suppor
ii  python-support1.0.9  automated rebuilding support for P
ii  rpm   4.8.1-5package manager for RPM
ii  usermode  1.106-1Graphical 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:

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



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

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

Debian distribution maintenance software
pp.
Sandro Tosi  (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 ftpmas...@debian.org)


-BEGIN PGP SIGNED MESSAGE-
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 
Changed-By: Sandro Tosi 
Description: 
 mock   - Build rpm packages inside a chroot
Closes: 597164
Changes: 
 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
Checksums-Sha1: 
 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
Checksums-Sha256: 
 b2c65e9a0801f7dab3b1cc41e64cdeb2c871785158bc57661d2c439735ae70ad 1182 

Processing of mock_1.0.8-3_amd64.changes

2010-09-18 Thread Archive Administrator
mock_1.0.8-3_amd64.changes uploaded successfully to localhost
along with the files:
  mock_1.0.8-3.dsc
  mock_1.0.8-3.debian.tar.gz
  mock_1.0.8-3_all.deb

Greetings,

Your Debian queue daemon (running on host franck.debian.org)


-- 
To UNSUBSCRIBE, email to debian-qa-packages-requ...@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org
Archive: http://lists.debian.org/e1ox3r3-0008q3...@franck.debian.org



mock_1.0.8-3_amd64.changes ACCEPTED into unstable

2010-09-18 Thread Archive Administrator



Accepted:
mock_1.0.8-3.debian.tar.gz
  to main/m/mock/mock_1.0.8-3.debian.tar.gz
mock_1.0.8-3.dsc
  to main/m/mock/mock_1.0.8-3.dsc
mock_1.0.8-3_all.deb
  to main/m/mock/mock_1.0.8-3_all.deb


Override entries for your package:
mock_1.0.8-3.dsc - source devel
mock_1.0.8-3_all.deb - optional devel

Announcing to debian-devel-chan...@lists.debian.org


Thank you for your contribution to Debian.


-- 
To UNSUBSCRIBE, email to debian-qa-packages-requ...@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org
Archive: http://lists.debian.org/e1ox47l-00029i...@franck.debian.org