Bug 1851246

Summary: perl-constant-tiny: FTBFS with Perl 5.32
Product: [Fedora] Fedora Reporter: Jitka Plesnikova <jplesnik>
Component: perl-constant-tinyAssignee: Petr Pisar <ppisar>
Status: CLOSED RAWHIDE QA Contact: Fedora Extras Quality Assurance <extras-qa>
Severity: unspecified Docs Contact:
Priority: unspecified    
Version: rawhideCC: perl-devel, ppisar
Target Milestone: ---   
Target Release: ---   
Hardware: Unspecified   
OS: Unspecified   
URL: https://koschei.fedoraproject.org/package/perl-constant-tiny
Whiteboard:
Fixed In Version: perl-constant-tiny-1.02-15.fc33 Doc Type: If docs needed, set a value
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2020-06-26 09:35:38 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:

Description Jitka Plesnikova 2020-06-25 21:49:59 UTC
Description of problem:
Package perl-constant-tiny fails to build from source in Fedora rawhide with perl 5.32.

Attempt to reload constant.pm aborted.
Compilation failed in require at t/constant.t line 16.
BEGIN failed--compilation aborted at t/constant.t line 16.
# Looks like your test exited with 255 before it could output anything.
t/constant.t .. 
Dubious, test returned 255 (wstat 65280, 0xff00)
Failed 95/95 subtests

Comment 1 Petr Pisar 2020-06-26 08:40:50 UTC
I'm keen to retire this package. It's not needed by anything in Fedora, and the purpose of this module diminished when core constant module started to delay the loading of an expensive utf8_heavy.pl module.

Comment 2 Petr Pisar 2020-06-26 08:50:09 UTC
A reproducer:

$ perl -Ilib -e 'use constant::tiny; use constant;'
Attempt to reload constant.pm aborted.
Compilation failed in require at -e line 1.
BEGIN failed--compilation aborted at -e line 1.

Comment 3 Petr Pisar 2020-06-26 09:35:38 UTC
It was a simple fix.