Bug 1497193

Summary: perl-Pinto-0.14-1.fc27 FTBFS: Attribute (target_perl_version) does not pass the type constraint because: perl version (5.026001) is unknown
Product: [Fedora] Fedora Reporter: Petr Pisar <ppisar>
Component: perl-PintoAssignee: Jitka Plesnikova <jplesnik>
Status: CLOSED NOTABUG QA Contact: Fedora Extras Quality Assurance <extras-qa>
Severity: unspecified Docs Contact:
Priority: unspecified    
Version: 26CC: jplesnik, perl-devel, ppisar
Target Milestone: ---   
Target Release: ---   
Hardware: Unspecified   
OS: Unspecified   
URL: https://apps.fedoraproject.org/koschei/build/3521500
Whiteboard:
Fixed In Version: Doc Type: If docs needed, set a value
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2017-10-03 12:12: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:

Description Petr Pisar 2017-09-29 12:43:11 UTC
perl-Pinto-0.14-1.fc27 fails to build in F27:

t/02-bowels/05-compare.t .............. ok
Attribute (target_perl_version) does not pass the type constraint because: perl version (5.026001) is unknown to me; try updating Pinto's copy of Module::CoreList at reader Pinto::Config::target_perl_version (defined at /builddir/build/BUILD/Pinto-0.14/blib/lib/Pinto/Config.pm line 161) line 11
[...]

This is caused by a hard-coded maximal supported Perl version in Pinto. It's triggered by upgrading Perl in to 5.26.1 and 5.24.3. F27 and F26 are affected. I did not try F25. This seems to be fixed in Pinto 0.14:

0.14      2017-08-06 00:09:07-07:00 America/Los_Angeles
      - Upgraded to latest Module::CoreList to support newer perls.

Either back-port the fix or unbundle Pinto'd Module::CoreList.

Comment 1 Jitka Plesnikova 2017-10-03 12:12:37 UTC
Module::CoreList is not bundled in Pinto. 

The issue was caused because perl-Pinto was build against Perl 5.26.1/5.24.3, but the latest Module::CoreList (which defined these version) was not in build-root yet. It will be solved, when the latest Module::CoreList is in updates.