Re: 64bit initdb failure on macOS 10.11 and 10.12 - Mailing list pgsql-general

From Tom Lane
Subject Re: 64bit initdb failure on macOS 10.11 and 10.12
Date
Msg-id 6744.1502210174@sss.pgh.pa.us
Whole thread Raw
In response to Re: [GENERAL] 64bit initdb failure on macOS 10.11 and 10.12  (rjhb@bb-c.de (Rainer J.H. Brandt))
List pgsql-general
rjhb@bb-c.de (Rainer J.H. Brandt) writes:
> Tom Lane writes:
>> I bet not.  We've seen problems with macOS unexpectedly deciding to
>> filter away inherited environment variables in some situations.
>> It might be useful to put "env >somefile" into the PG makefile and
>> compare results between the two ways of invoking it.

> Between the configure and make steps, I put it into the top level
> GNUmakefile.  Here's the diff:
> 18c18
> < PWD=/private/tmp/buildbot.9365/postgresql-9.6.3
> ---
> > PWD=/tmp/w/postgresql-9.6.3
> 21c21
> < SHLVL=3
> ---
> > SHLVL=2
> This subshell level isn't relevant, or is it?

No, probably not --- so that theory seems like a failure.

> Here's the full output of the manual version:

Hmmm ...

> SHELL=/bin/tcsh

Mine's bash ... I wonder whether that could make a difference here?
I'm pretty sure the PG makefiles aren't set up for csh syntax.
But I can't see how that would make it work in the manual case
and not when going through Perl.

            regards, tom lane


pgsql-general by date:

Previous
From: rjhb@bb-c.de (Rainer J.H. Brandt)
Date:
Subject: Re: [GENERAL] 64bit initdb failure on macOS 10.11 and 10.12
Next
From: Igor Korot
Date:
Subject: [GENERAL] Compiling libpq only on Linux