Package: src:python-louvain
Version: 0.0+20181013git3fc1f575-1
Severity: serious
Tags: ftbfs

Dear maintainer:

I tried to build this package but it failed:

--------------------------------------------------------------------------------
[...]
 debian/rules build-indep
dh build-indep --with python3 --buildsystem=pybuild
   dh_update_autotools_config -i -O--buildsystem=pybuild
   dh_autoreconf -i -O--buildsystem=pybuild
   dh_auto_configure -i -O--buildsystem=pybuild
        pybuild --configure --test-nose -i python{version} -p "3.7 3.6"
I: pybuild base:217: python3.7 setup.py config 
running config
I: pybuild base:217: python3.6 setup.py config 
running config
   dh_auto_build -i -O--buildsystem=pybuild
        pybuild --build --test-nose -i python{version} -p "3.7 3.6"
I: pybuild base:217: /usr/bin/python3.7 setup.py build 
running build

[... snipped ...]

creating 
/<<BUILDDIR>>/python-louvain-0.0+20181013git3fc1f575/.pybuild/cpython3_3.6_python-louvain/build/community
copying community/__init__.py -> 
/<<BUILDDIR>>/python-louvain-0.0+20181013git3fc1f575/.pybuild/cpython3_3.6_python-louvain/build/community
copying community/community_status.py -> 
/<<BUILDDIR>>/python-louvain-0.0+20181013git3fc1f575/.pybuild/cpython3_3.6_python-louvain/build/community
copying community/community_louvain.py -> 
/<<BUILDDIR>>/python-louvain-0.0+20181013git3fc1f575/.pybuild/cpython3_3.6_python-louvain/build/community
running build_scripts
creating build/scripts-3.6
copying and adjusting bin/community -> build/scripts-3.6
changing mode of build/scripts-3.6/community from 664 to 775
   dh_auto_test -i -O--buildsystem=pybuild
        pybuild --test --test-nose -i python{version} -p "3.7 3.6"
I: pybuild base:217: cd 
/<<BUILDDIR>>/python-louvain-0.0+20181013git3fc1f575/.pybuild/cpython3_3.7_python-louvain/build;
 python3.7 -m nose -v 
Failure: ModuleNotFoundError (No module named 'networkx') ... ERROR

======================================================================
ERROR: Failure: ModuleNotFoundError (No module named 'networkx')
----------------------------------------------------------------------
Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/nose/failure.py", line 39, in runTest
    raise self.exc_val.with_traceback(self.tb)
  File "/usr/lib/python3/dist-packages/nose/loader.py", line 417, in 
loadTestsFromName
    addr.filename, addr.module)
  File "/usr/lib/python3/dist-packages/nose/importer.py", line 47, in 
importFromPath
    return self.importFromDir(dir_path, fqname)
  File "/usr/lib/python3/dist-packages/nose/importer.py", line 94, in 
importFromDir
    mod = load_module(part_fqname, fh, filename, desc)
  File "/usr/lib/python3.7/imp.py", line 244, in load_module
    return load_package(name, filename)
  File "/usr/lib/python3.7/imp.py", line 216, in load_package
    return _load(spec)
  File "<frozen importlib._bootstrap>", line 696, in _load
  File "<frozen importlib._bootstrap>", line 677, in _load_unlocked
  File "<frozen importlib._bootstrap_external>", line 728, in exec_module
  File "<frozen importlib._bootstrap>", line 219, in _call_with_frames_removed
  File 
"/<<BUILDDIR>>/python-louvain-0.0+20181013git3fc1f575/.pybuild/cpython3_3.7_python-louvain/build/community/__init__.py",
 line 9, in <module>
    from .community_louvain import (
  File 
"/<<BUILDDIR>>/python-louvain-0.0+20181013git3fc1f575/.pybuild/cpython3_3.7_python-louvain/build/community/community_louvain.py",
 line 10, in <module>
    import networkx as nx
ModuleNotFoundError: No module named 'networkx'

----------------------------------------------------------------------
Ran 1 test in 0.004s

FAILED (errors=1)
E: pybuild pybuild:338: test: plugin distutils failed with: exit code=1: cd 
/<<BUILDDIR>>/python-louvain-0.0+20181013git3fc1f575/.pybuild/cpython3_3.7_python-louvain/build;
 python3.7 -m nose -v 
dh_auto_test: pybuild --test --test-nose -i python{version} -p "3.7 3.6" 
returned exit code 13
make: *** [debian/rules:7: build-indep] Error 25
dpkg-buildpackage: error: debian/rules build-indep subprocess returned exit 
status 2
--------------------------------------------------------------------------------

The build was made with "dpkg-buildpackage -A" in a clean chroot using sbuild.
Seems like a missing build-dependency.

Thanks.

Reply via email to