Bug 2093181 - os-autoinst-4.6^20220201gitab6013d-2.fc37: FTBFS with Perl 5.36
Summary: os-autoinst-4.6^20220201gitab6013d-2.fc37: FTBFS with Perl 5.36
Keywords:
Status: CLOSED RAWHIDE
Alias: None
Product: Fedora
Classification: Fedora
Component: os-autoinst
Version: rawhide
Hardware: Unspecified
OS: Unspecified
unspecified
unspecified
Target Milestone: ---
Assignee: Adam Williamson
QA Contact: Fedora Extras Quality Assurance
URL: https://koji.fedoraproject.org/koji/t...
Whiteboard:
Depends On:
Blocks: 2094394
TreeView+ depends on / blocked
 
Reported: 2022-06-03 07:48 UTC by Jitka Plesnikova
Modified: 2022-06-07 19:31 UTC (History)
1 user (show)

Fixed In Version:
Doc Type: If docs needed, set a value
Doc Text:
Clone Of:
Environment:
Last Closed: 2022-06-07 19:31:44 UTC
Type: Bug
Embargoed:


Attachments (Terms of Use)


Links
System ID Private Priority Status Summary Last Updated
Github os-autoinst os-autoinst pull 2075 0 None open Fix perl 5.36 warnings on use of @_ in functions with signature 2022-06-07 18:10:23 UTC

Description Jitka Plesnikova 2022-06-03 07:48:15 UTC
I am working on adding Perl 5.36 to Fedora Rawhide/37 (not done yet).

The rebuild of os-autoinst failed with this version in side tag f37-perl:

2: ok     1697 ms ( 0.02 usr  0.00 sys +  1.46 cusr  0.33 csys =  1.81 CPU)
2: Implicit use of @_ in goto with signatured subroutine is experimental at /builddir/build/BUILD/os-autoinst-ab6013d738344791507525e45cbd9f972a444968/backend/console_proxy.pm line 59.
2: 
2: #   Failed test 'no (unexpected) warnings (via done_testing)'
2: #   at ./03-testapi.t line 873.
2: # Got the following unexpected warnings:
2: #   1: Implicit use of @_ in goto with signatured subroutine is experimental at /builddir/build/BUILD/os-autoinst-ab6013d738344791507525e45cbd9f972a444968/backend/console_proxy.pm line 59.
2: # Looks like you failed 1 test of 42.
2: [21:44:58] ./03-testapi.t ........................... 

The failure is caused by new warnings[1]:

Implicit use of @_ in %s with signatured subroutine is experimental

An expression that implicitly involves the @_ arguments array was found in a subroutine that uses a signature

[1]https://metacpan.org/dist/perl/view/pod/perldelta.pod#New-Warnings

Comment 1 Adam Williamson 2022-06-03 16:27:50 UTC
Can you confirm this is still the case with the new git snapshot I built yesterday?

Comment 2 Jitka Plesnikova 2022-06-03 17:08:50 UTC
It is still failing.

https://koji.fedoraproject.org/koji/taskinfo?taskID=87834804

Comment 3 Adam Williamson 2022-06-07 16:03:35 UTC
Filed upstream: https://progress.opensuse.org/issues/112130

Comment 4 Adam Williamson 2022-06-07 18:10:24 UTC
Working on a fix now.

Comment 5 Adam Williamson 2022-06-07 19:31:44 UTC
Fixed in https://koji.fedoraproject.org/koji/buildinfo?buildID=1977653 .


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