Bug#989393: h2ph wrong destination directory

Niko Tyni ntyni at debian.org
Sat Aug 28 09:13:43 BST 2021


Control: severity -1 minor

On Wed, Jun 02, 2021 at 03:53:49PM +0200, Daniele Primon wrote:
> Package: perl
> Version: 5.28.1-6+deb10u1
> 
> h2ph fails with the following message.
> 
> $ h2ph
> Destination directory /usr/local/lib/x86_64-linux-gnu/perl/5.28.1 doesn't
> exist or isn't a directory

Yeah. It wants to write in $Config{installsitearch} by default, but
that doesn't exist on Debian if no packages have been installed directly
from CPAN.

The destination directory can be overridden with '-d' so it's still usable.

The whole h2ph is really an abomination that should die. Please don't
rely on it for anything new. See also #510984.
-- 
Niko Tyni   ntyni at debian.org




More information about the Perl-maintainers mailing list