Bug 1209564

Summary: perl-TryCatch-1.003002-6.fc23 FTBFS: t/mx_types_structured.t test fails: Scalar found where operator expected at t/mx_types_structured.t line 27, near "] $err"
Product: [Fedora] Fedora Reporter: Petr Pisar <ppisar>
Component: perl-TryCatchAssignee: Petr Šabata <psabata>
Status: CLOSED RAWHIDE QA Contact: Fedora Extras Quality Assurance <extras-qa>
Severity: unspecified Docs Contact:
Priority: unspecified    
Version: rawhideCC: perl-devel, ppisar, psabata
Target Milestone: ---   
Target Release: ---   
Hardware: Unspecified   
OS: Unspecified   
URL: http://koji.fedoraproject.org/koji/taskinfo?taskID=9359084
Whiteboard:
Fixed In Version: Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2015-05-14 10:54:21 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: 1209964    
Bug Blocks:    

Description Petr Pisar 2015-04-07 16:16:35 UTC
perl-TryCatch-1.003002-6.fc23 fails to build in F23:

t/method.t ............... ok
Scalar found where operator expected at t/mx_types_structured.t line 27, near "] $err"
	(Missing operator before  $err?)
Bareword found where operator expected at t/mx_types_structured.t line 27, near "$err where"
	(Missing operator before where?)
Can't locate object method "parameterize" via package "PPI::Token::Word" at /usr/share/perl5/vendor_perl/Parse/Method/Signatures/TypeConstraint.pm line 115.
syntax error at t/mx_types_structured.t line 24, near "}
    {"
syntax error at t/mx_types_structured.t line 27, near "] $err "
Global symbol "$err" requires explicit package name at t/mx_types_structured.t line 27.
Unterminated <> operator at t/mx_types_structured.t line 27.
# Looks like you planned 3 tests but ran 1.
# Looks like your test exited with 255 just after 1.
t/mx_types_structured.t .. 
Dubious, test returned 255 (wstat 65280, 0xff00)
Failed 2/3 subtests

Difference between working and failing build root:

        perl-MooseX-Types-Structured 	0.30-1.fc22 	> 	0.32-1.fc23
	perl-Sub-Exporter-ForMethods 		> 	0.100051-1.fc22
	perl-Text-Template 	1.45-18.fc23 	> 	1.46-1.fc23
	kernel-headers 	4.0.0-0.rc5.git3.1.... 	> 	4.0.0-0.rc5.git4.1....

Comment 1 Petr Šabata 2015-04-08 14:17:17 UTC
(In reply to Petr Pisar from comment #0)
>         perl-MooseX-Types-Structured 	0.30-1.fc22 	> 	0.32-1.fc23

This is to blame!  The build fails due to changes introduced in Moosex::Types::Structures 0.31.

Comment 2 Petr Šabata 2015-05-14 10:54:21 UTC
Resolved.