Bug 2259131 - perl-gettext-1.07-28.fc40 FTBFS: tests fail
Summary: perl-gettext-1.07-28.fc40 FTBFS: tests fail
Keywords:
Status: CLOSED ERRATA
Alias: None
Product: Fedora
Classification: Fedora
Component: perl-gettext
Version: rawhide
Hardware: Unspecified
OS: Unspecified
unspecified
unspecified
Target Milestone: ---
Assignee: Ralf Corsepius
QA Contact: Fedora Extras Quality Assurance
URL: https://koschei.fedoraproject.org/pac...
Whiteboard:
Depends On:
Blocks: F40FTBFS
TreeView+ depends on / blocked
 
Reported: 2024-01-19 08:15 UTC by Petr Pisar
Modified: 2024-01-27 18:16 UTC (History)
4 users (show)

Fixed In Version: perl-gettext-1.07-31.fc40
Doc Type: If docs needed, set a value
Doc Text:
Clone Of:
Environment:
Last Closed: 2024-01-27 18:10:20 UTC
Type: Bug
Embargoed:


Attachments (Terms of Use)


Links
System ID Private Priority Status Summary Last Updated
Github vandry Perl-Locale-gettext pull 4 0 None open skip C.UTF-8 nad POSIX.UTF-8 too 2024-01-19 08:27:59 UTC

Description Petr Pisar 2024-01-19 08:15:47 UTC
perl-gettext-1.07-28.fc40 fails to build in Fedora 40 because the tests fail like this:

t/bind.t ....... ok
# Failed test 1 in t/frconvert.t at line 22
#  t/frconvert.t line 22 is: 		ok(0);
t/frconvert.t .. 
Failed 1/1 subtests 
# Failed test 1 in t/jaconvert.t at line 23
#  t/jaconvert.t line 23 is: 		ok(0);
t/jaconvert.t .. 
Failed 1/1 subtests 
# Failed test 1 in t/raw.t at line 14
#  t/raw.t line 14 is: 	ok(0);
t/raw.t ........ 
Failed 1/1 subtests 
t/use.t ........ ok
Test Summary Report
-------------------
t/frconvert.t (Wstat: 0 Tests: 1 Failed: 1)
  Failed test:  1
t/jaconvert.t (Wstat: 0 Tests: 1 Failed: 1)
  Failed test:  1
t/raw.t      (Wstat: 0 Tests: 1 Failed: 1)
  Failed test:  1
Files=5, Tests=5,  1 wallclock secs ( 0.02 usr  0.01 sys +  0.14 cusr  0.03 csys =  0.20 CPU)
Result: FAIL

A difference between passing and failing build root is at <https://koschei.fedoraproject.org/build/16923838>.

Comment 1 Petr Pisar 2024-01-19 08:23:35 UTC
The tests depends on a locale. It fails in C.UTF-8 locale, it passes in en_US.UTF-8 locale. This is probably triggered by upgrading glibc-minimal-langpack from 2.38.9000-28.fc40 to 2.38.9000-29.fc40.

Comment 2 Petr Pisar 2024-01-19 08:29:18 UTC
I recommend build-requiring glibc-langpack-en and setting locale to en_US.UTF-8 as a fix.

Comment 3 Ralf Corsepius 2024-01-27 18:10:20 UTC
(In reply to Petr Pisar from comment #2)
> I recommend build-requiring glibc-langpack-en and setting locale to
> en_US.UTF-8 as a fix.

That's what I did.

Comment 4 Fedora Update System 2024-01-27 18:13:21 UTC
FEDORA-2024-2bc1ca7840 has been submitted as an update to Fedora 40. https://bodhi.fedoraproject.org/updates/FEDORA-2024-2bc1ca7840

Comment 5 Fedora Update System 2024-01-27 18:16:16 UTC
FEDORA-2024-2bc1ca7840 has been pushed to the Fedora 40 stable repository.
If problem still persists, please make note of it in this bug report.


Note You need to log in before you can comment on or make changes to this bug.