[Python-modules-team] Bug#571551: Bug#571551: namebench: FTBFS with Python 2.6 as default

Sandro Tosi morph at debian.org
Fri Feb 26 19:50:06 UTC 2010


Hello Miguel,

On Fri, Feb 26, 2010 at 20:36, Miguel Landaeta <miguel at miguel.cc> wrote:
> On Fri, Feb 26, 2010 at 12:23:39AM +0100, Jakub Wilk wrote:
>> Source: namebench
>> Version: 1.1+dfsg-1
>> Severity: important
>> User: debian-python at lists.debian.org
>> Usertags: python2.6
>>
>> Hello,
>>
>> When rebuilt in an environment with Python 2.6 as the default
>> version, your package failed to build from source. Here are the
>> relevant parts of the build log:
>>
>
> [...]
>
> Hi Jakub, thanks for this report.
>
> How do I set python2.6 as default in sid in order to debug
> this?
>
> This seems easy to fix, but I don't find a correct way to
> switch to python2.6. I have been waiting for python2.6 as
> default version for ages and still it is not the default
> version...

What I do is:

- setup a separate pbuilder chroot, in my case
/home/morph/deb/pbuilder/base_python2.6default.tgz
- sudo pbuilder --login --save-after-login --basetgz
/home/morph/deb/pbuilder/base_python2.6default.tgz
- change /usr/share/python/debian_defaults and set python2.6 as default
- change the symlinks /usr/bin/python* to point to 2.6
- exit from the pbuilder chroot and --build the package with that --basetgz.


Regards,
Sandro

PS: let's thank the python maintainers for not having provided an
environment where to test such problems and for waiting more and more
for the switch....

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





More information about the Python-modules-team mailing list