[Pkg-bazaar-maint] Bug#629682: bzrtools: FTBFS: ImportError: No module named deprecated_graph

Didier Raboud odyx at debian.org
Wed Jun 8 14:42:05 UTC 2011


Source: bzrtools
Version: 2.4.0~bzr767-2
Severity: serious
Tags: wheezy sid
User: debian-qa at lists.debian.org
Usertags: qa-ftbfs-20110607 qa-ftbfs
Justification: FTBFS on amd64

Hi,

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

Relevant part:
> 0.794  opening working tree '/tmp/testbzr-ltaT7X.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 "/«BUILDDIR»/bzrtools-2.4.0~bzr767/tests/blackbox.py", line 65, in test_branch_history
>     self.run_bzr('graph-ancestry . graph.dot')
>   File "/usr/lib/python2.6/dist-packages/bzrlib/tests/__init__.py", line 1936, in run_bzr
>     working_dir=working_dir,
>   File "/usr/lib/python2.6/dist-packages/bzrlib/tests/__init__.py", line 1834, in _run_bzr_autosplit
>     encoding=encoding, stdin=stdin, working_dir=working_dir,
>   File "/usr/lib/python2.6/dist-packages/bzrlib/tests/__init__.py", line 1869, in _run_bzr_core
>     args)
>   File "/usr/lib/python2.6/dist-packages/bzrlib/tests/__init__.py", line 2178, in apply_redirected
>     return a_callable(*args, **kwargs)
>   File "/usr/lib/python2.6/dist-packages/bzrlib/commands.py", line 1237, in run_bzr_catch_user_errors
>     return run_bzr(argv)
>   File "/usr/lib/python2.6/dist-packages/bzrlib/commands.py", line 1130, in run_bzr
>     ret = run(*run_argv)
>   File "/«BUILDDIR»/bzrtools-2.4.0~bzr767/command.py", line 40, in run_argv_aliases
>     commands.Command.run_argv_aliases(self, argv, alias_argv)
>   File "/usr/lib/python2.6/dist-packages/bzrlib/commands.py", line 691, in run_argv_aliases
>     return self.run(**all_cmd_args)
>   File "/usr/lib/python2.6/dist-packages/bzrlib/commands.py", line 713, in run
>     return self._operation.run_simple(*args, **kwargs)
>   File "/usr/lib/python2.6/dist-packages/bzrlib/cleanup.py", line 135, in run_simple
>     self.cleanups, self.func, *args, **kwargs)
>   File "/usr/lib/python2.6/dist-packages/bzrlib/cleanup.py", line 165, in _do_with_cleanups
>     result = func(*args, **kwargs)
>   File "/«BUILDDIR»/bzrtools-2.4.0~bzr767/command_classes.py", line 104, in run
>     import graph
>   File "/«BUILDDIR»/bzrtools-2.4.0~bzr767/graph.py", line 23, in <module>
>     from bzrlib.deprecated_graph import node_distances, select_farthest
> ImportError: No module named deprecated_graph
> ------------

(…)
 
> ======================================================================
> ERROR: bzrlib.plugins.bzrtools.tests.blackbox.TestBzrTools.test_branch_history
> ----------------------------------------------------------------------
> _StringException: Text attachment: log
> ------------
> 0.673  run bzr: ['init']
> 0.674  bazaar version: 2.4b3
> 0.674  bzr arguments: [u'init']
> 0.679  encoding stdout as sys.stdout encoding 'ANSI_X3.4-1968'
> 0.684  creating repository in file:///tmp/testbzr-ltaT7X.tmp/bzrlib.plugins.bzrtools.tests.blackbox.TestBzrTools.test_branch_history/work/.bzr/.
> 0.686  creating branch <bzrlib.branch.BzrBranchFormat7 object at 0x2760ed0> in file:///tmp/testbzr-ltaT7X.tmp/bzrlib.plugins.bzrtools.tests.blackbox.TestBzrTools.test_branch_history/work/
> 0.693  trying to create missing lock '/tmp/testbzr-ltaT7X.tmp/bzrlib.plugins.bzrtools.tests.blackbox.TestBzrTools.test_branch_history/work/.bzr/checkout/dirstate'
> 0.693  opening working tree '/tmp/testbzr-ltaT7X.tmp/bzrlib.plugins.bzrtools.tests.blackbox.TestBzrTools.test_branch_history/work'
> 0.699  opening working tree '/tmp/testbzr-ltaT7X.tmp/bzrlib.plugins.bzrtools.tests.blackbox.TestBzrTools.test_branch_history/work'
> 0.719  output:
> 'Created a standalone tree (format: 2a)\n'
> 0.720  run bzr: ['add']
> 0.720  bazaar version: 2.4b3
> 0.720  bzr arguments: [u'add']
> 0.721  encoding stdout as sys.stdout encoding 'ANSI_X3.4-1968'
> 0.724  opening working tree '/tmp/testbzr-ltaT7X.tmp/bzrlib.plugins.bzrtools.tests.blackbox.TestBzrTools.test_branch_history/work'
> 0.746  skip control directory '.bzr'
> 0.746  creating config directory: '/tmp/testbzr-ltaT7X.tmp/bzrlib.plugins.bzrtools.tests.blackbox.TestBzrTools.test_branch_history/home/.bazaar'
> 0.752  output:
> 'adding myfile\n'
> 0.752  run bzr: ['commit', '-m', 'hello']
> 0.752  bazaar version: 2.4b3
> 0.752  bzr arguments: [u'commit', u'-m', u'hello']
> 0.754  encoding stdout as sys.stdout encoding 'ANSI_X3.4-1968'
> 0.758  opening working tree '/tmp/testbzr-ltaT7X.tmp/bzrlib.plugins.bzrtools.tests.blackbox.TestBzrTools.test_branch_history/work'
> 0.766  preparing to commit
>     INFO  Committing to: /tmp/testbzr-ltaT7X.tmp/bzrlib.plugins.bzrtools.tests.blackbox.TestBzrTools.test_branch_history/work/
> 0.769  Selecting files for commit with filter None
>     INFO  added myfile
>     INFO  Committed revision 1.
> 0.780  Committed revid jrandom at example.com-20110607233735-8oocct9ic18ochtn as revno 1.
> 0.781  errors:
> 'Committing to: /tmp/testbzr-ltaT7X.tmp/bzrlib.plugins.bzrtools.tests.blackbox.TestBzrTools.test_branch_history/work/\nadded myfile\nCommitted revision 1.\n'
> 0.781  run bzr: ['graph-ancestry', '.', 'graph.dot']
> 0.781  bazaar version: 2.4b3
> 0.781  bzr arguments: [u'graph-ancestry', u'.', u'graph.dot']
> 0.783  encoding stdout as sys.stdout encoding 'ANSI_X3.4-1968'
> 0.794  opening working tree '/tmp/testbzr-ltaT7X.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 "/«BUILDDIR»/bzrtools-2.4.0~bzr767/tests/blackbox.py", line 65, in test_branch_history
>     self.run_bzr('graph-ancestry . graph.dot')
>   File "/usr/lib/python2.6/dist-packages/bzrlib/tests/__init__.py", line 1936, in run_bzr
>     working_dir=working_dir,
>   File "/usr/lib/python2.6/dist-packages/bzrlib/tests/__init__.py", line 1834, in _run_bzr_autosplit
>     encoding=encoding, stdin=stdin, working_dir=working_dir,
>   File "/usr/lib/python2.6/dist-packages/bzrlib/tests/__init__.py", line 1869, in _run_bzr_core
>     args)
>   File "/usr/lib/python2.6/dist-packages/bzrlib/tests/__init__.py", line 2178, in apply_redirected
>     return a_callable(*args, **kwargs)
>   File "/usr/lib/python2.6/dist-packages/bzrlib/commands.py", line 1237, in run_bzr_catch_user_errors
>     return run_bzr(argv)
>   File "/usr/lib/python2.6/dist-packages/bzrlib/commands.py", line 1130, in run_bzr
>     ret = run(*run_argv)
>   File "/«BUILDDIR»/bzrtools-2.4.0~bzr767/command.py", line 40, in run_argv_aliases
>     commands.Command.run_argv_aliases(self, argv, alias_argv)
>   File "/usr/lib/python2.6/dist-packages/bzrlib/commands.py", line 691, in run_argv_aliases
>     return self.run(**all_cmd_args)
>   File "/usr/lib/python2.6/dist-packages/bzrlib/commands.py", line 713, in run
>     return self._operation.run_simple(*args, **kwargs)
>   File "/usr/lib/python2.6/dist-packages/bzrlib/cleanup.py", line 135, in run_simple
>     self.cleanups, self.func, *args, **kwargs)
>   File "/usr/lib/python2.6/dist-packages/bzrlib/cleanup.py", line 165, in _do_with_cleanups
>     result = func(*args, **kwargs)
>   File "/«BUILDDIR»/bzrtools-2.4.0~bzr767/command_classes.py", line 104, in run
>     import graph
>   File "/«BUILDDIR»/bzrtools-2.4.0~bzr767/graph.py", line 23, in <module>
>     from bzrlib.deprecated_graph import node_distances, select_farthest
> ImportError: No module named deprecated_graph
> ------------
> 
> ----------------------------------------------------------------------
> Ran 83 tests in 1.758s
> 
> FAILED (errors=1)
> 3 tests skipped
> make[1]: *** [override_dh_auto_test] Error 1

The full build log is available from:
   http://people.debian.org/~lucas/logs/2011/06/07/bzrtools_2.4.0~bzr767-2_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.





More information about the Pkg-bazaar-maint mailing list