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

Re: git 2.50 and 2.50.1 src fails to compile in rhel 6

From
Carlo Marcelo Arenas Belón <carenas@gmail.com>
Date
Jul 13, 2025, 04:23 UTC
Message-ID
<3ecxwlvjbamg7shdnmvps2y7rszsxeqvkkox5lt5zshk5qi5z6@exwlj2brax27>
In-Reply-To
<24c4c6f4-00bb-400f-b315-bbc5e81983cb@ramsayjones.plus.com>
On Sun, Jul 13, 2025 at 12:30:59AM -0800, Ramsay Jones wrote:
Show 15 quoted lines
> 
> On 12/07/2025 19:25, Азат Усманов wrote:
> > I was able to apply the patch  sane-ctype.h  make did proceed until it stumbled  again, this time probably related to that path to random.h file I substituted earlier. Any thoughts?
> [snip]
> 
> Wow, RHEL6! I think the oldest version we support is RHEL8.
> 
> [Moving header files from a newer glibc to RHEL6 is a definite no-no - don't
> do that!]
> 
> Here, your glibc version is too old for getrandom(), so you need to build
> with CSPRNG_METHOD= set either in your config.mak or on the make invocation,
> something like:
> 
>     make CSPRNG_METHOD=

this would probably not work, because of the overrides in config.mak.uname and config.mak.autogen, so config.mak is better:

$ make clean $ echo "CSPRNG_METHOD=" > config.make $ make

Carlo
Previous: Ramsay Jones
Message 6 of 6 in “git 2.50 and 2.50.1 src fails to compile in rhel 6”
  1. Азат УсмановJul 12, 2025
  2. Phillip WoodJul 12, 2025
  3. Азат УсмановJul 12, 2025
  4. Азат УсмановJul 12, 2025
  5. Ramsay JonesJul 12, 2025
  6. Carlo Marcelo Arenas BelónJul 13, 2025

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.