Lists: | pgsql-committers |
---|
From: | Peter Eisentraut <peter_e(at)gmx(dot)net> |
---|---|
To: | pgsql-committers(at)postgresql(dot)org |
Subject: | pgsql: Fix install program detection |
Date: | 2012-06-27 18:23:11 |
Message-ID: | E1SjwtT-0005dI-QF@gemulon.postgresql.org |
Views: | Raw Message | Whole Thread | Download mbox | Resend email |
Lists: | pgsql-committers |
Fix install program detection
configure handles INSTALL as a substitution variable specially, and
apparently it gets confused when it's set to empty. Use INSTALL_
instead as a workaround to avoid the issue.
Branch
------
master
Details
-------
http://git.postgresql.org/pg/commitdiff/f7867154129781ee1522344bef50890c01f2b47a
Modified Files
--------------
configure | 5 ++++-
configure.in | 4 +++-
src/Makefile.global.in | 2 +-
3 files changed, 8 insertions(+), 3 deletions(-)
From: | Alvaro Herrera <alvherre(at)commandprompt(dot)com> |
---|---|
To: | Peter Eisentraut <peter_e(at)gmx(dot)net> |
Cc: | Pg Committers <pgsql-committers(at)postgresql(dot)org> |
Subject: | Re: pgsql: Fix install program detection |
Date: | 2012-06-28 15:58:28 |
Message-ID: | 1340898645-sup-3366@alvh.no-ip.org |
Views: | Raw Message | Whole Thread | Download mbox | Resend email |
Lists: | pgsql-committers |
Excerpts from Peter Eisentraut's message of mié jun 27 14:23:11 -0400 2012:
> Fix install program detection
>
> configure handles INSTALL as a substitution variable specially, and
> apparently it gets confused when it's set to empty. Use INSTALL_
> instead as a workaround to avoid the issue.
Member grebe is still failing. Interesting log lines:
/bin/sh ../../config/install-sh -c -d '/opt/rg/data_dba/build-farm/HEAD/pgsql.401504/src/test/regress/./tmp_check/install/opt/rg/data_dba/build-farm/HEAD/inst/bin' '/opt/rg/data_dba/build-farm/HEAD/pgsql.401504/src/test/regress/./tmp_check/install/opt/rg/data_dba/build-farm/HEAD/inst/share/postgresql'
/bin/sh ../../config/install-sh -c -d '/opt/rg/data_dba/build-farm/HEAD/pgsql.401504/src/test/regress/./tmp_check/install/opt/rg/data_dba/build-farm/HEAD/inst/lib/postgresql'
postgres '/opt/rg/data_dba/build-farm/HEAD/pgsql.401504/src/test/regress/./tmp_check/install/opt/rg/data_dba/build-farm/HEAD/inst/bin/postgres'
gmake[3]: postgres: Command not found
gmake[3]: *** [install-bin] Error 127
Evidently the logic to set INSTALL_PROGRAM is wrong on that platform ...
--
Álvaro Herrera <alvherre(at)commandprompt(dot)com>
The PostgreSQL Company - Command Prompt, Inc.
PostgreSQL Replication, Consulting, Custom Development, 24x7 support
From: | Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us> |
---|---|
To: | Peter Eisentraut <peter_e(at)gmx(dot)net> |
Cc: | Alvaro Herrera <alvherre(at)commandprompt(dot)com>, Pg Committers <pgsql-committers(at)postgresql(dot)org> |
Subject: | Re: pgsql: Fix install program detection |
Date: | 2012-06-28 16:28:37 |
Message-ID: | 14721.1340900917@sss.pgh.pa.us |
Views: | Raw Message | Whole Thread | Download mbox | Resend email |
Lists: | pgsql-committers |
Alvaro Herrera <alvherre(at)commandprompt(dot)com> writes:
> Excerpts from Peter Eisentraut's message of mi jun 27 14:23:11 -0400 2012:
>> Fix install program detection
> Member grebe is still failing.
protosciurus and castoroides (Solaris 10, I think same machine with
different compilers) are not happy either. Also, the first failure
on those looks like:
gmake[4]: Leaving directory `/export/home/dpage/pgbuildfarm/castoroides/HEAD/pgsql.17031/src/backend'
/bin/sh ../../config/install-sh -c -d '/export/home/dpage/pgbuildfarm/castoroides/HEAD/pgsql.17031/src/test/regress/./tmp_check/install/export/home/dpage/pgbuildfarm/castoroides/HEAD/inst/lib'
m 644 libpgport.a '/export/home/dpage/pgbuildfarm/castoroides/HEAD/pgsql.17031/src/test/regress/./tmp_check/install/export/home/dpage/pgbuildfarm/castoroides/HEAD/inst/lib/libpgport.a'
gmake[3]: m: Command not found
gmake[3]: [install] Error 127 (ignored)
which seems bad for another reason: why are we ignoring a command error there?
regards, tom lane
From: | Robert Haas <robertmhaas(at)gmail(dot)com> |
---|---|
To: | Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us> |
Cc: | Peter Eisentraut <peter_e(at)gmx(dot)net>, Alvaro Herrera <alvherre(at)commandprompt(dot)com>, Pg Committers <pgsql-committers(at)postgresql(dot)org> |
Subject: | Re: pgsql: Fix install program detection |
Date: | 2012-06-28 16:39:38 |
Message-ID: | CA+TgmoZYhKWEfSYr9w1zww3yGLiKO5f9YgbFR0ghSMF3ijKVyQ@mail.gmail.com |
Views: | Raw Message | Whole Thread | Download mbox | Resend email |
Lists: | pgsql-committers |
On Thu, Jun 28, 2012 at 12:28 PM, Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us> wrote:
> Alvaro Herrera <alvherre(at)commandprompt(dot)com> writes:
>> Excerpts from Peter Eisentraut's message of mié jun 27 14:23:11 -0400 2012:
>>> Fix install program detection
>
>> Member grebe is still failing.
>
> protosciurus and castoroides (Solaris 10, I think same machine with
> different compilers) are not happy either. Also, the first failure
> on those looks like:
>
> gmake[4]: Leaving directory `/export/home/dpage/pgbuildfarm/castoroides/HEAD/pgsql.17031/src/backend'
> /bin/sh ../../config/install-sh -c -d '/export/home/dpage/pgbuildfarm/castoroides/HEAD/pgsql.17031/src/test/regress/./tmp_check/install/export/home/dpage/pgbuildfarm/castoroides/HEAD/inst/lib'
> m 644 libpgport.a '/export/home/dpage/pgbuildfarm/castoroides/HEAD/pgsql.17031/src/test/regress/./tmp_check/install/export/home/dpage/pgbuildfarm/castoroides/HEAD/inst/lib/libpgport.a'
> gmake[3]: m: Command not found
> gmake[3]: [install] Error 127 (ignored)
>
> which seems bad for another reason: why are we ignoring a command error there?
I'm thinking that $INSTALL or whatever-it-is is getting set to an
empty string. The command was probably intended to be something like
install -m 644 libpgport.a...
--
Robert Haas
EnterpriseDB: http://www.enterprisedb.com
The Enterprise PostgreSQL Company
From: | Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us> |
---|---|
To: | Robert Haas <robertmhaas(at)gmail(dot)com> |
Cc: | Peter Eisentraut <peter_e(at)gmx(dot)net>, Alvaro Herrera <alvherre(at)commandprompt(dot)com>, Pg Committers <pgsql-committers(at)postgresql(dot)org> |
Subject: | Re: pgsql: Fix install program detection |
Date: | 2012-06-28 17:05:48 |
Message-ID: | 15498.1340903148@sss.pgh.pa.us |
Views: | Raw Message | Whole Thread | Download mbox | Resend email |
Lists: | pgsql-committers |
Robert Haas <robertmhaas(at)gmail(dot)com> writes:
> I'm thinking that $INSTALL or whatever-it-is is getting set to an
> empty string. The command was probably intended to be something like
> install -m 644 libpgport.a...
So it appears, but why is the failure platform-specific? INSTALL is
also getting set to empty on my old HPUX box, but the install goes
through OK there.
regards, tom lane