Your message dated Sun, 20 Oct 2019 21:17:18 +0300
with message-id <[email protected]>
and subject line Re: Bug#811109: perl: I18N::Langinfo UTF-8 problems
has caused the Debian Bug report #811109,
regarding perl: I18N::Langinfo UTF-8 problems
to be marked as done.

This means that you claim that the problem has been dealt with.
If this is not the case it is now your responsibility to reopen the
Bug report if necessary, and/or fix the problem forthwith.

(NB: If you are a system administrator and have no idea what this
message is talking about, this may indicate a serious mail system
misconfiguration somewhere. Please contact [email protected]
immediately.)


-- 
811109: https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=811109
Debian Bug Tracking System
Contact [email protected] with problems
--- Begin Message ---
Package: libtime-format-perl
Version: 1.12-2
User: [email protected]
Usertags: perl-5.22-transition
User: [email protected]
Usertags: ftbfs

As noticed by the reproducible.debian.net CI system, this package fails
to build from source when LC_ALL is set to a locale where the name of
December has non-ASCII characters, for instance fr_FR.UTF-8.

  #   Failed test 'POSIX 1'
  #   at t/doc.t line 66.
  #          got: 'POSIXish: mardi, d�cembre 12, 1995'
  #     expected: 'POSIXish: mardi, décembre 12, 1995'
  # Looks like you failed 1 test of 26.

The difference is that 'got' has an é in latin1 encoding
while 'expected' has it in utf8.

The timing when this started failing seems to coincide with Perl 5.22
entering sid, so tentatively usertagging so. This smells a bit like a perl
regression to me, but it might also be an intentional bugfix there.

The test suite is currently run with LANG=C from debian/rules,
but that's not enough as LC_ALL overrides it.

Given upstream clearly tries to get this to work in non-C locales,
I don't think we should fix this just by setting LC_ALL=C, but I think
it's an acceptable workaround as long as we leave this bug open.
-- 
Niko Tyni   [email protected]

--- End Message ---
--- Begin Message ---
Version: 5.28.0-1

On Fri, Jan 15, 2016 at 08:57:54PM +0200, Niko Tyni wrote:
> On Fri, Jan 15, 2016 at 07:31:57PM +0200, Niko Tyni wrote:
> > Package: libtime-format-perl
> > Version: 1.12-2
> > User: [email protected]
> > Usertags: perl-5.22-transition
> > User: [email protected]
> > Usertags: ftbfs
> 
> >   #   Failed test 'POSIX 1'
> >   #   at t/doc.t line 66.
> >   #          got: 'POSIXish: mardi, d�cembre 12, 1995'
> >   #     expected: 'POSIXish: mardi, décembre 12, 1995'
> >   # Looks like you failed 1 test of 26.
> > 
> > The difference is that 'got' has an é in latin1 encoding
> > while 'expected' has it in utf8.
> > 
> > The timing when this started failing seems to coincide with Perl 5.22
> > entering sid, so tentatively usertagging so. This smells a bit like a perl
> > regression to me, but it might also be an intentional bugfix there.
> 
> It's a bugfix in POSIX::strftime() that highlights a bug in I18N::Langinfo.
> Previously both would return UTF-8 strings without the internal
> UTF-8 flag set, but POSIX::strftime() was fixed with
>  
> http://perl5.git.perl.org/perl.git/commit/9717af6d049902fc887c412facb2d15e785ef1a4

I18N::Langinfo was fixed in 5.28 according to khw in the upstream bug. So 
closing.
-- 
Niko Tyni   [email protected]

--- End Message ---

Reply via email to