Package: src:pymvpa2
Version: 2.6.5-1
Severity: serious
Tags: ftbfs

Dear maintainer:

I tried to build this package in buster but it failed:

--------------------------------------------------------------------------------
[...]
 debian/rules build-indep
dh build-indep --with=python2 --buildsystem=python_distutils 
--builddirectory=build
   dh_update_autotools_config -i -O--buildsystem=python_distutils 
-O--builddirectory=build
   debian/rules override_dh_auto_configure
make[1]: Entering directory '/<<PKGBUILDDIR>>'
dh_auto_configure
dh_auto_configure: Please use the third-party "pybuild" build system instead of 
python-distutils
dh_auto_configure: This feature will be removed in compat 12.
mkdir -p /<<PKGBUILDDIR>>/build
cp -rp debian/intersphinx doc/source/
which swig >/dev/null || ln -s /usr/bin/swig2.0 /<<PKGBUILDDIR>>/build/swig
make[1]: Leaving directory '/<<PKGBUILDDIR>>'
   debian/rules override_dh_auto_build
make[1]: Entering directory '/<<PKGBUILDDIR>>'

[... snipped ...]

    self.test(*self.arg)
  File 
"/<<PKGBUILDDIR>>/debian/tmp/usr/lib/python2.7/dist-packages/mvpa2/tests/test_hdf5.py",
 line 83, in test_h5py_dataset_typecheck
    assert_raises(ValueError, AttrDataset.from_hdf5, fpath2)
  File "/usr/lib/python2.7/unittest/case.py", line 473, in assertRaises
    callableObj(*args, **kwargs)
  File 
"/<<PKGBUILDDIR>>/debian/tmp/usr/lib/python2.7/dist-packages/mvpa2/base/dataset.py",
 line 573, in from_hdf5
    if isinstance(source, h5py.highlevel.File):
AttributeError: 'module' object has no attribute 'highlevel'

======================================================================
ERROR: mvpa2.tests.test_hdf5.test_class_oldstyle
----------------------------------------------------------------------
Traceback (most recent call last):
  File "/usr/lib/python2.7/dist-packages/nose/case.py", line 197, in runTest
    self.test(*self.arg)
  File 
"/<<PKGBUILDDIR>>/debian/tmp/usr/lib/python2.7/dist-packages/mvpa2/testing/tools.py",
 line 291, in newfunc
    func(*(arg + (filename,)), **kw)
  File 
"/<<PKGBUILDDIR>>/debian/tmp/usr/lib/python2.7/dist-packages/mvpa2/tests/test_hdf5.py",
 line 155, in test_class_oldstyle
    assert_raises(HDF5ConversionError, save, co, fname, compression='gzip')
  File "/usr/lib/python2.7/unittest/case.py", line 473, in assertRaises
    callableObj(*args, **kwargs)
  File 
"/<<PKGBUILDDIR>>/debian/tmp/usr/lib/python2.7/dist-packages/mvpa2/base/dataset.py",
 line 1274, in save
    if isinstance(destination, h5py.highlevel.File):
AttributeError: 'module' object has no attribute 'highlevel'

======================================================================
ERROR: mvpa2.tests.test_hdf5.test_dataset_without_chunks
----------------------------------------------------------------------
Traceback (most recent call last):
  File "/usr/lib/python2.7/dist-packages/nose/case.py", line 197, in runTest
    self.test(*self.arg)
  File 
"/<<PKGBUILDDIR>>/debian/tmp/usr/lib/python2.7/dist-packages/mvpa2/testing/tools.py",
 line 291, in newfunc
    func(*(arg + (filename,)), **kw)
  File 
"/<<PKGBUILDDIR>>/debian/tmp/usr/lib/python2.7/dist-packages/mvpa2/tests/test_hdf5.py",
 line 172, in test_dataset_without_chunks
    save(ds, fname, compression='gzip')
  File 
"/<<PKGBUILDDIR>>/debian/tmp/usr/lib/python2.7/dist-packages/mvpa2/base/dataset.py",
 line 1274, in save
    if isinstance(destination, h5py.highlevel.File):
AttributeError: 'module' object has no attribute 'highlevel'

----------------------------------------------------------------------
Ran 577 tests in 170.523s

FAILED (SKIP=22, errors=4)
make[1]: *** [debian/rules:49: override_dh_auto_install] Error 1
make[1]: Leaving directory '/<<PKGBUILDDIR>>'
make: *** [debian/rules:21: binary-indep] Error 2
dpkg-buildpackage: error: fakeroot debian/rules binary-indep subprocess 
returned exit status 2
--------------------------------------------------------------------------------

The build was made with "dpkg-buildpackage -A" in my autobuilder.
Most probably, it also fails here in reproducible builds:

https://tests.reproducible-builds.org/debian/rb-pkg/unstable/amd64/pymvpa2.html

where you can get a full build log if you need it.

If this is really a bug in one of the build-depends, please use reassign and 
affects,
so that this is still visible in the BTS web page for this package.

Thanks.

Reply via email to