On Tuesday, October 01 2019, peter green wrote: > bzr recently became a transitional package to breezy (a fork of bzr), > unfortunately this is causing the autopkgtest of check-manifest to fail. > >> ====================================================================== >> ERROR: test_get_vcs_files (tests.TestBzr) >> ---------------------------------------------------------------------- >> Traceback (most recent call last): >> File "/tmp/autopkgtest-lxc.97siff98/downtmp/build.JQe/src/tests.py", line >> 900, in test_get_vcs_files >> self.assertEqual(get_vcs_files(), >> File >> "/tmp/autopkgtest-lxc.97siff98/downtmp/build.JQe/src/check_manifest.py", >> line 480, in get_vcs_files >> return normalize_names(vcs.get_versioned_files()) >> File >> "/tmp/autopkgtest-lxc.97siff98/downtmp/build.JQe/src/check_manifest.py", >> line 405, in get_versioned_files >> output = run(['bzr', 'ls', '-VR'], encoding=encoding) >> File >> "/tmp/autopkgtest-lxc.97siff98/downtmp/build.JQe/src/check_manifest.py", >> line 157, in run >> raise CommandFailed(command, status, output) >> check_manifest.CommandFailed: ['bzr', 'ls', '-VR'] failed (status 3): >> a.txt >> b/ >> b/b.txt >> b/c/ >> b/c/d.txt >> brz: ERROR: [Errno 2] No such file or directory: '/home/debci/.config/breezy' > Can you fix your package and/or it's autopkgtest so that the transitional bzr > package can migrate to testing?
This is a bug on breezy. It took me quite some time to understand what is going on (I still don't know the full details) and to come up with a fix. It's basically a hack: check-manifest will create a ~/.config/breezy directory tree if it doesn't exist. breezy absolutely shouldn't fail if this directory isn't there, but unfortunately it does. I also decided to force $HOME to be /tmp, since it's not always possible to guarantee that it will be set or be writable. I'll upload a fixed package soon, but thought I'd let you know. Thanks, -- Sergio GPG key ID: 237A 54B1 0287 28BF 00EF 31F4 D0EB 7628 65FC 5E36 Please send encrypted e-mail if possible http://sergiodj.net/
signature.asc
Description: PGP signature