[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Bug#741841: bzr-fastimport: FTBFS: ImportError: cannot import name binary_stream



Source: bzr-fastimport
Version: 0.13.0-4
Severity: serious
Tags: jessie sid
User: debian-qa@lists.debian.org
Usertags: qa-ftbfs-20140315 qa-ftbfs
Justification: FTBFS on amd64

Hi,

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

Relevant part (hopefully):
> make[1]: Entering directory `/«PKGBUILDDIR»'
> BZR_PLUGINS_AT=fastimport@/«PKGBUILDDIR» bzr selftest -s bp.fastimport
> failed to open trace file: [Errno 2] No such file or directory: '/sbuild-nonexistent/.bzr.log'
> bzr: ERROR: exceptions.ImportError: cannot import name binary_stream
> 
> Traceback (most recent call last):
>   File "/usr/lib/python2.7/dist-packages/bzrlib/commands.py", line 930, in exception_to_return_code
>     return the_callable(*args, **kwargs)
>   File "/usr/lib/python2.7/dist-packages/bzrlib/commands.py", line 1121, in run_bzr
>     ret = run(*run_argv)
>   File "/usr/lib/python2.7/dist-packages/bzrlib/commands.py", line 673, in run_argv_aliases
>     return self.run(**all_cmd_args)
>   File "/usr/lib/python2.7/dist-packages/bzrlib/commands.py", line 697, in run
>     return self._operation.run_simple(*args, **kwargs)
>   File "/usr/lib/python2.7/dist-packages/bzrlib/cleanup.py", line 136, in run_simple
>     self.cleanups, self.func, *args, **kwargs)
>   File "/usr/lib/python2.7/dist-packages/bzrlib/cleanup.py", line 166, in _do_with_cleanups
>     result = func(*args, **kwargs)
>   File "/usr/lib/python2.7/dist-packages/bzrlib/builtins.py", line 4201, in run
>     result = tests.selftest(**selftest_kwargs)
>   File "/usr/lib/python2.7/dist-packages/bzrlib/tests/__init__.py", line 3734, in selftest
>     suite = test_suite(keep_only, starting_with)
>   File "/usr/lib/python2.7/dist-packages/bzrlib/tests/__init__.py", line 4225, in test_suite
>     plugin_suite = plugin.test_suite()
>   File "/usr/lib/python2.7/dist-packages/bzrlib/plugin.py", line 555, in test_suite
>     return self.module.test_suite()
>   File "/«PKGBUILDDIR»/__init__.py", line 81, in test_suite
>     return tests.test_suite()
>   File "/«PKGBUILDDIR»/tests/__init__.py", line 55, in test_suite
>     return loader.loadTestsFromModuleNames(module_names)
>   File "/usr/lib/python2.7/dist-packages/bzrlib/tests/TestUtil.py", line 148, in loadTestsFromModuleNames
>     result.addTests(self.loadTestsFromModuleName(name))
>   File "/usr/lib/python2.7/dist-packages/bzrlib/tests/TestUtil.py", line 153, in loadTestsFromModuleName
>     module = pyutils.get_named_object(name)
>   File "/usr/lib/python2.7/dist-packages/bzrlib/pyutils.py", line 58, in get_named_object
>     __import__(module_name, globals(), locals(), [])
>   File "/«PKGBUILDDIR»/tests/test_exporter.py", line 24, in <module>
>     from bzrlib.plugins.fastimport.exporter import (
>   File "/«PKGBUILDDIR»/exporter.py", line 67, in <module>
>     from fastimport.helpers import (
> ImportError: cannot import name binary_stream
> 
> bzr 2.7.0dev1 on python 2.7.6 (Linux-2.6.32-5-xen-amd64-x86_64-with-debian-
>     jessie-sid)
> arguments: ['/usr/bin/bzr', 'selftest', '-s', 'bp.fastimport']
> plugins: bash_completion[2.7.0dev1], changelog_merge[2.7.0dev1],
>     fastimport[0.13.0], grep[2.7.0dev1], launchpad[2.7.0dev1],
>     netrc_credential_store[2.7.0dev1], news_merge[2.7.0dev1],
>     po_merge[2.7.0dev1], weave_fmt[2.7.0dev1]
> encoding: 'ascii', fsenc: 'utf8', lang: None
> 
> *** Bazaar has encountered an internal error.  This probably indicates a
>     bug in Bazaar.  You can help us fix it by filing a bug report at
>         https://bugs.launchpad.net/bzr/+filebug
>     including this traceback and a description of the problem.
> make[1]: *** [override_dh_auto_test] Error 4

The full build log is available from:
   http://aws-logs.debian.net/ftbfs-logs/2014/03/15/bzr-fastimport_0.13.0-4_unstable.log

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 EC2 VM instances from
Amazon Web Services, using a clean, minimal and up-to-date chroot. Every
failed build was retried once to eliminate random failures.


Reply to: