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

Re: [ANNOUNCE] Git v2.36.0-rc0 - Build failure on NonStops

From
brian m. carlson <sandals@crustytoothpaste.net>
Date
Apr 5, 2022, 08:10 UTC
Message-ID
<Ykv5dCEv/gl7aHMq@camp.crustytoothpaste.net>
In-Reply-To
<20220405042826.56vyilttx3lo4scv@carlos-mbp.lan>
On 2022-04-05 at 04:28:26, Carlo Marcelo Arenas Belón wrote:
Show 15 quoted lines
> Subject: [PATCH] git-compat-util: really support openssl as a source of entropy
> 
> 05cd988dce5 (wrapper: add a helper to generate numbers from a CSPRNG,
> 2022-01-17), configure openssl as the source for entropy in NON-STOP
> but doesn't add the needed header or link options.
> 
> Since the only system that is configured to use openssl as a source
> of entropy is NON-STOP, add the header unconditionally, and -lcrypto
> to the list of external libraries.
> 
> An additional change is required to make sure a NO_OPENSSL=1 build
> will be able to work as well (tested on Linux with a modified value
> of CSPRNG_METHOD = openssl), and the more complex logic that allows
> for compatibility with APPLE_COMMON_CRYPTO or allowing for simpler
> ways to link (without libssl) has been punted for now.

I didn't consider the case that we had NO_OPENSSL=1 because it seems a bit bizarre to say, "No, I don't want OpenSSL—oh, wait, I do want OpenSSL!"

This patch also didn't seem necessary for me on Linux when I tested, but of course it might be necessary on some systems, so if it fixes things, I'm in favour.

-- 
brian m. carlson (he/him or they/them)
Toronto, Ontario, CA
Previous: Carlo Marcelo Arenas BelónNext: Carlo Arenas
Message 8 of 18 in “RE: [ANNOUNCE] Git v2.36.0-rc0 - Build failure on NonStops”
  1. rsbecker@nexbridge.comApr 4, 2022
  2. Junio C HamanoApr 4, 2022
  3. rsbecker@nexbridge.comApr 4, 2022
  4. Carlo Marcelo Arenas BelónApr 5, 2022
  5. Carlo Marcelo Arenas BelónApr 5, 2022
  6. rsbecker@nexbridge.comApr 5, 2022
  7. Carlo Marcelo Arenas BelónApr 5, 2022
  8. brian m. carlsonApr 5, 2022
  9. Carlo ArenasApr 5, 2022
  10. rsbecker@nexbridge.comApr 5, 2022
  11. Junio C HamanoApr 6, 2022
  12. rsbecker@nexbridge.comApr 5, 2022
  13. rsbecker@nexbridge.comApr 5, 2022
  14. Junio C HamanoApr 6, 2022
  15. rsbecker@nexbridge.comApr 6, 2022
  16. Junio C HamanoApr 6, 2022
  17. rsbecker@nexbridge.comApr 6, 2022
  18. rsbecker@nexbridge.comApr 6, 2022

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.