From mboxrd@z Thu Jan 1 00:00:00 1970 From: ludo@gnu.org (Ludovic =?utf-8?Q?Court=C3=A8s?=) Subject: Re: reproducible builds and debugging information Date: Fri, 27 Mar 2015 22:24:22 +0100 Message-ID: <87619m9lrt.fsf@gnu.org> References: <20150322172632.GB3826@venom> <87zj72xftt.fsf@gnu.org> <20150325003352.GA5247@venom> <87pp7vqwtc.fsf@gnu.org> <20150326215115.GF19723@venom.suse.cz> Mime-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable Return-path: Received: from eggs.gnu.org ([2001:4830:134:3::10]:60452) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Ybbjy-00024V-AI for guix-devel@gnu.org; Fri, 27 Mar 2015 17:24:31 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1Ybbjt-0002Zl-1S for guix-devel@gnu.org; Fri, 27 Mar 2015 17:24:30 -0400 Received: from fencepost.gnu.org ([2001:4830:134:3::e]:41064) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Ybbjs-0002Zh-UT for guix-devel@gnu.org; Fri, 27 Mar 2015 17:24:24 -0400 Received: from reverse-83.fdn.fr ([80.67.176.83]:43623 helo=pluto) by fencepost.gnu.org with esmtpsa (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1Ybbjs-0002Wn-Ev for guix-devel@gnu.org; Fri, 27 Mar 2015 17:24:24 -0400 In-Reply-To: <20150326215115.GF19723@venom.suse.cz> (=?utf-8?B?IlRvbcOh?= =?utf-8?B?xaEgxIxlY2giJ3M=?= message of "Thu, 26 Mar 2015 22:51:15 +0100") List-Id: "Development of GNU Guix and the GNU System distribution." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: guix-devel-bounces+gcggd-guix-devel=m.gmane.org@gnu.org Sender: guix-devel-bounces+gcggd-guix-devel=m.gmane.org@gnu.org To: guix-devel@gnu.org Tom=C3=A1=C5=A1 =C4=8Cech skribis: > On Thu, Mar 26, 2015 at 10:21:35PM +0100, Ludovic Court=C3=A8s wrote: [...] >>> On openSUSE you have available all the subpackage providing stripped >>> debug informations and subpackage providing source code from the >>> moment of build (so DWARF information in debug part can match the sourc= e). >> >>You mean there=E2=80=99s a =E2=80=98-debug=E2=80=99 package for every sin= gle package? > > For every single binary package, yes. You can suppress it too. Why it > is so surprising? It=E2=80=99s just that I didn=E2=80=99t know, and my recollection is that D= ebian doesn=E2=80=99t have -dbg packages for every package. > I would like to move the decision whether to keep or to drop debug > information outside of the build itself to keep the hash the same. > > Imagine situation where you added "debug" output to every package and > after each build the newly generated store with debug information is > deleted (carefully, not to corrupt database, of course). Your hash > still will be the same. I see what you mean, but again, that=E2=80=99s not how it works, and I would argue that it=E2=80=99s not desirable. To move forward, a possible action would be to try to have =E2=80=98outputs= =E2=80=99 default to '("out" "debug") and see (1) how much breaks, and (2) how much space. Would you like to give it a try? Thanks, Ludo=E2=80=99.