Package: automake
Version: 1:1.11.1-1
Severity: normal

While porting my package silo-llnl to python3 I found:
./configure --enable-python PYTHON=python3

breaks on the configure.ac line:

AM_PATH_PYTHON(2.1,,:)

with the following (in the config.log):

configure:27094: python3 -c import sys, string # split strings by '.' and 
convert to numeric. Append some zeros # because we need at least 4 digits for 
the hex conversion. minver = map(int, string.split('2.1', '.')) + [0, 0, 0] 
minverhex = 0 for i in xrange(0, 4): minverhex = (minverhex << 8) + minver[i] 
sys.exit(sys.hexversion < minverhex)
Traceback (most recent call last):
  File "<string>", line 4, in <module>
AttributeError: 'module' object has no attribute 'split'
configure:27097: $? = 1
configure:27102: error: too old

It looks like the automake python code needs to be moved to python3-clean code, 
too.

-- System Information:
Debian Release: 6.0
  APT prefers stable
  APT policy: (500, 'stable')
Architecture: powerpc (ppc)

Kernel: Linux 2.6.18-3-powerpc
Locale: LANG=C, LC_CTYPE=C (charmap=ANSI_X3.4-1968)
Shell: /bin/sh linked to /bin/bash

Versions of packages automake depends on:
ii  autoconf                  2.67-2         automatic configure script builder
ii  autotools-dev             20100122.1     Update infrastructure for config.{
ii  dpkg                      1.15.8.10      Debian package management system
ii  install-info              4.13a.dfsg.1-6 Manage installed documentation in 

automake recommends no packages.

automake suggests no packages.

-- no debconf information



-- 
To UNSUBSCRIBE, email to debian-bugs-dist-requ...@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org

Reply via email to