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

RE: [BUG] git-2.36.0-rc0 - t6200 fails due to library/path issues

From
rsbecker@nexbridge.com <rsbecker@nexbridge.com>
Date
Apr 6, 2022, 18:12 UTC
Message-ID
<047101d849e1$d965b420$8c311c60$@nexbridge.com>
In-Reply-To
<xmqq35iqyuvb.fsf@gitster.g>
On April 6, 2022 1:39 PM, Junio C Hamano wrote:
Show 33 quoted lines
><rsbecker@nexbridge.com> writes:
>
>> t6200 makes assumptions that ssh-keygen to be used is located in
>> /usr/local/bin. This causes problems when we have multiple OpenSSL
>> installations - which we do - 3 of them. Our environment supplies
>> OpenSSL
>> 1.1 in /usr/local-ssl1.1, with a corresponding version of ssh-agent in
>> a different directory. There needs to be a mechanism to override the
>> ssh-keygen so that tests will work in this situation.
>>
>> *** RLD ERROR ***: Unresolved Text Symbol
>> OPENSSL_add_all_algorithms_noconf in file /usr/local/bin/ssh-keygen.
>>
>> *** RLD ERROR ***: Unresolved Text Symbol EVP_MD_CTX_cleanup in file
>> /usr/local/bin/ssh-keygen.
>>
>> *** RLD ERROR ***: Unresolved Text Symbol SSLeay in file
>> /usr/local/bin/ssh-keygen.
>>
>> *** RLD ERROR ***: Unresolved Text Symbol EVP_MD_block_size in file
>> /usr/local/bin/ssh-keygen.
>>
>> *** RLD ERROR ***: Unresolved Text Symbol EVP_MD_CTX_init in file
>> /usr/local/bin/ssh-keygen.
>>
>> I do not know why the test is forcing SSH in /usr/local/bin - it is
>> not something coming from our environment, which has PATH set correctly.
>
>Indeed that is curious, as the only hits to usr/local in t/ is this one:
>
>    $ git grep usr/local t/
>    t/test-lib.sh:test FreeBSD != $uname_s || GIT_UNZIP=${GIT_UNZIP:-
>/usr/local/bin/unzip}

I think it's coming from the NonStop definition in config.mak.uname, but I need to be able to override the PATH to pick up the correct OpenSSH for the OpenSSL build. We have 12 different OpenSSL builds at this point and 3 OpenSSH builds - which will likely go to 6 within the year. The complexity is wacky but needed because we cannot set up a VM for NonStop with the hardware we have.

Previous: Junio C Hamano
Message 6 of 6 in “[BUG] git-2.36.0-rc0 - t6200 fails due to library/path issues”
  1. rsbecker@nexbridge.comApr 6, 2022
  2. Ævar Arnfjörð BjarmasonApr 6, 2022
  3. rsbecker@nexbridge.comApr 6, 2022
  4. rsbecker@nexbridge.comApr 6, 2022
  5. Junio C HamanoApr 6, 2022
  6. 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.