Received: from malur.postgresql.org ([217.196.149.56]) by arkaria.postgresql.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_CBC_SHA1:256) (Exim 4.89) (envelope-from ) id 1gQerr-0004fR-Ni for pgsql-hackers@arkaria.postgresql.org; Sat, 24 Nov 2018 20:49:31 +0000 Received: from localhost ([127.0.0.1] helo=malur.postgresql.org) by malur.postgresql.org with esmtp (Exim 4.89) (envelope-from ) id 1gQerp-0001x6-W4 for pgsql-hackers@arkaria.postgresql.org; Sat, 24 Nov 2018 20:49:29 +0000 Received: from magus.postgresql.org ([2a02:c0:301:0:ffff::29]) by malur.postgresql.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_CBC_SHA1:256) (Exim 4.89) (envelope-from ) id 1gQerp-0001uH-NC for pgsql-hackers@lists.postgresql.org; Sat, 24 Nov 2018 20:49:29 +0000 Received: from sss.pgh.pa.us ([66.207.139.130]) by magus.postgresql.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_CBC_SHA1:256) (Exim 4.89) (envelope-from ) id 1gQern-0001jq-EH for pgsql-hackers@postgresql.org; Sat, 24 Nov 2018 20:49:29 +0000 Received: from sss1.sss.pgh.pa.us (localhost [127.0.0.1]) by sss.pgh.pa.us (8.14.4/8.14.4) with ESMTP id wAOKnPs8030379; Sat, 24 Nov 2018 15:49:25 -0500 From: Tom Lane To: Jeremy Harris cc: "pgsql-hackers@postgresql.org" Subject: Re: RHEL 8.0 build In-reply-to: References: Comments: In-reply-to Jeremy Harris message dated "Sat, 24 Nov 2018 20:18:18 +0000" MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-ID: <30377.1543092565.1@sss.pgh.pa.us> Content-Transfer-Encoding: quoted-printable Date: Sat, 24 Nov 2018 15:49:25 -0500 Message-ID: <30378.1543092565@sss.pgh.pa.us> List-Id: List-Help: List-Subscribe: List-Post: List-Owner: List-Archive: Precedence: bulk Jeremy Harris 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 s= een by # configure. config_env =3D> { + PYTHON =3D> "/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