Bug#915209: perl: FTBFS in the year 2020: cpan/Time-Local/t/Local.t failure

Niko Tyni ntyni at debian.org
Sat Dec 1 18:28:12 GMT 2018


Source: perl
Version: 5.24.1-3
Severity: serious
Tags: patch fixed-upstream stretch
Forwarded: https://rt.cpan.org/Public/Bug/Display.html?id=124787
User: reproducible-builds at lists.alioth.debian.org
Usertags: environment

Control: found -1 5.28.0-4 
Control: found -1 5.28.1-1

As noticed by the reproducible-builds project, this package fails
to build in the year 2020 and later.

Severity set to 'serious' as we can't release buster with this issue
even though it works at the moment.

It looks like stretch is also affected, and as it will still be supported
in 2020 it should be fixed as well.

  % faketime 'Fri Feb 3 02:29:50 2020' prove cpan/Time-Local/t/Local.t
  cpan/Time-Local/t/Local.t .. 1/? 
  #   Failed test 'timelocal year for 1970 1 2 0 0 0'
  #   at cpan/Time-Local/t/Local.t line 109.
  #          got: '170'
  #     expected: '70'
  
  #   Failed test 'timegm year for 1970 1 2 0 0 0'
  #   at cpan/Time-Local/t/Local.t line 124.
  #          got: '170'
  #     expected: '70'
  # Looks like you failed 2 tests of 187.
  
This is [rt.cpan.org #124787] and was fixed upstream with

 https://github.com/houseabsolute/Time-Local/commit/63265fd81c7f6177bf28dfe0d1ada9cb897de566

-- 
Niko Tyni   ntyni at debian.org




More information about the Perl-maintainers mailing list