Received: from malur.postgresql.org ([217.196.149.56]) by arkaria.postgresql.org with esmtp (Exim 4.84_2) (envelope-from ) id 1d5G0c-0005FX-5j for buildfarm-members@arkaria.postgresql.org; Mon, 01 May 2017 18:25:18 +0000 Received: from localhost ([127.0.0.1] helo=postgresql.org) by malur.postgresql.org with smtp (Exim 4.84_2) (envelope-from ) id 1d5G0b-0001Wg-OU for buildfarm-members@arkaria.postgresql.org; Mon, 01 May 2017 18:25:17 +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.84_2) (envelope-from ) id 1d5G0Y-0001GP-3T for buildfarm-members@postgresql.org; Mon, 01 May 2017 18:25:14 +0000 Received: from mail-qk0-x232.google.com ([2607:f8b0:400d:c09::232]) by makus.postgresql.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_CBC_SHA1:256) (Exim 4.84_2) (envelope-from ) id 1d5G0V-00079G-6o for buildfarm-members@postgresql.org; Mon, 01 May 2017 18:25:12 +0000 Received: by mail-qk0-x232.google.com with SMTP id u68so14969813qkd.0 for ; Mon, 01 May 2017 11:25:10 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=2ndquadrant-com.20150623.gappssmtp.com; s=20150623; h=from:subject:to:references:message-id:date:user-agent:mime-version :in-reply-to:content-transfer-encoding:content-language; bh=UrIH5VrVC+RNca4U2nnylFLc5IHAc39KXDFjXITtq24=; b=E+h2vpajYmFWVvqoobiMNsWaUEgTme2BtMsLbzEwSalsQE/MHerAsVlVBimYRZ7UaM gxRQagYm9ghYyb26sqYG7TX2aYRHDcJMEyCK5N6l31pfgMe3oFaAn+ZvDRtmY5XOjaPz 0ZjsNkzeBNB1CPMR9Mx7JM1Xdx21PGtmc9IS9RUg8nGSz27zqC8gr8Fb/Yh7jj6BV153 NR1r7zQgrvfI2wSoqblzFDGiwEyvPX5KnpoaHwhgzJrK8V2KhcfoGSWK9O0hQ9YE5fYp ASrnxMrUrvpa3L/OLc+L4K3JmFhPxAqybxs7It9oAHJBZbbJkSW6GHqxg4KctN0SNO3M ztyA== 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:references:message-id:date :user-agent:mime-version:in-reply-to:content-transfer-encoding :content-language; bh=UrIH5VrVC+RNca4U2nnylFLc5IHAc39KXDFjXITtq24=; b=eERs+SsITUx9QFQ1twuJyzXyLuuL7xKETm/2rK+jlwJQ9ol2VaHGl9qPn8Vs6iY9QF JpvRTloTi9g1qxPVRdCzqEGf5hpsmqUy6spaTLyy/hsvdbdapNW+YgtB7obMrlGHTPpS L6sp70CbcXeSDEvx/0LgbjRSRYdqnEks0diivUuqnCfjtruGLjAnKozQxzvBnWMK6WAT x7nU3TgwgSFzzf5c6DJSVZPERaPd02Xx8Lu83z7U8/H3QBC5U03LdY+DOYP1CiAVXjjI tbTQ0ZiNp0RHgOm5v4y/6Qjp9MhtvjfWQrlGY8Kgh0OaatjR6c/eS0Np52L9q+0Y/a/G m/gA== X-Gm-Message-State: AN3rC/661DJoVqKgGaarfouJCJO4jz6ImVEgxbPfNiu+l18C2jcNUkuO vT9aSsndJqeDUh7BauPk8tOvlO+ARh+uILWBoLgiGNLtZdolQhVAod2wRGHaSqR7VGwM+mp2WLg yKaGGvRHD7Q7YUwnVzgABhI5jbANEWNOm0zZKVTw64L1F7fWMyZ6XvDW1yb1bGXYLldz6Lsedu+ zXgUubrkaqkw== X-Received: by 10.55.158.85 with SMTP id h82mr13282970qke.154.1493663109899; Mon, 01 May 2017 11:25:09 -0700 (PDT) Received: from [192.168.10.146] ([98.122.164.227]) by smtp.gmail.com with ESMTPSA id q40sm12381015qtq.21.2017.05.01.11.25.09 (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Mon, 01 May 2017 11:25:09 -0700 (PDT) From: Andrew Dunstan X-Google-Original-From: Andrew Dunstan Subject: Re: BuildFarm client release 4.19 To: =?UTF-8?Q?Mikael_Kjellstr=c3=b6m?= , PostgreSQL-development , buildfarm-members@postgresql.org References: <3eef634f-4d0a-8f27-e4e9-67080b44f637@2ndQuadrant.com> Message-ID: Date: Mon, 1 May 2017 14:25:08 -0400 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:52.0) Gecko/20100101 Thunderbird/52.0 MIME-Version: 1.0 In-Reply-To: Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 8bit Content-Language: en-MW X-Pg-Spam-Score: -2.6 (--) List-Archive: List-Help: List-ID: List-Owner: List-Post: List-Subscribe: List-Unsubscribe: X-Mailing-List: buildfarm-members Precedence: bulk Sender: buildfarm-members-owner@postgresql.org On 05/01/2017 02:13 PM, Mikael Kjellström wrote: > On 2017-04-19 15:59, Andrew Dunstan wrote: > > >> I have released version 4.19 of the PostgreSQL Buildfarm client. It can >> be downloaded from >> >> > > I don't know if it's only me or if others have noticed this also but I > have the buildfarm client set up like this: > > /home/pgbf > /home/pgbf/build-farm-4 > /home/pgbf/buildfarm@ -> build-farm-4.19/ > /home/pgbf/buildroot > > and then I have a cron job that does this: > > x y * * * cd /home/pgbf/buildfarm && ./run_build.pl REL9_6_STABLE > > and when it tries to run I get the following error: > > cannot create > /usr/home/pgbf/buildroot/REL9_6_STABLE/loach.lastrun-logs/lastcomand.log: > No such file or directory > gmake is not GNU Make - please fix config file at ./run_build.pl line > 343. > > if I manually create the directory loach.lastrun-logs the script then > continues normally. > > I am no perl guru so I can't figure out really what is going on here. > I think that the directory > /usr/home/pgbf/buildroot/REL9_6_STABLE/loach.lastrun-logs needs to be > created before the PGBuild/Utils.pm sub run_log tries to write to it. > > OK, that's a bug. Mea culpa. the quick fix is this patch: diff --git a/run_build.pl b/run_build.pl index aeb8966..822b4de 100755 --- a/run_build.pl +++ b/run_build.pl @@ -1008,7 +1008,8 @@ sub writelog sub check_make { - my @out = run_log("$make -v"); + # don't use run_log here - it's too early in the process + my @out = `$make -v 2>&1`; return undef unless ($? == 0 && grep {/GNU Make/} @out); return 'OK'; } cheers andrew -- Andrew Dunstan https://www.2ndQuadrant.com PostgreSQL Development, 24x7 Support, Remote DBA, Training & Services -- Sent via buildfarm-members mailing list (buildfarm-members@postgresql.org) To make changes to your subscription: http://www.postgresql.org/mailpref/buildfarm-members