Failing make test on my machine
Andrew Bartlett
abartlet at samba.org
Sat Mar 23 16:17:38 MDT 2013
On Sat, 2013-03-23 at 16:45 -0400, Simo wrote:
> make test simply fails flat on my Fedora 18 machine.
>
> Every time I run it I get multiple modules fail with a python backtrace.
> This last bit is the same in every failure:
>
> File
> "/home/simo/devel/git/upstream/samba/bin/python/samba/__init__.py", line
> 49, in <module>
> import ldb
> ImportError: No module named ldb
>
>
> Anyone knows what is going on here ?
> Does make test now expect to have python ldb modules installed on the
> machine ?
If this is master, I applied Jelmer's patch to move python to the top
level recently (a couple of weeks ago), and there may be some
after-effects of that in a not-clean tree. Most users see a waf
backtrace due to needing to change the bin/python symlink, but perhaps
your particular tree failed in a different way?
Otherwise, this might be something to do with arch-specific python dirs,
as the difference between samba and ldb is that samba is a pure python
library, while ldb is a C module.
I hope this helps, it certainly isn't a dependency on ldb on the system,
and I don't have that (and neither would sn-devel for autobuild).
Andrew Bartlett
--
Andrew Bartlett http://samba.org/~abartlet/
Authentication Developer, Samba Team http://samba.org
More information about the samba-technical
mailing list