On Mon, Jul 27, 2020 at 11:17:37PM +0100, Dominic Hargreaves wrote: > > > Does it work if you arrange for the perl in your path to be /usr/bin/perl? > > > > > > This smells like a bug in debhelper to me - perl policy says that perl > > > should be /usr/bin/perl in shebangs, and I think the same should apply > > > here. I'm amazed this hasn't bit us before, if I'm right (it's been like > > > this since at least 2009, and probably forever). > > > > > > https://salsa.debian.org/debian/debhelper/-/blob/master/lib/Debian/Debhelper/Buildsystem/perl_build.pm#L44 > > > > Yes, that was the problem. After "perlbrew off" it works as expected. It is > > an old problem indeed. > > > Filing this as a bug, with a proposed patch at > https://salsa.debian.org/debian/debhelper/-/merge_requests/40
may I disagree? I'll admit I never had to do it with perl, but every time people insists on using full paths overrinding a program by hacking on PATH suddenly becomes much harder. As usual, one would expect that their build system is sane, having a non-working (or whatever was the problem there) `perl` during a build is very much the fault of the person controlling that system, not of debhelper. -- regards, Mattia Rizzolo GPG Key: 66AE 2B4A FCCF 3F52 DA18 4D18 4B04 3FCD B944 4540 .''`. More about me: https://mapreri.org : :' : Launchpad user: https://launchpad.net/~mapreri `. `'` Debian QA page: https://qa.debian.org/developer.php?login=mattia `-
signature.asc
Description: PGP signature