[Debian-l10n-devel] Bug#805378: [Help] Re: dl10n-check: Can't locate Debian/Pkg/DebSrc.pm in @INC

Damyan Ivanov dmn at debian.org
Sat Nov 16 14:50:26 GMT 2024


Tags: -1 patch

-=| Andreas Tille, 16.11.2024 13:53:14 +0100 |=-
> dl10n came up as a candidate for the Bug of the Day[1] and I had 
> a look
> into this bug.  I tried to somehow "document" the issue raused in the
> bug report by doing the actual call inside a autopkgtest where you can
> see the results in Salsa CI[2].  I'd be really happy if the Perl team
> could provide a working patch which is most probably very easy for
> someone speaking Perl.

The problem is that Makefile.PL wrongly limits the directory from 
which modules are to be installed. Removing the PMLIBDIRS line brings 
in all modiles from lib/, and should produce a working package.

Patch:
======================================================
--- a/Makefile.PL
+++ b/Makefile.PL
@@ -7,7 +7,6 @@ WriteMakefile(
     'VERSION_FROM'	=> 'lib/Debian/L10n/Db.pm', # finds $VERSION
     'PREREQ_PM'		=> {'Locale::gettext' => '1.01'}, # e.g., Module::Name => 1.1
     'EXE_FILES'         => ['dl10n-check', 'dl10n-html', 'dl10n-mail', 'dl10n-nmu', 'dl10n-pts', 'dl10n-spider', 'dl10n-txt'],
-    'PMLIBDIRS'          => ['lib/Debian/L10n'],
     ($] >= 5.005 ?    ## Add these new keywords supported since 5.005
       (ABSTRACT => 'Infrastructure for the debian localisation',
        AUTHOR     => 'Martin Quinson <martin.quinson at tuxfamily.org>\n'.
======================================================


-- Damyan



More information about the Debian-l10n-devel mailing list