[Reproducible-builds] Bug#823484: hg-git: FTBFS: AttributeError: 'overlaychangelog' object has no attribute 'changelogrevision'
Chris Lamb
lamby at debian.org
Thu May 5 08:13:10 UTC 2016
Source: hg-git
Version: 0.8.5-2
Severity: serious
Justification: fails to build from source
User: reproducible-builds at lists.alioth.debian.org
Usertags: ftbfs
X-Debbugs-Cc: reproducible-builds at lists.alioth.debian.org
Dear Maintainer,
hg-git fails to build from source in unstable/amd64:
[..]
dh_testdir
dh_testroot
dh_prep
dh_testdir
dh_testroot
dh_install
dh_installdocs
dh_installchangelogs
dh_compress
dh_fixperms
dh_installdeb
dh_gencontrol
dh_md5sums
dh_builddeb
dpkg-deb: building package 'hg-git-build-deps' in '../hg-git-build-deps_0.8.5-2_all.deb'.
The package has been created.
Attention, the package has been created in the current directory,
not in ".." as indicated by the message above!
Selecting previously unselected package hg-git-build-deps.
(Reading database ... 23072 files and directories currently installed.)
Preparing to unpack hg-git-build-deps_0.8.5-2_all.deb ...
Unpacking hg-git-build-deps (0.8.5-2) ...
Reading package lists...
Building dependency tree...
Reading state information...
Correcting dependencies... Done
The following additional packages will be installed:
libjs-excanvas mercurial mercurial-common python-dulwich ucf unzip
Suggested packages:
qct kdiff3 | kdiff3-qt | kompare | meld | tkcvs | mgdiff wish python-mysqldb
python-pygments python-openssl python-dulwich-dbg zip
Recommended packages:
javascript-common openssh-client ca-certificates python-fastimport
The following NEW packages will be installed:
libjs-excanvas mercurial mercurial-common python-dulwich ucf unzip
0 upgraded, 6 newly installed, 0 to remove and 0 not upgraded.
1 not fully installed or removed.
Need to get 2480 kB of archives.
After this operation, 12.6 MB of additional disk space will be used.
Get:1 http://httpredir.debian.org/debian sid/main amd64 unzip amd64 6.0-20 [161 kB]
Get:2 http://httpredir.debian.org/debian sid/main amd64 ucf all 3.0036 [70.2 kB]
Get:3 http://httpredir.debian.org/debian sid/main amd64 libjs-excanvas all 0.r3-4 [45.3 kB]
Get:4 http://httpredir.debian.org/debian sid/main amd64 mercurial-common all 3.8.1-1 [1901 kB]
Get:5 http://httpredir.debian.org/debian sid/main amd64 mercurial amd64 3.8.1-1 [74.7 kB]
Get:6 http://httpredir.debian.org/debian sid/main amd64 python-dulwich amd64 0.13.0-1 [228 kB]
Fetched 2480 kB in 0s (71.6 MB/s)
Selecting previously unselected package unzip.
(Reading database ...
(Reading database ... 5%
(Reading database ... 10%
(Reading database ... 15%
(Reading database ... 20%
(Reading database ... 25%
(Reading database ... 30%
(Reading database ... 35%
(Reading database ... 40%
(Reading database ... 45%
(Reading database ... 50%
(Reading database ... 55%
(Reading database ... 60%
(Reading database ... 65%
(Reading database ... 70%
(Reading database ... 75%
(Reading database ... 80%
(Reading database ... 85%
(Reading database ... 90%
(Reading database ... 95%
(Reading database ... 100%
(Reading database ... 23076 files and directories currently installed.)
Preparing to unpack .../unzip_6.0-20_amd64.deb ...
Unpacking unzip (6.0-20) ...
Selecting previously unselected package ucf.
Preparing to unpack .../archives/ucf_3.0036_all.deb ...
Moving old data out of the way
Unpacking ucf (3.0036) ...
Selecting previously unselected package libjs-excanvas.
Preparing to unpack .../libjs-excanvas_0.r3-4_all.deb ...
Unpacking libjs-excanvas (0.r3-4) ...
Selecting previously unselected package mercurial-common.
Preparing to unpack .../mercurial-common_3.8.1-1_all.deb ...
Unpacking mercurial-common (3.8.1-1) ...
Selecting previously unselected package mercurial.
Preparing to unpack .../mercurial_3.8.1-1_amd64.deb ...
Unpacking mercurial (3.8.1-1) ...
Selecting previously unselected package python-dulwich.
Preparing to unpack .../python-dulwich_0.13.0-1_amd64.deb ...
Unpacking python-dulwich (0.13.0-1) ...
Processing triggers for mime-support (3.60) ...
Processing triggers for man-db (2.7.5-1) ...
Setting up unzip (6.0-20) ...
Setting up ucf (3.0036) ...
Setting up libjs-excanvas (0.r3-4) ...
Setting up mercurial-common (3.8.1-1) ...
Setting up mercurial (3.8.1-1) ...
Creating config file /etc/mercurial/hgrc.d/hgext.rc with new version
Setting up python-dulwich (0.13.0-1) ...
Setting up hg-git-build-deps (0.8.5-2) ...
dpkg-buildpackage -rfakeroot -D -us -uc -b
dpkg-buildpackage: info: source package hg-git
dpkg-buildpackage: info: source version 0.8.5-2
dpkg-buildpackage: info: source distribution unstable
dpkg-buildpackage: info: source changed by Javi Merino <vicho at debian.org>
dpkg-source --before-build hg-git-0.8.5
dpkg-buildpackage: info: host architecture amd64
fakeroot debian/rules clean
dh clean --with python2 --buildsystem python_distutils
dh_testdir -O--buildsystem=python_distutils
dh_auto_clean -O--buildsystem=python_distutils
python setup.py clean -a
/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 clean
'build/lib.linux-x86_64-2.7' does not exist -- can't clean it
'build/bdist.linux-x86_64' does not exist -- can't clean it
'build/scripts-2.7' does not exist -- can't clean it
find . -name \*.pyc -exec rm {} \+
dh_clean -O--buildsystem=python_distutils
debian/rules build
dh build --with python2 --buildsystem python_distutils
dh_testdir -O--buildsystem=python_distutils
dh_update_autotools_config -O--buildsystem=python_distutils
dh_auto_configure -O--buildsystem=python_distutils
dh_auto_build -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/compat.py -> build/lib.linux-x86_64-2.7/hggit
copying hggit/__init__.py -> build/lib.linux-x86_64-2.7/hggit
copying hggit/gitrepo.py -> build/lib.linux-x86_64-2.7/hggit
copying hggit/gitdirstate.py -> build/lib.linux-x86_64-2.7/hggit
copying hggit/git2hg.py -> build/lib.linux-x86_64-2.7/hggit
copying hggit/hg2git.py -> build/lib.linux-x86_64-2.7/hggit
copying hggit/overlay.py -> build/lib.linux-x86_64-2.7/hggit
copying hggit/_ssh.py -> build/lib.linux-x86_64-2.7/hggit
copying hggit/hgrepo.py -> build/lib.linux-x86_64-2.7/hggit
copying hggit/verify.py -> build/lib.linux-x86_64-2.7/hggit
copying hggit/util.py -> build/lib.linux-x86_64-2.7/hggit
copying hggit/git_handler.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 '/home/lamby/temp/cdt.20160505091117.D001sSAI2H.hg-git/hg-git-0.8.5'
make tests TESTFLAGS="--blacklist /home/lamby/temp/cdt.20160505091117.D001sSAI2H.hg-git/hg-git-0.8.5/debian/hg-git.test_blacklist"
make[2]: Entering directory '/home/lamby/temp/cdt.20160505091117.D001sSAI2H.hg-git/hg-git-0.8.5'
cd tests && python run-tests.py --with-hg=`which hg` --blacklist /home/lamby/temp/cdt.20160505091117.D001sSAI2H.hg-git/hg-git-0.8.5/debian/hg-git.test_blacklist
......
--- /home/lamby/temp/cdt.20160505091117.D001sSAI2H.hg-git/hg-git-0.8.5/tests/test-extra.t
+++ /home/lamby/temp/cdt.20160505091117.D001sSAI2H.hg-git/hg-git-0.8.5/tests/test-extra.t.err
@@ -77,7 +77,7 @@
|
o 4 58f855ae26f4930ce857e648d3dd949901cce817
| bbbbbbb=databbb branch=default yyyyyyy=datayyy
- |
+ ~
$ hg push -r b2 -r b3
pushing to $TESTTMP/gitrepo
searching for changes
Warning: test-extra.t output changed
~.......
--- /home/lamby/temp/cdt.20160505091117.D001sSAI2H.hg-git/hg-git-0.8.5/tests/test-incoming.t
+++ /home/lamby/temp/cdt.20160505091117.D001sSAI2H.hg-git/hg-git-0.8.5/tests/test-incoming.t.err
@@ -55,6 +55,73 @@
$ fn_git_commit -m'add d/gamma line 2'
$ cd ../hgrepo
$ hg incoming -p | grep -v 'no changes found'
+ ** Unknown exception encountered with possibly-broken third-party extension hggit
+ ** which supports versions 3.7 of Mercurial.
+ ** Please disable hggit and try your action again.
+ ** If that fixes the bug please report it to https://bitbucket.org/durin42/hg-git/issues
+ ** Python 2.7.11+ (default, Apr 17 2016, 14:00:29) [GCC 5.3.1 20160409]
+ ** Mercurial Distributed SCM (version 3.8.1)
+ ** Extensions loaded: hggit, strip, mq
+ Traceback (most recent call last):
+ File "/usr/bin/hg", line 43, in <module>
+ mercurial.dispatch.run()
+ File "/usr/lib/python2.7/dist-packages/mercurial/dispatch.py", line 59, in run
+ sys.exit((dispatch(request(sys.argv[1:])) or 0) & 255)
+ File "/usr/lib/python2.7/dist-packages/mercurial/dispatch.py", line 125, in dispatch
+ ret = _runcatch(req)
+ File "/usr/lib/python2.7/dist-packages/mercurial/dispatch.py", line 204, in _runcatch
+ return _dispatch(req)
+ File "/usr/lib/python2.7/dist-packages/mercurial/dispatch.py", line 887, in _dispatch
+ cmdpats, cmdoptions)
+ File "/usr/lib/python2.7/dist-packages/mercurial/dispatch.py", line 632, in runcommand
+ ret = _runcommand(ui, options, cmd, d)
+ File "/usr/lib/python2.7/dist-packages/mercurial/dispatch.py", line 1017, in _runcommand
+ return checkargs()
+ File "/usr/lib/python2.7/dist-packages/mercurial/dispatch.py", line 978, in checkargs
+ return cmdfunc()
+ File "/usr/lib/python2.7/dist-packages/mercurial/dispatch.py", line 884, in <lambda>
+ d = lambda: util.checksignature(func)(ui, *args, **cmdoptions)
+ File "/usr/lib/python2.7/dist-packages/mercurial/util.py", line 1007, in check
+ return func(*args, **kwargs)
+ File "/usr/lib/python2.7/dist-packages/mercurial/extensions.py", line 204, in closure
+ return func(*(args + a), **kw)
+ File "/usr/lib/python2.7/dist-packages/mercurial/util.py", line 1007, in check
+ return func(*args, **kwargs)
+ File "/usr/lib/python2.7/dist-packages/hgext/mq.py", line 3519, in mqcommand
+ return orig(ui, repo, *args, **kwargs)
+ File "/usr/lib/python2.7/dist-packages/mercurial/util.py", line 1007, in check
+ return func(*args, **kwargs)
+ File "/usr/lib/python2.7/dist-packages/mercurial/commands.py", line 5067, in incoming
+ return hg.incoming(ui, repo, source, opts)
+ File "/usr/lib/python2.7/dist-packages/mercurial/hg.py", line 820, in incoming
+ return _incoming(display, subreporecurse, ui, repo, source, opts)
+ File "/usr/lib/python2.7/dist-packages/mercurial/hg.py", line 790, in _incoming
+ displaychlist(other, chlist, displayer)
+ File "/usr/lib/python2.7/dist-packages/mercurial/hg.py", line 819, in display
+ displayer.show(other[n])
+ File "/usr/lib/python2.7/dist-packages/mercurial/cmdutil.py", line 1245, in show
+ self._show(ctx, copies, matchfn, props)
+ File "/usr/lib/python2.7/dist-packages/mercurial/cmdutil.py", line 1356, in _show
+ self.showpatch(ctx, matchfn)
+ File "/usr/lib/python2.7/dist-packages/mercurial/cmdutil.py", line 1374, in showpatch
+ match=matchfn, stat=False)
+ File "/usr/lib/python2.7/dist-packages/mercurial/cmdutil.py", line 1187, in diffordiffstat
+ relroot=relroot):
+ File "/usr/lib/python2.7/dist-packages/mercurial/patch.py", line 2313, in difflabel
+ for chunk in func(*args, **kw):
+ File "/usr/lib/python2.7/dist-packages/mercurial/patch.py", line 2265, in diff
+ if f not in ctx1:
+ File "/usr/lib/python2.7/dist-packages/mercurial/context.py", line 87, in __contains__
+ return key in self._manifest
+ File "/usr/lib/python2.7/dist-packages/mercurial/util.py", line 737, in __get__
+ result = self.func(obj)
+ File "/usr/lib/python2.7/dist-packages/mercurial/context.py", line 531, in _manifest
+ return self._repo.manifest.read(self._changeset.manifest)
+ File "/usr/lib/python2.7/dist-packages/mercurial/util.py", line 737, in __get__
+ result = self.func(obj)
+ File "/usr/lib/python2.7/dist-packages/mercurial/context.py", line 527, in _changeset
+ return self._repo.changelog.changelogrevision(self.rev())
+ AttributeError: 'overlaychangelog' object has no attribute 'changelogrevision'
comparing with $TESTTMP/gitrepo
changeset: 1:9497a4ee62e1
bookmark: master
@@ -86,13 +153,6 @@
user: test <test at example.org>
date: Mon Jan 01 00:00:13 2007 +0000
summary: add d/gamma line 2
-
- diff -r 9865e289be73 -r 5202f48c20c9 d/gamma
- --- a/d/gamma Mon Jan 01 00:00:12 2007 +0000
- +++ b/d/gamma Mon Jan 01 00:00:13 2007 +0000
- @@ -1,1 +1,2 @@
- gamma
- +gamma 2
incoming -r
Warning: test-incoming.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-extra.t: output changed
Warned test-incoming.t: output changed
# Ran 36 tests, 1 skipped, 2 warned, 0 failed.
Makefile:13: recipe for target 'tests' failed
make[2]: *** [tests] Error 80
make[2]: Leaving directory '/home/lamby/temp/cdt.20160505091117.D001sSAI2H.hg-git/hg-git-0.8.5'
debian/rules:13: recipe for target 'override_dh_auto_test' failed
make[1]: *** [override_dh_auto_test] Error 2
make[1]: Leaving directory '/home/lamby/temp/cdt.20160505091117.D001sSAI2H.hg-git/hg-git-0.8.5'
debian/rules:9: recipe for target 'build' failed
make: *** [build] Error 2
[..]
The full build log is attached.
Regards,
--
,''`.
: :' : Chris Lamb
`. `'` lamby at debian.org / chris-lamb.co.uk
`-
-------------- next part --------------
A non-text attachment was scrubbed...
Name: hg-git.0.8.5-2.unstable.amd64.log.txt.gz
Type: application/octet-stream
Size: 3599 bytes
Desc: not available
URL: <http://lists.alioth.debian.org/pipermail/reproducible-builds/attachments/20160505/404856d8/attachment.obj>
More information about the Reproducible-builds
mailing list