bug#74453: running make failed when perl is installed in the very long path

Collin Funk <[email protected]> Wed, 20 Nov 2024 20:53:02 -0800
Newsgroups gmane.comp.sysutils.automake.bugs
Message-ID <[email protected]>
Hi,

"Li, Changqing" via Bug reports for Automake <[email protected]>
writes:

> I met an  issue when try to compile automake with the perl installed in a very long path which larger then max length of shebang ,  here is the reproduce steps

What shell cut off the path? Seems like a bug in that shell.

As Bruno Haible said in a Gnulib thread [1]:

> "#!/usr/bin/env perl" does not work on GuixSD (where the only program
> that has a hardcoded file name is /bin/sh; there is no /usr and no
> /bin/env on this distro).

So I don't think it would work in this case.

Collin

[1] https://lists.gnu.org/archive/html/bug-gnulib/2019-06/msg00022.html