[Pkg-bazaar-maint] Bug#614523: bzr-hg: FTBFS: AttributeError: 'module' object has no attribute 'chunkiter'

Lucas Nussbaum lucas at lucas-nussbaum.net
Tue Feb 22 06:40:33 UTC 2011


Source: bzr-hg
Version: 0.2.0~bzr341-1
Severity: serious
Tags: wheezy sid
User: debian-qa at lists.debian.org
Usertags: qa-ftbfs-20110221 qa-ftbfs
Justification: FTBFS on amd64

Hi,

During a rebuild of all packages in sid, your package failed to build on
amd64.

Relevant part:
>  /usr/bin/fakeroot debian/rules binary
> test -x debian/rules
> dh_testroot
> dh_clean -k 
> dh_clean: dh_clean -k is deprecated; use dh_prep instead
> dh_installdirs -A 
> mkdir -p "."
> mkdir -p debian/python-module-stampdir
> cd . && \
> 		python setup.py build \
> 		--build-base="/build/user-bzr-hg_0.2.0~bzr341-1-amd64-bjvCkQ/bzr-hg-0.2.0~bzr341/./build"
> running build
> running build_py
> touch debian/python-module-stampdir/bzr-hg
> BZR_PLUGINS_AT=hg@/build/user-bzr-hg_0.2.0~bzr341-1-amd64-bjvCkQ/bzr-hg-0.2.0~bzr341 /usr/bin/bzr selftest -s bp.hg
> bzr selftest: /usr/bin/bzr
>    /usr/lib/pymodules/python2.6/bzrlib
>    bzr-2.3.0 python-2.6.6 Linux-2.6.32-5-amd64-x86_64-with-debian-wheezy-sid
> 
> ERROR: bzrlib.plugins.hg.tests.test_pull.TestPulling.test_pull_into_bzr
>     Text attachment: log
> ------------
> 0.433  hg: a
> 
> 0.434  hg: b
> 
> 0.435  hg: dir/c
> 
> 0.440  hg: dir/d
> 
> 0.444  hg: b
> 
> 0.449  hg: dir/c
> 
> 0.453  creating repository in file:///tmp/testbzr-0CZNjZ.tmp/bzrlib.plugins.hg.tests.test_pull.TestPulling.test_pull_into_bzr/work/bzr/.bzr/.
> 0.456  creating branch <bzrlib.branch.BzrBranchFormat7 object at 0x2ff3290> in file:///tmp/testbzr-0CZNjZ.tmp/bzrlib.plugins.hg.tests.test_pull.TestPulling.test_pull_into_bzr/work/bzr/
> 0.463  trying to create missing lock '/tmp/testbzr-0CZNjZ.tmp/bzrlib.plugins.hg.tests.test_pull.TestPulling.test_pull_into_bzr/work/bzr/.bzr/checkout/dirstate'
> 0.463  opening working tree '/tmp/testbzr-0CZNjZ.tmp/bzrlib.plugins.hg.tests.test_pull.TestPulling.test_pull_into_bzr/work/bzr'
> 0.470  examining a4f0b4fe1c41:48dfa964f8dc
> 0.471  found new changeset 48dfa964f8dc
> 0.477  failed to import pycurl: No module named pycurl
> 0.480  opening working tree '/tmp/testbzr-0CZNjZ.tmp'
> ------------
> Text attachment: traceback
> ------------
> Traceback (most recent call last):
>   File "/usr/lib/python2.6/dist-packages/testtools/runtest.py", line 169, in _run_user
>     return fn(*args, **kwargs)
>   File "/usr/lib/python2.6/dist-packages/testtools/testcase.py", line 499, in _run_test_method
>     return self._get_test_method()()
>   File "/build/user-bzr-hg_0.2.0~bzr341-1-amd64-bjvCkQ/bzr-hg-0.2.0~bzr341/tests/test_pull.py", line 159, in test_pull_into_bzr
>     bzrtree.pull(self.tree.branch)
>   File "/usr/lib/pymodules/python2.6/bzrlib/decorators.py", line 194, in write_locked
>     result = unbound(self, *args, **kwargs)
>   File "/usr/lib/pymodules/python2.6/bzrlib/workingtree.py", line 1676, in pull
>     local=local)
>   File "/usr/lib/pymodules/python2.6/bzrlib/branch.py", line 1086, in pull
>     possible_transports=possible_transports, *args, **kwargs)
>   File "/build/user-bzr-hg_0.2.0~bzr341-1-amd64-bjvCkQ/bzr-hg-0.2.0~bzr341/branch.py", line 323, in pull
>     inter.fetch(revision_id=stop_revision)
>   File "/usr/lib/pymodules/python2.6/bzrlib/decorators.py", line 194, in write_locked
>     result = unbound(self, *args, **kwargs)
>   File "/build/user-bzr-hg_0.2.0~bzr341-1-amd64-bjvCkQ/bzr-hg-0.2.0~bzr341/fetch.py", line 665, in fetch
>     self.addchangegroup(cg, mapping)
>   File "/build/user-bzr-hg_0.2.0~bzr341-1-amd64-bjvCkQ/bzr-hg-0.2.0~bzr341/fetch.py", line 518, in addchangegroup
>     chunkiter = mercurial.changegroup.chunkiter(cg)
> AttributeError: 'module' object has no attribute 'chunkiter'
> ------------
> 
> ERROR: bzrlib.plugins.hg.tests.test_fetch.TestFetching.test_recursive_removing_of_empty_directories
>     Text attachment: log
> ------------
> 0.487  hg: d1/d2/f2
> 
> 0.488  hg: f1
> 
> 0.495  creating repository in file:///tmp/testbzr-0CZNjZ.tmp/bzrlib.plugins.hg.tests.test_fetch.TestFetching.test_recursive_removing_of_empty_directories/work/bzr/.bzr/.
> 0.497  creating branch <bzrlib.branch.BzrBranchFormat7 object at 0x31dced0> in file:///tmp/testbzr-0CZNjZ.tmp/bzrlib.plugins.hg.tests.test_fetch.TestFetching.test_recursive_removing_of_empty_directories/work/bzr/
> 0.505  trying to create missing lock '/tmp/testbzr-0CZNjZ.tmp/bzrlib.plugins.hg.tests.test_fetch.TestFetching.test_recursive_removing_of_empty_directories/work/bzr/.bzr/checkout/dirstate'
> 0.505  opening working tree '/tmp/testbzr-0CZNjZ.tmp/bzrlib.plugins.hg.tests.test_fetch.TestFetching.test_recursive_removing_of_empty_directories/work/bzr'
> 0.515  examining c72f5f39e075:87ba028cce53
> 0.516  found new changeset 87ba028cce53
> 0.520  failed to import pycurl: No module named pycurl
> 0.522  opening working tree '/tmp/testbzr-0CZNjZ.tmp'
> ------------
> Text attachment: traceback
> ------------
> Traceback (most recent call last):
>   File "/usr/lib/python2.6/dist-packages/testtools/runtest.py", line 169, in _run_user
>     return fn(*args, **kwargs)
>   File "/usr/lib/python2.6/dist-packages/testtools/testcase.py", line 499, in _run_test_method
>     return self._get_test_method()()
>   File "/build/user-bzr-hg_0.2.0~bzr341-1-amd64-bjvCkQ/bzr-hg-0.2.0~bzr341/tests/test_fetch.py", line 47, in test_recursive_removing_of_empty_directories
>     bzrtree.pull(hgdir.open_branch())
>   File "/usr/lib/pymodules/python2.6/bzrlib/decorators.py", line 194, in write_locked
>     result = unbound(self, *args, **kwargs)
>   File "/usr/lib/pymodules/python2.6/bzrlib/workingtree.py", line 1676, in pull
>     local=local)
>   File "/usr/lib/pymodules/python2.6/bzrlib/branch.py", line 1086, in pull
>     possible_transports=possible_transports, *args, **kwargs)
>   File "/build/user-bzr-hg_0.2.0~bzr341-1-amd64-bjvCkQ/bzr-hg-0.2.0~bzr341/branch.py", line 323, in pull
>     inter.fetch(revision_id=stop_revision)
>   File "/usr/lib/pymodules/python2.6/bzrlib/decorators.py", line 194, in write_locked
>     result = unbound(self, *args, **kwargs)
>   File "/build/user-bzr-hg_0.2.0~bzr341-1-amd64-bjvCkQ/bzr-hg-0.2.0~bzr341/fetch.py", line 665, in fetch
>     self.addchangegroup(cg, mapping)
>   File "/build/user-bzr-hg_0.2.0~bzr341-1-amd64-bjvCkQ/bzr-hg-0.2.0~bzr341/fetch.py", line 518, in addchangegroup
>     chunkiter = mercurial.changegroup.chunkiter(cg)
> AttributeError: 'module' object has no attribute 'chunkiter'
> ------------
> 
> ======================================================================
> ERROR: bzrlib.plugins.hg.tests.test_pull.TestPulling.test_pull_into_bzr
> ----------------------------------------------------------------------
> _StringException: Text attachment: log
> ------------
> 0.433  hg: a
> 
> 0.434  hg: b
> 
> 0.435  hg: dir/c
> 
> 0.440  hg: dir/d
> 
> 0.444  hg: b
> 
> 0.449  hg: dir/c
> 
> 0.453  creating repository in file:///tmp/testbzr-0CZNjZ.tmp/bzrlib.plugins.hg.tests.test_pull.TestPulling.test_pull_into_bzr/work/bzr/.bzr/.
> 0.456  creating branch <bzrlib.branch.BzrBranchFormat7 object at 0x2ff3290> in file:///tmp/testbzr-0CZNjZ.tmp/bzrlib.plugins.hg.tests.test_pull.TestPulling.test_pull_into_bzr/work/bzr/
> 0.463  trying to create missing lock '/tmp/testbzr-0CZNjZ.tmp/bzrlib.plugins.hg.tests.test_pull.TestPulling.test_pull_into_bzr/work/bzr/.bzr/checkout/dirstate'
> 0.463  opening working tree '/tmp/testbzr-0CZNjZ.tmp/bzrlib.plugins.hg.tests.test_pull.TestPulling.test_pull_into_bzr/work/bzr'
> 0.470  examining a4f0b4fe1c41:48dfa964f8dc
> 0.471  found new changeset 48dfa964f8dc
> 0.477  failed to import pycurl: No module named pycurl
> 0.480  opening working tree '/tmp/testbzr-0CZNjZ.tmp'
> ------------
> Text attachment: traceback
> ------------
> Traceback (most recent call last):
>   File "/usr/lib/python2.6/dist-packages/testtools/runtest.py", line 169, in _run_user
>     return fn(*args, **kwargs)
>   File "/usr/lib/python2.6/dist-packages/testtools/testcase.py", line 499, in _run_test_method
>     return self._get_test_method()()
>   File "/build/user-bzr-hg_0.2.0~bzr341-1-amd64-bjvCkQ/bzr-hg-0.2.0~bzr341/tests/test_pull.py", line 159, in test_pull_into_bzr
>     bzrtree.pull(self.tree.branch)
>   File "/usr/lib/pymodules/python2.6/bzrlib/decorators.py", line 194, in write_locked
>     result = unbound(self, *args, **kwargs)
>   File "/usr/lib/pymodules/python2.6/bzrlib/workingtree.py", line 1676, in pull
>     local=local)
>   File "/usr/lib/pymodules/python2.6/bzrlib/branch.py", line 1086, in pull
>     possible_transports=possible_transports, *args, **kwargs)
>   File "/build/user-bzr-hg_0.2.0~bzr341-1-amd64-bjvCkQ/bzr-hg-0.2.0~bzr341/branch.py", line 323, in pull
>     inter.fetch(revision_id=stop_revision)
>   File "/usr/lib/pymodules/python2.6/bzrlib/decorators.py", line 194, in write_locked
>     result = unbound(self, *args, **kwargs)
>   File "/build/user-bzr-hg_0.2.0~bzr341-1-amd64-bjvCkQ/bzr-hg-0.2.0~bzr341/fetch.py", line 665, in fetch
>     self.addchangegroup(cg, mapping)
>   File "/build/user-bzr-hg_0.2.0~bzr341-1-amd64-bjvCkQ/bzr-hg-0.2.0~bzr341/fetch.py", line 518, in addchangegroup
>     chunkiter = mercurial.changegroup.chunkiter(cg)
> AttributeError: 'module' object has no attribute 'chunkiter'
> ------------
> 
> ======================================================================
> ERROR: bzrlib.plugins.hg.tests.test_fetch.TestFetching.test_recursive_removing_of_empty_directories
> ----------------------------------------------------------------------
> _StringException: Text attachment: log
> ------------
> 0.487  hg: d1/d2/f2
> 
> 0.488  hg: f1
> 
> 0.495  creating repository in file:///tmp/testbzr-0CZNjZ.tmp/bzrlib.plugins.hg.tests.test_fetch.TestFetching.test_recursive_removing_of_empty_directories/work/bzr/.bzr/.
> 0.497  creating branch <bzrlib.branch.BzrBranchFormat7 object at 0x31dced0> in file:///tmp/testbzr-0CZNjZ.tmp/bzrlib.plugins.hg.tests.test_fetch.TestFetching.test_recursive_removing_of_empty_directories/work/bzr/
> 0.505  trying to create missing lock '/tmp/testbzr-0CZNjZ.tmp/bzrlib.plugins.hg.tests.test_fetch.TestFetching.test_recursive_removing_of_empty_directories/work/bzr/.bzr/checkout/dirstate'
> 0.505  opening working tree '/tmp/testbzr-0CZNjZ.tmp/bzrlib.plugins.hg.tests.test_fetch.TestFetching.test_recursive_removing_of_empty_directories/work/bzr'
> 0.515  examining c72f5f39e075:87ba028cce53
> 0.516  found new changeset 87ba028cce53
> 0.520  failed to import pycurl: No module named pycurl
> 0.522  opening working tree '/tmp/testbzr-0CZNjZ.tmp'
> ------------
> Text attachment: traceback
> ------------
> Traceback (most recent call last):
>   File "/usr/lib/python2.6/dist-packages/testtools/runtest.py", line 169, in _run_user
>     return fn(*args, **kwargs)
>   File "/usr/lib/python2.6/dist-packages/testtools/testcase.py", line 499, in _run_test_method
>     return self._get_test_method()()
>   File "/build/user-bzr-hg_0.2.0~bzr341-1-amd64-bjvCkQ/bzr-hg-0.2.0~bzr341/tests/test_fetch.py", line 47, in test_recursive_removing_of_empty_directories
>     bzrtree.pull(hgdir.open_branch())
>   File "/usr/lib/pymodules/python2.6/bzrlib/decorators.py", line 194, in write_locked
>     result = unbound(self, *args, **kwargs)
>   File "/usr/lib/pymodules/python2.6/bzrlib/workingtree.py", line 1676, in pull
>     local=local)
>   File "/usr/lib/pymodules/python2.6/bzrlib/branch.py", line 1086, in pull
>     possible_transports=possible_transports, *args, **kwargs)
>   File "/build/user-bzr-hg_0.2.0~bzr341-1-amd64-bjvCkQ/bzr-hg-0.2.0~bzr341/branch.py", line 323, in pull
>     inter.fetch(revision_id=stop_revision)
>   File "/usr/lib/pymodules/python2.6/bzrlib/decorators.py", line 194, in write_locked
>     result = unbound(self, *args, **kwargs)
>   File "/build/user-bzr-hg_0.2.0~bzr341-1-amd64-bjvCkQ/bzr-hg-0.2.0~bzr341/fetch.py", line 665, in fetch
>     self.addchangegroup(cg, mapping)
>   File "/build/user-bzr-hg_0.2.0~bzr341-1-amd64-bjvCkQ/bzr-hg-0.2.0~bzr341/fetch.py", line 518, in addchangegroup
>     chunkiter = mercurial.changegroup.chunkiter(cg)
> AttributeError: 'module' object has no attribute 'chunkiter'
> ------------
> 
> ----------------------------------------------------------------------
> Ran 58 tests in 0.359s
> 
> FAILED (errors=2)
> make: *** [common-post-build-indep] Error 1

The full build log is available from:
   http://people.debian.org/~lucas/logs/2011/02/21/bzr-hg_0.2.0~bzr341-1_lsid64.buildlog

A list of current common problems and possible solutions is available at 
http://wiki.debian.org/qa.debian.org/FTBFS . You're welcome to contribute!

About the archive rebuild: The rebuild was done on about 50 AMD64 nodes
of the Grid'5000 platform, using a clean chroot.  Internet was not
accessible from the build systems.

-- 
| Lucas Nussbaum
| lucas at lucas-nussbaum.net   http://www.lucas-nussbaum.net/ |
| jabber: lucas at nussbaum.fr             GPG: 1024D/023B3F4F |





More information about the Pkg-bazaar-maint mailing list