Re: RHEL 8.0 build

From: Andrew Dunstan <andrew(dot)dunstan(at)2ndquadrant(dot)com>
To: Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us>, Jeremy Harris <jgh(at)wizmail(dot)org>
Cc: "pgsql-hackers(at)postgresql(dot)org" <pgsql-hackers(at)postgresql(dot)org>
Subject: Re: RHEL 8.0 build
Date: 2018-11-25 13:12:16
Message-ID: 315c2630-ceed-a3c2-8fd0-a2d8f5f15759@2ndQuadrant.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-hackers


On 11/24/18 3:49 PM, Tom Lane wrote:
> Jeremy Harris <jgh(at)wizmail(dot)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

In response to

Browse pgsql-hackers by date

  From Date Subject
Next Message Andrew Gierth 2018-11-25 13:52:46 Re: FETCH FIRST clause PERCENT option
Previous Message Vik Fearing 2018-11-25 12:05:23 Re: FETCH FIRST clause PERCENT option