Re: `make check` doesn't pass on MacOS Catalina

2022-08-08 Thread Andrew Dunstan
On 2022-08-06 Sa 12:10, Andrew Dunstan wrote: > On 2022-08-06 Sa 11:25, Tom Lane wrote: >> Andrew Dunstan writes: >>> I came across this when I was working on setting up some Dockerfiles for >>> the buildfarm. Apparently LD_LIBRARY_PATH doesn't work on Alpine, at >>> least out of the box, as it

Re: `make check` doesn't pass on MacOS Catalina

2022-08-06 Thread Andrew Dunstan
On 2022-08-06 Sa 11:25, Tom Lane wrote: > Andrew Dunstan writes: >> I came across this when I was working on setting up some Dockerfiles for >> the buildfarm. Apparently LD_LIBRARY_PATH doesn't work on Alpine, at >> least out of the box, as it uses a different linker, and "make check" >> relies

Re: `make check` doesn't pass on MacOS Catalina

2022-08-06 Thread Andres Freund
Hi, On 2022-08-06 11:25:09 -0400, Tom Lane wrote: > (Hmm ... I wonder whether ninja uses the shell ...) It does, but even if it didn't, we'd use a shell somewhere below perl or pg_regress :(. The meson build should still work without disabling SIP, I did the necessary hackery to set up the

Re: `make check` doesn't pass on MacOS Catalina

2022-08-06 Thread Tom Lane
Andrew Dunstan writes: > I came across this when I was working on setting up some Dockerfiles for > the buildfarm. Apparently LD_LIBRARY_PATH doesn't work on Alpine, at > least out of the box, as it uses a different linker, and "make check" > relies on it (or the moral equivalent) if "make

Re: `make check` doesn't pass on MacOS Catalina

2022-08-06 Thread Tom Lane
Andrew Dunstan writes: > On 2022-08-06 Sa 06:49, Gurjeet Singh wrote: >> There are no comments as to why one should choose to use --delay-check >> ($delay_check). This email, and the pointer to the paragraph buried in >> the docs, shared by Tom, are the only two ways one can understand what >> is

Re: `make check` doesn't pass on MacOS Catalina

2022-08-06 Thread Andrew Dunstan
On 2022-08-06 Sa 06:49, Gurjeet Singh wrote: > On Tue, Apr 20, 2021 at 9:06 AM Andrew Dunstan wrote: >> On 4/20/21 11:02 AM, Tom Lane wrote: >>> Aleksander Alekseev writes: While trying to build PostgreSQL from source (master branch, 95c3a195) on a MacBook I discovered that `make

Re: `make check` doesn't pass on MacOS Catalina

2022-08-06 Thread Gurjeet Singh
On Tue, Apr 20, 2021 at 9:06 AM Andrew Dunstan wrote: > > On 4/20/21 11:02 AM, Tom Lane wrote: > > Aleksander Alekseev writes: > >> While trying to build PostgreSQL from source (master branch, 95c3a195) on a > >> MacBook I discovered that `make check` fails: > > This is the usual symptom of not

Re: `make check` doesn't pass on MacOS Catalina

2021-04-20 Thread Xing GUO
On 4/21/21, Tom Lane wrote: > Xing GUO writes: >> Thank you very much. I'm facing the same problem yesterday. May I >> suggest that document it in the installation guide on MacOS platform? > > It is documented --- see last para under > >

Re: `make check` doesn't pass on MacOS Catalina

2021-04-20 Thread Tom Lane
Xing GUO writes: > Thank you very much. I'm facing the same problem yesterday. May I > suggest that document it in the installation guide on MacOS platform? It is documented --- see last para under https://www.postgresql.org/docs/current/installation-platform-notes.html#INSTALLATION-NOTES-MACOS

Re: `make check` doesn't pass on MacOS Catalina

2021-04-20 Thread Xing GUO
Hi hackers, Thank you very much. I'm facing the same problem yesterday. May I suggest that document it in the installation guide on MacOS platform? On 4/21/21, Andrew Dunstan wrote: > > On 4/20/21 11:02 AM, Tom Lane wrote: >> Aleksander Alekseev writes: >>> While trying to build PostgreSQL

Re: `make check` doesn't pass on MacOS Catalina

2021-04-20 Thread Andrew Dunstan
On 4/20/21 11:02 AM, Tom Lane wrote: > Aleksander Alekseev writes: >> While trying to build PostgreSQL from source (master branch, 95c3a195) on a >> MacBook I discovered that `make check` fails: > This is the usual symptom of not having disabled SIP :-(. > > If you don't want to do that, do

Re: `make check` doesn't pass on MacOS Catalina

2021-04-20 Thread Aleksander Alekseev
Hi Tom, Many thanks, running "make install" before "make check" helped. On Tue, Apr 20, 2021 at 6:02 PM Tom Lane wrote: > > Aleksander Alekseev writes: > > While trying to build PostgreSQL from source (master branch, 95c3a195) on a > > MacBook I discovered that `make check` fails: > > This is

Re: `make check` doesn't pass on MacOS Catalina

2021-04-20 Thread Tom Lane
Aleksander Alekseev writes: > While trying to build PostgreSQL from source (master branch, 95c3a195) on a > MacBook I discovered that `make check` fails: This is the usual symptom of not having disabled SIP :-(. If you don't want to do that, do "make install" before "make check".

`make check` doesn't pass on MacOS Catalina

2021-04-20 Thread Aleksander Alekseev
Hi hackers, While trying to build PostgreSQL from source (master branch, 95c3a195) on a MacBook I discovered that `make check` fails: ``` == removing existing temp instance == == creating temporary instance == == initializing database