Re: difftool uses hardcoded perl shebang

2017-12-19 Thread Junio C Hamano
Jeff King writes: > On Tue, Dec 19, 2017 at 09:08:44AM -0800, Junio C Hamano wrote: > >> Jeff King writes: >> >> > In the meantime, pointing to the actual build-time perl is a workaround >> > (but obviously not if it's being done by a third-party packager who has >> > no idea where your perl is

Re: difftool uses hardcoded perl shebang

2017-12-19 Thread Jeff King
On Tue, Dec 19, 2017 at 09:08:44AM -0800, Junio C Hamano wrote: > Jeff King writes: > > > In the meantime, pointing to the actual build-time perl is a workaround > > (but obviously not if it's being done by a third-party packager who has > > no idea where your perl is). > > Is such a binary pac

Re: difftool uses hardcoded perl shebang

2017-12-19 Thread Junio C Hamano
Jeff King writes: > In the meantime, pointing to the actual build-time perl is a workaround > (but obviously not if it's being done by a third-party packager who has > no idea where your perl is). Is such a binary packaging scheme actually in use that deliberately leaves it up to the end user wh

Re: difftool uses hardcoded perl shebang

2017-12-19 Thread Jeff King
On Tue, Dec 19, 2017 at 08:33:22AM -0800, Junio C Hamano wrote: > Jeff King writes: > > > This is a build-time knob. When you build git, try: > > > > make PERL_PATH='/usr/bin/env perl' > > > > (If you don't build your own git, then you might raise the issue with > > whomever packages your bina

Re: difftool uses hardcoded perl shebang

2017-12-19 Thread Junio C Hamano
Jeff King writes: > This is a build-time knob. When you build git, try: > > make PERL_PATH='/usr/bin/env perl' > > (If you don't build your own git, then you might raise the issue with > whomever packages your binary). I somehow thought ANYTHING_PATH was meant to point at the exact path (as op

Re: difftool uses hardcoded perl shebang

2017-12-19 Thread Jeff King
On Tue, Dec 19, 2017 at 01:28:09PM +, Jakub Zaverka wrote: > When running git difftool: > > >git difftool > Perl lib version (5.10.0) doesn't match executable version (v5.16.3) > Compilation failed in require at /git-difftool line 2. > > First line in my git-difftool is: > #!/usr/bin/perl >

RE: difftool uses hardcoded perl shebang

2017-12-19 Thread Jakub Zaverka
Please disregard that line, it just a mailing client attachment. It is completely irrelevant to the matter. -Original Message- From: Junio C Hamano [mailto:gits...@pobox.com] Sent: 19 December 2017 17:13 To: Jakub Zaverka Cc: git@vger.kernel.org Subject: Re: difftool uses hardcoded

Re: difftool uses hardcoded perl shebang

2017-12-19 Thread Junio C Hamano
Jakub Zaverka writes: > The below email is classified: Internal Internal to what?

difftool uses hardcoded perl shebang

2017-12-19 Thread Jakub Zaverka
The below email is classified: Internal When running git difftool: >git difftool Perl lib version (5.10.0) doesn't match executable version (v5.16.3) Compilation failed in require at /git-difftool line 2. First line in my git-difftool is: #!/usr/bin/perl I am using a specific perl that I cannot