From mboxrd@z Thu Jan 1 00:00:00 1970 From: "Thompson, David" Subject: Re: Deterministic Library Calls when Building Date: Sun, 20 Mar 2016 08:51:01 -0400 Message-ID: References: Mime-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Return-path: Received: from eggs.gnu.org ([2001:4830:134:3::10]:49354) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1ahcox-00046K-AF for guix-devel@gnu.org; Sun, 20 Mar 2016 08:51:04 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1ahcow-0003Bd-Ec for guix-devel@gnu.org; Sun, 20 Mar 2016 08:51:03 -0400 Received: from mail-yw0-x22c.google.com ([2607:f8b0:4002:c05::22c]:34412) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1ahcow-0003BZ-9d for guix-devel@gnu.org; Sun, 20 Mar 2016 08:51:02 -0400 Received: by mail-yw0-x22c.google.com with SMTP id h129so188456654ywb.1 for ; Sun, 20 Mar 2016 05:51:01 -0700 (PDT) In-Reply-To: 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: Karl Semich Cc: guix-devel On Sun, Mar 20, 2016 at 6:04 AM, Karl Semich wrote: > Hi, > > I recently learned about guix and I haven't found any information on > approaching deterministic builds by changing library and kernel > functions to have deterministic behavior. Has anybody done this? > > For example, I would imagine if I needed timestamps to no longer be a > factor, I might change how the current time is reported to the build > environment, such that it is always precisely equal to the time of > last modification of the source package. Similarly /dev/*random > should return deterministic numbers seeded by perhaps the hash of the > source package and all dependencies. > > Has there been a discussion of this somewhere? I'm not sure if there has been an on-the-record discussion of this anywhere, but I have thought about similar things re: random numbers. Maybe this thread is the time to discuss? :) - Dave