Bug#975998: licensecheck: Fails with a Perl problem

Uwe Kleine-König ukleinek at debian.org
Wed Dec 2 10:17:39 GMT 2020


Hello Nico,

On 11/28/20 7:09 PM, Niko Tyni wrote:
> On Fri, Nov 27, 2020 at 11:25:25PM +0100, Uwe Kleine-König wrote:
>> Package: licensecheck
>> Version: 3.0.47-1
>> Severity: normal
>   
>> this might not be licensecheck's fault but maybe is related to the
>> recent perl transition. But given I don't know much about Perl, I'm
>> reporting against licensecheck.
>>
>> For all invokations of licensecheck I encounter:
>>
>> 	uwe at taurus:~$ licensecheck
>> 	Base class package "Pod::Parser" is empty.
>> 	    (Perhaps you need to 'use' the module which defines that package first,
>> 	    or make that module available in @INC (@INC contains: /etc/perl /usr/local/lib/x86_64-linux-gnu/perl/5.32.0 /usr/local/share/perl/5.32.0 /usr/lib/x86_64-linux-gnu/perl5/5.32 /usr/share/perl5 /usr/lib/x86_64-linux-gnu/perl-base /usr/lib/x86_64-linux-gnu/perl/5.32 /usr/share/perl/5.32 /usr/local/lib/site_perl).
>> 	 at /usr/share/perl5/Pod/Constants.pm line 7.
>> 	BEGIN failed--compilation aborted at /usr/share/perl5/Pod/Constants.pm line 7.
>> 	Compilation failed in require at /usr/bin/licensecheck line 14.
>> 	BEGIN failed--compilation aborted at /usr/bin/licensecheck line 14.
>>
>> This is on a machine that runs a mix of testing and unstable, but I can
>> reproduce this problem on a sid chroot.
> 
> Hi, thanks for the report. This doesn't seem to occur for me in a
> clean sid chroot. Is yours an older one that has been upgraded? Do you
> happen to have an old perl-modules-5.24 package lying around in both?

It's indeed an upgraded sid chroot. I didn't check the chroot, but on my 
host I have perl-modules-5.24 5.24.1-7 installed.

> Is libpod-parser-perl installed?

No, libpod-parser-perl isn't installed, but it is indeed provided by 
perl-modules-5.24.

> I'm guessing this might be similar to #972322 and we need to do something
> about it on the src:perl side.

Installing libpod-parser-perl and removing perl-modules-5.24 fixed the 
problem.

Thanks
Uwe



More information about the pkg-perl-maintainers mailing list