Note: This is a public test instance of Red Hat Bugzilla. The data contained within is a snapshot of the live data so any changes you make will not be reflected in the production Bugzilla. Email is disabled so feel free to test any aspect of the site that you want. File any problems you find or give feedback at bugzilla.redhat.com.

Bug 1856759

Summary: perl-XXX-0.35-3.fc33 FTBFS: t/env.t: Can't locate ColorThemeRole/ANSI.pm in @INC at /usr/share/perl5/vendor_perl/Role/Tiny.pm line 52
Product: [Fedora] Fedora Reporter: Petr Pisar <ppisar>
Component: perl-JSON-ColorAssignee: Jitka Plesnikova <jplesnik>
Status: CLOSED RAWHIDE QA Contact: Fedora Extras Quality Assurance <extras-qa>
Severity: unspecified Docs Contact:
Priority: unspecified    
Version: rawhideCC: jplesnik, mmaslano, perl-devel
Target Milestone: ---   
Target Release: ---   
Hardware: Unspecified   
OS: Unspecified   
URL: https://koschei.fedoraproject.org/package/perl-XXX?collection=f33
Whiteboard:
Fixed In Version: perl-JSON-Color-0.130-2.fc33 Doc Type: If docs needed, set a value
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2020-07-15 09:35:37 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: 1856854    
Bug Blocks: 1803234    

Description Petr Pisar 2020-07-14 12:03:01 UTC
perl-XXX-0.35-3.fc33 fails to build in Fedora 33, because a test fails:

t/author-pod-syntax.t .... skipped: these tests are for testing by the author
Can't locate ColorThemeRole/ANSI.pm in @INC (you may need to install the ColorThemeRole::ANSI module) (@INC contains: /builddir/build/BUILD/XXX-0.35/blib/lib /builddir/build/BUILD/XXX-0.35/blib/arch /usr/local/lib64/perl5/5.32 /usr/local/share/perl5/5.32 /usr/lib64/perl5/vendor_perl /usr/share/perl5/vendor_perl /usr/lib64/perl5 /usr/share/perl5 .) at /usr/share/perl5/vendor_perl/Role/Tiny.pm line 52.
# Looks like your test exited with 2 before it could output anything.
t/env.t .................. 
Dubious, test returned 2 (wstat 512, 0x200)
Failed 1/1 subtests 

A difference between passing and failing build root is at <https://koschei.fedoraproject.org/build/8579216>.

Comment 1 Jitka Plesnikova 2020-07-14 15:09:37 UTC
It is caused by update JSON-Color. It requires ColorThemeRole::ANSI since version 0.130.

https://metacpan.org/release/JSON-Color/source/lib/JSON/Color.pm#L190

ColorThemeRole::ANSI has to be packaged.