Bug 2222897

Summary: perl-String-License-0.0.9-1.fc39 FTBFS: Class :isa attribute requires a class but "String::License::Naming" is not one at .../String-License-v0.0.9/blib/lib/String/License/Naming/Custom.pm line 64
Product: [Fedora] Fedora Reporter: Petr Pisar <ppisar>
Component: perl-String-LicenseAssignee: Sandro Mani <manisandro>
Status: CLOSED RAWHIDE QA Contact:
Severity: unspecified Docs Contact:
Priority: unspecified    
Version: rawhideCC: jplesnik, manisandro, yaneti
Target Milestone: ---   
Target Release: ---   
Hardware: Unspecified   
OS: Unspecified   
URL: https://koschei.fedoraproject.org/package/perl-String-License
Whiteboard:
Fixed In Version: Doc Type: If docs needed, set a value
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2023-08-15 11:50:43 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:    
Bug Blocks: 2168842, 2231791    

Description Petr Pisar 2023-07-14 11:42:45 UTC
perl-String-License-0.0.9-1.fc39 fails to build in Fedora 39 because the tests fail with perl 5.38.0 like this:

Class :isa attribute requires a class but "String::License::Naming" is not one at /builddir/build/BUILD/String-License-v0.0.9/blib/lib/String/License/Naming/Custom.pm line 64.
Compilation failed in require at /builddir/build/BUILD/String-License-v0.0.9/blib/lib/String/License.pm line 47.
BEGIN failed--compilation aborted at /builddir/build/BUILD/String-License-v0.0.9/blib/lib/String/License.pm line 47.
Compilation failed in require at t/basic-lib-no-RE2.t line 7.
BEGIN failed--compilation aborted at t/basic-lib-no-RE2.t line 7.
t/basic-lib-no-RE2.t .. 
Dubious, test returned 255 (wstat 65280, 0xff00)
No subtests run 

perl-5.38.0 splain explains:

    (F) When creating a subclass using the class :isa attribute, the
    named superclass must also be a real class created using the class
    keyword.