[Pkg-bazaar-maint] Bug#944379: brz: ERROR: [Errno 2] No such file or directory: '.config/breezy'

Jelmer Vernooij jelmer at debian.org
Sat Nov 9 04:11:00 GMT 2019


On Fri, Nov 08, 2019 at 10:59:13PM +0100, Jochen Sprickerhof wrote:
> breezy doesn't always create it's config dir resulting in an exception.
> The current behaviour breaks ros-wstool since the switch from bzr to brz:
> 
> https://tests.reproducible-builds.org/debian/rb-pkg/unstable/amd64/ros-wstool.html
> 
> Steps to reproduce:
> 
> $ cd $(mktemp -d)
> $ HOME=$(pwd) brz init
> Created a standalone tree (format: 2a)
> $ touch foo
> $ HOME=$(pwd) brz status
> brz: ERROR: [Errno 2] No such file or directory: '/tmp/tmp.7OnfYj98A5/.config/breezy'
Thanks for the bug report; I've forwarded this to https://bugs.launchpad.net/brz/+bug/1851904

I suspect we didn't use os.makedirs in the past since we didn't want
to inadvertently create the users home directory if it didn't exist.

> P.S.: brz in experimental is not installable, because this is not
> fulfillable:
> 
> python3-breezy (<= 3.1.0~bzr7295-1.1~)
> python3-breezy (>= 3.1.0~bzr7295-1)
> 
> $ dpkg --compare-versions "3.1.0~bzr7372-1" lt "3.1.0~bzr7295-1.1" && echo true
> 
> I would propose to use 3.1.0-bzr7372 as the upstream version in future,
> as the tilde is special.

The use of the tilde is intentional; the bzr7372 bit is the
upstream version snapshot (3.1.0 is not released yet), not a part of
the Debian revision.

Jelmer

-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 833 bytes
Desc: not available
URL: <http://alioth-lists.debian.net/pipermail/pkg-bazaar-maint/attachments/20191109/3a0d1536/attachment-0001.sig>


More information about the Pkg-bazaar-maint mailing list