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

Re: [Python-modules-team] Bug#557925: python-axiom: FTBFS with Python 2.6



Hello Vincent,

On Wed, Jan 13, 2010 at 21:31, Vincent Bernat <bernat@debian.org> wrote:
> OoO En cette fin de matinée  radieuse du mercredi 25 novembre 2009, vers
> 11:49, Jakub Wilk <ubanus@users.sf.net> disait :
>
>> Package: python-axiom
>> Version: 0.5.31-2
>> Severity: important
>> User: debian-python@lists.debian.org
>> Usertags: python2.6 ftbfs
>
>> Hello,
>
>> When rebuilt against python-all{,-dev,-dbg} (and thus python2.6) from
>> Debian experimental (and with python2.6 as the default one), your package
>> FTBFS.
>
> Hi!
>
> I am a bit lost with all  those python2.6 FTBFS. From the log, it is not
> obvious  why it  fails here.  I would  like to  test it  myself.  I have
> installed  python-all{,-dev,-dbg} from  experimental but  default Python
> stays 2.5.  If I change /usr/bin/python symlink to python2.6, CDBS calls
> python2.5 instead of python.
>
> I have  also tried  to update /usr/share/python/debian_defaults  with no
> luck. What  is the cleanest way  to compile something  with python2.6 as
> default?

The cleanest solution would have been to have Python 2.6 as default in
experimental, as a playground (since we can't have it in sid),
something I'm asking since weeks, but I have apparently not the
convincing-skill required.

> A  pbuilder solution would  be great to  avoid to mess  with my
> system.

I've created for testing and building a pbuilder chroot where Python
2.6 is the default:

- installing python2.6, -dev, -all-dev, -dbg, -all-dbg (& friends if
someone is missing) from experimental
- changing the symlinks in /user/bin/python* to point to the relevant
python2.6* binaries
- changing /usr/share/python/debian_defaults setting 2.6 as default
and 2.5 2.6 in supported

that chroot usually works.

In the axiom case, it currently FTBFS because twisted is not available
for Python 2.6:

cd . && python setup.py build
--build-base="/tmp/buildd/python-axiom-0.6.0/./build"
Traceback (most recent call last):
  File "setup.py", line 1, in <module>
    from epsilon.setuphelper import autosetup
  File "/usr/lib/pymodules/python2.6/epsilon/__init__.py", line 3, in <module>
    from epsilon._version import version
  File "/usr/lib/pymodules/python2.6/epsilon/_version.py", line 2, in <module>
    from twisted.python import versions
ImportError: No module named twisted.python
make: *** [debian/python-module-stampdir/python-axiom] Error 1

(attached the full log). So you should first build twisted with 2.6,
retry axiom, loop on all the other (if any) depends needed to be
recompiled with 2.6, then debug teh FTBFS on axiom itself, if still
present.

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

Attachment: python-axiom_0.6.0-1_amd64.build.bz2
Description: BZip2 compressed data


Reply to: