Source: mpi4py
Version: 2.0.0-2
Severity: important
Justification: fails to build from source (but built in the past)
User: debian-al...@lists.debian.org
Usertags: ftbfs

mpi4py FTBFS on Alpha with the following failure in the test suite [1]:

FAIL: testDL1 (test_dl.TestDL)
----------------------------------------------------------------------
Traceback (most recent call last):
  File "/<<PKGBUILDDIR>>/test/test_dl.py", line 18, in testDL1
      self.assertTrue(handle != 0)
      AssertionError: False is not true


In tests/test_dl.py is:

def testDL1(self):
    if sys.platform == 'darwin':
        libm = 'libm.dylib'
    else:
        libm = 'libm.so.6'

And it proceeds to try to open libm which on Alpha fails because
the C library version is 6.1, not 6.  The code should really be
detecting the CPU and if it is Alpha should use 'libm.so.6.1' as
the math library.  (I presume it should also be checking for the
hurd and kfreebsd as they also have different C library versions,
but those builds don't get far enough to see this problem.)

Cheers
Michael.

[1] 
https://buildd.debian.org/status/fetch.php?pkg=mpi4py&arch=alpha&ver=2.0.0-2&stamp=1473761717

Reply via email to