[Python-modules-team] Bug#893242: python-pygit2 FTBFS with dh-python 3.20180313
Adrian Bunk
bunk at debian.org
Sat Mar 17 14:05:28 UTC 2018
Package: dh-python
Version: 3.20180313
Severity: serious
Control: affects -1 src:python-pygit2
https://tests.reproducible-builds.org/debian/rb-pkg/unstable/amd64/python-pygit2.html
...
I: pybuild base:215: python3.6 setup.py test
running test
running build
running build_py
running build_ext
generating cffi module 'build/temp.linux-amd64-3.6/pygit2._libgit2.c'
already up-to-date
Traceback (most recent call last):
File "setup.py", line 202, in <module>
**extra_args)
File "/usr/lib/python3/dist-packages/setuptools/__init__.py", line 129, in setup
return distutils.core.setup(**attrs)
File "/usr/lib/python3.6/distutils/core.py", line 148, in setup
dist.run_commands()
File "/usr/lib/python3.6/distutils/dist.py", line 955, in run_commands
self.run_command(cmd)
File "/usr/lib/python3.6/distutils/dist.py", line 974, in run_command
cmd_obj.run()
File "setup.py", line 99, in run
unittest.main(None, defaultTest='test.test_suite', argv=test_argv)
File "/usr/lib/python3.6/unittest/main.py", line 94, in __init__
self.parseArgs(argv)
File "/usr/lib/python3.6/unittest/main.py", line 124, in parseArgs
self._do_discovery([])
File "/usr/lib/python3.6/unittest/main.py", line 229, in _do_discovery
self.test = loader.discover(self.start, self.pattern, self.top)
File "/usr/lib/python3.6/unittest/loader.py", line 341, in discover
tests = list(self._find_tests(start_dir, pattern))
File "/usr/lib/python3.6/unittest/loader.py", line 406, in _find_tests
yield from self._find_tests(full_path, pattern, namespace)
File "/usr/lib/python3.6/unittest/loader.py", line 398, in _find_tests
full_path, pattern, namespace)
File "/usr/lib/python3.6/unittest/loader.py", line 451, in _find_test_path
msg % (mod_name, module_dir, expected_dir))
ImportError: 'test_archive' module incorrectly imported from '/build/1st/python-pygit2-0.26.3/.pybuild/cpython3_3.6_pygit2/build/test'. Expected '/build/1st/python-pygit2-0.26.3/test'. Is this module globally installed?
E: pybuild pybuild:323: test: plugin distutils failed with: exit code=1: python3.6 setup.py test
dh_auto_test: pybuild --test -i python{version} -p 3.6 returned exit code 13
make: *** [debian/rules:8: build] Error 25
I do not know in which package the actual bug is.
More information about the Python-modules-team
mailing list