Bug 1904820
| Summary: | Perl rebuild fails due to too old bundled Time::Local | ||
|---|---|---|---|
| Product: | Red Hat Enterprise Linux 8 | Reporter: | Robert Scheck <redhat-bugzilla> |
| Component: | perl | Assignee: | perl-maint-list |
| Status: | CLOSED DUPLICATE | QA Contact: | RHEL CS Apps Subsystem QE <rhel-cs-apps-subsystem-qe> |
| Severity: | medium | Docs Contact: | |
| Priority: | medium | ||
| Version: | 8.3 | CC: | bnater, jplesnik |
| Target Milestone: | rc | Flags: | pm-rhel:
mirror+
|
| Target Release: | 8.4 | ||
| Hardware: | x86_64 | ||
| OS: | Linux | ||
| Whiteboard: | |||
| Fixed In Version: | Doc Type: | If docs needed, set a value | |
| Doc Text: | Story Points: | --- | |
| Clone Of: | Environment: | ||
| Last Closed: | 2020-12-07 06:57:35 UTC | Type: | Bug |
| Regression: | --- | Mount Type: | --- |
| Documentation: | --- | CRM: | |
| Verified Versions: | Category: | --- | |
| oVirt Team: | --- | RHEL 7.3 requirements from Atomic Host: | |
| Cloudforms Team: | --- | Target Upstream Version: | |
| Embargoed: | |||
Btw, applying https://src.fedoraproject.org/rpms/perl/raw/f30/f/perl-5.28.2-Only-pass-2-digit-years-to-tests-when-testing-2-digi.patch solves the issue. *** This bug has been marked as a duplicate of bug 1807120 *** |
Description of problem: Perl rebuild fails because of too old bundled Time::Local in tests due to the 50-year bug in Time::Local, which was fixed in 1.26. Version-Release number of selected component (if applicable): perl-5.26.3-416.el8 How reproducible: Everytime, just try to rebuild perl. Actual results: [...] ../cpan/Text-Tabs/t/wrap_separator2.t .............................. ok # Failed test 'timelocal year for 1970 1 2 0 0 0' # at t/Local.t line 109. # got: '170' # expected: '70' # Failed test 'timegm year for 1970 1 2 0 0 0' # at t/Local.t line 124. # got: '170' # expected: '70' # Looks like you failed 2 tests of 187. ../cpan/Time-Local/t/Local.t ....................................... Dubious, test returned 2 (wstat 512, 0x200) Failed 2/187 subtests (less 8 skipped subtests: 177 okay) ../cpan/Test-Simple/t/Legacy/todo.t ................................ ok [...] Expected results: Working rebuild of perl package.