From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 9187 invoked by alias); 29 Jul 2016 11:52:15 -0000 Mailing-List: contact libc-alpha-help@sourceware.org; run by ezmlm Precedence: bulk List-Id: List-Subscribe: List-Archive: List-Post: List-Help: , Sender: libc-alpha-owner@sourceware.org Received: (qmail 9129 invoked by uid 89); 29 Jul 2016 11:52:14 -0000 Authentication-Results: sourceware.org; auth=none X-Virus-Found: No X-Spam-SWARE-Status: No, score=-3.1 required=5.0 tests=AWL,BAYES_00,RP_MATCHES_RCVD,SPF_PASS autolearn=ham version=3.3.2 spammy=H*Ad:D*debian.org, Hx-languages-length:767, H*Ad:D*bugs.debian.org X-HELO: eggs.gnu.org From: ludo@gnu.org (Ludovic =?utf-8?Q?Court=C3=A8s?=) To: Florian Weimer Cc: libc-alpha@sourceware.org, 783210@bugs.debian.org, Aurelien Jarno , Ximin Luo Subject: Re: [PATCH] nscd_stat.c: make the build reproducible References: <1457456791-17402-1-git-send-email-aurelien@aurel32.net> <20160308233738.GP6588@vapier.lan> <20160309075403.GA2444@aurel32.net> <20160309223006.GA6588@vapier.lan> X-URL: http://www.fdn.fr/~lcourtes/ X-Revolutionary-Date: 12 Thermidor an 224 de la =?utf-8?Q?R=C3=A9volution?= X-PGP-Key-ID: 0x090B11993D9AEBB5 X-PGP-Key: http://www.fdn.fr/~lcourtes/ludovic.asc X-PGP-Fingerprint: 3CE4 6455 8A84 FDC6 9DB4 0CFB 090B 1199 3D9A EBB5 X-OS: x86_64-unknown-linux-gnu Date: Fri, 29 Jul 2016 13:30:00 -0000 In-Reply-To: (Florian Weimer's message of "Thu, 28 Jul 2016 15:15:08 -0400") Message-ID: <877fc4d5n6.fsf@gnu.org> User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/24.5 (gnu/linux) MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.2.x-3.x [generic] X-Received-From: 2001:4830:134:3::e X-SW-Source: 2016-07/txt/msg00654.txt.bz2 Florian Weimer skribis: > We still need the time-based approach if the build ID is not > available, but I expect most distributions will have something like > it. FWIW in Guix we solve it by filling the =E2=80=98compilation=E2=80=99 array= with a substring of the installation prefix=C2=B9. Since the installation prefix is something like /gnu/store/5fx3vscv9pqjr1k0vyaqnpqlvvzl8rff-glibc-2.22, which comprises a hash of all the source, build scripts, and dependencies used to build it, we know that it uniquely identifies the result of this specific glibc build. The build ID should be a good approximation of this. Ludo=E2=80=99. =C2=B9 http://git.savannah.gnu.org/cgit/guix.git/tree/gnu/packages/base.scm= #n603