From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp10.migadu.com ([2001:41d0:8:6d80::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by ms5.migadu.com with LMTPS id yMDsL+gGEmNm1wAAbAwnHQ (envelope-from ) for ; Fri, 02 Sep 2022 15:36:40 +0200 Received: from aspmx1.migadu.com ([2001:41d0:8:6d80::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp10.migadu.com with LMTPS id eCABL+gGEmOoZAEAG6o9tA (envelope-from ) for ; Fri, 02 Sep 2022 15:36:40 +0200 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 6F0D83DAE3 for ; Fri, 2 Sep 2022 15:36:40 +0200 (CEST) Received: from localhost ([::1]:58942 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1oU6qd-0004JW-48 for larch@yhetil.org; Fri, 02 Sep 2022 09:36:39 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]:41408) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1oU6pa-0002u6-73 for guix-devel@gnu.org; Fri, 02 Sep 2022 09:35:34 -0400 Received: from fencepost.gnu.org ([2001:470:142:3::e]:57562) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1oU6pY-0007Cq-Kc; Fri, 02 Sep 2022 09:35:33 -0400 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=gnu.org; s=fencepost-gnu-org; h=MIME-Version:In-Reply-To:Date:References:Subject:To: From; bh=i9qcd1skh8hHUyNLiTzL1at7Mo9+p0dxYBRyeD0l4+E=; b=aUmCDGyRlXpFORG+N25+ d/xSNRY/nILJbvd2fHX3ds2gaoBJh7a3ua8biEX45wHTWMko9Rx6EP80Udzctx6VPszufKzcBjgVj Mv7wcSL5Z1/iQLo+kCFrVG99EIpod3o+VdL9BZBuYLy2QJKngY0Q83jSgdksYG5hWrE9+V+jIEWqV 2rIY7YvBEgHMrfN2yCxL83hDi8K9bVKNpHUZQCGCLV0Ndcr1CQ+0DlLfYIIVaQGvuSn2Vi3xT/AH3 zPCDEOb0fXFp5O0QCNdlbqKTEaPpmAhuzW9fT0irtuqNNAeY1czx9w0EZ3BRR5mhgq07rcXFy6TDm OjH+N7cuRP2gjg==; Received: from [2001:660:6102:320:e120:2c8f:8909:cdfe] (port=35034 helo=ribbon) by fencepost.gnu.org with esmtpsa (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1oU6pO-0000RC-3h; Fri, 02 Sep 2022 09:35:30 -0400 From: =?utf-8?Q?Ludovic_Court=C3=A8s?= To: zimoun Cc: Guix Devel Subject: Re: Failure with =?utf-8?B?4oCcZ3VpeCBjb3B54oCc?= References: <86o7wfxlr8.fsf@gmail.com> X-URL: http://www.fdn.fr/~lcourtes/ X-Revolutionary-Date: Sextidi 16 Fructidor an 230 de la =?utf-8?Q?R=C3=A9v?= =?utf-8?Q?olution=2C?= jour du Citron 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: Fri, 02 Sep 2022 15:35:16 +0200 In-Reply-To: <86o7wfxlr8.fsf@gmail.com> (zimoun's message of "Sat, 20 Aug 2022 12:16:59 +0200") Message-ID: <87a67hx5kb.fsf@gnu.org> User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/28.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.29 Precedence: list List-Id: "Development of GNU Guix and the GNU System distribution." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: guix-devel-bounces+larch=yhetil.org@gnu.org Sender: "Guix-devel" X-Migadu-Flow: FLOW_IN X-Migadu-To: larch@yhetil.org X-Migadu-Country: US ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=yhetil.org; s=key1; t=1662125800; h=from:from:sender:sender:reply-to:subject:subject:date:date: message-id:message-id:to:to:cc:cc:mime-version:mime-version: content-type:content-type: content-transfer-encoding:content-transfer-encoding: in-reply-to:in-reply-to:references:references:list-id:list-help: list-unsubscribe:list-subscribe:list-post:dkim-signature; bh=i9qcd1skh8hHUyNLiTzL1at7Mo9+p0dxYBRyeD0l4+E=; b=aff7hjAo7mMAsxJR8dLyjBO0vmTshYmfZNPMBavwTRuPozsGMIu+WUCe6Pu/J5OKZ+2imO zi9etm6Bpx1j86R/eFk69dzsYR3RJQakYLK6QoPLUTbemru3ZeayNUyWK5Ts2F/9NqWtU0 dh2+QzmOEJUj2zghGCPs0QRRgg01L2kFgFqNmnu4S9vCqs88RGi34gkK9qD3TK2kFrmfms UQngLsI3CFCD+xH6YnxHNWRgQHGxFdD0OAr215FYVXbwQtVRLyu50Sd79inutSnGE7RWjP VQFAmSig0O79kgTu+Kslx/WahBLG/cTqPTtF9yQg2nHPev2PROkQE88NVBaPxw== ARC-Seal: i=1; s=key1; d=yhetil.org; t=1662125800; a=rsa-sha256; cv=none; b=gcg1LyIh/OrwcQ3VN4ijLQFALbC9Ios3vV8+mzEMoKSem2dL8KFedstSArFnqBoaPl4bO9 pRGLimmWzbLOfh/yRYVvUvjUUnEHi6DUMcrlndSvWQrjjF+9p7Fkz6qjA2Jm2Ctq0dAha3 2gTLoN+tsQnqRgdf0Qxkc4fybl610mMJrXsnVq2qIgh0qLNmsei9g+xHvgzItzoUF0QlH2 zQWFZr+NQVUwba5coJzRqqieLhEMyxilTDXSOc+GP7h9LR0WfU6DatMiNgb/NQrf0yMRmj 5wDkR+2tCYHUDpoxlchd2SlsAhfNbP9CorOk/Ee2O+PD6r47WRlZ0d08va2W1Q== ARC-Authentication-Results: i=1; aspmx1.migadu.com; dkim=pass header.d=gnu.org header.s=fencepost-gnu-org header.b=aUmCDGyR; dmarc=pass (policy=none) header.from=gnu.org; spf=pass (aspmx1.migadu.com: domain of "guix-devel-bounces+larch=yhetil.org@gnu.org" designates 209.51.188.17 as permitted sender) smtp.mailfrom="guix-devel-bounces+larch=yhetil.org@gnu.org" X-Migadu-Spam-Score: -3.47 Authentication-Results: aspmx1.migadu.com; dkim=pass header.d=gnu.org header.s=fencepost-gnu-org header.b=aUmCDGyR; dmarc=pass (policy=none) header.from=gnu.org; spf=pass (aspmx1.migadu.com: domain of "guix-devel-bounces+larch=yhetil.org@gnu.org" designates 209.51.188.17 as permitted sender) smtp.mailfrom="guix-devel-bounces+larch=yhetil.org@gnu.org" X-Migadu-Queue-Id: 6F0D83DAE3 X-Spam-Score: -3.47 X-Migadu-Scanner: scn1.migadu.com X-TUID: MijvXdCtIJnq Hi, zimoun skribis: > $ guix copy --from=3Ddesktop hledger > The following derivations will be built: > /gnu/store/gz1qzalbg3dzwvfvj81f13n8pd47rzw2-hledger-1.21.drv > /gnu/store/9m71fs1i0anv89f5zq44hbh2wn2lavxz-ghc-lucid-2.9.12.1.drv > /gnu/store/i62zr0ykqyxfwyc270csnhbwyrk3l3bb-ghc-lucid-2.9.12.1-1.cabal.= drv > /gnu/store/vhxlqj1d5pll79vfdi06wl77k5mx45vb-ghc-hledger-lib-1.21.drv > process 307420 acquired build slot '/var/guix/offload/x.x.x.x:22/0' > normalized load on machine 'x.x.x.x' is 0.01 > building /gnu/store/vhxlqj1d5pll79vfdi06wl77k5mx45vb-ghc-hledger-lib-1.21= .drv... > building /gnu/store/i62zr0ykqyxfwyc270csnhbwyrk3l3bb-ghc-lucid-2.9.12.1-1= .cabal.drv... > > Starting download of /gnu/store/rj33x41i86vgw6c0iwffzwrgzrib1shb-ghc-luci= d-2.9.12.1-1.cabal > From https://hackage.haskell.org/package/lucid-2.9.12.1/revision/1.cabal.= .. > downloading from https://hackage.haskell.org/package/lucid-2.9.12.1/revis= ion/1.cabal ... > > sha256 hash mismatch for /gnu/store/rj33x41i86vgw6c0iwffzwrgzrib1shb-ghc-= lucid-2.9.12.1-1.cabal: > expected hash: 1f0whk5ncanxfjjanrf6rqyncig2xgc5mh2j0sqy3nrlyjr9aqq9 > actual hash: 1xllyf26ypk37k807g5v6fl1449mhpvk18dljmqgwj723n0v8rpj > hash mismatch for store item '/gnu/store/rj33x41i86vgw6c0iwffzwrgzrib1shb= -ghc-lucid-2.9.12.1-1.cabal' > build of /gnu/store/i62zr0ykqyxfwyc270csnhbwyrk3l3bb-ghc-lucid-2.9.12.1-1= .cabal.drv failed > View build log at '/var/log/guix/drvs/i6/2zr0ykqyxfwyc270csnhbwyrk3l3bb-g= hc-lucid-2.9.12.1-1.cabal.drv.gz'. > cannot build derivation `/gnu/store/9m71fs1i0anv89f5zq44hbh2wn2lavxz-ghc-= lucid-2.9.12.1.drv': 1 dependencies couldn't be built > cannot build derivation `/gnu/store/gz1qzalbg3dzwvfvj81f13n8pd47rzw2-hled= ger-1.21.drv': 1 dependencies couldn't be built > guix copy: error: build of `/gnu/store/gz1qzalbg3dzwvfvj81f13n8pd47rzw2-h= ledger-1.21.drv' failed > > > Well, I was expecting that the items were just copied. Why =E2=80=98guix= copy=E2=80=99 > tries to locally build something? My guess: use =E2=80=98--no-grafts=E2=80=99 and it=E2=80=99ll copy the ungr= afted package. Otherwise, Guix starts by building the package so it can compute the grafting derivation, at which point it=E2=80=99ll happily copy the grafted variant from that other machine. But that=E2=80=99s typically not what you want. I suppose we could do better, for instance by computing the derivation on the remote store, though that can be a bit slow. Ludo=E2=80=99.