Received: from malur.postgresql.org ([2a02:16a8:dc51::56]) by arkaria.postgresql.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_CBC_SHA384:256) (Exim 4.89) (envelope-from ) id 1fr3ho-0005ew-6b for buildfarm-members@arkaria.postgresql.org; Sat, 18 Aug 2018 16:04:00 +0000 Received: from localhost ([127.0.0.1] helo=malur.postgresql.org) by malur.postgresql.org with esmtp (Exim 4.89) (envelope-from ) id 1fr3hk-0003Af-3y for buildfarm-members@arkaria.postgresql.org; Sat, 18 Aug 2018 16:03:56 +0000 Received: from makus.postgresql.org ([2001:4800:1501:1::229]) by malur.postgresql.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_CBC_SHA384:256) (Exim 4.89) (envelope-from ) id 1fr3hj-0003AY-M5 for buildfarm-members@lists.postgresql.org; Sat, 18 Aug 2018 16:03:56 +0000 Received: from mail-qt0-x241.google.com ([2607:f8b0:400d:c0d::241]) by makus.postgresql.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_CBC_SHA1:256) (Exim 4.89) (envelope-from ) id 1fr3hg-0008F3-7f for buildfarm-members@postgresql.org; Sat, 18 Aug 2018 16:03:54 +0000 Received: by mail-qt0-x241.google.com with SMTP id r37-v6so4788297qtc.0 for ; Sat, 18 Aug 2018 09:03:51 -0700 (PDT) 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=sKYfObG/r7Qm8ME5jiVhFDPuwrd6+LGoAT1yIpO8NBw=; b=e4TG2hp5DyucEG4raEa1S9r4oXVGcImBA54p51M2ewPjj9X6wKZGqItTcVfeO06/Vv kWAf8FzE/XIOBwPeFA4S6BFkXvxCYL78zIY9FDoGnK5hDzw+4sV0tVmzswp79VWsL9sT SGCokHYHCkmWwxWsaj3DiOSSvpjgzWcFQ+S7s6YfNNIImOHaVT5m/RPewp64H8deQh3f Lz0scU0Z3YlSXqdNhz4bJZBabe4ZpQBYowB2bAi5DDVnTakiOMMkd5aktLT/ODfEAF0l XUktl5d5npMRM0cd4vhxmSSSwPIbeRVvlfYmP+CY2+mHxmm8jD+aBLuLU+w8KowlQbYS P7Iw== 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=sKYfObG/r7Qm8ME5jiVhFDPuwrd6+LGoAT1yIpO8NBw=; b=OngiCaSXOpOSq1HC4GZXA7eqW/zBCplO0ElYtThSGp7OtX6Hg3ssFZSsDlmapxsYxd 6rXJMT2JZqodQ+O3y2LORcCgnuaWv+SZESmySSa8cSVL3TSRNZlVEYDSGPb9E60ntXX2 MlQ49KZ0Lg7A5mrdiG8lABX/pA9XH+QhG+rWvw7RT2lCAfuLKR2NSbM6GuCyaj2lba0R mRKKJYF/ZF/a9pKCEnmhiH1wN1kkY0LlzxHWXn3zJ5GhnCzKL0y+6JNr55e2mPR/1fvp FsSjWZh3sOOcP1RhSh6k+3Wk5qZyfJmzgFGe54HmLFEV1wvIDhUC0px2W5NNpJUTCtrV uwoQ== X-Gm-Message-State: AOUpUlFp9vpltSiiv0EcJjjafamT5eHyUQ9NTajydQiiL8CGNu1iX68X oFhDqHED4jANY40nwOsx20/+PtYzXegh1qCV81fBUTWj6wp8uLg72D/+tuoluOHE6kOu0q+Chtd 8ItZnYdjOJLRYnqp8c+RSW6Fm9PjHjqNfqJYhQ5RLiUwRjIXnnCer8yX6ge+kO21PEGwp9JaNtv kWh8gP0qjlocU+IRiG/A== X-Google-Smtp-Source: AA+uWPyB6AjFmAjpg/EleUW9BQPRQ0Imbuj88IM62t18GHtGk86wkgZY18R0ucVXqExq5YYyTxMjCw== X-Received: by 2002:ac8:6681:: with SMTP id d1-v6mr37208612qtp.94.1534608230977; Sat, 18 Aug 2018 09:03:50 -0700 (PDT) Received: from [192.168.10.146] ([98.122.175.38]) by smtp.gmail.com with ESMTPSA id 49-v6sm3403437qtu.0.2018.08.18.09.03.50 (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Sat, 18 Aug 2018 09:03:50 -0700 (PDT) From: Andrew Dunstan X-Google-Original-From: Andrew Dunstan Subject: Re: many animals are running old clients To: Tom Lane Cc: =?UTF-8?Q?Mikael_Kjellstr=c3=b6m?= , buildfarm-members@postgresql.org References: <144264ec-fd45-80eb-7642-109f920286b9@2ndQuadrant.com> <17634.1534605123@sss.pgh.pa.us> Message-ID: <3edc3430-4539-9888-6979-ed377908ec24@2ndQuadrant.com> Date: Sat, 18 Aug 2018 12:03:49 -0400 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:52.0) Gecko/20100101 Thunderbird/52.4.0 MIME-Version: 1.0 In-Reply-To: <17634.1534605123@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 08/18/2018 11:12 AM, Tom Lane wrote: > Andrew Dunstan writes: >> On 08/18/2018 06:48 AM, Mikael Kjellström wrote: >>> Every time I upgrade I need to go through all the .pl-files and change >>> the path to where perl is located as different os/distros has perl at >>> different paths and also it's not even consistent within the shipped >>> files. >> Would it help if I added a script to set the perl locations? > Is it really necessary to touch the shebang lines at all? > I thought if you invoked the top script with > perl-of-choice /path/to/run_build.pl ... args ... > then you'd be good. If that's not so, maybe we could make it work? Sadly it's not quite that simple. run_branches has this code: sub run_branch {     my $branch = shift;     my @args = ($run_build, PGBuild::Options::standard_option_list(), $branch);     # Explicitly use perl from the path (and not this perl, so don't use $^X)     # This script needs to run on Cygwin with non-cygwin perl if it's running     # in tandem with AS/MinGW perl, since Cygwin perl doesn't honor locks     # the samne way, and the global lock fails. But the build script needs     # to run with the native perl, even on Cygwin, which it picks up from     # the path. (Head exploding yet?).     system("perl", @args);     return; } I could probably reasonably limit that so that everywhere but Cygwin we use the called perl. Windows is really the only place where we have to wrestle with multiple perls. > >>> I also go through the config-file line by line to see if anything is >>> changed or added. > Yeah, this bit is the most time-consuming for me. Not sure what's to > be done about it. > > It's in my list of things to consider. One of the things on the roadmap in my head is a possible switch to a YAML config file. Perhaps I should publish in the release notes a diff of the sample config file against the previous release. cheers andrew -- Andrew Dunstan https://www.2ndQuadrant.com PostgreSQL Development, 24x7 Support, Remote DBA, Training & Services