Bug#782068: perl: t/run/locale fails when LC_* are set

gregor herrmann gregoa at debian.org
Fri Apr 10 13:44:18 UTC 2015


On Fri, 10 Apr 2015 11:00:19 +0300, Niko Tyni wrote:

> On Wed, Apr 08, 2015 at 12:36:39PM +0200, gregor herrmann wrote:
> > On Wed, 08 Apr 2015 10:02:53 +0100, Dominic Hargreaves wrote:
> > > > > When trying to build perl using pbuilder, the test `t/run/locale`
> > > > > failed. I had LC_TIME and LC_CTYPE set.
> > > > Reminds me of a bug I reported last summer ...
> > > > Here it is: #759733
> That one never mentioned pbuilder; can you recall if that was how you
> ran into it? Anyway, it's clearly the same issue so merging.

Sorry for not adding this information earlier; yes, it was with
cowbuilder.
 
> > While this is a valid point, I assume that also a plain
> > dpkg-buildpackage in a "normal" environment fails, which is not
> > elegant.
> That would only happen when LC_<something> is set to a locale which
> doesn't exist on the system, right? Such an environment doesn't seem
> "normal" to me.

Good point.
 
> All that said, given the interaction with pbuilder, I think we should
> fix the perl package one way or another to survive this. Something like
> the attached patch might do, ideally upstream of course.

Looks like a good approach, thanks!


Cheers,
gregor

-- 
 .''`.  Homepage: http://info.comodo.priv.at/ - OpenPGP key 0xBB3A68018649AA06
 : :' : Debian GNU/Linux user, admin, and developer -  https://www.debian.org/
 `. `'  Member of VIBE!AT & SPI, fellow of the Free Software Foundation Europe
   `-   NP: Suzanne Vega: Neighborhood Girls
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 949 bytes
Desc: Digital Signature
URL: <http://lists.alioth.debian.org/pipermail/perl-maintainers/attachments/20150410/c5ba93a1/attachment.sig>


More information about the Perl-maintainers mailing list