pg.ddx.io  pgsql-hackers@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: Andrew Dunstan <andrew.dunstan@2ndquadrant.com>
To: Tom Lane <tgl@sss.pgh.pa.us>
To: Jeremy Harris <jgh@wizmail.org>
Cc: pgsql-hackers@postgresql.org <pgsql-hackers@postgresql.org>
Subject: Re: RHEL 8.0 build
Date: Sun, 25 Nov 2018 08:12:16 -0500
Message-ID: <315c2630-ceed-a3c2-8fd0-a2d8f5f15759@2ndQuadrant.com> (raw)
In-Reply-To: <30378.1543092565@sss.pgh.pa.us>
References: <da27307e-d451-9d16-7b4c-bee0c0f07dbc@wizmail.org>
	<30378.1543092565@sss.pgh.pa.us>


On 11/24/18 3:49 PM, Tom Lane wrote:
> Jeremy Harris <jgh@wizmail.org> writes:
>>   Trying to set up a buildfarm animal on a RHEL 8.0 (beta) system,
>> the build fails early:
>> ...
>> It appears to be a "configure" script looking for python; and there is
>> no such.  You can have python3 or python2 - but neither package install
>> provides a symlink of just "python".
> Yeah, some distros are starting to act that way, and I suspect it's
> causing pain for a lot of people.
>
> Currently we are agnostic about which python version to use, so if you
> don't have anything simply named "python", you have to tell configure
> what to use by setting the PYTHON environment variable.
>
> In a buildfarm configuration file this would look something like
>
>          # env settings to pass to configure. These settings will only be seen by
>          # configure.
>          config_env => {
> +           PYTHON => "/usr/local/bin/python3",



or just


     PYTHON => 'python3',


It's installed by default on RH8, although you will also need 
python3-devel installed.


>
> There's been some preliminary discussion about starting to default to
> python3, but given this project's inherent conservatism, I don't expect
> that to happen for some years yet.  In any case, whenever we do pull
> that trigger we'd surely do so only in HEAD not released branches, so
> buildfarm owners will need to deal with the case for years more.
>
> 			


Right.


cheers


andrew



-- 
Andrew Dunstan                https://www.2ndQuadrant.com
PostgreSQL Development, 24x7 Support, Remote DBA, Training & Services





view thread (4+ messages)  latest in thread

Message-ID: <315c2630-ceed-a3c2-8fd0-a2d8f5f15759@2ndQuadrant.com>
Permalink:  ../315c2630-ceed-a3c2-8fd0-a2d8f5f15759@2ndQuadrant.com/
Also on:    postgresql.org/message-id/315c2630-ceed-a3c2-8fd0-a2d8f5f15759@2ndQuadrant.com

 · 

reply

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Reply to all the recipients from your mail client; the link fills in
  the headers below: reply via email
  Some clients, webmail especially, drop In-Reply-To and References from
  a link, and the reply then starts a new thread: use the mbox below.

  To: pgsql-hackers@postgresql.org
  Cc: andrew.dunstan@2ndquadrant.com, tgl@sss.pgh.pa.us, jgh@wizmail.org
  Subject: Re: RHEL 8.0 build
  In-Reply-To: <315c2630-ceed-a3c2-8fd0-a2d8f5f15759@2ndQuadrant.com>
  References: <da27307e-d451-9d16-7b4c-bee0c0f07dbc@wizmail.org> <30378.1543092565@sss.pgh.pa.us> <315c2630-ceed-a3c2-8fd0-a2d8f5f15759@2ndQuadrant.com>

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

This inbox is served by DDX for PostgreSQL; see mirroring instructions
for how to clone and mirror all data and code used for this inbox