git/list[1] front-page[2] threads[3] people[4] search[5] about
 

Re: [bug] 2.5.0 build with NO_PERL is broken

From
Renato Botelho <garga@freebsd.org>
Date
Aug 18, 2015, 11:05 UTC
Message-ID
<loom.20150818T130309-687@post.gmane.org>
In-Reply-To
<CAPig+cQkApWfZ6N159F-XFZk+nnzY-gAgLRfZXNitdd0CHpm2g@mail.gmail.com>
Eric Sunshine <sunshine <at> sunshineco.com> writes:
> 
> On Fri, Aug 14, 2015 at 6:22 PM, Junio C Hamano <gitster <at> pobox.com>
wrote:
> > Eric Sunshine <sunshine <at> sunshineco.com> writes:
> >
> >> On Fri, Aug 14, 2015 at 5:02 PM, Junio C Hamano <gitster <at>
pobox.com> wrote:
Show 18 quoted lines
> >>> Eric Sunshine <sunshine <at> sunshineco.com> writes:
> >>>
> >>> I do not think that is anything new.  We always have assumed "some"
> >>> version of Perl available in order to run t/ scripts.
> >>
> >> True, but prior to 527ec39, without Perl available, git itself could
> >> at least be built and used (with some commands unavailable), even if
> >> it couldn't be fully tested. As of 527ec39, however, git won't even
> >> build because common-cmds.h can't be generated.
> >
> > I wouldn't bother digging in the history myself, but I am reasonably
> > sure that the current genereate-common-cmds is not the sole instance
> > that we relied on Perl to build (not test) in the past, and that is
> > another reason why I do not think this is anything new.
> 
> Hmm. In my tests by setting PERL_PATH to a bogus (non-existent)
> command, prior to 527ec39, git builds successfully, whereas, following
> 527ec39, it does not build. But, perhaps I overlooked something...(?)
It builds but there will be at least 3 commands that won't work:

git-submodule git-request-pull git-am

I'm considering to add perl dependency as mandatory on FreeBSD ports tree, and maybe this NO_PERL option doesn't make more sense nowadays...

Previous: Eric SunshineNext: Eric Sunshine
Message 9 of 11 in “[bug] 2.5.0 build with NO_PERL is broken”
  1. Renato BotelhoAug 14, 2015
  2. Renato BotelhoAug 14, 2015
  3. Junio C HamanoAug 14, 2015
  4. Eric SunshineAug 14, 2015
  5. Junio C HamanoAug 14, 2015
  6. Eric SunshineAug 14, 2015
  7. Junio C HamanoAug 14, 2015
  8. Eric SunshineAug 14, 2015
  9. Renato BotelhoAug 18, 2015
  10. Eric SunshineAug 18, 2015
  11. Renato BotelhoAug 18, 2015

Read the whole thread, see it on lore, or plain text.

$ cat FOOTERMessages come from the public archive at lore.kernel.org/git, fetched every hour. The front page is chosen and written each morning by an AI editor and can be wrong; the threads themselves are the record. About and API. For agents: an MCP server at https://gitlist.dev/mcp, and any thread, story or person page as Markdown by adding .md to its URL (or sending Accept: text/markdown). Details in /llms.txt.