pg.ddx.io  pgsql-hackers@postgresql.org mailing list archive  
help / color / mirror / Atom feed
RHEL 8.0 build
4+ messages / 4 participants
[nested] [flat]

* RHEL 8.0 build
@ 2018-11-24 20:18  Jeremy Harris <jgh@wizmail.org>
  0 siblings, 1 reply; 4+ messages in thread

From: Jeremy Harris @ 2018-11-24 20:18 UTC (permalink / raw)
  To: pgsql-hackers

Hi,

 Trying to set up a buildfarm animal on a RHEL 8.0 (beta) system,
the build fails early:

$ ./run_build.pl --nosend --nostatus --verbose
Sat Nov 24 20:09:28 2018: buildfarm run for CHANGEME:HEAD starting
CHANGEME:HEAD          [20:09:28] checking out source ...
CHANGEME:HEAD          [20:09:33] checking if build run needed ...
CHANGEME:HEAD          [20:09:34] copying source to pgsql.build ...
CHANGEME:HEAD          [20:09:35] running configure ...
Branch: HEAD
Stage Configure failed with status 1
$

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".


Obviously I could get going by manually adding one, but perhaps
other people would benefit from a neater fix.
-- 
Cheers,
  Jeremy




^ permalink  raw  reply  [nested|flat] 4+ messages in thread

* Re: RHEL 8.0 build
@ 2018-11-24 20:49  Tom Lane <tgl@sss.pgh.pa.us>
  parent: Jeremy Harris <jgh@wizmail.org>
  0 siblings, 2 replies; 4+ messages in thread

From: Tom Lane @ 2018-11-24 20:49 UTC (permalink / raw)
  To: Jeremy Harris <jgh@wizmail.org>; +Cc: pgsql-hackers

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",

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.

			regards, tom lane




^ permalink  raw  reply  [nested|flat] 4+ messages in thread

* Re: RHEL 8.0 build
@ 2018-11-25 13:12  Andrew Dunstan <andrew.dunstan@2ndquadrant.com>
  parent: Tom Lane <tgl@sss.pgh.pa.us>
  1 sibling, 0 replies; 4+ messages in thread

From: Andrew Dunstan @ 2018-11-25 13:12 UTC (permalink / raw)
  To: Tom Lane <tgl@sss.pgh.pa.us>; Jeremy Harris <jgh@wizmail.org>; +Cc: pgsql-hackers


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





^ permalink  raw  reply  [nested|flat] 4+ messages in thread

* Re: RHEL 8.0 build
@ 2018-11-25 21:51  Andres Freund <andres@anarazel.de>
  parent: Tom Lane <tgl@sss.pgh.pa.us>
  1 sibling, 0 replies; 4+ messages in thread

From: Andres Freund @ 2018-11-25 21:51 UTC (permalink / raw)
  To: Tom Lane <tgl@sss.pgh.pa.us>; +Cc: Jeremy Harris <jgh@wizmail.org>; pgsql-hackers

Hi,

On 2018-11-24 15:49:25 -0500, 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",
> 
> 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.

Why don't we probe for python2 in addition to python by default? That
ought to make RHEL 8 work, without making the switch just yet.

Greetings,

Andres Freund




^ permalink  raw  reply  [nested|flat] 4+ messages in thread


end of thread, other threads:[~2018-11-25 21:51 UTC | newest]

Thread overview: 4+ messages (download: mbox mbox.gz follow: Atom feed)
-- links below jump to the message on this page --
2018-11-24 20:18 RHEL 8.0 build Jeremy Harris <jgh@wizmail.org>
2018-11-24 20:49 ` Tom Lane <tgl@sss.pgh.pa.us>
2018-11-25 13:12   ` Andrew Dunstan <andrew.dunstan@2ndquadrant.com>
2018-11-25 21:51   ` Andres Freund <andres@anarazel.de>

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