[Python-Dev] 2.1c1 "make test" failures on SGI Irix

Mark Favas m.favas@per.dem.csiro.au
Sun, 15 Apr 2001 13:15:39 +0800


Further investigations withe current CVS 2.1c1 (and everything compiled
without optimization) on a large multi=processor Irix 6.5 box with SGI's
MIPSpro 7.30 compiler:

The previously reported failure of test_largefile was due to running
"make test" on an NFS-mounted filesystem from a box that didn't support
large files. Works on a local filesystem.

The previously reported failure of test_zlib looks as though it is due
to Irix supplying as standard zlib version 1.0.4, whereas the zlib
module requires at least version 1.1.3. This won't be the only platform
where an incompatible zlib is system-supplied and built by default. An
autoconf test for the right version seems indicated (unless setup.py can
just extract the version string from <wherever>/zlib.h - it's there as
#define ZLIB_VERSION "1.0.4" on Irix, and #define ZLIB_VERSION "1.1.3"
on Solaris 8 (both in /usr/include)).


Tests still failing under Irix:

python Lib/test/test_locale.py
'%f' % 1024 =? '1,024.000000' ...
Traceback (most recent call last):
  File "Lib/test/test_locale.py", line 29, in ?
    testformat("%f", 1024, grouping=1, output='1,024.000000')
  File "Lib/test/test_locale.py", line 18, in testformat
    result = locale.format(formatstr, value, grouping = grouping)
  File "/var/tmp/mark/src/Lib/locale.py", line 137, in format
    fields[0],seps=_group(fields[0])
ValueError: unpack sequence of wrong size


-- 
Mark Favas  -   m.favas@per.dem.csiro.au
CSIRO, Private Bag No 5, Wembley, Western Australia 6913, AUSTRALIA