Source: relatorio Version: 0.6.4-1 Severity: serious Tags: patch buster sid
https://tests.reproducible-builds.org/debian/rb-pkg/unstable/amd64/relatorio.html ... dh_install mkdir -p debian/python-relatorio/usr/share/python-relatorio mv debian/python-relatorio/usr/lib/"python2.7"/dist-packages/relatorio/tests/ debian/python-relatorio/usr/share/python-relatorio mkdir -p debian/python3-relatorio/usr/share/python3-relatorio mv debian/python3-relatorio/usr/lib/"python3.6 python3.5"/dist-packages/relatorio/tests/ debian/python3-relatorio/usr/share/python3-relatorio mv: cannot stat 'debian/python3-relatorio/usr/lib/python3.6 python3.5/dist-packages/relatorio/tests/': No such file or directory debian/rules:13: recipe for target 'override_dh_install' failed make[1]: *** [override_dh_install] Error 1 Attached is the fix I found in Ubuntu.
diff -pruN 0.6.4-1/debian/changelog 0.6.4-1ubuntu1/debian/changelog --- 0.6.4-1/debian/changelog 2016-12-19 09:48:20.000000000 +0000 +++ 0.6.4-1ubuntu1/debian/changelog 2017-06-27 03:20:14.000000000 +0000 @@ -1,3 +1,9 @@ +relatorio (0.6.4-1ubuntu1) artful; urgency=medium + + * Fix ftbfs when multiple Python versions are supported. + + -- Michael Hudson-Doyle <michael.hud...@ubuntu.com> Tue, 27 Jun 2017 15:20:00 +1200 + relatorio (0.6.4-1) unstable; urgency=medium * Merging upstream version 0.6.4. diff -pruN 0.6.4-1/debian/rules 0.6.4-1ubuntu1/debian/rules --- 0.6.4-1/debian/rules 2016-12-19 09:48:01.000000000 +0000 +++ 0.6.4-1ubuntu1/debian/rules 2017-06-27 03:16:44.000000000 +0000 @@ -3,8 +3,8 @@ PACKAGE_NAME := $(shell python setup.py --name) export PYBUILD_NAME=$(PACKAGE_NAME) -PYTHON2_VERSIONS = $(shell pyversions -r) -PYTHON3_VERSIONS = $(shell py3versions -r) +PYTHON2_VERSION = $(shell pyversions -d) +PYTHON3_VERSION = $(shell py3versions -d) %: dh $@ --with python2,python3 --buildsystem=pybuild @@ -12,6 +12,6 @@ PYTHON3_VERSIONS = $(shell py3versions - override_dh_install: dh_install mkdir -p debian/python-relatorio/usr/share/python-relatorio - mv debian/python-relatorio/usr/lib/"$(PYTHON2_VERSIONS)"/dist-packages/relatorio/tests/ debian/python-relatorio/usr/share/python-relatorio + mv debian/python-relatorio/usr/lib/"$(PYTHON2_VERSION)"/dist-packages/relatorio/tests/ debian/python-relatorio/usr/share/python-relatorio mkdir -p debian/python3-relatorio/usr/share/python3-relatorio - mv debian/python3-relatorio/usr/lib/"$(PYTHON3_VERSIONS)"/dist-packages/relatorio/tests/ debian/python3-relatorio/usr/share/python3-relatorio + mv debian/python3-relatorio/usr/lib/"$(PYTHON3_VERSION)"/dist-packages/relatorio/tests/ debian/python3-relatorio/usr/share/python3-relatorio