[Python-apps-team] Bug#835611: hg-git: FTBFS in testing (broken by new git)
Santiago Vila
sanvila at debian.org
Sat Aug 27 15:34:28 UTC 2016
Package: src:hg-git
Version: 0.8.5-3
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 python2 --buildsystem python_distutils
dh_testdir -i -O--buildsystem=python_distutils
dh_update_autotools_config -i -O--buildsystem=python_distutils
dh_auto_configure -i -O--buildsystem=python_distutils
dh_auto_build -i -O--buildsystem=python_distutils
python setup.py build --force
/usr/lib/python2.7/distutils/dist.py:267: UserWarning: Unknown distribution option: 'include_package_data'
warnings.warn(msg)
/usr/lib/python2.7/distutils/dist.py:267: UserWarning: Unknown distribution option: 'install_requires'
warnings.warn(msg)
running build
running build_py
creating build
creating build/lib.linux-x86_64-2.7
creating build/lib.linux-x86_64-2.7/hggit
copying hggit/util.py -> build/lib.linux-x86_64-2.7/hggit
copying hggit/overlay.py -> build/lib.linux-x86_64-2.7/hggit
copying hggit/git_handler.py -> build/lib.linux-x86_64-2.7/hggit
copying hggit/_ssh.py -> build/lib.linux-x86_64-2.7/hggit
copying hggit/compat.py -> build/lib.linux-x86_64-2.7/hggit
copying hggit/verify.py -> build/lib.linux-x86_64-2.7/hggit
copying hggit/gitdirstate.py -> build/lib.linux-x86_64-2.7/hggit
copying hggit/gitrepo.py -> build/lib.linux-x86_64-2.7/hggit
copying hggit/hg2git.py -> build/lib.linux-x86_64-2.7/hggit
copying hggit/hgrepo.py -> build/lib.linux-x86_64-2.7/hggit
copying hggit/__init__.py -> build/lib.linux-x86_64-2.7/hggit
copying hggit/git2hg.py -> build/lib.linux-x86_64-2.7/hggit
creating build/lib.linux-x86_64-2.7/hggit/help
copying hggit/help/git.rst -> build/lib.linux-x86_64-2.7/hggit/help
debian/rules override_dh_auto_test
make[1]: Entering directory '/<<PKGBUILDDIR>>'
make tests TESTFLAGS="--blacklist /<<PKGBUILDDIR>>/debian/hg-git.test_blacklist"
make[2]: Entering directory '/<<PKGBUILDDIR>>'
cd tests && python run-tests.py --with-hg=`which hg` --blacklist /<<PKGBUILDDIR>>/debian/hg-git.test_blacklist
...........
--- /<<PKGBUILDDIR>>/tests/test-subrepos.t
+++ /<<PKGBUILDDIR>>/tests/test-subrepos.t.err
@@ -16,11 +16,11 @@
$ git add alpha
$ fn_git_commit -m 'add alpha'
$ git submodule add ../gitsubrepo subrepo1
- Cloning into 'subrepo1'...
+ Cloning into '$TESTTMP/gitrepo1/subrepo1'...
done.
$ fn_git_commit -m 'add subrepo1'
$ git submodule add ../gitsubrepo xyz/subrepo2
- Cloning into 'xyz/subrepo2'...
+ Cloning into '$TESTTMP/gitrepo1/xyz/subrepo2'...
done.
$ fn_git_commit -m 'add subrepo2'
we are going to push to this repo from our hg clone,
Warning: test-subrepos.t output changed
~........................warning: Tested with unexpected mercurial lib: /usr/lib/python2.7/dist-packages/mercurial
(expected /usr/bin/mercurial)
Skipped test-encoding.t: blacklisted
Warned test-subrepos.t: output changed
# Ran 36 tests, 1 skipped, 1 warned, 0 failed.
Makefile:13: recipe for target 'tests' failed
make[2]: *** [tests] Error 80
make[2]: Leaving directory '/<<PKGBUILDDIR>>'
debian/rules:13: recipe for target 'override_dh_auto_test' failed
make[1]: *** [override_dh_auto_test] Error 2
make[1]: Leaving directory '/<<PKGBUILDDIR>>'
debian/rules:9: 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.
More information about the Python-apps-team
mailing list