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

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


On Fri, Sep 17, 2010 at 17:37, Justus Winter
<4winter@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

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

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

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

Reply to: