Bug 2090642 - perl-CGI-Compile: t/source_filter.t failed to build with perl-Text-Balanced-2.05
Summary: perl-CGI-Compile: t/source_filter.t failed to build with perl-Text-Balanced-2.05
Keywords:
Status: CLOSED RAWHIDE
Alias: None
Product: Fedora
Classification: Fedora
Component: perl-CGI-Compile
Version: rawhide
Hardware: Unspecified
OS: Unspecified
unspecified
unspecified
Target Milestone: ---
Assignee: Emmanuel Seyman
QA Contact: Fedora Extras Quality Assurance
URL: https://koschei.fedoraproject.org/pac...
Whiteboard:
Depends On: 2089613
Blocks:
TreeView+ depends on / blocked
 
Reported: 2022-05-26 08:36 UTC by Jitka Plesnikova
Modified: 2022-05-30 16:57 UTC (History)
4 users (show)

Fixed In Version: perl-Text-Balanced-2.05.01-1.fc37
Doc Type: If docs needed, set a value
Doc Text:
Clone Of:
Environment:
Last Closed: 2022-05-30 16:57:06 UTC
Type: Bug
Embargoed:


Attachments (Terms of Use)

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


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