bzr bd fails in C locale
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
bzr-builddeb |
Triaged
|
High
|
Unassigned | ||
bzr-builddeb (Ubuntu) |
Triaged
|
High
|
Unassigned |
Bug Description
bzr bd in oneiric has recently started to fail when run in a C locale (such as in a pristine build chroot). This used to work just fine, now it gives the following error:
$ bzr bd -- -uc -us -B
Building using working tree
Building package in merge mode
Looking for a way to retrieve the upstream tarball
bzr: ERROR: exceptions.
Traceback (most recent call last):
File "/usr/lib/
return the_callable(*args, **kwargs)
File "/usr/lib/
ret = run(*run_argv)
File "/usr/lib/
return self.run(
File "/usr/lib/
return self._operation
File "/usr/lib/
self.cleanups, self.func, *args, **kwargs)
File "/usr/lib/
result = func(*args, **kwargs)
File "/usr/lib/
builder.
File "/usr/lib/
self.
File "/usr/lib/
self.
File "/usr/lib/
tarballs = self.upstream_
File "/usr/lib/
if self.already_
File "/usr/lib/
return gather_
File "/usr/lib/
if filename.
UnicodeDecodeError: 'ascii' codec can't decode byte 0xc3 in position 5: ordinal not in range(128)
bzr 2.4b5 on python 2.7.2 (Linux-
Ubuntu-
arguments: ['/usr/bin/bzr', 'bd', '--', '-uc', '-us', '-B']
plugins: bash_completion
email[unknown], launchpad[2.4b5], netrc_credentia
news_
encoding: 'ANSI_X3.4-1968', fsenc: 'ANSI_X3.4-1968', 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:/
including this traceback and a description of the problem.
$
Installing language-pack-en and setting LANG=en_US.UTF-8 is sufficient to clear this error.
ProblemType: Bug
DistroRelease: Ubuntu 11.10
Package: bzr-builddeb 2.7.7
ProcVersionSign
Uname: Linux 3.0.0-8-generic x86_64
Architecture: amd64
Date: Sun Aug 14 12:38:29 2011
InstallationMedia: Ubuntu 10.04.1 LTS "Lucid Lynx" - Release amd64 (20100816.1)
PackageArchitec
ProcEnviron:
LANGUAGE=en_US:en
PATH=(custom, user)
LANG=en_US.UTF-8
SHELL=/bin/bash
SourcePackage: bzr-builddeb
UpgradeStatus: Upgraded to oneiric on 2011-06-27 (48 days ago)
Changed in bzr-builddeb (Ubuntu): | |
status: | New → Triaged |
importance: | Medium → High |
Changed in bzr-builddeb: | |
status: | New → Triaged |
importance: | Undecided → High |
tags: | added: regression |