From: rsbecker@nexbridge.com Date: Wed, 06 Apr 2022 15:32:46 GMT Subject: RE: [BUG] git-2.36.0-rc0 - t6200 fails due to library/path issues Message-ID: <044f01d849cb$93d3a720$bb7af560$@nexbridge.com> In-Reply-To: <220406.867d82e2sr.gmgdl@evledraar.gmail.com> On April 6, 2022 9:52 AM, Ævar Arnfjörð Bjarmason wrote: >On Wed, Apr 06 2022, rsbecker@nexbridge.com wrote: > >> 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. > >Is it: > > SANE_TOOL_PATH = /usr/coreutils/bin:/usr/local/bin > >In the nonstop section in config.mak.uname along with: > > Makefile:ifdef SANE_TOOL_PATH > Makefile:SANE_TOOL_PATH_SQ = $(subst ','\'',$(SANE_TOOL_PATH)) > Makefile:BROKEN_PATH_FIX = 's|^\# >@@BROKEN_PATH_FIX@@$$|git_broken_path_fix "$(SANE_TOOL_PATH_SQ)"|' > Makefile:PATH := $(SANE_TOOL_PATH):${PATH} > Makefile-else > Makefile-BROKEN_PATH_FIX = '/^\# @@BROKEN_PATH_FIX@@$$/d' > Makefile-endif > >? OIC. Can I change the PATH value when running the tests without changing config.mak.uname?