Received: from malur.postgresql.org ([217.196.149.56]) by arkaria.postgresql.org with esmtp (Exim 4.84_2) (envelope-from ) id 1eQEND-00046G-8b for pgsql-hackers@arkaria.postgresql.org; Sat, 16 Dec 2017 15:27:35 +0000 Received: from localhost ([127.0.0.1] helo=malur.postgresql.org) by malur.postgresql.org with esmtp (Exim 4.84_2) (envelope-from ) id 1eQENC-0007HG-9W for pgsql-hackers@arkaria.postgresql.org; Sat, 16 Dec 2017 15:27:34 +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_SHA384:256) (Exim 4.84_2) (envelope-from ) id 1eQENC-0007H6-33 for pgsql-hackers@lists.postgresql.org; Sat, 16 Dec 2017 15:27:34 +0000 Received: from sss.pgh.pa.us ([66.207.139.130]) by magus.postgresql.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_CBC_SHA384:256) (Exim 4.89) (envelope-from ) id 1eQEN5-0000Q3-E9 for pgsql-hackers@postgresql.org; Sat, 16 Dec 2017 15:27:33 +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 vBGFRBlV000418; Sat, 16 Dec 2017 10:27:11 -0500 From: Tom Lane To: Christoph Berg cc: Andres Freund , Michael Paquier , PostgreSQL Hackers Subject: Re: Reproducible builds: genbki.pl vs schemapg.h In-reply-to: <20171216151630.GA8824@msg.credativ.de> References: <20171215102223.GB31812@msg.df7cb.de> <9616.1513351766@sss.pgh.pa.us> <20171215181337.GA6149@msg.credativ.de> <20171215232141.gx7mkxriaduocxm2@alap3.anarazel.de> <5525.1513381145@sss.pgh.pa.us> <20171216151630.GA8824@msg.credativ.de> Comments: In-reply-to Christoph Berg message dated "Sat, 16 Dec 2017 16:16:30 +0100" MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-ID: <416.1513438031.1@sss.pgh.pa.us> Date: Sat, 16 Dec 2017 10:27:11 -0500 Message-ID: <417.1513438031@sss.pgh.pa.us> List-Id: List-Help: List-Subscribe: List-Post: List-Owner: List-Archive: Precedence: bulk Christoph Berg writes: >> Agreed so far as the script name goes. However, two out of three of these >> scripts also print their input file names, and I'm suspicious that that >> output is also gonna change in a VPATH build. I'm a little less inclined >> to buy the claim that we're not losing anything if we suppress that :-( > Well, patching this instance of $0 would fix a binary-package > variation in practise. Of course there might be more issues waiting to > come into effect, but I don't see why that would be an argument > against fixing the current issue. I think we're talking at cross-purposes. I'm not saying we should not fix this problem. I'm saying that the proposed fix appears incomplete, which means that (a) even if it solves your problem, it probably does not solve related problems for other people; (b) since it's not clear why this patch is apparently sufficient for you, I'd like to understand that in some detail before deeming the problem solved; and (c) leaving instances of the problematic code in our tree is just about guaranteed to mean you'll have the same problem in future, when somebody either copies that coding pattern into some new script or tweaks the way those existing scripts are being used. regards, tom lane