Package: src:git-build-recipe Version: 0.3.2 Severity: serious Dear maintainer:
I tried to build this package in stretch with "dpkg-buildpackage -A" (which is what the "Arch: all" autobuilder would do to build it) but it failed: -------------------------------------------------------------------------------- [...] debian/rules build-indep dh build-indep --with python3 --buildsystem pybuild dh_testdir -i -O--buildsystem=pybuild dh_update_autotools_config -i -O--buildsystem=pybuild dh_auto_configure -i -O--buildsystem=pybuild I: pybuild base:184: python3.5 setup.py config running config dh_auto_build -i -O--buildsystem=pybuild I: pybuild base:184: /usr/bin/python3 setup.py build running build running build_py creating /<<PKGBUILDDIR>>/.pybuild/pythonX.Y_3.5/build/gitbuildrecipe copying gitbuildrecipe/deb_util.py -> /<<PKGBUILDDIR>>/.pybuild/pythonX.Y_3.5/build/gitbuildrecipe copying gitbuildrecipe/recipe.py -> /<<PKGBUILDDIR>>/.pybuild/pythonX.Y_3.5/build/gitbuildrecipe copying gitbuildrecipe/main.py -> /<<PKGBUILDDIR>>/.pybuild/pythonX.Y_3.5/build/gitbuildrecipe copying gitbuildrecipe/deb_version.py -> /<<PKGBUILDDIR>>/.pybuild/pythonX.Y_3.5/build/gitbuildrecipe copying gitbuildrecipe/__init__.py -> /<<PKGBUILDDIR>>/.pybuild/pythonX.Y_3.5/build/gitbuildrecipe creating /<<PKGBUILDDIR>>/.pybuild/pythonX.Y_3.5/build/gitbuildrecipe/tests copying gitbuildrecipe/tests/test_deb_version.py -> /<<PKGBUILDDIR>>/.pybuild/pythonX.Y_3.5/build/gitbuildrecipe/tests copying gitbuildrecipe/tests/test_recipe.py -> /<<PKGBUILDDIR>>/.pybuild/pythonX.Y_3.5/build/gitbuildrecipe/tests copying gitbuildrecipe/tests/test_blackbox.py -> /<<PKGBUILDDIR>>/.pybuild/pythonX.Y_3.5/build/gitbuildrecipe/tests copying gitbuildrecipe/tests/__init__.py -> /<<PKGBUILDDIR>>/.pybuild/pythonX.Y_3.5/build/gitbuildrecipe/tests debian/rules override_dh_auto_test make[1]: Entering directory '/<<PKGBUILDDIR>>' LC_ALL=C.UTF-8 dh_auto_test I: pybuild base:184: cd /<<PKGBUILDDIR>>/.pybuild/pythonX.Y_3.5/build; python3.5 -m nose ............................................................E................................................................................................. ====================================================================== ERROR: gitbuildrecipe.tests.test_recipe.BuildTreeTests.test_build_tree_merge_unrelated ---------------------------------------------------------------------- testtools.testresult.real._StringException: Traceback (most recent call last): File "/<<PKGBUILDDIR>>/.pybuild/pythonX.Y_3.5/build/gitbuildrecipe/recipe.py", line 348, in merge_branch child_branch.commit) File "/<<PKGBUILDDIR>>/.pybuild/pythonX.Y_3.5/build/gitbuildrecipe/recipe.py", line 637, in git_call **kwargs) File "/usr/lib/python3.5/subprocess.py", line 626, in check_output **kwargs).stdout File "/usr/lib/python3.5/subprocess.py", line 708, in run output=stdout, stderr=stderr) subprocess.CalledProcessError: Command '['git', '-C', 'target', 'merge', '--commit', '-m', 'Merge HEAD', 'cffd324cab4213c080815e51045e11e544b4791a']' returned non-zero exit status 128 During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/<<PKGBUILDDIR>>/.pybuild/pythonX.Y_3.5/build/gitbuildrecipe/tests/test_recipe.py", line 620, in test_build_tree_merge_unrelated build_tree(base_branch, "target") File "/<<PKGBUILDDIR>>/.pybuild/pythonX.Y_3.5/build/gitbuildrecipe/recipe.py", line 464, in build_tree _build_inner_tree(base_branch, target_path) File "/<<PKGBUILDDIR>>/.pybuild/pythonX.Y_3.5/build/gitbuildrecipe/recipe.py", line 388, in _build_inner_tree instruction.apply(target_path) File "/<<PKGBUILDDIR>>/.pybuild/pythonX.Y_3.5/build/gitbuildrecipe/recipe.py", line 520, in apply merge_branch(self.recipe_branch, target_path) File "/<<PKGBUILDDIR>>/.pybuild/pythonX.Y_3.5/build/gitbuildrecipe/recipe.py", line 350, in merge_branch raise MergeFailed(e.output) gitbuildrecipe.recipe.MergeFailed: git merge failed: fatal: refusing to merge unrelated histories -------------------- >> begin captured logging << -------------------- root: INFO: Building tree. root: INFO: Retrieving 'source1' to put at 'target'. root: INFO: Merging 'source2' in to 'target'. --------------------- >> end captured logging << --------------------- ---------------------------------------------------------------------- Ran 158 tests in 18.388s FAILED (errors=1) E: pybuild pybuild:276: test: plugin distutils failed with: exit code=1: cd /<<PKGBUILDDIR>>/.pybuild/pythonX.Y_3.5/build; python3.5 -m nose dh_auto_test: pybuild --test --test-nose -i python{version} -p 3.5 returned exit code 13 debian/rules:6: recipe for target 'override_dh_auto_test' failed make[1]: *** [override_dh_auto_test] Error 25 make[1]: Leaving directory '/<<PKGBUILDDIR>>' debian/rules:3: recipe for target 'build-indep' failed make: *** [build-indep] Error 2 dpkg-buildpackage: error: debian/rules build-indep gave error exit status 2 -------------------------------------------------------------------------------- This used to build ok, so this failure seems related to git 2.9.3, which is in testing since a few days. Thanks.