Activity log for bug #1954595

Date Who What changed Old value New value Message
2021-12-12 15:46:55 Honza bug added bug
2022-03-13 17:25:44 Jelmer Vernooij affects dh-make (Ubuntu) ubuntu-packaging-guide
2022-05-20 15:30:53 Mauricio Faria de Oliveira bug task added breezy-debian (Ubuntu)
2022-05-20 15:35:44 Mauricio Faria de Oliveira nominated for series Ubuntu Focal
2022-05-20 15:35:44 Mauricio Faria de Oliveira bug task added breezy-debian (Ubuntu Focal)
2022-05-20 15:35:44 Mauricio Faria de Oliveira nominated for series Ubuntu Bionic
2022-05-20 15:35:44 Mauricio Faria de Oliveira bug task added breezy-debian (Ubuntu Bionic)
2022-05-20 15:35:59 Mauricio Faria de Oliveira breezy-debian (Ubuntu): status New Won't Fix
2022-05-20 15:36:18 Mauricio Faria de Oliveira breezy-debian (Ubuntu Bionic): status New Confirmed
2022-05-20 15:36:23 Mauricio Faria de Oliveira breezy-debian (Ubuntu Bionic): importance Undecided Low
2022-05-20 15:36:29 Mauricio Faria de Oliveira breezy-debian (Ubuntu Bionic): assignee Mauricio Faria de Oliveira (mfo)
2022-05-20 15:36:32 Mauricio Faria de Oliveira breezy-debian (Ubuntu Focal): status New Confirmed
2022-05-20 15:36:49 Mauricio Faria de Oliveira breezy-debian (Ubuntu Focal): importance Undecided Medium
2022-05-20 15:36:52 Mauricio Faria de Oliveira breezy-debian (Ubuntu Focal): assignee Mauricio Faria de Oliveira (mfo)
2022-05-20 15:37:01 Mauricio Faria de Oliveira tags sts
2022-05-20 16:10:54 Mauricio Faria de Oliveira description I am following official Ubuntu Packaging Guide: https://packaging.ubuntu.com/html/packaging-new-software.html When I come to the following part, the command crashes: $ bzr dh-make hello 2.10 hello-2.10.tar.gz brz: ERROR: AttributeError: 'NoneType' object has no attribute 'initialize_on_transport' (trackback bellow) My system: Description: Ubuntu 20.04.3 LTS Release: 20.04 dh-make: Installed: 2.201903 Candidate: 2.201903 Version table: *** 2.201903 500 500 http://cz.archive.ubuntu.com/ubuntu focal/main amd64 Packages 500 http://cz.archive.ubuntu.com/ubuntu focal/main i386 Packages 100 /var/lib/dpkg/status $ bzr dh-make hello 2.10 hello-2.10.tar.gz brz: ERROR: AttributeError: 'NoneType' object has no attribute 'initialize_on_transport' Traceback (most recent call last): File "/usr/lib/python3/dist-packages/breezy/plugins/debian/dh_make.py", line 26, in _get_tree tree = workingtree.WorkingTree.open(".") File "/usr/lib/python3/dist-packages/breezy/workingtree.py", line 201, in open control = controldir.ControlDir.open(path, _unsupported=_unsupported) File "/usr/lib/python3/dist-packages/breezy/controldir.py", line 706, in open return klass.open_from_transport(t, probers=probers, File "/usr/lib/python3/dist-packages/breezy/controldir.py", line 736, in open_from_transport transport, format = _mod_transport.do_catching_redirections( File "/usr/lib/python3/dist-packages/breezy/transport/__init__.py", line 1613, in do_catching_redirections return action(transport) File "/usr/lib/python3/dist-packages/breezy/controldir.py", line 724, in find_format return transport, ControlDirFormat.find_format(transport, File "/usr/lib/python3/dist-packages/breezy/controldir.py", line 1166, in find_format raise errors.NotBranchError(path=transport.base) breezy.errors.NotBranchError: Not a branch: "/home/jkalina/packaging/". During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/breezy/plugins/debian/dh_make.py", line 37, in _get_tree a_controldir = controldir.ControlDir.open_from_transport( File "/usr/lib/python3/dist-packages/breezy/controldir.py", line 736, in open_from_transport transport, format = _mod_transport.do_catching_redirections( File "/usr/lib/python3/dist-packages/breezy/transport/__init__.py", line 1613, in do_catching_redirections return action(transport) File "/usr/lib/python3/dist-packages/breezy/controldir.py", line 724, in find_format return transport, ControlDirFormat.find_format(transport, File "/usr/lib/python3/dist-packages/breezy/controldir.py", line 1166, in find_format raise errors.NotBranchError(path=transport.base) breezy.errors.NotBranchError: Not a branch: "/home/jkalina/packaging/hello/". During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/breezy/commands.py", line 1016, in exception_to_return_code return the_callable(*args, **kwargs) File "/usr/lib/python3/dist-packages/breezy/commands.py", line 1202, in run_bzr ret = run(*run_argv) File "/usr/lib/python3/dist-packages/breezy/commands.py", line 759, in run_argv_aliases return self.run(**all_cmd_args) File "/usr/lib/python3/dist-packages/breezy/commands.py", line 784, in run return self._operation.run_simple(*args, **kwargs) File "/usr/lib/python3/dist-packages/breezy/cleanup.py", line 136, in run_simple return _do_with_cleanups( File "/usr/lib/python3/dist-packages/breezy/cleanup.py", line 166, in _do_with_cleanups result = func(*args, **kwargs) File "/usr/lib/python3/dist-packages/breezy/plugins/debian/cmds.py", line 1385, in run tree = dh_make.import_upstream( File "/usr/lib/python3/dist-packages/breezy/plugins/debian/dh_make.py", line 83, in import_upstream tree = _get_tree(package_name) File "/usr/lib/python3/dist-packages/breezy/plugins/debian/dh_make.py", line 42, in _get_tree branch = create_branch(to_transport.base, File "/usr/lib/python3/dist-packages/breezy/controldir.py", line 660, in create_branch_convenience controldir = klass.create(base, format, possible_transports) File "/usr/lib/python3/dist-packages/breezy/controldir.py", line 859, in create return format.initialize_on_transport(t) AttributeError: 'NoneType' object has no attribute 'initialize_on_transport' You can report this problem to Bazaar's developers by running apport-bug /var/crash/brz.1000.2021-12-12T15:32.crash if a bug-reporting window does not automatically appear. [Impact] * The `bzr dh-make` step in the Ubuntu Packaging Guide [1] fails in Focal. * The alterantive `brz dh-make` (BReeZy instead of BaZaaR) fails in Focal and Bionic. [Test Plan] * Prepare: $ sudo apt-get install dh-make bzr-builddeb brz-debian $ bzr whoami "Your Name <name@example.com>" $ wget -O hello-2.10.tar.gz "http://ftp.gnu.org/gnu/hello/hello-2.10.tar.gz" * Test bazaar: $ bzr dh-make hello 2.10 hello-2.10.tar.gz * Test breezy: $ brz dh-make hello 2.10 hello-2.10.tar.gz * On success, remove the generated dir/file for next tests. $ rm -rf hello hello_2.10.orig.tar.gz [Where problems could occur] * The changes are restricted to the `dh-make` command in bazaar/breezy, which is broken, so it should not make things worse. But, theoretically, `bzr/brz dh-make` is the impact surface for other issues/regressions from previous/ working releases. [Links] * [1] https://packaging.ubuntu.com/html/packaging-new-software.html#starting-a-package [Other Info] * Bionic is not affected in `bzr`, but just in `brz`, due to being from 2 source packages: `bzr-builddeb` and `breezy-debian`. * Focal is affected in both `bzr/brz` per transition from `bzr-builddeb` to `breezy-debian` (1 src pkg). * Impish+ are not "affected" as `dh-make` was dropped by debian-breezy upstream. * The root cause of the regression is a dropped python `import` in breezy-debian following changes in breezy. The `bzrdir` import sets ControlDir's default format: `controldir.ControlDirFormat._default_format = BzrDirMetaFormat1()` Once debian-breezy.git's dh_make.py:_get_tree() moved from BzrDir. to ControlDir.create_branch_convenience() and dropped the bzrlib import, that is not set anymore. Now, create_branch_convenience() calls create(), calls initialize_on_transport() on the default format (None). commit 08fcab340a2cd4f6bf0f5aec65c304a88023a4f8 Author: Jelmer Vernooij <jelmer@jelmer.uk> Date: Sat Jun 17 14:10:12 2017 +0000 Update for breezy, drop support for older versions of bazaar and for debian_bundle. ... diff --git a/dh_make.py b/dh_make.py ... from ... import ( - bzrdir, + controldir, ... @@ -34,22 +34,22 @@ def _get_tree(package_name): ... - create_branch = bzrdir.BzrDir.create_branch_convenience ... + create_branch = controldir.ControlDir.create_branch_convenience ... Synthetic test cases for this are provided in bug comments. [Original Bug Description] I am following official Ubuntu Packaging Guide: https://packaging.ubuntu.com/html/packaging-new-software.html When I come to the following part, the command crashes: $ bzr dh-make hello 2.10 hello-2.10.tar.gz brz: ERROR: AttributeError: 'NoneType' object has no attribute 'initialize_on_transport' (trackback bellow) My system: Description: Ubuntu 20.04.3 LTS Release: 20.04 dh-make:   Installed: 2.201903   Candidate: 2.201903   Version table:  *** 2.201903 500         500 http://cz.archive.ubuntu.com/ubuntu focal/main amd64 Packages         500 http://cz.archive.ubuntu.com/ubuntu focal/main i386 Packages         100 /var/lib/dpkg/status $ bzr dh-make hello 2.10 hello-2.10.tar.gz brz: ERROR: AttributeError: 'NoneType' object has no attribute 'initialize_on_transport' Traceback (most recent call last):   File "/usr/lib/python3/dist-packages/breezy/plugins/debian/dh_make.py", line 26, in _get_tree     tree = workingtree.WorkingTree.open(".")   File "/usr/lib/python3/dist-packages/breezy/workingtree.py", line 201, in open     control = controldir.ControlDir.open(path, _unsupported=_unsupported)   File "/usr/lib/python3/dist-packages/breezy/controldir.py", line 706, in open     return klass.open_from_transport(t, probers=probers,   File "/usr/lib/python3/dist-packages/breezy/controldir.py", line 736, in open_from_transport     transport, format = _mod_transport.do_catching_redirections(   File "/usr/lib/python3/dist-packages/breezy/transport/__init__.py", line 1613, in do_catching_redirections     return action(transport)   File "/usr/lib/python3/dist-packages/breezy/controldir.py", line 724, in find_format     return transport, ControlDirFormat.find_format(transport,   File "/usr/lib/python3/dist-packages/breezy/controldir.py", line 1166, in find_format     raise errors.NotBranchError(path=transport.base) breezy.errors.NotBranchError: Not a branch: "/home/jkalina/packaging/". During handling of the above exception, another exception occurred: Traceback (most recent call last):   File "/usr/lib/python3/dist-packages/breezy/plugins/debian/dh_make.py", line 37, in _get_tree     a_controldir = controldir.ControlDir.open_from_transport(   File "/usr/lib/python3/dist-packages/breezy/controldir.py", line 736, in open_from_transport     transport, format = _mod_transport.do_catching_redirections(   File "/usr/lib/python3/dist-packages/breezy/transport/__init__.py", line 1613, in do_catching_redirections     return action(transport)   File "/usr/lib/python3/dist-packages/breezy/controldir.py", line 724, in find_format     return transport, ControlDirFormat.find_format(transport,   File "/usr/lib/python3/dist-packages/breezy/controldir.py", line 1166, in find_format     raise errors.NotBranchError(path=transport.base) breezy.errors.NotBranchError: Not a branch: "/home/jkalina/packaging/hello/". During handling of the above exception, another exception occurred: Traceback (most recent call last):   File "/usr/lib/python3/dist-packages/breezy/commands.py", line 1016, in exception_to_return_code     return the_callable(*args, **kwargs)   File "/usr/lib/python3/dist-packages/breezy/commands.py", line 1202, in run_bzr     ret = run(*run_argv)   File "/usr/lib/python3/dist-packages/breezy/commands.py", line 759, in run_argv_aliases     return self.run(**all_cmd_args)   File "/usr/lib/python3/dist-packages/breezy/commands.py", line 784, in run     return self._operation.run_simple(*args, **kwargs)   File "/usr/lib/python3/dist-packages/breezy/cleanup.py", line 136, in run_simple     return _do_with_cleanups(   File "/usr/lib/python3/dist-packages/breezy/cleanup.py", line 166, in _do_with_cleanups     result = func(*args, **kwargs)   File "/usr/lib/python3/dist-packages/breezy/plugins/debian/cmds.py", line 1385, in run     tree = dh_make.import_upstream(   File "/usr/lib/python3/dist-packages/breezy/plugins/debian/dh_make.py", line 83, in import_upstream     tree = _get_tree(package_name)   File "/usr/lib/python3/dist-packages/breezy/plugins/debian/dh_make.py", line 42, in _get_tree     branch = create_branch(to_transport.base,   File "/usr/lib/python3/dist-packages/breezy/controldir.py", line 660, in create_branch_convenience     controldir = klass.create(base, format, possible_transports)   File "/usr/lib/python3/dist-packages/breezy/controldir.py", line 859, in create     return format.initialize_on_transport(t) AttributeError: 'NoneType' object has no attribute 'initialize_on_transport' You can report this problem to Bazaar's developers by running     apport-bug /var/crash/brz.1000.2021-12-12T15:32.crash if a bug-reporting window does not automatically appear.
2022-05-20 16:16:10 Mauricio Faria de Oliveira description [Impact] * The `bzr dh-make` step in the Ubuntu Packaging Guide [1] fails in Focal. * The alterantive `brz dh-make` (BReeZy instead of BaZaaR) fails in Focal and Bionic. [Test Plan] * Prepare: $ sudo apt-get install dh-make bzr-builddeb brz-debian $ bzr whoami "Your Name <name@example.com>" $ wget -O hello-2.10.tar.gz "http://ftp.gnu.org/gnu/hello/hello-2.10.tar.gz" * Test bazaar: $ bzr dh-make hello 2.10 hello-2.10.tar.gz * Test breezy: $ brz dh-make hello 2.10 hello-2.10.tar.gz * On success, remove the generated dir/file for next tests. $ rm -rf hello hello_2.10.orig.tar.gz [Where problems could occur] * The changes are restricted to the `dh-make` command in bazaar/breezy, which is broken, so it should not make things worse. But, theoretically, `bzr/brz dh-make` is the impact surface for other issues/regressions from previous/ working releases. [Links] * [1] https://packaging.ubuntu.com/html/packaging-new-software.html#starting-a-package [Other Info] * Bionic is not affected in `bzr`, but just in `brz`, due to being from 2 source packages: `bzr-builddeb` and `breezy-debian`. * Focal is affected in both `bzr/brz` per transition from `bzr-builddeb` to `breezy-debian` (1 src pkg). * Impish+ are not "affected" as `dh-make` was dropped by debian-breezy upstream. * The root cause of the regression is a dropped python `import` in breezy-debian following changes in breezy. The `bzrdir` import sets ControlDir's default format: `controldir.ControlDirFormat._default_format = BzrDirMetaFormat1()` Once debian-breezy.git's dh_make.py:_get_tree() moved from BzrDir. to ControlDir.create_branch_convenience() and dropped the bzrlib import, that is not set anymore. Now, create_branch_convenience() calls create(), calls initialize_on_transport() on the default format (None). commit 08fcab340a2cd4f6bf0f5aec65c304a88023a4f8 Author: Jelmer Vernooij <jelmer@jelmer.uk> Date: Sat Jun 17 14:10:12 2017 +0000 Update for breezy, drop support for older versions of bazaar and for debian_bundle. ... diff --git a/dh_make.py b/dh_make.py ... from ... import ( - bzrdir, + controldir, ... @@ -34,22 +34,22 @@ def _get_tree(package_name): ... - create_branch = bzrdir.BzrDir.create_branch_convenience ... + create_branch = controldir.ControlDir.create_branch_convenience ... Synthetic test cases for this are provided in bug comments. [Original Bug Description] I am following official Ubuntu Packaging Guide: https://packaging.ubuntu.com/html/packaging-new-software.html When I come to the following part, the command crashes: $ bzr dh-make hello 2.10 hello-2.10.tar.gz brz: ERROR: AttributeError: 'NoneType' object has no attribute 'initialize_on_transport' (trackback bellow) My system: Description: Ubuntu 20.04.3 LTS Release: 20.04 dh-make:   Installed: 2.201903   Candidate: 2.201903   Version table:  *** 2.201903 500         500 http://cz.archive.ubuntu.com/ubuntu focal/main amd64 Packages         500 http://cz.archive.ubuntu.com/ubuntu focal/main i386 Packages         100 /var/lib/dpkg/status $ bzr dh-make hello 2.10 hello-2.10.tar.gz brz: ERROR: AttributeError: 'NoneType' object has no attribute 'initialize_on_transport' Traceback (most recent call last):   File "/usr/lib/python3/dist-packages/breezy/plugins/debian/dh_make.py", line 26, in _get_tree     tree = workingtree.WorkingTree.open(".")   File "/usr/lib/python3/dist-packages/breezy/workingtree.py", line 201, in open     control = controldir.ControlDir.open(path, _unsupported=_unsupported)   File "/usr/lib/python3/dist-packages/breezy/controldir.py", line 706, in open     return klass.open_from_transport(t, probers=probers,   File "/usr/lib/python3/dist-packages/breezy/controldir.py", line 736, in open_from_transport     transport, format = _mod_transport.do_catching_redirections(   File "/usr/lib/python3/dist-packages/breezy/transport/__init__.py", line 1613, in do_catching_redirections     return action(transport)   File "/usr/lib/python3/dist-packages/breezy/controldir.py", line 724, in find_format     return transport, ControlDirFormat.find_format(transport,   File "/usr/lib/python3/dist-packages/breezy/controldir.py", line 1166, in find_format     raise errors.NotBranchError(path=transport.base) breezy.errors.NotBranchError: Not a branch: "/home/jkalina/packaging/". During handling of the above exception, another exception occurred: Traceback (most recent call last):   File "/usr/lib/python3/dist-packages/breezy/plugins/debian/dh_make.py", line 37, in _get_tree     a_controldir = controldir.ControlDir.open_from_transport(   File "/usr/lib/python3/dist-packages/breezy/controldir.py", line 736, in open_from_transport     transport, format = _mod_transport.do_catching_redirections(   File "/usr/lib/python3/dist-packages/breezy/transport/__init__.py", line 1613, in do_catching_redirections     return action(transport)   File "/usr/lib/python3/dist-packages/breezy/controldir.py", line 724, in find_format     return transport, ControlDirFormat.find_format(transport,   File "/usr/lib/python3/dist-packages/breezy/controldir.py", line 1166, in find_format     raise errors.NotBranchError(path=transport.base) breezy.errors.NotBranchError: Not a branch: "/home/jkalina/packaging/hello/". During handling of the above exception, another exception occurred: Traceback (most recent call last):   File "/usr/lib/python3/dist-packages/breezy/commands.py", line 1016, in exception_to_return_code     return the_callable(*args, **kwargs)   File "/usr/lib/python3/dist-packages/breezy/commands.py", line 1202, in run_bzr     ret = run(*run_argv)   File "/usr/lib/python3/dist-packages/breezy/commands.py", line 759, in run_argv_aliases     return self.run(**all_cmd_args)   File "/usr/lib/python3/dist-packages/breezy/commands.py", line 784, in run     return self._operation.run_simple(*args, **kwargs)   File "/usr/lib/python3/dist-packages/breezy/cleanup.py", line 136, in run_simple     return _do_with_cleanups(   File "/usr/lib/python3/dist-packages/breezy/cleanup.py", line 166, in _do_with_cleanups     result = func(*args, **kwargs)   File "/usr/lib/python3/dist-packages/breezy/plugins/debian/cmds.py", line 1385, in run     tree = dh_make.import_upstream(   File "/usr/lib/python3/dist-packages/breezy/plugins/debian/dh_make.py", line 83, in import_upstream     tree = _get_tree(package_name)   File "/usr/lib/python3/dist-packages/breezy/plugins/debian/dh_make.py", line 42, in _get_tree     branch = create_branch(to_transport.base,   File "/usr/lib/python3/dist-packages/breezy/controldir.py", line 660, in create_branch_convenience     controldir = klass.create(base, format, possible_transports)   File "/usr/lib/python3/dist-packages/breezy/controldir.py", line 859, in create     return format.initialize_on_transport(t) AttributeError: 'NoneType' object has no attribute 'initialize_on_transport' You can report this problem to Bazaar's developers by running     apport-bug /var/crash/brz.1000.2021-12-12T15:32.crash if a bug-reporting window does not automatically appear. [Impact]  * The `bzr dh-make` step in the Ubuntu Packaging Guide [1]    fails in Focal.  * The alterantive `brz dh-make` (BReeZy instead of BaZaaR)    fails in Focal and Bionic. [Test Plan]  * Prepare:    $ sudo apt-get install dh-make bzr-builddeb brz-debian    $ bzr whoami "Your Name <name@example.com>"    $ wget -O hello-2.10.tar.gz "http://ftp.gnu.org/gnu/hello/hello-2.10.tar.gz"  * Test bazaar:    $ bzr dh-make hello 2.10 hello-2.10.tar.gz  * Test breezy:    $ brz dh-make hello 2.10 hello-2.10.tar.gz  * On success, remove the generated dir/file for next tests.    $ rm -rf hello hello_2.10.orig.tar.gz [Where problems could occur]  * The changes are restricted to the `dh-make` command    in bazaar/breezy, which is broken, so it should not    make things worse.    But, theoretically, `bzr/brz dh-make` is the impact    surface for other issues/regressions from previous/    working releases. [Links]  * [1] https://packaging.ubuntu.com/html/packaging-new-software.html#starting-a-package [Other Info]  * Bionic is not affected in `bzr`, but just in `brz`,    due to being from 2 source packages: `bzr-builddeb`    and `breezy-debian`.  * Focal is affected in both `bzr/brz` per transition    from `bzr-builddeb` to `breezy-debian` (1 src pkg).  * Impish+ are not "affected" as `dh-make` was dropped    by debian-breezy upstream.  * The root cause of the regression is a dropped python   `import` in breezy-debian following changes in breezy.    The `bzrdir` import sets ControlDir's default format:    `controldir.ControlDirFormat._default_format = BzrDirMetaFormat1()`    Once debian-breezy.git's dh_make.py:_get_tree() moved    from BzrDir. to ControlDir.create_branch_convenience()    and dropped the bzrlib import, that is not set anymore.    Now, create_branch_convenience() calls create(), calls    initialize_on_transport() on the default format (None).  commit 08fcab340a2cd4f6bf0f5aec65c304a88023a4f8  Author: Jelmer Vernooij <jelmer@jelmer.uk>  Date: Sat Jun 17 14:10:12 2017 +0000      Update for breezy, drop support for older versions of bazaar and for debian_bundle.  ...  diff --git a/dh_make.py b/dh_make.py  ...   from ... import (  - bzrdir,  + controldir,  ...  @@ -34,22 +34,22 @@ def _get_tree(package_name):  ...  - create_branch = bzrdir.BzrDir.create_branch_convenience  ...  + create_branch = controldir.ControlDir.create_branch_convenience  ...  * Synthetic test cases for this are provided in comment #1. [Original Bug Description] I am following official Ubuntu Packaging Guide: https://packaging.ubuntu.com/html/packaging-new-software.html When I come to the following part, the command crashes: $ bzr dh-make hello 2.10 hello-2.10.tar.gz brz: ERROR: AttributeError: 'NoneType' object has no attribute 'initialize_on_transport' (trackback bellow) My system: Description: Ubuntu 20.04.3 LTS Release: 20.04 dh-make:   Installed: 2.201903   Candidate: 2.201903   Version table:  *** 2.201903 500         500 http://cz.archive.ubuntu.com/ubuntu focal/main amd64 Packages         500 http://cz.archive.ubuntu.com/ubuntu focal/main i386 Packages         100 /var/lib/dpkg/status $ bzr dh-make hello 2.10 hello-2.10.tar.gz brz: ERROR: AttributeError: 'NoneType' object has no attribute 'initialize_on_transport' Traceback (most recent call last):   File "/usr/lib/python3/dist-packages/breezy/plugins/debian/dh_make.py", line 26, in _get_tree     tree = workingtree.WorkingTree.open(".")   File "/usr/lib/python3/dist-packages/breezy/workingtree.py", line 201, in open     control = controldir.ControlDir.open(path, _unsupported=_unsupported)   File "/usr/lib/python3/dist-packages/breezy/controldir.py", line 706, in open     return klass.open_from_transport(t, probers=probers,   File "/usr/lib/python3/dist-packages/breezy/controldir.py", line 736, in open_from_transport     transport, format = _mod_transport.do_catching_redirections(   File "/usr/lib/python3/dist-packages/breezy/transport/__init__.py", line 1613, in do_catching_redirections     return action(transport)   File "/usr/lib/python3/dist-packages/breezy/controldir.py", line 724, in find_format     return transport, ControlDirFormat.find_format(transport,   File "/usr/lib/python3/dist-packages/breezy/controldir.py", line 1166, in find_format     raise errors.NotBranchError(path=transport.base) breezy.errors.NotBranchError: Not a branch: "/home/jkalina/packaging/". During handling of the above exception, another exception occurred: Traceback (most recent call last):   File "/usr/lib/python3/dist-packages/breezy/plugins/debian/dh_make.py", line 37, in _get_tree     a_controldir = controldir.ControlDir.open_from_transport(   File "/usr/lib/python3/dist-packages/breezy/controldir.py", line 736, in open_from_transport     transport, format = _mod_transport.do_catching_redirections(   File "/usr/lib/python3/dist-packages/breezy/transport/__init__.py", line 1613, in do_catching_redirections     return action(transport)   File "/usr/lib/python3/dist-packages/breezy/controldir.py", line 724, in find_format     return transport, ControlDirFormat.find_format(transport,   File "/usr/lib/python3/dist-packages/breezy/controldir.py", line 1166, in find_format     raise errors.NotBranchError(path=transport.base) breezy.errors.NotBranchError: Not a branch: "/home/jkalina/packaging/hello/". During handling of the above exception, another exception occurred: Traceback (most recent call last):   File "/usr/lib/python3/dist-packages/breezy/commands.py", line 1016, in exception_to_return_code     return the_callable(*args, **kwargs)   File "/usr/lib/python3/dist-packages/breezy/commands.py", line 1202, in run_bzr     ret = run(*run_argv)   File "/usr/lib/python3/dist-packages/breezy/commands.py", line 759, in run_argv_aliases     return self.run(**all_cmd_args)   File "/usr/lib/python3/dist-packages/breezy/commands.py", line 784, in run     return self._operation.run_simple(*args, **kwargs)   File "/usr/lib/python3/dist-packages/breezy/cleanup.py", line 136, in run_simple     return _do_with_cleanups(   File "/usr/lib/python3/dist-packages/breezy/cleanup.py", line 166, in _do_with_cleanups     result = func(*args, **kwargs)   File "/usr/lib/python3/dist-packages/breezy/plugins/debian/cmds.py", line 1385, in run     tree = dh_make.import_upstream(   File "/usr/lib/python3/dist-packages/breezy/plugins/debian/dh_make.py", line 83, in import_upstream     tree = _get_tree(package_name)   File "/usr/lib/python3/dist-packages/breezy/plugins/debian/dh_make.py", line 42, in _get_tree     branch = create_branch(to_transport.base,   File "/usr/lib/python3/dist-packages/breezy/controldir.py", line 660, in create_branch_convenience     controldir = klass.create(base, format, possible_transports)   File "/usr/lib/python3/dist-packages/breezy/controldir.py", line 859, in create     return format.initialize_on_transport(t) AttributeError: 'NoneType' object has no attribute 'initialize_on_transport' You can report this problem to Bazaar's developers by running     apport-bug /var/crash/brz.1000.2021-12-12T15:32.crash if a bug-reporting window does not automatically appear.
2022-05-20 16:19:58 Mauricio Faria de Oliveira attachment added lp1954595_focal_breezy-debian.debdiff https://bugs.launchpad.net/ubuntu/+source/breezy-debian/+bug/1954595/+attachment/5591618/+files/lp1954595_focal_breezy-debian.debdiff
2022-05-20 16:20:23 Mauricio Faria de Oliveira attachment added lp1954595_bionic_breezy-debian.debdiff https://bugs.launchpad.net/ubuntu/+source/breezy-debian/+bug/1954595/+attachment/5591619/+files/lp1954595_bionic_breezy-debian.debdiff
2022-05-20 16:20:35 Mauricio Faria de Oliveira breezy-debian (Ubuntu): status Won't Fix Invalid
2022-05-20 16:25:07 Mauricio Faria de Oliveira description [Impact]  * The `bzr dh-make` step in the Ubuntu Packaging Guide [1]    fails in Focal.  * The alterantive `brz dh-make` (BReeZy instead of BaZaaR)    fails in Focal and Bionic. [Test Plan]  * Prepare:    $ sudo apt-get install dh-make bzr-builddeb brz-debian    $ bzr whoami "Your Name <name@example.com>"    $ wget -O hello-2.10.tar.gz "http://ftp.gnu.org/gnu/hello/hello-2.10.tar.gz"  * Test bazaar:    $ bzr dh-make hello 2.10 hello-2.10.tar.gz  * Test breezy:    $ brz dh-make hello 2.10 hello-2.10.tar.gz  * On success, remove the generated dir/file for next tests.    $ rm -rf hello hello_2.10.orig.tar.gz [Where problems could occur]  * The changes are restricted to the `dh-make` command    in bazaar/breezy, which is broken, so it should not    make things worse.    But, theoretically, `bzr/brz dh-make` is the impact    surface for other issues/regressions from previous/    working releases. [Links]  * [1] https://packaging.ubuntu.com/html/packaging-new-software.html#starting-a-package [Other Info]  * Bionic is not affected in `bzr`, but just in `brz`,    due to being from 2 source packages: `bzr-builddeb`    and `breezy-debian`.  * Focal is affected in both `bzr/brz` per transition    from `bzr-builddeb` to `breezy-debian` (1 src pkg).  * Impish+ are not "affected" as `dh-make` was dropped    by debian-breezy upstream.  * The root cause of the regression is a dropped python   `import` in breezy-debian following changes in breezy.    The `bzrdir` import sets ControlDir's default format:    `controldir.ControlDirFormat._default_format = BzrDirMetaFormat1()`    Once debian-breezy.git's dh_make.py:_get_tree() moved    from BzrDir. to ControlDir.create_branch_convenience()    and dropped the bzrlib import, that is not set anymore.    Now, create_branch_convenience() calls create(), calls    initialize_on_transport() on the default format (None).  commit 08fcab340a2cd4f6bf0f5aec65c304a88023a4f8  Author: Jelmer Vernooij <jelmer@jelmer.uk>  Date: Sat Jun 17 14:10:12 2017 +0000      Update for breezy, drop support for older versions of bazaar and for debian_bundle.  ...  diff --git a/dh_make.py b/dh_make.py  ...   from ... import (  - bzrdir,  + controldir,  ...  @@ -34,22 +34,22 @@ def _get_tree(package_name):  ...  - create_branch = bzrdir.BzrDir.create_branch_convenience  ...  + create_branch = controldir.ControlDir.create_branch_convenience  ...  * Synthetic test cases for this are provided in comment #1. [Original Bug Description] I am following official Ubuntu Packaging Guide: https://packaging.ubuntu.com/html/packaging-new-software.html When I come to the following part, the command crashes: $ bzr dh-make hello 2.10 hello-2.10.tar.gz brz: ERROR: AttributeError: 'NoneType' object has no attribute 'initialize_on_transport' (trackback bellow) My system: Description: Ubuntu 20.04.3 LTS Release: 20.04 dh-make:   Installed: 2.201903   Candidate: 2.201903   Version table:  *** 2.201903 500         500 http://cz.archive.ubuntu.com/ubuntu focal/main amd64 Packages         500 http://cz.archive.ubuntu.com/ubuntu focal/main i386 Packages         100 /var/lib/dpkg/status $ bzr dh-make hello 2.10 hello-2.10.tar.gz brz: ERROR: AttributeError: 'NoneType' object has no attribute 'initialize_on_transport' Traceback (most recent call last):   File "/usr/lib/python3/dist-packages/breezy/plugins/debian/dh_make.py", line 26, in _get_tree     tree = workingtree.WorkingTree.open(".")   File "/usr/lib/python3/dist-packages/breezy/workingtree.py", line 201, in open     control = controldir.ControlDir.open(path, _unsupported=_unsupported)   File "/usr/lib/python3/dist-packages/breezy/controldir.py", line 706, in open     return klass.open_from_transport(t, probers=probers,   File "/usr/lib/python3/dist-packages/breezy/controldir.py", line 736, in open_from_transport     transport, format = _mod_transport.do_catching_redirections(   File "/usr/lib/python3/dist-packages/breezy/transport/__init__.py", line 1613, in do_catching_redirections     return action(transport)   File "/usr/lib/python3/dist-packages/breezy/controldir.py", line 724, in find_format     return transport, ControlDirFormat.find_format(transport,   File "/usr/lib/python3/dist-packages/breezy/controldir.py", line 1166, in find_format     raise errors.NotBranchError(path=transport.base) breezy.errors.NotBranchError: Not a branch: "/home/jkalina/packaging/". During handling of the above exception, another exception occurred: Traceback (most recent call last):   File "/usr/lib/python3/dist-packages/breezy/plugins/debian/dh_make.py", line 37, in _get_tree     a_controldir = controldir.ControlDir.open_from_transport(   File "/usr/lib/python3/dist-packages/breezy/controldir.py", line 736, in open_from_transport     transport, format = _mod_transport.do_catching_redirections(   File "/usr/lib/python3/dist-packages/breezy/transport/__init__.py", line 1613, in do_catching_redirections     return action(transport)   File "/usr/lib/python3/dist-packages/breezy/controldir.py", line 724, in find_format     return transport, ControlDirFormat.find_format(transport,   File "/usr/lib/python3/dist-packages/breezy/controldir.py", line 1166, in find_format     raise errors.NotBranchError(path=transport.base) breezy.errors.NotBranchError: Not a branch: "/home/jkalina/packaging/hello/". During handling of the above exception, another exception occurred: Traceback (most recent call last):   File "/usr/lib/python3/dist-packages/breezy/commands.py", line 1016, in exception_to_return_code     return the_callable(*args, **kwargs)   File "/usr/lib/python3/dist-packages/breezy/commands.py", line 1202, in run_bzr     ret = run(*run_argv)   File "/usr/lib/python3/dist-packages/breezy/commands.py", line 759, in run_argv_aliases     return self.run(**all_cmd_args)   File "/usr/lib/python3/dist-packages/breezy/commands.py", line 784, in run     return self._operation.run_simple(*args, **kwargs)   File "/usr/lib/python3/dist-packages/breezy/cleanup.py", line 136, in run_simple     return _do_with_cleanups(   File "/usr/lib/python3/dist-packages/breezy/cleanup.py", line 166, in _do_with_cleanups     result = func(*args, **kwargs)   File "/usr/lib/python3/dist-packages/breezy/plugins/debian/cmds.py", line 1385, in run     tree = dh_make.import_upstream(   File "/usr/lib/python3/dist-packages/breezy/plugins/debian/dh_make.py", line 83, in import_upstream     tree = _get_tree(package_name)   File "/usr/lib/python3/dist-packages/breezy/plugins/debian/dh_make.py", line 42, in _get_tree     branch = create_branch(to_transport.base,   File "/usr/lib/python3/dist-packages/breezy/controldir.py", line 660, in create_branch_convenience     controldir = klass.create(base, format, possible_transports)   File "/usr/lib/python3/dist-packages/breezy/controldir.py", line 859, in create     return format.initialize_on_transport(t) AttributeError: 'NoneType' object has no attribute 'initialize_on_transport' You can report this problem to Bazaar's developers by running     apport-bug /var/crash/brz.1000.2021-12-12T15:32.crash if a bug-reporting window does not automatically appear. [Impact]  * The `bzr dh-make` step in the Ubuntu Packaging Guide [1]    fails in Focal.  * The alternative `brz dh-make` (BReeZy instead of BaZaaR)    fails in Focal and Bionic. * The `dh-make` subcommand is not available in Impish/later. The Guide should be updated and ideally use another tool. [Test Plan]  * Prepare:    $ sudo apt-get install dh-make bzr-builddeb brz-debian    $ bzr whoami "Your Name <name@example.com>"    $ wget -O hello-2.10.tar.gz "http://ftp.gnu.org/gnu/hello/hello-2.10.tar.gz"  * Test bazaar:    $ bzr dh-make hello 2.10 hello-2.10.tar.gz  * Test breezy:    $ brz dh-make hello 2.10 hello-2.10.tar.gz  * On success, remove the generated dir/file for next tests.    $ rm -rf hello hello_2.10.orig.tar.gz [Where problems could occur]  * The changes are restricted to the `dh-make` command    in bazaar/breezy, which is broken, so it should not    make things worse.    But, theoretically, `bzr/brz dh-make` is the impact    surface for other issues/regressions from previous/    working releases. [Links]  * [1] https://packaging.ubuntu.com/html/packaging-new-software.html#starting-a-package [Other Info]  * Bionic is not affected in `bzr`, but just in `brz`,    due to being from 2 source packages: `bzr-builddeb`    and `breezy-debian`.  * Focal is affected in both `bzr/brz` per transition    from `bzr-builddeb` to `breezy-debian` (1 src pkg).  * Impish+ are not "affected" as `dh-make` was dropped    by debian-breezy upstream.  * The root cause of the regression is a dropped python   `import` in breezy-debian following changes in breezy.    The `bzrdir` import sets ControlDir's default format:    `controldir.ControlDirFormat._default_format = BzrDirMetaFormat1()`    Once debian-breezy.git's dh_make.py:_get_tree() moved    from BzrDir. to ControlDir.create_branch_convenience()    and dropped the bzrlib import, that is not set anymore.    Now, create_branch_convenience() calls create(), calls    initialize_on_transport() on the default format (None).  commit 08fcab340a2cd4f6bf0f5aec65c304a88023a4f8  Author: Jelmer Vernooij <jelmer@jelmer.uk>  Date: Sat Jun 17 14:10:12 2017 +0000      Update for breezy, drop support for older versions of bazaar and for debian_bundle.  ...  diff --git a/dh_make.py b/dh_make.py  ...   from ... import (  - bzrdir,  + controldir,  ...  @@ -34,22 +34,22 @@ def _get_tree(package_name):  ...  - create_branch = bzrdir.BzrDir.create_branch_convenience  ...  + create_branch = controldir.ControlDir.create_branch_convenience  ...  * Synthetic test cases for this are provided in comment #1. [Original Bug Description] I am following official Ubuntu Packaging Guide: https://packaging.ubuntu.com/html/packaging-new-software.html When I come to the following part, the command crashes: $ bzr dh-make hello 2.10 hello-2.10.tar.gz brz: ERROR: AttributeError: 'NoneType' object has no attribute 'initialize_on_transport' (trackback bellow) My system: Description: Ubuntu 20.04.3 LTS Release: 20.04 dh-make:   Installed: 2.201903   Candidate: 2.201903   Version table:  *** 2.201903 500         500 http://cz.archive.ubuntu.com/ubuntu focal/main amd64 Packages         500 http://cz.archive.ubuntu.com/ubuntu focal/main i386 Packages         100 /var/lib/dpkg/status $ bzr dh-make hello 2.10 hello-2.10.tar.gz brz: ERROR: AttributeError: 'NoneType' object has no attribute 'initialize_on_transport' Traceback (most recent call last):   File "/usr/lib/python3/dist-packages/breezy/plugins/debian/dh_make.py", line 26, in _get_tree     tree = workingtree.WorkingTree.open(".")   File "/usr/lib/python3/dist-packages/breezy/workingtree.py", line 201, in open     control = controldir.ControlDir.open(path, _unsupported=_unsupported)   File "/usr/lib/python3/dist-packages/breezy/controldir.py", line 706, in open     return klass.open_from_transport(t, probers=probers,   File "/usr/lib/python3/dist-packages/breezy/controldir.py", line 736, in open_from_transport     transport, format = _mod_transport.do_catching_redirections(   File "/usr/lib/python3/dist-packages/breezy/transport/__init__.py", line 1613, in do_catching_redirections     return action(transport)   File "/usr/lib/python3/dist-packages/breezy/controldir.py", line 724, in find_format     return transport, ControlDirFormat.find_format(transport,   File "/usr/lib/python3/dist-packages/breezy/controldir.py", line 1166, in find_format     raise errors.NotBranchError(path=transport.base) breezy.errors.NotBranchError: Not a branch: "/home/jkalina/packaging/". During handling of the above exception, another exception occurred: Traceback (most recent call last):   File "/usr/lib/python3/dist-packages/breezy/plugins/debian/dh_make.py", line 37, in _get_tree     a_controldir = controldir.ControlDir.open_from_transport(   File "/usr/lib/python3/dist-packages/breezy/controldir.py", line 736, in open_from_transport     transport, format = _mod_transport.do_catching_redirections(   File "/usr/lib/python3/dist-packages/breezy/transport/__init__.py", line 1613, in do_catching_redirections     return action(transport)   File "/usr/lib/python3/dist-packages/breezy/controldir.py", line 724, in find_format     return transport, ControlDirFormat.find_format(transport,   File "/usr/lib/python3/dist-packages/breezy/controldir.py", line 1166, in find_format     raise errors.NotBranchError(path=transport.base) breezy.errors.NotBranchError: Not a branch: "/home/jkalina/packaging/hello/". During handling of the above exception, another exception occurred: Traceback (most recent call last):   File "/usr/lib/python3/dist-packages/breezy/commands.py", line 1016, in exception_to_return_code     return the_callable(*args, **kwargs)   File "/usr/lib/python3/dist-packages/breezy/commands.py", line 1202, in run_bzr     ret = run(*run_argv)   File "/usr/lib/python3/dist-packages/breezy/commands.py", line 759, in run_argv_aliases     return self.run(**all_cmd_args)   File "/usr/lib/python3/dist-packages/breezy/commands.py", line 784, in run     return self._operation.run_simple(*args, **kwargs)   File "/usr/lib/python3/dist-packages/breezy/cleanup.py", line 136, in run_simple     return _do_with_cleanups(   File "/usr/lib/python3/dist-packages/breezy/cleanup.py", line 166, in _do_with_cleanups     result = func(*args, **kwargs)   File "/usr/lib/python3/dist-packages/breezy/plugins/debian/cmds.py", line 1385, in run     tree = dh_make.import_upstream(   File "/usr/lib/python3/dist-packages/breezy/plugins/debian/dh_make.py", line 83, in import_upstream     tree = _get_tree(package_name)   File "/usr/lib/python3/dist-packages/breezy/plugins/debian/dh_make.py", line 42, in _get_tree     branch = create_branch(to_transport.base,   File "/usr/lib/python3/dist-packages/breezy/controldir.py", line 660, in create_branch_convenience     controldir = klass.create(base, format, possible_transports)   File "/usr/lib/python3/dist-packages/breezy/controldir.py", line 859, in create     return format.initialize_on_transport(t) AttributeError: 'NoneType' object has no attribute 'initialize_on_transport' You can report this problem to Bazaar's developers by running     apport-bug /var/crash/brz.1000.2021-12-12T15:32.crash if a bug-reporting window does not automatically appear.
2022-05-20 16:25:17 Mauricio Faria de Oliveira ubuntu-packaging-guide: status New Confirmed
2022-05-20 17:56:47 Mauricio Faria de Oliveira description [Impact]  * The `bzr dh-make` step in the Ubuntu Packaging Guide [1]    fails in Focal.  * The alternative `brz dh-make` (BReeZy instead of BaZaaR)    fails in Focal and Bionic. * The `dh-make` subcommand is not available in Impish/later. The Guide should be updated and ideally use another tool. [Test Plan]  * Prepare:    $ sudo apt-get install dh-make bzr-builddeb brz-debian    $ bzr whoami "Your Name <name@example.com>"    $ wget -O hello-2.10.tar.gz "http://ftp.gnu.org/gnu/hello/hello-2.10.tar.gz"  * Test bazaar:    $ bzr dh-make hello 2.10 hello-2.10.tar.gz  * Test breezy:    $ brz dh-make hello 2.10 hello-2.10.tar.gz  * On success, remove the generated dir/file for next tests.    $ rm -rf hello hello_2.10.orig.tar.gz [Where problems could occur]  * The changes are restricted to the `dh-make` command    in bazaar/breezy, which is broken, so it should not    make things worse.    But, theoretically, `bzr/brz dh-make` is the impact    surface for other issues/regressions from previous/    working releases. [Links]  * [1] https://packaging.ubuntu.com/html/packaging-new-software.html#starting-a-package [Other Info]  * Bionic is not affected in `bzr`, but just in `brz`,    due to being from 2 source packages: `bzr-builddeb`    and `breezy-debian`.  * Focal is affected in both `bzr/brz` per transition    from `bzr-builddeb` to `breezy-debian` (1 src pkg).  * Impish+ are not "affected" as `dh-make` was dropped    by debian-breezy upstream.  * The root cause of the regression is a dropped python   `import` in breezy-debian following changes in breezy.    The `bzrdir` import sets ControlDir's default format:    `controldir.ControlDirFormat._default_format = BzrDirMetaFormat1()`    Once debian-breezy.git's dh_make.py:_get_tree() moved    from BzrDir. to ControlDir.create_branch_convenience()    and dropped the bzrlib import, that is not set anymore.    Now, create_branch_convenience() calls create(), calls    initialize_on_transport() on the default format (None).  commit 08fcab340a2cd4f6bf0f5aec65c304a88023a4f8  Author: Jelmer Vernooij <jelmer@jelmer.uk>  Date: Sat Jun 17 14:10:12 2017 +0000      Update for breezy, drop support for older versions of bazaar and for debian_bundle.  ...  diff --git a/dh_make.py b/dh_make.py  ...   from ... import (  - bzrdir,  + controldir,  ...  @@ -34,22 +34,22 @@ def _get_tree(package_name):  ...  - create_branch = bzrdir.BzrDir.create_branch_convenience  ...  + create_branch = controldir.ControlDir.create_branch_convenience  ...  * Synthetic test cases for this are provided in comment #1. [Original Bug Description] I am following official Ubuntu Packaging Guide: https://packaging.ubuntu.com/html/packaging-new-software.html When I come to the following part, the command crashes: $ bzr dh-make hello 2.10 hello-2.10.tar.gz brz: ERROR: AttributeError: 'NoneType' object has no attribute 'initialize_on_transport' (trackback bellow) My system: Description: Ubuntu 20.04.3 LTS Release: 20.04 dh-make:   Installed: 2.201903   Candidate: 2.201903   Version table:  *** 2.201903 500         500 http://cz.archive.ubuntu.com/ubuntu focal/main amd64 Packages         500 http://cz.archive.ubuntu.com/ubuntu focal/main i386 Packages         100 /var/lib/dpkg/status $ bzr dh-make hello 2.10 hello-2.10.tar.gz brz: ERROR: AttributeError: 'NoneType' object has no attribute 'initialize_on_transport' Traceback (most recent call last):   File "/usr/lib/python3/dist-packages/breezy/plugins/debian/dh_make.py", line 26, in _get_tree     tree = workingtree.WorkingTree.open(".")   File "/usr/lib/python3/dist-packages/breezy/workingtree.py", line 201, in open     control = controldir.ControlDir.open(path, _unsupported=_unsupported)   File "/usr/lib/python3/dist-packages/breezy/controldir.py", line 706, in open     return klass.open_from_transport(t, probers=probers,   File "/usr/lib/python3/dist-packages/breezy/controldir.py", line 736, in open_from_transport     transport, format = _mod_transport.do_catching_redirections(   File "/usr/lib/python3/dist-packages/breezy/transport/__init__.py", line 1613, in do_catching_redirections     return action(transport)   File "/usr/lib/python3/dist-packages/breezy/controldir.py", line 724, in find_format     return transport, ControlDirFormat.find_format(transport,   File "/usr/lib/python3/dist-packages/breezy/controldir.py", line 1166, in find_format     raise errors.NotBranchError(path=transport.base) breezy.errors.NotBranchError: Not a branch: "/home/jkalina/packaging/". During handling of the above exception, another exception occurred: Traceback (most recent call last):   File "/usr/lib/python3/dist-packages/breezy/plugins/debian/dh_make.py", line 37, in _get_tree     a_controldir = controldir.ControlDir.open_from_transport(   File "/usr/lib/python3/dist-packages/breezy/controldir.py", line 736, in open_from_transport     transport, format = _mod_transport.do_catching_redirections(   File "/usr/lib/python3/dist-packages/breezy/transport/__init__.py", line 1613, in do_catching_redirections     return action(transport)   File "/usr/lib/python3/dist-packages/breezy/controldir.py", line 724, in find_format     return transport, ControlDirFormat.find_format(transport,   File "/usr/lib/python3/dist-packages/breezy/controldir.py", line 1166, in find_format     raise errors.NotBranchError(path=transport.base) breezy.errors.NotBranchError: Not a branch: "/home/jkalina/packaging/hello/". During handling of the above exception, another exception occurred: Traceback (most recent call last):   File "/usr/lib/python3/dist-packages/breezy/commands.py", line 1016, in exception_to_return_code     return the_callable(*args, **kwargs)   File "/usr/lib/python3/dist-packages/breezy/commands.py", line 1202, in run_bzr     ret = run(*run_argv)   File "/usr/lib/python3/dist-packages/breezy/commands.py", line 759, in run_argv_aliases     return self.run(**all_cmd_args)   File "/usr/lib/python3/dist-packages/breezy/commands.py", line 784, in run     return self._operation.run_simple(*args, **kwargs)   File "/usr/lib/python3/dist-packages/breezy/cleanup.py", line 136, in run_simple     return _do_with_cleanups(   File "/usr/lib/python3/dist-packages/breezy/cleanup.py", line 166, in _do_with_cleanups     result = func(*args, **kwargs)   File "/usr/lib/python3/dist-packages/breezy/plugins/debian/cmds.py", line 1385, in run     tree = dh_make.import_upstream(   File "/usr/lib/python3/dist-packages/breezy/plugins/debian/dh_make.py", line 83, in import_upstream     tree = _get_tree(package_name)   File "/usr/lib/python3/dist-packages/breezy/plugins/debian/dh_make.py", line 42, in _get_tree     branch = create_branch(to_transport.base,   File "/usr/lib/python3/dist-packages/breezy/controldir.py", line 660, in create_branch_convenience     controldir = klass.create(base, format, possible_transports)   File "/usr/lib/python3/dist-packages/breezy/controldir.py", line 859, in create     return format.initialize_on_transport(t) AttributeError: 'NoneType' object has no attribute 'initialize_on_transport' You can report this problem to Bazaar's developers by running     apport-bug /var/crash/brz.1000.2021-12-12T15:32.crash if a bug-reporting window does not automatically appear. [Impact]  * The `bzr dh-make` step in the Ubuntu Packaging Guide [1]    fails in Focal.  * The alternative `brz dh-make` (BReeZy instead of BaZaaR)    fails in Focal and Bionic.  * The `dh-make` subcommand is not available in Impish/later.    The Guide should be updated and ideally use another tool. [Test Plan]  * Prepare:    $ sudo apt-get install dh-make bzr-builddeb brz-debian    $ bzr whoami "Your Name <name@example.com>"    $ wget -O hello-2.10.tar.gz "http://ftp.gnu.org/gnu/hello/hello-2.10.tar.gz"  * Test bazaar:    $ bzr dh-make hello 2.10 hello-2.10.tar.gz  * Test breezy:    $ brz dh-make hello 2.10 hello-2.10.tar.gz  * On success, remove the generated dir/file for next tests.    $ rm -rf hello hello_2.10.orig.tar.gz [Where problems could occur]  * The changes are restricted to the `dh-make` command    in bazaar/breezy, which is broken, so it should not    make things worse.    But, theoretically, `bzr/brz dh-make` is the impact    surface for other issues/regressions from previous/    working releases. [Links]  * [1] https://packaging.ubuntu.com/html/packaging-new-software.html#starting-a-package [Other Info]  * Bionic is not affected in `bzr`, but just in `brz`,    due to being from 2 source packages: `bzr-builddeb`    and `breezy-debian`.  * Focal is affected in both `bzr/brz` per transition    from `bzr-builddeb` to `breezy-debian` (1 src pkg).  * Impish+ are not "affected" as `dh-make` was dropped    by debian-breezy upstream.  * The root cause of the regression is a dropped python   `import` in breezy-debian following changes in breezy.    The `bzrdir` import sets ControlDir's default format:    `controldir.ControlDirFormat._default_format = BzrDirMetaFormat1()`    Once debian-breezy.git's dh_make.py:_get_tree() moved    from BzrDir. to ControlDir.create_branch_convenience()    and dropped the bzrlib import, that is not set anymore.    Now, create_branch_convenience() calls create(), calls    initialize_on_transport() on the default format (None).  commit 08fcab340a2cd4f6bf0f5aec65c304a88023a4f8  Author: Jelmer Vernooij <jelmer@jelmer.uk>  Date: Sat Jun 17 14:10:12 2017 +0000      Update for breezy, drop support for older versions of bazaar and for debian_bundle.  ...  diff --git a/dh_make.py b/dh_make.py  ...   from ... import (  - bzrdir,  + controldir,  ...  @@ -34,22 +34,22 @@ def _get_tree(package_name):  ...  - create_branch = bzrdir.BzrDir.create_branch_convenience  ...  + create_branch = controldir.ControlDir.create_branch_convenience  ... * Focal needs another patch to fix this in `bzr`: $ bzr dh-make hello 2.10 hello-2.10.tar.gz Fetching tarball Looking for a way to retrieve the upstream tarball Upstream tarball already exists in build directory, using that brz: ERROR: TypeError: can only concatenate str (not "bytes") to str  * Synthetic test cases for this are provided in comment #1. [Original Bug Description] I am following official Ubuntu Packaging Guide: https://packaging.ubuntu.com/html/packaging-new-software.html When I come to the following part, the command crashes: $ bzr dh-make hello 2.10 hello-2.10.tar.gz brz: ERROR: AttributeError: 'NoneType' object has no attribute 'initialize_on_transport' (trackback bellow) My system: Description: Ubuntu 20.04.3 LTS Release: 20.04 dh-make:   Installed: 2.201903   Candidate: 2.201903   Version table:  *** 2.201903 500         500 http://cz.archive.ubuntu.com/ubuntu focal/main amd64 Packages         500 http://cz.archive.ubuntu.com/ubuntu focal/main i386 Packages         100 /var/lib/dpkg/status $ bzr dh-make hello 2.10 hello-2.10.tar.gz brz: ERROR: AttributeError: 'NoneType' object has no attribute 'initialize_on_transport' Traceback (most recent call last):   File "/usr/lib/python3/dist-packages/breezy/plugins/debian/dh_make.py", line 26, in _get_tree     tree = workingtree.WorkingTree.open(".")   File "/usr/lib/python3/dist-packages/breezy/workingtree.py", line 201, in open     control = controldir.ControlDir.open(path, _unsupported=_unsupported)   File "/usr/lib/python3/dist-packages/breezy/controldir.py", line 706, in open     return klass.open_from_transport(t, probers=probers,   File "/usr/lib/python3/dist-packages/breezy/controldir.py", line 736, in open_from_transport     transport, format = _mod_transport.do_catching_redirections(   File "/usr/lib/python3/dist-packages/breezy/transport/__init__.py", line 1613, in do_catching_redirections     return action(transport)   File "/usr/lib/python3/dist-packages/breezy/controldir.py", line 724, in find_format     return transport, ControlDirFormat.find_format(transport,   File "/usr/lib/python3/dist-packages/breezy/controldir.py", line 1166, in find_format     raise errors.NotBranchError(path=transport.base) breezy.errors.NotBranchError: Not a branch: "/home/jkalina/packaging/". During handling of the above exception, another exception occurred: Traceback (most recent call last):   File "/usr/lib/python3/dist-packages/breezy/plugins/debian/dh_make.py", line 37, in _get_tree     a_controldir = controldir.ControlDir.open_from_transport(   File "/usr/lib/python3/dist-packages/breezy/controldir.py", line 736, in open_from_transport     transport, format = _mod_transport.do_catching_redirections(   File "/usr/lib/python3/dist-packages/breezy/transport/__init__.py", line 1613, in do_catching_redirections     return action(transport)   File "/usr/lib/python3/dist-packages/breezy/controldir.py", line 724, in find_format     return transport, ControlDirFormat.find_format(transport,   File "/usr/lib/python3/dist-packages/breezy/controldir.py", line 1166, in find_format     raise errors.NotBranchError(path=transport.base) breezy.errors.NotBranchError: Not a branch: "/home/jkalina/packaging/hello/". During handling of the above exception, another exception occurred: Traceback (most recent call last):   File "/usr/lib/python3/dist-packages/breezy/commands.py", line 1016, in exception_to_return_code     return the_callable(*args, **kwargs)   File "/usr/lib/python3/dist-packages/breezy/commands.py", line 1202, in run_bzr     ret = run(*run_argv)   File "/usr/lib/python3/dist-packages/breezy/commands.py", line 759, in run_argv_aliases     return self.run(**all_cmd_args)   File "/usr/lib/python3/dist-packages/breezy/commands.py", line 784, in run     return self._operation.run_simple(*args, **kwargs)   File "/usr/lib/python3/dist-packages/breezy/cleanup.py", line 136, in run_simple     return _do_with_cleanups(   File "/usr/lib/python3/dist-packages/breezy/cleanup.py", line 166, in _do_with_cleanups     result = func(*args, **kwargs)   File "/usr/lib/python3/dist-packages/breezy/plugins/debian/cmds.py", line 1385, in run     tree = dh_make.import_upstream(   File "/usr/lib/python3/dist-packages/breezy/plugins/debian/dh_make.py", line 83, in import_upstream     tree = _get_tree(package_name)   File "/usr/lib/python3/dist-packages/breezy/plugins/debian/dh_make.py", line 42, in _get_tree     branch = create_branch(to_transport.base,   File "/usr/lib/python3/dist-packages/breezy/controldir.py", line 660, in create_branch_convenience     controldir = klass.create(base, format, possible_transports)   File "/usr/lib/python3/dist-packages/breezy/controldir.py", line 859, in create     return format.initialize_on_transport(t) AttributeError: 'NoneType' object has no attribute 'initialize_on_transport' You can report this problem to Bazaar's developers by running     apport-bug /var/crash/brz.1000.2021-12-12T15:32.crash if a bug-reporting window does not automatically appear.
2022-05-20 17:57:38 Mauricio Faria de Oliveira attachment removed lp1954595_bionic_breezy-debian.debdiff https://bugs.launchpad.net/ubuntu/+source/breezy-debian/+bug/1954595/+attachment/5591619/+files/lp1954595_bionic_breezy-debian.debdiff
2022-05-20 17:58:08 Mauricio Faria de Oliveira attachment added lp1954595_bionic_breezy-debian.debdiff https://bugs.launchpad.net/ubuntu/+source/breezy-debian/+bug/1954595/+attachment/5591630/+files/lp1954595_bionic_breezy-debian.debdiff
2022-05-20 18:06:48 Mauricio Faria de Oliveira breezy-debian (Ubuntu Focal): status Confirmed In Progress
2022-05-20 18:06:51 Mauricio Faria de Oliveira breezy-debian (Ubuntu Bionic): status Confirmed In Progress
2022-05-20 18:12:53 Mauricio Faria de Oliveira bug added subscriber Mauricio Faria de Oliveira
2022-05-20 18:13:06 Mauricio Faria de Oliveira bug added subscriber STS Sponsors
2022-05-20 18:13:17 Mauricio Faria de Oliveira tags sts sts sts-sponsor-mfo
2022-05-25 13:25:03 Robie Basak breezy-debian (Ubuntu Focal): status In Progress Fix Committed
2022-05-25 13:25:06 Robie Basak bug added subscriber Ubuntu Stable Release Updates Team
2022-05-25 13:25:08 Robie Basak bug added subscriber SRU Verification
2022-05-25 13:25:12 Robie Basak tags sts sts-sponsor-mfo sts sts-sponsor-mfo verification-needed verification-needed-focal
2022-05-25 13:25:42 Robie Basak breezy-debian (Ubuntu Bionic): status In Progress Fix Committed
2022-05-25 13:25:48 Robie Basak tags sts sts-sponsor-mfo verification-needed verification-needed-focal sts sts-sponsor-mfo verification-needed verification-needed-bionic verification-needed-focal
2022-05-25 17:51:01 Mauricio Faria de Oliveira tags sts sts-sponsor-mfo verification-needed verification-needed-bionic verification-needed-focal sts sts-sponsor-mfo verification-done-focal verification-needed verification-needed-bionic
2022-05-25 17:51:28 Mauricio Faria de Oliveira tags sts sts-sponsor-mfo verification-done-focal verification-needed verification-needed-bionic sts sts-sponsor-mfo verification-done-bionic verification-done-focal verification-needed
2022-05-25 17:52:04 Mauricio Faria de Oliveira description [Impact]  * The `bzr dh-make` step in the Ubuntu Packaging Guide [1]    fails in Focal.  * The alternative `brz dh-make` (BReeZy instead of BaZaaR)    fails in Focal and Bionic.  * The `dh-make` subcommand is not available in Impish/later.    The Guide should be updated and ideally use another tool. [Test Plan]  * Prepare:    $ sudo apt-get install dh-make bzr-builddeb brz-debian    $ bzr whoami "Your Name <name@example.com>"    $ wget -O hello-2.10.tar.gz "http://ftp.gnu.org/gnu/hello/hello-2.10.tar.gz"  * Test bazaar:    $ bzr dh-make hello 2.10 hello-2.10.tar.gz  * Test breezy:    $ brz dh-make hello 2.10 hello-2.10.tar.gz  * On success, remove the generated dir/file for next tests.    $ rm -rf hello hello_2.10.orig.tar.gz [Where problems could occur]  * The changes are restricted to the `dh-make` command    in bazaar/breezy, which is broken, so it should not    make things worse.    But, theoretically, `bzr/brz dh-make` is the impact    surface for other issues/regressions from previous/    working releases. [Links]  * [1] https://packaging.ubuntu.com/html/packaging-new-software.html#starting-a-package [Other Info]  * Bionic is not affected in `bzr`, but just in `brz`,    due to being from 2 source packages: `bzr-builddeb`    and `breezy-debian`.  * Focal is affected in both `bzr/brz` per transition    from `bzr-builddeb` to `breezy-debian` (1 src pkg).  * Impish+ are not "affected" as `dh-make` was dropped    by debian-breezy upstream.  * The root cause of the regression is a dropped python   `import` in breezy-debian following changes in breezy.    The `bzrdir` import sets ControlDir's default format:    `controldir.ControlDirFormat._default_format = BzrDirMetaFormat1()`    Once debian-breezy.git's dh_make.py:_get_tree() moved    from BzrDir. to ControlDir.create_branch_convenience()    and dropped the bzrlib import, that is not set anymore.    Now, create_branch_convenience() calls create(), calls    initialize_on_transport() on the default format (None).  commit 08fcab340a2cd4f6bf0f5aec65c304a88023a4f8  Author: Jelmer Vernooij <jelmer@jelmer.uk>  Date: Sat Jun 17 14:10:12 2017 +0000      Update for breezy, drop support for older versions of bazaar and for debian_bundle.  ...  diff --git a/dh_make.py b/dh_make.py  ...   from ... import (  - bzrdir,  + controldir,  ...  @@ -34,22 +34,22 @@ def _get_tree(package_name):  ...  - create_branch = bzrdir.BzrDir.create_branch_convenience  ...  + create_branch = controldir.ControlDir.create_branch_convenience  ... * Focal needs another patch to fix this in `bzr`: $ bzr dh-make hello 2.10 hello-2.10.tar.gz Fetching tarball Looking for a way to retrieve the upstream tarball Upstream tarball already exists in build directory, using that brz: ERROR: TypeError: can only concatenate str (not "bytes") to str  * Synthetic test cases for this are provided in comment #1. [Original Bug Description] I am following official Ubuntu Packaging Guide: https://packaging.ubuntu.com/html/packaging-new-software.html When I come to the following part, the command crashes: $ bzr dh-make hello 2.10 hello-2.10.tar.gz brz: ERROR: AttributeError: 'NoneType' object has no attribute 'initialize_on_transport' (trackback bellow) My system: Description: Ubuntu 20.04.3 LTS Release: 20.04 dh-make:   Installed: 2.201903   Candidate: 2.201903   Version table:  *** 2.201903 500         500 http://cz.archive.ubuntu.com/ubuntu focal/main amd64 Packages         500 http://cz.archive.ubuntu.com/ubuntu focal/main i386 Packages         100 /var/lib/dpkg/status $ bzr dh-make hello 2.10 hello-2.10.tar.gz brz: ERROR: AttributeError: 'NoneType' object has no attribute 'initialize_on_transport' Traceback (most recent call last):   File "/usr/lib/python3/dist-packages/breezy/plugins/debian/dh_make.py", line 26, in _get_tree     tree = workingtree.WorkingTree.open(".")   File "/usr/lib/python3/dist-packages/breezy/workingtree.py", line 201, in open     control = controldir.ControlDir.open(path, _unsupported=_unsupported)   File "/usr/lib/python3/dist-packages/breezy/controldir.py", line 706, in open     return klass.open_from_transport(t, probers=probers,   File "/usr/lib/python3/dist-packages/breezy/controldir.py", line 736, in open_from_transport     transport, format = _mod_transport.do_catching_redirections(   File "/usr/lib/python3/dist-packages/breezy/transport/__init__.py", line 1613, in do_catching_redirections     return action(transport)   File "/usr/lib/python3/dist-packages/breezy/controldir.py", line 724, in find_format     return transport, ControlDirFormat.find_format(transport,   File "/usr/lib/python3/dist-packages/breezy/controldir.py", line 1166, in find_format     raise errors.NotBranchError(path=transport.base) breezy.errors.NotBranchError: Not a branch: "/home/jkalina/packaging/". During handling of the above exception, another exception occurred: Traceback (most recent call last):   File "/usr/lib/python3/dist-packages/breezy/plugins/debian/dh_make.py", line 37, in _get_tree     a_controldir = controldir.ControlDir.open_from_transport(   File "/usr/lib/python3/dist-packages/breezy/controldir.py", line 736, in open_from_transport     transport, format = _mod_transport.do_catching_redirections(   File "/usr/lib/python3/dist-packages/breezy/transport/__init__.py", line 1613, in do_catching_redirections     return action(transport)   File "/usr/lib/python3/dist-packages/breezy/controldir.py", line 724, in find_format     return transport, ControlDirFormat.find_format(transport,   File "/usr/lib/python3/dist-packages/breezy/controldir.py", line 1166, in find_format     raise errors.NotBranchError(path=transport.base) breezy.errors.NotBranchError: Not a branch: "/home/jkalina/packaging/hello/". During handling of the above exception, another exception occurred: Traceback (most recent call last):   File "/usr/lib/python3/dist-packages/breezy/commands.py", line 1016, in exception_to_return_code     return the_callable(*args, **kwargs)   File "/usr/lib/python3/dist-packages/breezy/commands.py", line 1202, in run_bzr     ret = run(*run_argv)   File "/usr/lib/python3/dist-packages/breezy/commands.py", line 759, in run_argv_aliases     return self.run(**all_cmd_args)   File "/usr/lib/python3/dist-packages/breezy/commands.py", line 784, in run     return self._operation.run_simple(*args, **kwargs)   File "/usr/lib/python3/dist-packages/breezy/cleanup.py", line 136, in run_simple     return _do_with_cleanups(   File "/usr/lib/python3/dist-packages/breezy/cleanup.py", line 166, in _do_with_cleanups     result = func(*args, **kwargs)   File "/usr/lib/python3/dist-packages/breezy/plugins/debian/cmds.py", line 1385, in run     tree = dh_make.import_upstream(   File "/usr/lib/python3/dist-packages/breezy/plugins/debian/dh_make.py", line 83, in import_upstream     tree = _get_tree(package_name)   File "/usr/lib/python3/dist-packages/breezy/plugins/debian/dh_make.py", line 42, in _get_tree     branch = create_branch(to_transport.base,   File "/usr/lib/python3/dist-packages/breezy/controldir.py", line 660, in create_branch_convenience     controldir = klass.create(base, format, possible_transports)   File "/usr/lib/python3/dist-packages/breezy/controldir.py", line 859, in create     return format.initialize_on_transport(t) AttributeError: 'NoneType' object has no attribute 'initialize_on_transport' You can report this problem to Bazaar's developers by running     apport-bug /var/crash/brz.1000.2021-12-12T15:32.crash if a bug-reporting window does not automatically appear. [Impact]  * The `bzr dh-make` step in the Ubuntu Packaging Guide [1]    fails in Focal.  * The alternative `brz dh-make` (BReeZy instead of BaZaaR)    fails in Focal and Bionic.  * The `dh-make` subcommand is not available in Impish/later.    The Guide should be updated and ideally use another tool. [Test Plan]  * Prepare:    $ sudo apt-get install dh-make bzr-builddeb brz-debian    $ bzr whoami "Your Name <name@example.com>"    $ wget -O hello-2.10.tar.gz "http://ftp.gnu.org/gnu/hello/hello-2.10.tar.gz"  * Test bazaar:    $ bzr dh-make hello 2.10 hello-2.10.tar.gz  * Test breezy:    $ brz dh-make hello 2.10 hello-2.10.tar.gz  * Between tests, remove the generated dir/file:    $ rm -rf hello hello_2.10.orig.tar.gz [Where problems could occur]  * The changes are restricted to the `dh-make` command    in bazaar/breezy, which is broken, so it should not    make things worse.    But, theoretically, `bzr/brz dh-make` is the impact    surface for other issues/regressions from previous/    working releases. [Links]  * [1] https://packaging.ubuntu.com/html/packaging-new-software.html#starting-a-package [Other Info]  * Bionic is not affected in `bzr`, but just in `brz`,    due to being from 2 source packages: `bzr-builddeb`    and `breezy-debian`.  * Focal is affected in both `bzr/brz` per transition    from `bzr-builddeb` to `breezy-debian` (1 src pkg).  * Impish+ are not "affected" as `dh-make` was dropped    by debian-breezy upstream.  * The root cause of the regression is a dropped python   `import` in breezy-debian following changes in breezy.    The `bzrdir` import sets ControlDir's default format:    `controldir.ControlDirFormat._default_format = BzrDirMetaFormat1()`    Once debian-breezy.git's dh_make.py:_get_tree() moved    from BzrDir. to ControlDir.create_branch_convenience()    and dropped the bzrlib import, that is not set anymore.    Now, create_branch_convenience() calls create(), calls    initialize_on_transport() on the default format (None).  commit 08fcab340a2cd4f6bf0f5aec65c304a88023a4f8  Author: Jelmer Vernooij <jelmer@jelmer.uk>  Date: Sat Jun 17 14:10:12 2017 +0000      Update for breezy, drop support for older versions of bazaar and for debian_bundle.  ...  diff --git a/dh_make.py b/dh_make.py  ...   from ... import (  - bzrdir,  + controldir,  ...  @@ -34,22 +34,22 @@ def _get_tree(package_name):  ...  - create_branch = bzrdir.BzrDir.create_branch_convenience  ...  + create_branch = controldir.ControlDir.create_branch_convenience  ...  * Focal needs another patch to fix this in `bzr`:  $ bzr dh-make hello 2.10 hello-2.10.tar.gz  Fetching tarball  Looking for a way to retrieve the upstream tarball  Upstream tarball already exists in build directory, using that  brz: ERROR: TypeError: can only concatenate str (not "bytes") to str  * Synthetic test cases for this are provided in comment #1. [Original Bug Description] I am following official Ubuntu Packaging Guide: https://packaging.ubuntu.com/html/packaging-new-software.html When I come to the following part, the command crashes: $ bzr dh-make hello 2.10 hello-2.10.tar.gz brz: ERROR: AttributeError: 'NoneType' object has no attribute 'initialize_on_transport' (trackback bellow) My system: Description: Ubuntu 20.04.3 LTS Release: 20.04 dh-make:   Installed: 2.201903   Candidate: 2.201903   Version table:  *** 2.201903 500         500 http://cz.archive.ubuntu.com/ubuntu focal/main amd64 Packages         500 http://cz.archive.ubuntu.com/ubuntu focal/main i386 Packages         100 /var/lib/dpkg/status $ bzr dh-make hello 2.10 hello-2.10.tar.gz brz: ERROR: AttributeError: 'NoneType' object has no attribute 'initialize_on_transport' Traceback (most recent call last):   File "/usr/lib/python3/dist-packages/breezy/plugins/debian/dh_make.py", line 26, in _get_tree     tree = workingtree.WorkingTree.open(".")   File "/usr/lib/python3/dist-packages/breezy/workingtree.py", line 201, in open     control = controldir.ControlDir.open(path, _unsupported=_unsupported)   File "/usr/lib/python3/dist-packages/breezy/controldir.py", line 706, in open     return klass.open_from_transport(t, probers=probers,   File "/usr/lib/python3/dist-packages/breezy/controldir.py", line 736, in open_from_transport     transport, format = _mod_transport.do_catching_redirections(   File "/usr/lib/python3/dist-packages/breezy/transport/__init__.py", line 1613, in do_catching_redirections     return action(transport)   File "/usr/lib/python3/dist-packages/breezy/controldir.py", line 724, in find_format     return transport, ControlDirFormat.find_format(transport,   File "/usr/lib/python3/dist-packages/breezy/controldir.py", line 1166, in find_format     raise errors.NotBranchError(path=transport.base) breezy.errors.NotBranchError: Not a branch: "/home/jkalina/packaging/". During handling of the above exception, another exception occurred: Traceback (most recent call last):   File "/usr/lib/python3/dist-packages/breezy/plugins/debian/dh_make.py", line 37, in _get_tree     a_controldir = controldir.ControlDir.open_from_transport(   File "/usr/lib/python3/dist-packages/breezy/controldir.py", line 736, in open_from_transport     transport, format = _mod_transport.do_catching_redirections(   File "/usr/lib/python3/dist-packages/breezy/transport/__init__.py", line 1613, in do_catching_redirections     return action(transport)   File "/usr/lib/python3/dist-packages/breezy/controldir.py", line 724, in find_format     return transport, ControlDirFormat.find_format(transport,   File "/usr/lib/python3/dist-packages/breezy/controldir.py", line 1166, in find_format     raise errors.NotBranchError(path=transport.base) breezy.errors.NotBranchError: Not a branch: "/home/jkalina/packaging/hello/". During handling of the above exception, another exception occurred: Traceback (most recent call last):   File "/usr/lib/python3/dist-packages/breezy/commands.py", line 1016, in exception_to_return_code     return the_callable(*args, **kwargs)   File "/usr/lib/python3/dist-packages/breezy/commands.py", line 1202, in run_bzr     ret = run(*run_argv)   File "/usr/lib/python3/dist-packages/breezy/commands.py", line 759, in run_argv_aliases     return self.run(**all_cmd_args)   File "/usr/lib/python3/dist-packages/breezy/commands.py", line 784, in run     return self._operation.run_simple(*args, **kwargs)   File "/usr/lib/python3/dist-packages/breezy/cleanup.py", line 136, in run_simple     return _do_with_cleanups(   File "/usr/lib/python3/dist-packages/breezy/cleanup.py", line 166, in _do_with_cleanups     result = func(*args, **kwargs)   File "/usr/lib/python3/dist-packages/breezy/plugins/debian/cmds.py", line 1385, in run     tree = dh_make.import_upstream(   File "/usr/lib/python3/dist-packages/breezy/plugins/debian/dh_make.py", line 83, in import_upstream     tree = _get_tree(package_name)   File "/usr/lib/python3/dist-packages/breezy/plugins/debian/dh_make.py", line 42, in _get_tree     branch = create_branch(to_transport.base,   File "/usr/lib/python3/dist-packages/breezy/controldir.py", line 660, in create_branch_convenience     controldir = klass.create(base, format, possible_transports)   File "/usr/lib/python3/dist-packages/breezy/controldir.py", line 859, in create     return format.initialize_on_transport(t) AttributeError: 'NoneType' object has no attribute 'initialize_on_transport' You can report this problem to Bazaar's developers by running     apport-bug /var/crash/brz.1000.2021-12-12T15:32.crash if a bug-reporting window does not automatically appear.
2022-05-27 17:09:51 Mauricio Faria de Oliveira branch linked lp:~mfo/ubuntu-packaging-guide/ubuntu-packaging-guide
2022-05-27 17:10:20 Mauricio Faria de Oliveira ubuntu-packaging-guide: status Confirmed In Progress
2022-05-27 17:10:29 Mauricio Faria de Oliveira ubuntu-packaging-guide: importance Undecided Medium
2022-05-27 17:10:32 Mauricio Faria de Oliveira ubuntu-packaging-guide: assignee Mauricio Faria de Oliveira (mfo)
2022-05-30 14:46:40 Mauricio Faria de Oliveira ubuntu-packaging-guide: status In Progress Fix Released
2022-06-06 14:37:01 Launchpad Janitor breezy-debian (Ubuntu Focal): status Fix Committed Fix Released
2022-06-06 14:37:06 Łukasz Zemczak removed subscriber Ubuntu Stable Release Updates Team
2022-06-06 14:51:45 Launchpad Janitor breezy-debian (Ubuntu Bionic): status Fix Committed Fix Released
2022-08-06 15:22:46 Zakhar bug added subscriber Zakhar
2022-08-06 15:23:13 Zakhar removed subscriber Zakhar
2022-08-06 15:23:24 Zakhar bug added subscriber Zakhar
2022-08-06 15:23:31 Zakhar removed subscriber Zakhar