From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp2 ([2001:41d0:2:4a6f::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by ms11 with LMTPS id GAs7FQ3o01/QagAA0tVLHw (envelope-from ) for ; Fri, 11 Dec 2020 21:43:41 +0000 Received: from aspmx1.migadu.com ([2001:41d0:2:4a6f::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp2 with LMTPS id eNUFEQ3o018sKwAAB5/wlQ (envelope-from ) for ; Fri, 11 Dec 2020 21:43:41 +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 CD0CC94023A for ; Fri, 11 Dec 2020 21:43:40 +0000 (UTC) Received: from localhost ([::1]:53364 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1knqCR-0002qU-KN for larch@yhetil.org; Fri, 11 Dec 2020 16:43:39 -0500 Received: from eggs.gnu.org ([2001:470:142:3::10]:52628) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1knqBY-0002oL-Eg for guix-devel@gnu.org; Fri, 11 Dec 2020 16:42:48 -0500 Received: from tobias.gr ([2a02:c205:2020:6054::1]:54578) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1knqBK-00072j-VH for guix-devel@gnu.org; Fri, 11 Dec 2020 16:42:43 -0500 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=tobias.gr; s=2018; bh=ClY65iEipR05rMOUSYY3rNuOAIZX3u0PpAEanUctEwk=; h=date:in-reply-to: references:subject:cc:to:from; b=o+LJWbXCgqrrMoWMQaoHymr17ztHijJgNoR8Q ho7WDaiwXwaGqkj7N+SwcQIg2zXWxirE03karn7vWiGBF/K8KTPPkQ4Ebnlw5fsbvEm4ce i1z5IfJAE/vR3dRWJ1UIr29bfQxGmIOD5SKByUxIfsKIQhsZ5Sof54q10RSZxv2ZrT2DHQ IVTvZLtlCG3GsVJ53d8cfSoAu3bURwldb3dAPhb46eIiWBeEotM3xQSBmpMSwwnXMzkR/C S5DVsoB1H10TI8lGqF8tsZpikjETIEsVKtFV4jJP8D7XrXLuZrhsEOIg0m5gFWl8e8ZjQT CLcVqMQu6t6ltu08+IwG6xFEA== Received: by submission.tobias.gr (OpenSMTPD) with ESMTPSA id d4eac2c1 (TLSv1.2:ECDHE-ECDSA-AES256-GCM-SHA384:256:NO); Fri, 11 Dec 2020 21:42:43 +0000 (UTC) BIMI-Selector: v=BIMI1; s=default; From: Tobias Geerinckx-Rice To: Greg Hogan Subject: Re: Offline build failure References: In-reply-to: Date: Fri, 11 Dec 2020 22:42:23 +0100 Message-ID: <87y2i4j9z4.fsf@nckx> MIME-Version: 1.0 Content-Type: multipart/signed; boundary="=-=-="; micalg=pgp-sha512; protocol="application/pgp-signature" Received-SPF: pass client-ip=2a02:c205:2020:6054::1; envelope-from=me@tobias.gr; helo=tobias.gr 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, SPF_HELO_PASS=-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@gnu.org Errors-To: guix-devel-bounces+larch=yhetil.org@gnu.org Sender: "Guix-devel" X-Migadu-Flow: FLOW_IN X-Migadu-Spam-Score: -4.60 Authentication-Results: aspmx1.migadu.com; dkim=pass header.d=tobias.gr header.s=2018 header.b=o+LJWbXC; dmarc=pass (policy=reject) header.from=tobias.gr; 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: CD0CC94023A X-Spam-Score: -4.60 X-Migadu-Scanner: scn1.migadu.com X-TUID: YS/vGHLQlGCj --=-=-= Content-Type: text/plain; charset=utf-8; format=flowed Content-Transfer-Encoding: quoted-printable Hullo Greg, Greg Hogan =E5=86=99=E9=81=93=EF=BC=9A > If there is a better way to setup / configure / execute offline=20 > builds > please let me know! ...yes :-) > I am attempting an offline build without success. I have a Guix=20 > 1.2.0 node > with internet access on which I download sources with transitive > dependencies: > $ guix build --sources=3Dtransitive tzdata > ~/transfer OK. > I then copy the files as root to a Guix 1.2.0 node without=20 > internet access > (only local network access): > # cat /home//transfer | xargs -n 1 -I{} scp -p {}=20 > :{} Now you've basically reinvented =E2=80=98guix copy --to=3D=E2=80=99, bu= t in a=20 way that won't update the store database in /var/guix/db. I'm=20 afraid that won't work. Guix won't =E2=80=98see=E2=80=99 the files you copy to the remote store and= will=20 consider them G to be C'd next time you run =E2=80=98guix gc=E2=80=99. Or = in this=20 case: > Guix starts downloading and the transferred file is gone! Same thing. > I'm lost as to > why a new download attempt is made as the file data and=20 > timestamps match > the original server. If the file isn't registered in the database, the store item is=20 never considered valid. Guix doesn't (yet) care about the=20 data/timestamps at this point. If there's a reason you can't/won't use =E2=80=98guix copy=E2=80=99, you mi= ght=20 work around that by copying each file in ~/transfer to, say,=20 :/tmp/staging (instead of :/gnu/store), then running =E2=80=98guix= =20 download /tmp/staging/...=E2=80=99 on the remote host. Kind regards, T G-R --=-=-= Content-Type: application/pgp-signature; name="signature.asc" -----BEGIN PGP SIGNATURE----- iIMEARYKACsWIQT12iAyS4c9C3o4dnINsP+IT1VteQUCX9Pnvw0cbWVAdG9iaWFz LmdyAAoJEA2w/4hPVW15joMA/3yKKs53uYeV79B0+A1oLvVVGPmd2YQGrRZ4wGts CSgEAQDcgq4azVLD7WtNAPJ6CKdcmlbkviaUWetM5GlMW+GMCg== =NPVX -----END PGP SIGNATURE----- --=-=-=--