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

RE: "fatal: Not a git repository" issued during 'make' from source code

From
MJMun Johl <mun.johl@wdc.com>
Date
Aug 12, 2023, 05:30 UTC
Message-ID
<SJ0PR04MB8289EB7CF0F2EF1803925D929C11A@SJ0PR04MB8289.namprd04.prod.outlook.com>
In-Reply-To
<xmqqv8dlp80a.fsf@gitster.g>
Hi Junio,
Show 28 quoted lines
> -----Original Message-----
> From: Junio C Hamano <gitster@pobox.com>
> Sent: Friday, August 11, 2023 2:46 PM
> To: Mun Johl <Mun.Johl@wdc.com>
> Cc: rsbecker@nexbridge.com; git@vger.kernel.org
> Subject: Re: "fatal: Not a git repository" issued during 'make' from source code
> 
> CAUTION: This email originated from outside of Western Digital. Do not click on links or open attachments unless you recognize the
> sender and know that the content is safe.
> 
> 
> Mun Johl <Mun.Johl@wdc.com> writes:
> 
> > Due to some "security precautions", I am unable to use 'git clone
> > https://git.kernel.org/pub/scm/git/git.git' to download the source
> > code.  But I can try to figure out a workaround for that if that
> > is my only option at this point to successfully compile git.
> 
> If building from tarball extract fails with "not a git repository"
> there is something very wrong with what you are doing, and we do not
> know what it is.
> 
> Most likely cause new folks fail to build from the source is lack of
> necessary development libraries and packages that need to be
> installed in their build environment, but I am reasonably certain
> that if a tarball extract build is failing due to their environment,
> build in a clone of the source repository would fail for exactly the
> same reason.
[Mun] Good point.  I'm certain I don't have all of the requisite packages.  I was expecting to see errors about missing packages, but was thrown off by the fatal error.  I will go back and look closely at the output from 'make' and see if I see any errors prior to the fatal error.
Thank you and regards,
-- 
Mun
Previous: Junio C HamanoNext: rsbecker@nexbridge.com
Message 11 of 21 in “"fatal: Not a git repository" issued during 'make' from source code”
  1. Mun JohlAug 11, 2023
  2. rsbecker@nexbridge.comAug 11, 2023
  3. Mun JohlAug 11, 2023
  4. Mun JohlAug 11, 2023
  5. rsbecker@nexbridge.comAug 11, 2023
  6. Junio C HamanoAug 11, 2023
  7. Junio C HamanoAug 11, 2023
  8. rsbecker@nexbridge.comAug 11, 2023
  9. Mun JohlAug 11, 2023
  10. Junio C HamanoAug 11, 2023
  11. Mun JohlAug 12, 2023
  12. rsbecker@nexbridge.comAug 11, 2023
  13. Junio C HamanoAug 11, 2023
  14. rsbecker@nexbridge.comAug 11, 2023
  15. Mun JohlAug 12, 2023
  16. rsbecker@nexbridge.comAug 14, 2023
  17. Mun JohlAug 15, 2023
  18. rsbecker@nexbridge.comAug 15, 2023
  19. Mun JohlAug 16, 2023
  20. Todd ZullingerAug 12, 2023
  21. Mun JohlAug 12, 2023

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.