Package: src:distro-info Version: 0.18 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,python3 dh_update_autotools_config -i dh_autoreconf -i dh_auto_configure -i dh_auto_build -i make -j1 "INSTALL=install --strip-program=true" make[1]: Entering directory '/<<PKGBUILDDIR>>' cc -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -fdebug-prefix-map=/<<PKGBUILDDIR>>=. -fstack-protector-strong -Wformat -Werror=format-security -Wall -Wextra -g -O2 -std=gnu99 -Wl,-z,relro -Wl,-z,now -o debian-distro-info debian-distro-info.c cc -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -fdebug-prefix-map=/<<PKGBUILDDIR>>=. -fstack-protector-strong -Wformat -Werror=format-security -Wall -Wextra -g -O2 -std=gnu99 -Wl,-z,relro -Wl,-z,now -o ubuntu-distro-info ubuntu-distro-info.c make[1]: Leaving directory '/<<PKGBUILDDIR>>' dh_auto_test -i make -j1 test make[1]: Entering directory '/<<PKGBUILDDIR>>' [... snipped ...] cb(astroid) File "/usr/lib/python3/dist-packages/pylint/checkers/variables.py", line 1245, in visit_import module = next(node.infer_name_module(parts[0])) File "/usr/lib/python3/dist-packages/astroid/context.py", line 71, in cache_generator for result in generator: File "/usr/lib/python3/dist-packages/astroid/decorators.py", line 89, in wrapped res = next(generator) File "/usr/lib/python3/dist-packages/astroid/inference.py", line 194, in infer_import yield self.do_import_module(name) File "/usr/lib/python3/dist-packages/astroid/mixins.py", line 119, in do_import_module relative_only=level and level >= 1) File "/usr/lib/python3/dist-packages/astroid/scoped_nodes.py", line 593, in import_module return MANAGER.ast_from_module_name(absmodname) File "/usr/lib/python3/dist-packages/astroid/manager.py", line 154, in ast_from_module_name return self.ast_from_file(found_spec.location, modname, fallback=False) File "/usr/lib/python3/dist-packages/astroid/manager.py", line 80, in ast_from_file return AstroidBuilder(self).file_build(filepath, modname) File "/usr/lib/python3/dist-packages/astroid/builder.py", line 153, in file_build return self._post_build(module, encoding) File "/usr/lib/python3/dist-packages/astroid/builder.py", line 173, in _post_build self.delayed_assattr(delayed) File "/usr/lib/python3/dist-packages/astroid/builder.py", line 232, in delayed_assattr for inferred in node.expr.infer(): File "/usr/lib/python3/dist-packages/astroid/decorators.py", line 89, in wrapped res = next(generator) File "/usr/lib/python3/dist-packages/astroid/bases.py", line 95, in _infer_stmts for inferred in stmt.infer(context=context): File "/usr/lib/python3/dist-packages/astroid/context.py", line 71, in cache_generator for result in generator: RuntimeError: generator raised StopIteration pylint found issues: ************* Module debian-distro-info F: 1, 0: <class 'RuntimeError'>: generator raised StopIteration (astroid-error) ************* Module ubuntu-distro-info F: 1, 0: <class 'RuntimeError'>: generator raised StopIteration (astroid-error) ---------------------------------------------------------------------- Ran 26 tests in 0.730s FAILED (failures=1) Test failed: <unittest.runner.TextTestResult run=26 errors=0 failures=1> error: Test failed: <unittest.runner.TextTestResult run=26 errors=0 failures=1> make[1]: *** [Makefile:45: test-python] Error 1 make[1]: Leaving directory '/<<PKGBUILDDIR>>' dh_auto_test: make -j1 test returned exit code 2 make: *** [debian/rules:6: build-indep] Error 2 dpkg-buildpackage: error: debian/rules build-indep subprocess returned exit status 2 -------------------------------------------------------------------------------- The build was made in my autobuilder with "dpkg-buildpackage -A" but it also fails here: https://tests.reproducible-builds.org/debian/rb-pkg/unstable/amd64/distro-info.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.