Bug 2231896

Summary: Class :isa attribute requires a class but "String::License::Naming" is not one at /usr/share/perl5/vendor_perl/String/License/Naming/Custom.pm line 64.
Product: [Fedora] Fedora Reporter: Richard W.M. Jones <rjones>
Component: licensecheckAssignee: Sandro Mani <manisandro>
Status: CLOSED RAWHIDE QA Contact: Fedora Extras Quality Assurance <extras-qa>
Severity: medium Docs Contact:
Priority: unspecified    
Version: 39CC: manisandro
Target Milestone: ---   
Target Release: ---   
Hardware: Unspecified   
OS: Linux   
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:49 UTC Type: ---
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:

Description Richard W.M. Jones 2023-08-14 14:59:49 UTC
The 'licensecheck' program fails to work at all in Fedora 39:

$ licensecheck --help
Class :isa attribute requires a class but "String::License::Naming" is not one at /usr/share/perl5/vendor_perl/String/License/Naming/Custom.pm line 64.
Compilation failed in require at /usr/bin/licensecheck line 60.
BEGIN failed--compilation aborted at /usr/bin/licensecheck line 60.


Reproducible: Always

Steps to Reproduce:
1. Run any 'licensecheck' command.




perl-String-License-0.0.9-1.fc39.noarch
licensecheck-3.3.8-1.fc38.noarch

Comment 1 Richard W.M. Jones 2023-08-14 15:02:32 UTC
/usr/bin/licensecheck line 60 is:

  use String::License::Naming::Custom;

/usr/share/perl5/vendor_perl/String/License/Naming/Custom.pm line 64 is:

  class String::License::Naming::Custom : isa(String::License::Naming);

/usr/share/perl5/vendor_perl/String/License/Naming.pm appears to exist
and contains a correct 'package' line, so the error is a strange one.