[Bug 2240584] New: perl-Time-ParseDate-2015.103-24.fc40 FTBFS: tests
fail without tzdata package
by bugzilla@redhat.com
https://bugzilla.redhat.com/show_bug.cgi?id=2240584
Bug ID: 2240584
Summary: perl-Time-ParseDate-2015.103-24.fc40 FTBFS: tests fail
without tzdata package
Product: Fedora
Version: rawhide
URL: https://koschei.fedoraproject.org/package/perl-Time-Pa
rseDate?collection=f39
Status: NEW
Component: perl-Time-ParseDate
Assignee: denis(a)fateyev.com
Reporter: ppisar(a)redhat.com
QA Contact: extras-qa(a)fedoraproject.org
CC: denis(a)fateyev.com, perl-devel(a)lists.fedoraproject.org,
xavier(a)bachelot.org
Blocks: 2168842 (F39FTBFS), 2231791 (F40FTBFS,RAWHIDEFTBFS)
Target Milestone: ---
Classification: Fedora
perl-Time-ParseDate-2015.103-24.fc40 fails to build in Fedora 40 and 39 because
tests fail if tzdata package is not installed:
t/metdate.t ... skipped: It seems localtime() does not honor $ENV{TZ} when set
in the test script.
t/order1.t .... 1/?
# Failed test 'Europe/Moscow, DST permanent 2009'
# at t/order1.t line 33.
# got: '1257033600'
# expected: '1257022800'
# Failed test 'Europe/Moscow, DST permanent 2013'
# at t/order1.t line 34.
# got: '1369872000'
# expected: '1369857600'
# Looks like you failed 2 tests of 5.
t/order1.t .... Dubious, test returned 2 (wstat 512, 0x200)
Failed 2/5 subtests
t/order2.t .... 1/?
# Failed test 'Europe/Moscow, DST permanent 2013'
# at t/order2.t line 31.
# got: '1369872000'
# expected: '1369857600'
# Failed test 'Europe/Moscow, DST permanent 2009'
# at t/order2.t line 32.
# got: '1257033600'
# expected: '1257022800'
# Looks like you failed 2 tests of 5.
t/order2.t .... Dubious, test returned 2 (wstat 512, 0x200)
Failed 2/5 subtests
A difference between passing and failing build roots is at
<https://koschei.fedoraproject.org/build/16391565>.
Referenced Bugs:
https://bugzilla.redhat.com/show_bug.cgi?id=2168842
[Bug 2168842] Fedora 39 FTBFS Tracker
https://bugzilla.redhat.com/show_bug.cgi?id=2231791
[Bug 2231791] Fedora 40 FTBFS Tracker
--
You are receiving this mail because:
You are on the CC list for the bug.
https://bugzilla.redhat.com/show_bug.cgi?id=2240584
Report this comment as SPAM: https://bugzilla.redhat.com/enter_bug.cgi?product=Bugzilla&format=report-...
7 months
[Bug 2240458] New: Perl 5.38 breaks Irssi locale
by bugzilla@redhat.com
https://bugzilla.redhat.com/show_bug.cgi?id=2240458
Bug ID: 2240458
Summary: Perl 5.38 breaks Irssi locale
Product: Fedora
Version: 39
Hardware: x86_64
URL: https://github.com/irssi/scripts.irssi.org/issues/857
OS: Linux
Status: NEW
Component: perl
Severity: medium
Assignee: jplesnik(a)redhat.com
Reporter: mjuszkie(a)redhat.com
QA Contact: extras-qa(a)fedoraproject.org
CC: iarnell(a)gmail.com, jplesnik(a)redhat.com, kasal(a)ucw.cz,
mmaslano(a)redhat.com, mspacek(a)redhat.com,
perl-devel(a)lists.fedoraproject.org, ppisar(a)redhat.com,
psabata(a)redhat.com, rhughes(a)redhat.com,
spotrh(a)gmail.com
Target Milestone: ---
Classification: Fedora
After upgrade to Fedora 39 beta one of scripts in irssi (irc client) broke.
After checking what is going on (I do not know Perl) I found out that length of
string was reported with negative sign.
Opened a ticket at Irssi github account
https://github.com/irssi/scripts.irssi.org/issues/857 and went through
debugging a bit.
Turned out that Perl 5.38 drops locale settings when embedded in C. There is a
bug for it already: https://github.com/Perl/perl5/issues/21366
I do not know which solution should be taken to make it work properly. For
irssi script I have hacky workaround. But would be nice to not have such bug on
release of new Fedora version.
Reproducible: Always
Steps to Reproduce:
1. set locale to any UTF-8 one (I use pl_PL.UTF-8)
2. run irssi
3. run "/script exec print Text::CharWidth::mbswidth("─")" command
Actual Results:
Should return "1"
Expected Results:
Returns "-1"
irssi-1.4.4-5.fc39.x86_64
perl-5.38.0-500.fc39.x86_64
--
You are receiving this mail because:
You are on the CC list for the bug.
https://bugzilla.redhat.com/show_bug.cgi?id=2240458
Report this comment as SPAM: https://bugzilla.redhat.com/enter_bug.cgi?product=Bugzilla&format=report-...
7 months