Package: src:pybel
Version: 0.12.1-1
Severity: serious
Tags: ftbfs

Dear maintainer:

I tried to build this package in a clean chroot 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
I: pybuild base:217: python3.6 setup.py config 
running config
I: pybuild base:217: python3.7 setup.py config 
running config
   dh_auto_build -i -O--buildsystem=pybuild
I: pybuild base:217: /usr/bin/python3.6 setup.py build 
running build
running build_py
creating /<<PKGBUILDDIR>>/.pybuild/cpython3_3.6_pybel/build/pybel

[... snipped ...]

test_get_random_path 
(tests.test_struct.test_transformations.test_random.TestRandomPath)
Test getting random paths doesn't crash. ... ok
test_does_not_redo 
(tests.test_struct.test_transformations.test_transfer.TestTransfer)
Test that :func:`propagate_node_relations` does not add the same edges twice. 
... ok
test_get_children 
(tests.test_struct.test_transformations.test_transfer.TestTransfer)
Test iterating over the children of a node. ... ok
test_infer (tests.test_struct.test_transformations.test_transfer.TestTransfer)
Test inferring child relations. ... ok
test_bad_aminoAcid (tests.test_utils.TestRandom) ... ok
test_get_date (tests.test_utils.TestRandom) ... ok
test_nest_failure (tests.test_utils.TestRandom) ... ok
test_dev (tests.test_utils.TestTokenizeVersion)
Test when there's a dash after. ... ok
test_long (tests.test_utils.TestTokenizeVersion)
Test when the version pieces have more than 1 digit. ... ok
test_simple (tests.test_utils.TestTokenizeVersion)
Test the simplest version string case. ... ok
test_download_raises_on_empty (tests.test_utils.TestUtils)
Test that an error is thrown if an empty resource is downloaded. ... ok
test_download_url (tests.test_utils.TestUtils)
Test downloading a resource by URL. ... ok
test_expand_dict (tests.test_utils.TestUtils) ... ok
test_flatten_dict (tests.test_utils.TestUtils) ... ok
test_flatten_dict_withLists (tests.test_utils.TestUtils) ... ok

======================================================================
ERROR: test_jgif_interchange (tests.test_io.test_jgif.TestJgif)
Tests data from CBN
----------------------------------------------------------------------
Traceback (most recent call last):
  File 
"/<<PKGBUILDDIR>>/.pybuild/cpython3_3.6_pybel/build/tests/test_io/test_jgif.py",
 line 126, in test_jgif_interchange
    graph_jgif_dict = json.load(f)
  File "/usr/lib/python3.6/json/__init__.py", line 296, in load
    return loads(fp.read(),
  File "/usr/lib/python3.6/encodings/ascii.py", line 26, in decode
    return codecs.ascii_decode(input, self.errors)[0]
UnicodeDecodeError: 'ascii' codec can't decode byte 0xe2 in position 30260: 
ordinal not in range(128)

----------------------------------------------------------------------
Ran 657 tests in 29.660s

FAILED (errors=1, skipped=1)
(<BEL p(e0a2441f-fcbe-4:"237b884f-0155-4")>, 2)
E: pybuild pybuild:338: test: plugin distutils failed with: exit code=1: cd 
/<<PKGBUILDDIR>>/.pybuild/cpython3_3.6_pybel/build; python3.6 -m unittest 
discover -v 
dh_auto_test: pybuild --test -i python{version} -p "3.6 3.7" 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 in my autobuilder with "dpkg-buildpackage -A".
Most probably, it will also fail here:

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

but I can't test it yet.

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