#989393 h2ph wrong destination directory

Package:
perl
Source:
perl
Description:
Larry Wall's Practical Extraction and Report Language
Submitter:
Daniele Primon
Date:
2021-08-28 08:51:02 UTC
Severity:
minor
#989393#5
Date:
2021-06-02 13:53:49 UTC
From:
To:
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

$ /usr/bin/h2ph
Destination directory /usr/local/lib/x86_64-linux-gnu/perl/5.28.1
doesn't exist or isn't a directory

$


I'm using Debian GNU/Linux buster 10.9, self compiled kernel
5.10.24-matsui-1, libc6 2.28-10

#989393#10
Date:
2021-06-02 15:07:35 UTC
From:
To:

#989393#15
Date:
2021-08-28 08:13:43 UTC
From:
To:
Control: severity -1 minor

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.