Bug 2182352

Summary: perl-Devel-CallParser-0.002-30.fc39 FTBFS: t/leximport.t fails
Product: [Fedora] Fedora Reporter: Petr Pisar <ppisar>
Component: perl-Devel-CallParserAssignee: Paul Howarth <paul>
Status: CLOSED ERRATA QA Contact: Fedora Extras Quality Assurance <extras-qa>
Severity: unspecified Docs Contact:
Priority: unspecified    
Version: rawhideCC: jplesnik, paul, perl-devel
Target Milestone: ---   
Target Release: ---   
Hardware: Unspecified   
OS: Unspecified   
URL: https://koschei.fedoraproject.org/package/perl-Devel-CallParser
Whiteboard:
Fixed In Version: perl-Devel-CallParser-0.002-31.fc39 Doc Type: If docs needed, set a value
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2023-05-11 07:58:24 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:
Bug Depends On:    
Bug Blocks: 2168842    

Description Petr Pisar 2023-03-28 10:58:10 UTC
perl-Devel-CallParser-0.002-30.fc39 fails to build in Fedora 39 because a test fails:

$ prove -b -I . -v t/leximport.t
t/leximport.t ..
1..5
ok 1
ok 2 - require Devel::CallParser;
ok 3
not ok 4

#   Failed test at t/leximport.t line 46.
#          got: 'syntax error at (eval 19) line 1, near "foo:"
# '
#     expected: ''
not ok 5

#   Failed test at t/leximport.t line 47.
#     Structures begin differing at:
#          $got = undef
#     $expected = ARRAY(0x56053003c0f0)
# Looks like you failed 2 tests of 5.
Dubious, test returned 2 (wstat 512, 0x200)
Failed 2/5 subtests

Test Summary Report
-------------------
t/leximport.t (Wstat: 512 (exited 2) Tests: 5 Failed: 2)
  Failed tests:  4-5
  Non-zero exit status: 2

A difference between passing and failing build root is at <https://koschei.fedoraproject.org/build/15176938>. An update of perl-Lexical-Var from 0.009-31.fc38 to 0.010-1.fc39 is suspicious.

Comment 1 Paul Howarth 2023-03-28 12:34:39 UTC
If this is still a problem by the time the Perl 5.38 rebuild comes along, we could always work around it by dropping perl(Lexical::Sub) as a build requirement - the failing test is optional and would be skipped in the absence of Lexical::Sub.

Comment 2 Petr Pisar 2023-05-11 06:58:14 UTC
This broken build prevents from rebuilding perl-Syntax-Feature-Loop.

Comment 3 Fedora Update System 2023-05-11 07:57:34 UTC
FEDORA-2023-6158862573 has been submitted as an update to Fedora 39. https://bodhi.fedoraproject.org/updates/FEDORA-2023-6158862573

Comment 4 Fedora Update System 2023-05-11 07:58:24 UTC
FEDORA-2023-6158862573 has been pushed to the Fedora 39 stable repository.
If problem still persists, please make note of it in this bug report.