Re: kerberos/001_auth test fails on arm CPU darwin

Поиск
Список
Период
Сортировка
От Nazir Bilal Yavuz
Тема Re: kerberos/001_auth test fails on arm CPU darwin
Дата
Msg-id 7f37e2ef-1557-a186-2beb-057b8ee65322@gmail.com
обсуждение исходный текст
Ответ на Re: kerberos/001_auth test fails on arm CPU darwin  (Tom Lane <tgl@sss.pgh.pa.us>)
Ответы Re: kerberos/001_auth test fails on arm CPU darwin  (Peter Eisentraut <peter.eisentraut@enterprisedb.com>)
Список pgsql-hackers
Hi,

Thanks for the reviews!


On 9/27/2022 5:21 AM, Tom Lane wrote:
> Andres Freund <andres@anarazel.de> writes:
>> Maybe we should rely on PATH, rather than hardcoding OS dependent locations?
> My suggestion to consult krb5-config first was meant to allow PATH
> to influence the results.  However, if that doesn't work, it's important
> IMO to have a sane list of hardwired places to look in.


I updated my patch regarding these reviews.

The current logic is it will try to find all executables in that 
order(if it finds all executables, it won't try remaining steps):


1 - 'krb5-config --prefix'

2 - hardcoded paths(I added arm and MacPorts paths for darwin)

3 - from PATH

Also, I tried to do some refactoring for adding another paths to search 
in the future and being sure about all executables are found.

Ci run after fix is applied:
https://cirrus-ci.com/build/5758254918664192

Regards,
Nazir Bilal Yavuz


Вложения

В списке pgsql-hackers по дате отправления:

Предыдущее
От: Aleksander Alekseev
Дата:
Сообщение: Re: XID formatting and SLRU refactorings (was: Add 64-bit XIDs into PostgreSQL 15)
Следующее
От: Tom Lane
Дата:
Сообщение: Re: GUC tables - use designated initializers