Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > linux.debian.bugs.dist > #1019796

Bug#966396: debhelper: should invoke perl as /usr/bin/perl

From mattia@debian.org
Newsgroups linux.debian.bugs.dist
Subject Bug#966396: debhelper: should invoke perl as /usr/bin/perl
Date 2020-07-30 15:20 +0200
Message-ID <AygDv-5HM-3@gated-at.bofh.it> (permalink)
References <Av0EV-pr-3@gated-at.bofh.it> <AxjN7-3mk-1@gated-at.bofh.it> <AxjN7-3mk-1@gated-at.bofh.it>
Organization linux.* mail to news gateway

Show all headers | View raw


[Multipart message — attachments visible in raw view] - view raw

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  `-

Back to linux.debian.bugs.dist | Previous | Next — Previous in thread | Next in thread | Find similar | Unroll thread


Thread

Bug#966396: debhelper: should invoke perl as /usr/bin/perl Dominic Hargreaves <dom@earth.li> - 2020-07-28 00:30 +0200
  Bug#966396: debhelper: should invoke perl as /usr/bin/perl mattia@debian.org - 2020-07-30 15:20 +0200
    Bug#966396: debhelper: should invoke perl as /usr/bin/perl Dominic Hargreaves <dom@earth.li> - 2020-08-01 18:40 +0200

csiph-web