From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp0 ([2001:41d0:2:4a6f::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by ms11 with LMTPS id E2h4Fi20GWDaPgAA0tVLHw (envelope-from ) for ; Tue, 02 Feb 2021 20:21:01 +0000 Received: from aspmx1.migadu.com ([2001:41d0:2:4a6f::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp0 with LMTPS id uMvxES20GWAtZAAA1q6Kng (envelope-from ) for ; Tue, 02 Feb 2021 20:21:01 +0000 Received: from lists.gnu.org (lists.gnu.org [209.51.188.17]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by aspmx1.migadu.com (Postfix) with ESMTPS id A45679403E8 for ; Tue, 2 Feb 2021 20:21:00 +0000 (UTC) Received: from localhost ([::1]:32928 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1l72AV-0005He-90 for larch@yhetil.org; Tue, 02 Feb 2021 15:20:59 -0500 Received: from eggs.gnu.org ([2001:470:142:3::10]:46996) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1l72A3-0005GS-DN for guix-devel@gnu.org; Tue, 02 Feb 2021 15:20:31 -0500 Received: from mail-wm1-x32d.google.com ([2a00:1450:4864:20::32d]:55933) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1l72A1-0006Aj-Ad; Tue, 02 Feb 2021 15:20:31 -0500 Received: by mail-wm1-x32d.google.com with SMTP id f16so3601272wmq.5; Tue, 02 Feb 2021 12:20:28 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=from:to:cc:subject:in-reply-to:references:date:message-id :mime-version:content-transfer-encoding; bh=eYV82Pg6AwRVAmFZQJF0BR5vmGz8EeV2B+y5mjyeyD4=; b=kZ8Op2wAjXcnNT6mE33tiiKLHjVZSUYt1nw71k3eZDLAARKOeIg6PVz9n+RF199gwO cfcGzQd44p3BfUxa+YWhUanrc3YhEpC1JDpkGXL3eyjg7jyHtTf4DPwt8fGX4mnrq+9/ BNUY/ZhqIudu9O1sRQpydzdu3ElgXZSTfWjFyYtXXBDodgscMrpR1rjdiPiY0zttRO4p 4WuZyfk3O91nSvZT7//vUQlEzYIILSXQbjTFDnLj+lwaSZVh2r2oYDNDAxZAYC8l4VC3 /QBERlfrGVxU2+yg80WPOWDZTrtiJ2AXe49QwjvsSo9g7yOzjcKbLqdeLxEOqnD+9uMf 2ofQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:from:to:cc:subject:in-reply-to:references:date :message-id:mime-version:content-transfer-encoding; bh=eYV82Pg6AwRVAmFZQJF0BR5vmGz8EeV2B+y5mjyeyD4=; b=VrnBrzXEGzW97JyjNxztsQ4Q/ukZ0bG/K25YkpdWofHni3r3e2LrbGSkHfsFvGMo5K o12aBgjl5zlPbsK1Aaaodu9tSoxRVDff3I6FtIdGjFHMwGWambe0GMoHHvPt4gebRTpc ZKXVesYguzwjJPNceoaqsDiC472u8QEnfIQwHFDTO/9rUtLCxCVe0z41K4ddg4tqgBIP oicToIJIhs1/EzTQb0Rs2awXkpB8mmLj91xyHXnrvi3kWj9H4b9wHkm/lr5gcspZlWPb lv0MV2ADPXmoizc/rOsxsQy7Yr5F4e0ASNeTkljHm0qZUQRJrj1H1K1+BygDj8N5FEkQ kJlw== X-Gm-Message-State: AOAM531FBpGWmQZX4on0+HTR6SsQQBz6aPt3QJ85Rkt7kFAnIyq6Swqu Bri46akw8Vci36/rj8aLshrIe6z3IzU= X-Google-Smtp-Source: ABdhPJzsi5JYaN/DiqplIGWFQNLc41J07Ovg3q6b7fNmeheiCvqG8rG7Qe9s207xqY6euaiTD8SZ7A== X-Received: by 2002:a7b:c041:: with SMTP id u1mr5134829wmc.161.1612297226681; Tue, 02 Feb 2021 12:20:26 -0800 (PST) Received: from lili ([2a01:e0a:59b:9120:65d2:2476:f637:db1e]) by smtp.gmail.com with ESMTPSA id h207sm5051672wme.18.2021.02.02.12.20.25 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Tue, 02 Feb 2021 12:20:26 -0800 (PST) From: zimoun To: Ludovic =?utf-8?Q?Court=C3=A8s?= Subject: Re: Unreproducible =?utf-8?Q?=E2=80=9Cguix?= pack -f =?utf-8?Q?do?= =?utf-8?Q?cker=E2=80=9D?= because config.scm-builder In-Reply-To: <877dnqe3to.fsf@gnu.org> References: <20210116182957.31075-1-ludo@gnu.org> <87wnvyv7w6.fsf@gnu.org> <86bldahz42.fsf@gmail.com> <8735ylm4zx.fsf@gnu.org> <86pn1jct3y.fsf@gmail.com> <877dnqe3to.fsf@gnu.org> Date: Tue, 02 Feb 2021 21:11:33 +0100 Message-ID: <86eehycjre.fsf@gmail.com> MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable Received-SPF: pass client-ip=2a00:1450:4864:20::32d; envelope-from=zimon.toutoune@gmail.com; helo=mail-wm1-x32d.google.com X-Spam_score_int: -20 X-Spam_score: -2.1 X-Spam_bar: -- X-Spam_report: (-2.1 / 5.0 requ) BAYES_00=-1.9, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, DKIM_VALID_EF=-0.1, FREEMAIL_FROM=0.001, RCVD_IN_DNSWL_NONE=-0.0001, SPF_HELO_NONE=0.001, SPF_PASS=-0.001 autolearn=ham autolearn_force=no X-Spam_action: no action X-BeenThere: guix-devel@gnu.org X-Mailman-Version: 2.1.23 Precedence: list List-Id: "Development of GNU Guix and the GNU System distribution." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Cc: guix-devel Errors-To: guix-devel-bounces+larch=yhetil.org@gnu.org Sender: "Guix-devel" X-Migadu-Flow: FLOW_IN X-Migadu-Spam-Score: -3.06 Authentication-Results: aspmx1.migadu.com; dkim=pass header.d=gmail.com header.s=20161025 header.b=kZ8Op2wA; dmarc=pass (policy=none) header.from=gmail.com; spf=pass (aspmx1.migadu.com: domain of guix-devel-bounces@gnu.org designates 209.51.188.17 as permitted sender) smtp.mailfrom=guix-devel-bounces@gnu.org X-Migadu-Queue-Id: A45679403E8 X-Spam-Score: -3.06 X-Migadu-Scanner: scn1.migadu.com X-TUID: S2iOGv8HZ9bX Hi, On Tue, 02 Feb 2021 at 19:12, Ludovic Court=C3=A8s wrote: > It turns out that, as is always the case with GNU Standards compliant > configure script, the default value for --prefix is /usr/local, and the > default for --sysconfdir is $prefix/etc. As discussed on IRC, it is not mentioned in the manual. What the manual describes is: ./bootstrap ./configure --localstatedir=3D/var/ make therefore, if one runs: ./pre-inst-env guix pull then the sysconfdir is set to /usr/local/etc because it is the default. And so it leads to subtle differences really hard to guess. I think it is worth to add one sentence or footnote at the end of the section =C2=ABRunning Guix Before It Is Installed=C2=BB, right after: Note that ./pre-inst-env guix pull does not upgrade the local source tree; it simply updates the ~/.config/guix/current symlink (see Invoking guix pull). Run git pull instead if you want to upgrade your local source tree. Something like: =C2=ABNote that =E2=80=99guix pull=E2=80=99 preserves the s= ettings of the host Guix, for instance =E2=80=99sysconfdir=E2=80=99, and by default the GNU sta= ndards set =E2=80=99prefix=E2=80=99 to =E2=80=99/usr/local/=E2=80=99 and =E2=80=99sysc= onfdir=E2=80=99 to =E2=80=99$prefix/etc=E2=80=99, whereas regular Guix uses =E2=80=99--sysconfdir=3D/etc/=E2=80=99.=C2=BB WDYT? > You did find other differences eventually though, right? The produced tarballs have the same Guix hash, i.e., all the same inputs, but not the same outputs, compare with commit b9a54aa: A-machine$ md5sum /gnu/store/nkvlqwzvxdlhzlc7vhfcngxc19x2ay2f-docker-pack.t= ar.gz b5fe393d7966cbc3cd0be6e51d3aedc3 /gnu/store/nkvlqwzvxdlhzlc7vhfcngxc19x2ay2= f-docker-pack.tar.gz B-machine$ md5sum /gnu/store/nkvlqwzvxdlhzlc7vhfcngxc19x2ay2f-docker-pack.t= ar.gz e47b9a38b7162f7fb093b97e19dbc1ca /gnu/store/nkvlqwzvxdlhzlc7vhfcngxc19x2ay2= f-docker-pack.tar.gz C-machine$ md5sum /gnu/store/nkvlqwzvxdlhzlc7vhfcngxc19x2ay2f-docker-pack.t= ar.gz b5fe393d7966cbc3cd0be6e51d3aedc3 /gnu/store/nkvlqwzvxdlhzlc7vhfcngxc19x2ay= 2f-docker-pack.tar.gz And diffoscope returns these differences, something about links, IIUC: --8<---------------cut here---------------start------------->8--- --- /tmp/docker-meary/4ca83868d5e98cb06179a2a7372afe029c10d43bdc9fbfcc5771b= 89da74889b8/layer.tar +++ /tmp/docker-pfiuh02/4ca83868d5e98cb06179a2a7372afe029c10d43bdc9fbfcc577= 1b89da74889b8/layer.tar =E2=94=9C=E2=94=80=E2=94=80 file list =E2=94=82 @@ -823,17 +823,17 @@ [...] =E2=94=82 --r-x=E2=80=A6 29960 gnu/store/fa6wj5bxkj5ll1d7292a70knmyl7a0cr-g= libc-2.31/libexec/getconf/POSIX_V6_LP64_OFF64 [...] =E2=94=82 +hr-x=E2=80=A6 0 gnu/store/fa6wj5bxkj5ll1d7292a70knmyl7a0cr-g= libc-2.31/libexec/getconf/POSIX_V6_LP64_OFF64 [...] =E2=94=9C=E2=94=80=E2=94=80 gnu/store/fa6wj5bxkj5ll1d7292a70knmyl7a0cr-glib= c-2.31/libexec/getconf/POSIX_V6_LP64_OFF64 =E2=94=82 @@ -1,1873 +0,0 @@ =E2=94=82 -00000000: 7f45 4c46 0201 0100 0000 0000 0000 0000 .ELF.........= ... =E2=94=82 -00000010: 0200 3e00 0100 0000 3015 4000 0000 0000 ..>.....0.@..= ... =E2=94=82 -00000020: 4000 0000 0000 0000 486d 0000 0000 0000 @.......Hm...= ... =E2=94=82 -00000030: 0000 0000 4000 3800 0b00 4000 1f00 1e00 ....@.8...@..= ... =E2=94=82 -00000040: 0600 0000 0400 0000 4000 0000 0000 0000 ........@....= ... =E2=94=82 -00000050: 4000 4000 0000 0000 4000 4000 0000 0000 @.@.....@.@..= ... =E2=94=82 -00000060: 6802 0000 0000 0000 6802 0000 0000 0000 h.......h....= ... [...] --8<---------------cut here---------------end--------------->8--- (Slightly edited to ease the reading, and raw at .) On machines A and C, empty file because hard link. But on machine B, the files are there. Tiny files I guess, the size difference is: 23104 vs 23136. Cheers, simon