Received: from malur.postgresql.org ([217.196.149.56]) by arkaria.postgresql.org with esmtp (Exim 4.84_2) (envelope-from ) id 1eQECk-0003c6-GW for pgsql-hackers@arkaria.postgresql.org; Sat, 16 Dec 2017 15:16:46 +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 1eQECi-0003v2-JY for pgsql-hackers@arkaria.postgresql.org; Sat, 16 Dec 2017 15:16:44 +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 1eQECi-0003us-A5 for pgsql-hackers@lists.postgresql.org; Sat, 16 Dec 2017 15:16:44 +0000 Received: from gauss.credativ.com ([93.94.130.89]) by makus.postgresql.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_CBC_SHA384:256) (Exim 4.89) (envelope-from ) id 1eQECa-0007Zv-Mb for pgsql-hackers@postgresql.org; Sat, 16 Dec 2017 15:16:43 +0000 Received: from gauss.credativ.com (localhost [127.0.0.1]) by gauss.credativ.com (Postfix) with ESMTP id 1851A1E15CB; Sat, 16 Dec 2017 16:16:32 +0100 (CET) Received: from msg.credativ.de (aftr-37-201-193-204.unity-media.net [37.201.193.204]) (using TLSv1 with cipher ECDHE-RSA-AES256-SHA (256/256 bits)) (No client certificate requested) (Authenticated sender: cbe@gauss.credativ.com) by gauss.credativ.com (Postfix) with ESMTPSA id 673CA1E15B9; Sat, 16 Dec 2017 16:16:31 +0100 (CET) Date: Sat, 16 Dec 2017 16:16:30 +0100 From: Christoph Berg To: Tom Lane Cc: Andres Freund , Michael Paquier , PostgreSQL Hackers Subject: Re: Reproducible builds: genbki.pl vs schemapg.h Message-ID: <20171216151630.GA8824@msg.credativ.de> Mail-Followup-To: Christoph Berg , Tom Lane , Andres Freund , Michael Paquier , PostgreSQL Hackers 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> MIME-Version: 1.0 Content-Type: text/plain; charset=iso-8859-1 Content-Disposition: inline Content-Transfer-Encoding: 8bit In-Reply-To: <5525.1513381145@sss.pgh.pa.us> User-Agent: Mutt/1.9.1 (2017-09-22) List-Id: List-Help: List-Subscribe: List-Post: List-Owner: List-Archive: Precedence: bulk Re: Tom Lane 2017-12-16 <5525.1513381145@sss.pgh.pa.us> > >>> As per > >>> https://tests.reproducible-builds.org/debian/rb-pkg/unstable/amd64/postgresql-10.html, > >>> that's the only place that makes it into the resulting binary. > > I'm fairly confused by this claim. Since the string in question is in a > comment, it really shouldn't affect built binaries at all. I can believe > that it would affect the non-binary contents of the finished package, "Binary" in that context was the .deb package file (in contrast to the .dsc source package). > In my build, neither one of these files contains any path information; > I speculate that you need to use a VPATH build to have an issue, or > maybe Debian's build environment does something even weirder. This is a VPATH build, yes. > > It's not like $0 instead of a hardcoded name in the header actually buys > > us anything afaict. > > 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. Christoph -- Senior Berater, Tel.: +49 2166 9901 187 credativ GmbH, HRB Mönchengladbach 12080, USt-ID-Nummer: DE204566209 Trompeterallee 108, 41189 Mönchengladbach Geschäftsführung: Dr. Michael Meskes, Jörg Folz, Sascha Heuer pgp fingerprint: 5C48 FE61 57F4 9179 5970 87C6 4C5A 6BAB 12D2 A7AE