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 1gQuD2-0001qN-Dz for pgsql-hackers@arkaria.postgresql.org; Sun, 25 Nov 2018 13:12:24 +0000 Received: from localhost ([127.0.0.1] helo=malur.postgresql.org) by malur.postgresql.org with esmtp (Exim 4.89) (envelope-from ) id 1gQuD1-0007OM-2w for pgsql-hackers@arkaria.postgresql.org; Sun, 25 Nov 2018 13:12:23 +0000 Received: from makus.postgresql.org ([2001:4800:3e1:1::229]) by malur.postgresql.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_CBC_SHA1:256) (Exim 4.89) (envelope-from ) id 1gQuD0-0007OF-Ic for pgsql-hackers@lists.postgresql.org; Sun, 25 Nov 2018 13:12:22 +0000 Received: from mail-yw1-xc42.google.com ([2607:f8b0:4864:20::c42]) by makus.postgresql.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_CBC_SHA1:256) (Exim 4.89) (envelope-from ) id 1gQuCx-0006px-62 for pgsql-hackers@postgresql.org; Sun, 25 Nov 2018 13:12:21 +0000 Received: by mail-yw1-xc42.google.com with SMTP id r130so3307591ywg.7 for ; Sun, 25 Nov 2018 05:12:18 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=2ndquadrant-com.20150623.gappssmtp.com; s=20150623; h=from:subject:to:cc:references:message-id:date:user-agent :mime-version:in-reply-to:content-transfer-encoding:content-language; bh=8hMA62PvLz4NZ6OqgIJIBnZKAw/4K61IwcNG4uPZq7k=; b=rSig8bBXspefYLEeJXvdt+lJLNRMyOzJsBbA9Kkoim9IzGK54rqeNz1peV4e4Tkc7b iILryQHjT76onnmPdujVmC4pAZ8lw2L5GyRSdx7lpO6432uoMj+Vjtr8PLNXQkDwovVz hOF5CDY56qRUjJHx7yMXxCSdtPSImhVLJOK2QRmDCIpozmhbRqW1JAtZiE2moyudlcYS n6faF5UrvOBcbxAd/XpLp7lAtppACSD5jxuKY6gP2KRZmWMmJcL74PCUuCmfCOelh65u reyLoKDZGnrKs1dC1+O5iipl9awzjkH3YYDzijgcbmUnCX/jBG+2wrbYTGCyJAhTsAtE 2EBQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:from:subject:to:cc:references:message-id:date :user-agent:mime-version:in-reply-to:content-transfer-encoding :content-language; bh=8hMA62PvLz4NZ6OqgIJIBnZKAw/4K61IwcNG4uPZq7k=; b=tEnuM46NsIec0+toHN7gwdDjvugD/ChzBZx+u6L3IDBxEGp3FucsJrGxa5riNW9y3G /dYIHlU5vOWVJVKUrEjyEUBoLKS/KZWdS+rY/+pOHkW4Ye00iJuJ+jko+OjaxRyu5ahF XxPvDF986unfyo97i08oa8G9WlEDJsvSSxjTFuksnlEoIGSnLvrEiL/SiBjqD9Z/hgGj tnsi1oFAwGvd6f1Zm7pvC1tyQQhubfp129I8Lo81Wo3hypJ8yWovbD6WDQlPTibPLTHD GjSJCr5dxD2xVFllvkguGcqD41Ombx71sxrsKVnsKF4x03Q4dRSGg2YjamnRnxiPWUVQ pU4g== X-Gm-Message-State: AGRZ1gKBPKDMP0PU2jJ6dGUAvMGjmJCqUZvuWzZKjdELIFc9Q0IATLoo L0Lu8j8Ia3hRpiICnlMxnTIwJ4ahQMLnKD9lVoSAG4V8CBp3y6bsJ17TWT4xeZuMD0VnhtRJSmx 5Vtwwfn7hFEXgebkAosjaO45YoybbwcrNwyq8ibLobyS/N7N1ztnHsrVYi2vp7Wy82GgWbQXAxk THjO9ox4g9wzNm X-Google-Smtp-Source: AJdET5do5RfNczd4lmEocEPDnip5/Tgrq21tdQtsJu3BGEMPayONUpGwU0i6V6tD1Hth4/4c5zr5uQ== X-Received: by 2002:a81:b61a:: with SMTP id u26mr23557169ywh.428.1543151537944; Sun, 25 Nov 2018 05:12:17 -0800 (PST) Received: from [192.168.10.146] ([98.122.175.38]) by smtp.gmail.com with ESMTPSA id 136sm4962801ywm.28.2018.11.25.05.12.16 (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Sun, 25 Nov 2018 05:12:17 -0800 (PST) From: Andrew Dunstan X-Google-Original-From: Andrew Dunstan Subject: Re: RHEL 8.0 build To: Tom Lane , Jeremy Harris Cc: "pgsql-hackers@postgresql.org" References: <30378.1543092565@sss.pgh.pa.us> Message-ID: <315c2630-ceed-a3c2-8fd0-a2d8f5f15759@2ndQuadrant.com> Date: Sun, 25 Nov 2018 08:12:16 -0500 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:60.0) Gecko/20100101 Thunderbird/60.3.0 MIME-Version: 1.0 In-Reply-To: <30378.1543092565@sss.pgh.pa.us> Content-Type: text/plain; charset=utf-8; format=flowed Content-Transfer-Encoding: 8bit Content-Language: en-MW List-Id: List-Help: List-Subscribe: List-Post: List-Owner: List-Archive: Precedence: bulk On 11/24/18 3:49 PM, Tom Lane wrote: > 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 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