The bzr-fastimport release 0.13.0 does not work with recent python-fastimport. Looking at the upstream repository I notice http://bazaar.launchpad.net/~bzr/bzr-fastimport/trunk/revision/359.1.1 which is described as “Import helper functions that have been removed from python-fastimport.” Unfortunately that commit has not been part of any official release so far, despite its age (dates from 2014). Perhaps Gentoo should create a 0.13.0-r1 based on a more recent snapshot of the codebase? bzr: ERROR: exceptions.ImportError: cannot import name binary_stream Traceback (most recent call last): File "/usr/lib64/python2.7/site-packages/bzrlib/commands.py", line 930, in exception_to_return_code return the_callable(*args, **kwargs) File "/usr/lib64/python2.7/site-packages/bzrlib/commands.py", line 1121, in run_bzr ret = run(*run_argv) File "/usr/lib64/python2.7/site-packages/bzrlib/commands.py", line 673, in run_argv_aliases return self.run(**all_cmd_args) File "/usr/lib64/python2.7/site-packages/bzrlib/commands.py", line 697, in run return self._operation.run_simple(*args, **kwargs) File "/usr/lib64/python2.7/site-packages/bzrlib/cleanup.py", line 136, in run_simple self.cleanups, self.func, *args, **kwargs) File "/usr/lib64/python2.7/site-packages/bzrlib/cleanup.py", line 166, in _do_with_cleanups result = func(*args, **kwargs) File "/usr/lib64/python2.7/site-packages/bzrlib/plugins/fastimport/cmds.py", line 679, in run from bzrlib.plugins.fastimport import exporter File "/usr/lib64/python2.7/site-packages/bzrlib/plugins/fastimport/exporter.py", line 67, in <module> from fastimport.helpers import ( ImportError: cannot import name binary_stream bzr 2.6.0 on python 2.7.11 (…) arguments: ['/usr/lib/python-exec/python2.7/bzr', 'fast-export', 'trunk'] plugins: … encoding: 'utf-8', fsenc: 'UTF-8', lang: '…' *** 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.
Any news? From the upstream bug tracker: "you need a bzr-fastimport snapshot to get the fix. 0.13.0 is too old."
*** Bug 627120 has been marked as a duplicate of this bug. ***
The bug has been referenced in the following commit(s): https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=e956dc327ef80b0887f67b00d0f9da8c5ee32897 commit e956dc327ef80b0887f67b00d0f9da8c5ee32897 Author: Michał Górny <mgorny@gentoo.org> AuthorDate: 2019-03-17 18:46:15 +0000 Commit: Michał Górny <mgorny@gentoo.org> CommitDate: 2019-03-17 18:46:15 +0000 package.mask: Last rite dev-vcs/bzr-fastimport Bug: https://bugs.gentoo.org/591446 Signed-off-by: Michał Górny <mgorny@gentoo.org> profiles/package.mask | 6 ++++++ 1 file changed, 6 insertions(+)
The bug has been closed via the following commit(s): https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=0ad346cbb315f93498c5ad12fb5ff198e7224a31 commit 0ad346cbb315f93498c5ad12fb5ff198e7224a31 Author: Michał Górny <mgorny@gentoo.org> AuthorDate: 2019-04-16 07:33:52 +0000 Commit: Michał Górny <mgorny@gentoo.org> CommitDate: 2019-04-16 07:36:33 +0000 dev-vcs/bzr-fastimport: Remove last-rited pkg Closes: https://bugs.gentoo.org/591446 Signed-off-by: Michał Górny <mgorny@gentoo.org> dev-vcs/bzr-fastimport/Manifest | 1 - .../bzr-fastimport/bzr-fastimport-0.13.0.ebuild | 33 ---------------------- dev-vcs/bzr-fastimport/metadata.xml | 8 ------ profiles/package.mask | 12 -------- 4 files changed, 54 deletions(-) https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=dd9348004e0502f3ed414626b6c51d706a0f951a commit dd9348004e0502f3ed414626b6c51d706a0f951a Author: Michał Górny <mgorny@gentoo.org> AuthorDate: 2019-04-16 07:33:18 +0000 Commit: Michał Górny <mgorny@gentoo.org> CommitDate: 2019-04-16 07:36:32 +0000 dev-vcs/git-bzr-ng: Remove last-rited pkg Closes: https://bugs.gentoo.org/591446 Signed-off-by: Michał Górny <mgorny@gentoo.org> dev-vcs/git-bzr-ng/Manifest | 1 - .../git-bzr-ng/git-bzr-ng-0_pre20120822-r2.ebuild | 36 ---------------------- dev-vcs/git-bzr-ng/metadata.xml | 8 ----- profiles/package.mask | 1 - 4 files changed, 46 deletions(-)