From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp1 ([2001:41d0:2:4a6f::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by ms11 with LMTPS id 6MT6DJdTImDAEQAA0tVLHw (envelope-from ) for ; Tue, 09 Feb 2021 09:19:19 +0000 Received: from aspmx1.migadu.com ([2001:41d0:2:4a6f::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp1 with LMTPS id SGy2CJdTImCRMgAAbx9fmQ (envelope-from ) for ; Tue, 09 Feb 2021 09:19:19 +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 EC4C39405D4 for ; Tue, 9 Feb 2021 09:19:18 +0000 (UTC) Received: from localhost ([::1]:35622 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1l9PAz-0006mE-T6 for larch@yhetil.org; Tue, 09 Feb 2021 04:19:17 -0500 Received: from eggs.gnu.org ([2001:470:142:3::10]:59424) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1l9OUf-0006wV-Q1 for guix-devel@gnu.org; Tue, 09 Feb 2021 03:35:35 -0500 Received: from fencepost.gnu.org ([2001:470:142:3::e]:41559) by eggs.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1l9OUc-0005oQ-UV; Tue, 09 Feb 2021 03:35:33 -0500 Received: from [2a01:e0a:1d:7270:af76:b9b:ca24:c465] (port=60260 helo=ribbon) by fencepost.gnu.org with esmtpsa (TLS1.2:RSA_AES_256_CBC_SHA1:256) (Exim 4.82) (envelope-from ) id 1l9OUb-0005uD-H3; Tue, 09 Feb 2021 03:35:30 -0500 From: =?utf-8?Q?Ludovic_Court=C3=A8s?= To: zimoun 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 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> <86eehycjre.fsf@gmail.com> <87im766d30.fsf@gnu.org> <86lfc2bfb1.fsf@gmail.com> <87k0rkzx75.fsf@gnu.org> <86lfbzad42.fsf@gmail.com> X-URL: http://www.fdn.fr/~lcourtes/ X-Revolutionary-Date: 21 =?utf-8?Q?Pluvi=C3=B4se?= an 229 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-pc-linux-gnu Date: Tue, 09 Feb 2021 09:35:28 +0100 In-Reply-To: <86lfbzad42.fsf@gmail.com> (zimoun's message of "Sun, 07 Feb 2021 20:31:41 +0100") Message-ID: <87pn19vdtb.fsf@gnu.org> User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/27.1 (gnu/linux) MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable 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: -2.86 Authentication-Results: aspmx1.migadu.com; dkim=none; dmarc=pass (policy=none) header.from=gnu.org; 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: EC4C39405D4 X-Spam-Score: -2.86 X-Migadu-Scanner: scn1.migadu.com X-TUID: FTPnXXc2fRC9 Hi, zimoun skribis: > On Sat, 06 Feb 2021 at 22:46, Ludovic Court=C3=A8s wrote: > >> See? One has just 1 link (did you disable deduplication on that one?), >> there other has 5 links. > > Yes, I see but I do not understand why. I have not changed, well, only > the number of cores and jobs: > > ExecStart=3D/var/guix/profiles/per-user/root/current-guix/bin/guix-daemon= --build-users-group=3Dguixbuild -c 128 -M 99 > Environment=3D'GUIX_LOCPATH=3D/var/guix/profiles/per-user/root/guix-profi= le/lib/locale' LC_ALL=3Den_US.utf8 > > > And my 2 Debian systems give the same result, one is the default and the > other is: > > ExecStart=3D/var/guix/profiles/per-user/root/current-guix/bin/guix-daemon= --build-users-group=3Dguixbuild --gc-keep-outputs=3Dyes --gc-keep-derivati= ons=3Dyes > > > > There is another configuration file that I could miss? No. I=E2=80=99m not sure exactly why it happened, but it=E2=80=99s clear that (= guix docker) would let the nlink value influence tar. >> Having looked at the tar manual (info "(tar) hard links"), it seems >> clear that this is the default behavior and that we have to pass >> =E2=80=98--hard-dereference=E2=80=99 to avoid it. > > Do you mean in (guix docker) here: > > (apply invoke "tar" "-cf" "../layer.tar" > `(,@transformation-options > ,@%tar-determinism-options > ,@paths > ,@(scandir "." > (lambda (file) > (not (member file '("." "..")))))))) > > if I read correctly? > > And the option =C2=AB-h, --dereference: Follow symlinks; archive and dump= the > files they point to.=C2=BB isn=E2=80=99t enough? It=E2=80=99s really =E2=80=98--hard-dereference=E2=80=99. Pushed as 18a4882e3029a084d2f0c63d9d0148682a854546, thank you! Ludo=E2=80=99.