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

Re: [regression] Newer gits cannot clone any remote repos

From
Nguyen Thai Ngoc Duy <pclouds@gmail.com>
Date
Nov 15, 2012, 12:51 UTC
Message-ID
<CACsJy8Atj0WsFaYTZE9y9+tu1+L2LumVOk3sUj-t9iKbiqsBZw@mail.gmail.com>
In-Reply-To
<CACYvZ7jMC5xw4LxiuG5m+=grpQEg+wZb_7BaU4Xn-r7ix=S-bw@mail.gmail.com>
On Wed, Nov 14, 2012 at 2:55 AM, Douglas Mencken <dougmencken@gmail.com> wrote:
Show 17 quoted lines
>>  Could you try re-building git with the
>> NO_THREAD_SAFE_PREAD build variable set?
>
> Yeah! It works!!!
>
> --- evil/Makefile
> +++ good/Makefile
> @@ -957,6 +957,7 @@
>         HAVE_PATHS_H = YesPlease
>         LIBC_CONTAINS_LIBINTL = YesPlease
>         HAVE_DEV_TTY = YesPlease
> +       NO_THREAD_SAFE_PREAD = YesPlease
>  endif
>  ifeq ($(uname_S),GNU/kFreeBSD)
>         NO_STRLCPY = YesPlease
>
> With this, I do have correctly working git clone.

Sorry you had to figure that out the hard way. Could you make it a proper patch? I'm surprised that Linux pread does not behave the same way across platforms though. Or maybe it only happens with certain Linux versions. What version are you using?

-- 
Duy
Previous: Douglas MenckenNext: Ramsay Jones
Message 7 of 17 in “[regression] Newer gits cannot clone any remote repos”
  1. Douglas MenckenNov 12, 2012
  2. KevinNov 12, 2012
  3. Douglas MenckenNov 12, 2012
  4. Ramsay JonesNov 13, 2012
  5. Douglas MenckenNov 13, 2012
  6. Douglas MenckenNov 13, 2012
  7. Nguyen Thai Ngoc DuyNov 15, 2012
  8. Ramsay JonesNov 15, 2012
  9. Torsten BögershausenNov 13, 2012
  10. Andreas SchwabNov 13, 2012
  11. Douglas MenckenNov 14, 2012
  12. Andreas SchwabNov 14, 2012
  13. Douglas MenckenNov 14, 2012
  14. Andreas SchwabNov 14, 2012
  15. Ramsay JonesNov 15, 2012
  16. Douglas MenckenNov 21, 2012
  17. Douglas MenckenNov 12, 2012

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.