Bug 2090642

Summary: perl-CGI-Compile: t/source_filter.t failed to build with perl-Text-Balanced-2.05
Product: [Fedora] Fedora Reporter: Jitka Plesnikova <jplesnik>
Component: perl-CGI-CompileAssignee: Emmanuel Seyman <emmanuel>
Status: CLOSED RAWHIDE QA Contact: Fedora Extras Quality Assurance <extras-qa>
Severity: unspecified Docs Contact:
Priority: unspecified    
Version: rawhideCC: emmanuel, jose.p.oliveira.oss, perl-devel, ppisar
Target Milestone: ---   
Target Release: ---   
Hardware: Unspecified   
OS: Unspecified   
URL: https://koschei.fedoraproject.org/package/perl-CGI-Compile
Whiteboard:
Fixed In Version: perl-Text-Balanced-2.05.01-1.fc37 Doc Type: If docs needed, set a value
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2022-05-30 16:57:06 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: 2089613    
Bug Blocks:    

Description Jitka Plesnikova 2022-05-26 08:36:07 UTC
Description of problem:
Package perl-CGI-Compile fails to build from source in Fedora Rawhide.

#   Failed test 'CGI with source filter compiles'
#   at t/source_filter.t line 11.
# Looks like you failed 1 test of 1.
t/source_filter.t ...... 
Dubious, test returned 1 (wstat 256, 0x100)
Failed 1/1 subtests 

# perl -MCGI::Compile -Ilib -e 'CGI::Compile->compile("t/switch.cgi")'Could not compile t/switch.cgi: Bad switch statement (problem in the parentheses?) near /builddir/build/BUILD/CGI-Compile-0.25/t/switch.cgi line 7

The issue is caused by using perl(Switch) which doesn't work with perl-Text-Balanced-2.05.
perl(Switch) is used only for test t/source_filter.t, not for CGI-Compile.

Steps to Reproduce:
koji build --scratch f37 perl-CGI-Compile-0.25-6.fc36.src.rpm

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

Dependency changes from the last successful build:
https://koschei.fedoraproject.org/build/12922199