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

Bug#488972: illegal instruction on mipsel



Package: python2.5
Version: 2.5.2-7
Severity: grave

Hi,

it seems 2.5.2-7 broke python2.5 on mipsel (at least in some cases)

See the sucessful build of openoffice.org 2.4.1-3 with python2.5 2.5.2-6
(http://buildd.debian.org/build.php?&pkg=openoffice.org&ver=1%3A2.4.1-3&arch=mipsel&file=log)
and the failed build of openoffice.org 2.4.1-4 on the same buildd with
2.5.2-7:
http://buildd.debian.org/build.php?&pkg=openoffice.org&ver=1%3A2.4.1-4&arch=mipsel&file=log

It crashes with an illegal instruction in the AM_PATH_PYTHON check of OOos
configure. Looking at AM_PYTHON and what actually crashes it seems it's
this piece (which AM_PATH_PYTHON uses to check the python version):

AC_DEFUN([AM_PYTHON_CHECK_VERSION],
 [prog="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', '.')) + [[0, 0, 0]]
minverhex = 0
for i in xrange(0, 4): minverhex = (minverhex << 8) + minver[[i]]
sys.exit(sys.hexversion < minverhex)"
  AS_IF([AM_RUN_LOG([$1 -c "$prog"])], [$3], [$4])])

Regards,

Rene



Reply to: