Bug 2223392 - perl-Test-Vars: FTBFS with Perl 5.38
Summary: perl-Test-Vars: FTBFS with Perl 5.38
Keywords:
Status: NEW
Alias: None
Product: Fedora
Classification: Fedora
Component: perl-Test-Vars
Version: 39
Hardware: Unspecified
OS: Linux
unspecified
medium
Target Milestone: ---
Assignee: Paul Howarth
QA Contact: Fedora Extras Quality Assurance
URL: https://koschei.fedoraproject.org/pac...
Whiteboard:
Depends On:
Blocks: F39FTBFS F40FTBFS, RAWHIDEFTBFS
TreeView+ depends on / blocked
 
Reported: 2023-07-17 15:04 UTC by Jitka Plesnikova
Modified: 2023-08-16 08:13 UTC (History)
2 users (show)

Fixed In Version:
Doc Type: If docs needed, set a value
Doc Text:
Clone Of:
Environment:
Last Closed:
Type: ---
Embargoed:


Attachments (Terms of Use)


Links
System ID Private Priority Status Summary Last Updated
Github houseabsolute p5-Test-Vars issues 49 0 None open t/07_stub_sub_bug.t failure with recent perl 2023-07-17 15:05:54 UTC

Description Jitka Plesnikova 2023-07-17 15:04:43 UTC
Description of problem:
Package perl-Test-Vars fails to build from source in Fedora Rawhide with new Perl 5.38.

+ ./Build test
# Testing Test::Vars/0.015
t/00_load.t .............. ok
t/01_all_vars_ok_self.t .. ok
# Test::Vars ignores CompileError.pm because: Intentional compile error.
# Test::Vars ignores ImplicitTopic.pm because: Can't use global $_ in "my" at t/lib/ImplicitTopic.pm line 6, near "my $_ "
t/02_no_warnings.t ....... ok
t/03_warned.t ............ ok
t/04_ignores.t ........... ok
t/05_test_vars.t ......... ok
t/06_vars_ok_self.t ...... ok
#   Failed test 'got expected output from test_vars'
#   at t/07_stub_sub_bug.t line 25.
#     Structures begin differing at:
#          $got->[0][2][1][1] = '$x is used once in &StubSub::foo '
#     $expected->[0][2][1][1] = '$x is used once in &StubSub::foo at t/lib/StubSub.pm line 13'
# Looks like you failed 1 test of 2.
t/07_stub_sub_bug.t ...... 
Dubious, test returned 1 (wstat 256, 0x100)
Failed 1/2 subtests 
t/08_undef_aux_list.t .... ok
t/09_array_slice.t ....... ok
t/10_my_sub.t ............ ok
Test Summary Report
-------------------
t/07_stub_sub_bug.t    (Wstat: 256 (exited 1) Tests: 2 Failed: 1)
  Failed test:  2
  Non-zero exit status: 1
Files=11, Tests=71,  1 wallclock secs ( 0.04 usr  0.01 sys +  1.14 cusr  0.31 csys =  1.50 CPU)
Result: FAIL

Version-Release number of selected component (if applicable):
0.015-9.fc39

Steps to Reproduce:
koji build --scratch f39 perl-Test-Vars-0.015-9.fc39.src.rpm

Additional info:
This package is tracked by Koschei. See:
https://koschei.fedoraproject.org/package/perl-Test-Vars

Reproducible: Always

Comment 1 Fedora Release Engineering 2023-08-16 08:13:07 UTC
This bug appears to have been reported against 'rawhide' during the Fedora Linux 39 development cycle.
Changing version to 39.


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