Jakub Wilk, 2011-04-08 23:01 UTC+0200: > I think the problem is here: > > | Adding cdbs dependencies to debian/python3-sleekxmpp.substvars > | cd . && \ > | python setup.py install \ > | --root="/tmp/sleekxmpp-1.0~beta4/debian/tmp/" \ > | --install-purelib=/usr/lib/python3.2/site-packages/ \ > | --prefix=/usr --no-compile -O0 > > You should use python3.2 to install modules for python3.2, not python.
Yes, it looks like CDBS is using python, not python3, every time it runs setup.py. If it may help, here is a patch that works around that, though I doubt it is very useful since it is really a dirty hack: it duplicates rules (since these are :: rules, they cannot be overwritten but only duplicated), removes a hardcoded file, etc. Yuck! I think we can consider this as a CDBS bug, but I shall let Jonas reassign the bug. For a Make hacker, I guess it would not be hard to solve, given that at the point where it strikes, there is enough information to determine the python interpreter to use: python setup.py install […] \ --install-purelib=/usr/lib/python3.2/site-packages/ ^^^ I had a look at /usr/share/cdbs/1/class/python-distutils.mk, it is at line 108, and it looks like cdbs_curpythonindepbinary is not as refined as cdbs_expand_python_distutils_installdir. Now, I have to admit that all this Make stuff is far beyond my knowledge… -- ,--. : /` ) Tanguy Ortolo <xmpp:tan...@ortolo.eu> <irc://irc.oftc.net/Elessar> | `-' Debian Maintainer \_
signature.asc
Description: Digital signature