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 QCMXA+2DGGBfLQAA0tVLHw (envelope-from ) for ; Mon, 01 Feb 2021 22:42:53 +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 CKhgOuyDGGBaNgAAbx9fmQ (envelope-from ) for ; Mon, 01 Feb 2021 22:42:52 +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 AA759940366 for ; Mon, 1 Feb 2021 22:42:52 +0000 (UTC) Received: from localhost ([::1]:49854 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1l6huF-0001oN-Lt for larch@yhetil.org; Mon, 01 Feb 2021 17:42:51 -0500 Received: from eggs.gnu.org ([2001:470:142:3::10]:56298) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1l6htV-0001oF-La for guix-devel@gnu.org; Mon, 01 Feb 2021 17:42:05 -0500 Received: from mail-wr1-x433.google.com ([2a00:1450:4864:20::433]:35074) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1l6htT-0004wm-Pl; Mon, 01 Feb 2021 17:42:05 -0500 Received: by mail-wr1-x433.google.com with SMTP id l12so18391449wry.2; Mon, 01 Feb 2021 14:42:02 -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=wLWJwyTiiV+YnSFo/I7at77aDDm6/LPSPY9fpW/qMqU=; b=plxeOn9wgZyk2l7XhBDCUOF7V/b+y7MhD7cSN4/Pc/hlx2aSVVpOjnkzDnmpH7BuwQ CtGODcvFbhCWwj5kROAMPBqW16/5FwbC0ahjppCbODT1VGyF36qwgVGUS2JS5QXZ2OHx INbdPmbYst8o0ZDFa4HwcUE6My6nFEH2/zvdPHzm/CuH2yaqvp4BDKOzcQt6lYPz+tS7 A7NgGJ8jPskfeITWBgsDvfnpq9ED+3LoDVF9FRdSoduB9BdvVBggEzY2U5HVIj7yhlRH 8j10olpgm0u7Eq+2zMHbs5Hld9g+3+f/+9rv5zjX41yNx9ZIJ5dN7N2j91pn6p8j+e5J UBmA== 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=wLWJwyTiiV+YnSFo/I7at77aDDm6/LPSPY9fpW/qMqU=; b=fFSfchz8ubuoVfsXm6o5Zdv5/g1OFMiOQDB3re0CSAYGJ+rO8af30o+EXGAyTpCfV2 KDaA+AcluVFE63czcppo8gNAKCk/+s3LCUeeEkDSKwav4Bbr/hS4kRRhEnlmns7dzcRl 5ihR2iEZj4Yohh/3xxCRTk4NO2P8NsksiQ4xHjQebgOLWeOJHuaVnYCjhJuo1dDN0kYe d7fpAyq62jEk84RDh2T3ygdyJi3eChabddfQ9SPRBZwlJ0l/ck4J9bnCGj/KdRBd6jM7 aHUdDa9PERmiY4BB6eqsh21yhbhils+BNIJ8P1dIfD5dCZV6AE39n/F0JoZqhMnSgTyz NuhA== X-Gm-Message-State: AOAM530PJT5b7Dw9A5XKlmnpVmkWKJ4f3ts6nsnQzX4rwcb9gczSU1DS C9Z3nx64ayNY003ROliHApWr3K3c94A= X-Google-Smtp-Source: ABdhPJxMAIYhC45JXQDMdTbveNYfJLinl4KhN2XGowEzs5rH9aK4jDBBDcYU4Ej7KkphtZlebJq10w== X-Received: by 2002:adf:d4ce:: with SMTP id w14mr19879909wrk.89.1612219320999; Mon, 01 Feb 2021 14:42:00 -0800 (PST) Received: from lili ([2a01:e0a:59b:9120:65d2:2476:f637:db1e]) by smtp.gmail.com with ESMTPSA id z185sm723552wmb.0.2021.02.01.14.41.59 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Mon, 01 Feb 2021 14:42:00 -0800 (PST) From: zimoun To: Ludovic =?utf-8?Q?Court=C3=A8s?= Subject: Unreproducible =?utf-8?Q?=E2=80=9Cguix?= pack -f =?utf-8?Q?docker?= =?utf-8?Q?=E2=80=9D?= because config.scm-builder In-Reply-To: <8735ylm4zx.fsf@gnu.org> References: <20210116182957.31075-1-ludo@gnu.org> <87wnvyv7w6.fsf@gnu.org> <86bldahz42.fsf@gmail.com> <8735ylm4zx.fsf@gnu.org> Date: Mon, 01 Feb 2021 23:37:21 +0100 Message-ID: <86pn1jct3y.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::433; envelope-from=zimon.toutoune@gmail.com; helo=mail-wr1-x433.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=plxeOn9w; 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: AA759940366 X-Spam-Score: -3.06 X-Migadu-Scanner: scn1.migadu.com X-TUID: fxB6lrp0XvNn Hi Ludo, On Thu, 28 Jan 2021 at 16:54, Ludovic Court=C3=A8s wrote: >> $ guix time-machine -C /tmp/img/channels.scm -- pack -f docker --save-pr= ovenance -m /tmp/img/manifest.scm >> Updating channel 'guix' from Git repository at 'https://git.savannah.gnu= .org/git/guix.git'... >> /gnu/store/xzk604g8gysv4azn7sf9nylr6iah97gl-docker-pack.tar.gz >> >> To compare with >> /gnu/store/wxymmnxdvdvf08ifsfy39xjaxilhrigk-docker-pack.tar.gz. >> >> On a third machine, I get: >> /gnu/store/wxymmnxdvdvf08ifsfy39xjaxilhrigk-docker-pack.tar.gz >> >> Well, that=E2=80=99s another story and I have not inspected yet the >> derivations and what could be wrong on the machine B. > > You=E2=80=99d have to check the differences. It may be that provenance d= ata > differs, for example because the second attempt includes data about > channels that are actually unused. (That=E2=80=99s the whole problem of > provenance data: it=E2=80=99s not a one-to-one mapping and it=E2=80=99s n= ot a bijection > either.) After inspecting the derivations, the issue is from the file =E2=80=99config.scm-builder=E2=80=99 which differs by: (define-public %sysconfdir "/usr/local/etc") vs (define-public %sysconfdir "/etc") What did I do wrong? From where does this difference come? How can I fix it? Below, the different commands to spot out the issue. Cheers, simon Machine A --8<---------------cut here---------------start------------->8--- $ guix describe Generation 101 Jan 29 2021 16:22:06 (current) guix b9a54aa repository URL: https://git.savannah.gnu.org/git/guix.git branch: master commit: b9a54aad0ba282ac78931b67e679bd0132419364 $ guix describe -f channels > /tmp/channels.scm $ guix pack -f docker hello /gnu/store/9vhl75vx60l56992hgy5818ndic608p5-docker-pack.tar.gz $ guix time-machine -C /tmp/channels.scm -- pack -f docker hello /gnu/store/9vhl75vx60l56992hgy5818ndic608p5-docker-pack.tar.gz $ guix gc --derivers /gnu/store/9vhl75vx60l56992hgy5818ndic608p5-docker-pac= k.tar.gz=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20= =20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20 /gnu/store/ih94c9ny68dfalrym9m1vz4wa40rpgvs-docker-pack.tar.gz.drv=20=20=20= =20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20= =20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20= =20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20 --8<---------------cut here---------------end--------------->8--- 07fwgiz56f7dk760qpplnfaxribglqc7-config.scm-builder: (define-public %sysconfdir "/usr/local/etc") =20=20=20=20 Machine B (and C) --8<---------------cut here---------------start------------->8--- $ guix describe G=C3=A9n=C3=A9ration 7 28 janv. 2021 01:51:17 (actuelle) guix 0f20b3f URL du d=C3=A9p=C3=B4t : https://git.savannah.gnu.org/git/guix.git branche: master commit : 0f20b3fa2050ba6e442e340a204516b9375cd231 $ cat /tmp/channels.scm (list (channel (name 'guix) (url "https://git.savannah.gnu.org/git/guix.git") (commit "b9a54aad0ba282ac78931b67e679bd0132419364") (introduction (make-channel-introduction "9edb3f66fd807b096b48283debdcddccfea34bad" (openpgp-fingerprint "BBB0 2DDF 2CEA F6A8 0D1D E643 A2A0 6DF2 A33A 54FA"))))) $ guix time-machine -C /tmp/channels.scm -- pack -f docker hello Mise =C3=A0 jour du canal =C2=AB guix =C2=BB depuis le d=C3=A9p=C3=B4t Git = =C2=ABhttps://git.savannah.gnu.org/git/guix.git =C2=BB... /gnu/store/nkvlqwzvxdlhzlc7vhfcngxc19x2ay2f-docker-pack.tar.gz $ guix pull --commit=3Db9a54aad0ba282ac78931b67e679bd0132419364 $ guix describe G=C3=A9n=C3=A9ration 8 01 f=C3=A9vr. 2021 17:00:18 (actuelle) guix b9a54aa URL du d=C3=A9p=C3=B4t : https://git.savannah.gnu.org/git/guix.git commit : b9a54aad0ba282ac78931b67e679bd0132419364 $ guix pack -f docker hello /gnu/store/nkvlqwzvxdlhzlc7vhfcngxc19x2ay2f-docker-pack.tar.gz $ guix gc --derivers /gnu/store/nkvlqwzvxdlhzlc7vhfcngxc19x2ay2f-docker-pac= k.tar.gz=20=20=20=20=20=20=20=20=20=20=20 /gnu/store/323k33sfx869d0nkh69ary8sj6xiy4s4-docker-pack.tar.gz.drv --8<---------------cut here---------------end--------------->8--- 00cy802583sb82kcpzfd1sz1xwff9hln-config.scm-builder: (define-public %sysconfdir "/etc")=20=20=20=20=20=20=20=20=20=20=20