From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp0.migadu.com ([2001:41d0:403:4876::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by ms8.migadu.com with LMTPS id KP/tAy4+9GV+cQEAqHPOHw:P1 (envelope-from ) for ; Fri, 15 Mar 2024 13:25:18 +0100 Received: from aspmx1.migadu.com ([2001:41d0:403:4876::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp0.migadu.com with LMTPS id KP/tAy4+9GV+cQEAqHPOHw (envelope-from ) for ; Fri, 15 Mar 2024 13:25:18 +0100 X-Envelope-To: larch@yhetil.org Authentication-Results: aspmx1.migadu.com; dkim=none; dmarc=fail reason="SPF not aligned (relaxed), No valid DKIM" header.from=cnrs.fr (policy=none); spf=pass (aspmx1.migadu.com: domain of "guix-science-bounces+larch=yhetil.org@gnu.org" designates 209.51.188.17 as permitted sender) smtp.mailfrom="guix-science-bounces+larch=yhetil.org@gnu.org" ARC-Seal: i=1; s=key1; d=yhetil.org; t=1710505517; a=rsa-sha256; cv=none; b=sWxIR6kZ+sv8vwkONfRRrBMxyShGWR5H6PVEh5MU3NqWYJcz/JkT33AUcg/1A9c4DeaWvy Qjn+SaLZSTj1SaWAtuRTmzaIXzOpz4Gt9VxEJerRK+GBgT1J+tdGmZO46Nvsjpsgj5eC4+ nUZjsCBRBQtugGjs9uphgMAqe5HAjRMLOdVQjaX50Mpxgh/EmjcuAC0BofHHfDdilwb0p9 AWHFC9V23X4N5iZJvvQ6VTZosS6xIh9kJh6NA5u0Wm0SMLFME1a0PIfWch9XJUBAqjZDr2 8ryzl2T/SWHVu54nznpw8tvQSo+LW0crAuYjGHIrUkHYd8sfzPsxf/mWwfMFeQ== ARC-Authentication-Results: i=1; aspmx1.migadu.com; dkim=none; dmarc=fail reason="SPF not aligned (relaxed), No valid DKIM" header.from=cnrs.fr (policy=none); spf=pass (aspmx1.migadu.com: domain of "guix-science-bounces+larch=yhetil.org@gnu.org" designates 209.51.188.17 as permitted sender) smtp.mailfrom="guix-science-bounces+larch=yhetil.org@gnu.org" ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=yhetil.org; s=key1; t=1710505517; h=from:from:sender:sender:reply-to:subject:subject:date:date: message-id:message-id:to:to: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; bh=w7DP+iV3dafuxBZJj0ydPl/bITaOK0a9gtEWSH/G+Hk=; b=ZEz5ij/bAve0nGVcKPkunr0wjh6/DewFUi+EwENnFhgzHh78Kc2FnxzMA1JTY8qZ9RTy1g jVwr3cqAfsmAuiZNrmmoOtKqGsDCk+Cq2sXIFp48JgLfPHkB7irUuMB0ULtaZDYVwcOOl3 SweSmbg3As/DWXrAF7NvF73e3GNrrCeqQbGBU1ZfwhoSWMewbEp3NwzmhUTCF/MkGHXRo8 wHkhYmOhrf8+dI6UHETgxCOqMYESTOQAHl+Vi8WQ4nsC99YTXj/7EkbELnySrUvnLziU8E ebPHevyEV9sRzdachIJBu8JIraSBiADnqQV6t56gV7iaz+JIgY69SLsCpaNWMA== 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 CB8C568F0F for ; Fri, 15 Mar 2024 13:25:17 +0100 (CET) Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1rl6cR-0007xG-Ra; Fri, 15 Mar 2024 08:25:03 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1rl3kt-0004vO-M0 for guix-science@gnu.org; Fri, 15 Mar 2024 05:21:36 -0400 Received: from cczrelay06.in2p3.fr ([134.158.66.156] helo=cczrelay02.in2p3.fr) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1rl3kr-0001T3-Eo for guix-science@gnu.org; Fri, 15 Mar 2024 05:21:35 -0400 Received: from [193.48.89.201] (sbgat392.in2p3.fr [193.48.89.201]) (authenticated bits=0) by cczrelay02.in2p3.fr (8.14.4/8.14.4) with ESMTP id 42F9LRk9031226 (version=TLSv1/SSLv3 cipher=AES128-GCM-SHA256 bits=128 verify=NO) for ; Fri, 15 Mar 2024 10:21:28 +0100 Message-ID: <8fd0feda-7b79-40e2-8efd-39397e73ed38@iphc.cnrs.fr> Date: Fri, 15 Mar 2024 10:21:27 +0100 MIME-Version: 1.0 User-Agent: Mozilla Thunderbird Subject: Re: Problem with guix copy Content-Language: en-US From: Emmanuel Medernach To: guix-science@gnu.org References: In-Reply-To: Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 8bit Received-SPF: pass client-ip=134.158.66.156; envelope-from=Emmanuel.Medernach@iphc.cnrs.fr; helo=cczrelay02.in2p3.fr X-Spam_score_int: -18 X-Spam_score: -1.9 X-Spam_bar: - X-Spam_report: (-1.9 / 5.0 requ) BAYES_00=-1.9, SPF_HELO_NONE=0.001, SPF_PASS=-0.001, T_SCC_BODY_TEXT_LINE=-0.01 autolearn=ham autolearn_force=no X-Spam_action: no action X-Mailman-Approved-At: Fri, 15 Mar 2024 08:25:01 -0400 X-BeenThere: guix-science@gnu.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: guix-science-bounces+larch=yhetil.org@gnu.org Sender: guix-science-bounces+larch=yhetil.org@gnu.org X-Migadu-Flow: FLOW_IN X-Migadu-Country: US X-Migadu-Scanner: mx10.migadu.com X-Migadu-Spam-Score: -1.29 X-Spam-Score: -1.29 X-Migadu-Queue-Id: CB8C568F0F X-TUID: bf0qDCHsd9tn Le 15/03/2024 à 10:14, Emmanuel Medernach a écrit : > Hello, > > I have problems with guix copy: I have 2 machines Machine_A and > Machine_B. They both have the same channels.  Machine_B is slow (I > don't want to recompile there, I would like to reuse the same packages > from Machine_A).  Machine_A and Machine_B have limited connectivity, > Machine_A has only ssh access (I cannot use it as a substitute with > guix publish) and Machine_B has nothing. > > I installed bazel on Machine_A: > > If that could help, here is a minimal manifest and command I use to install it in an extra profile: (specifications->manifest  '("glibc-locales"    "bazel"    )) # guix package --manifest="$HOME"/manifests/bazel.scm --profile="$GUIX_EXTRA_PROFILES"/bazel/profile > Machine_A # guix build bazel > /gnu/store/5i872l0ijm7vd9vk2knn67ai3daa6q68-bazel-6.4.0 > Machine_A # readlink -f $GUIX_EXTRA_PROFILES/bazel/profile/bin/bazel > /gnu/store/5i872l0ijm7vd9vk2knn67ai3daa6q68-bazel-6.4.0/bin/bazel > > I tried guix copy, but I have 2 problems: > > First, Machine_B asks for a different hash that the one I have on > Machine_A (even if both have the same channels): > > Machine_B # guix copy --from=Machine_A --dry-run bazel > guix copy: error: no such item on remote host 'Machine_A': > /gnu/store/6n69a11yjydwhb7p8kb6qg20nj5cxrg1-bazel-6.4.0 > > Second, when I try to copy the package with the hash from Machine_A I > get an error: > > Machine_B # guix copy --from=Machine_A --dry-run > /gnu/store/5i872l0ijm7vd9vk2knn67ai3daa6q68-bazel-6.4.0 > retrieving 1 store item from 'Machine_A'... > guix copy: error: implementation cannot deal with > 32-bit integers > > How to use guix copy to transfer the same packages from one machine to > another ? > > Here are my current channels: > > (list (channel >         (name 'guix-science) >         (url "https://github.com/guix-science/guix-science.git") >         (branch "master") >         (commit >          "61836bfd9c3a01b696142aabb625b0851d6fd536") >         (introduction >          (make-channel-introduction >           "b1fe5aaff3ab48e798a4cce02f0212bc91f423dc" >           (openpgp-fingerprint >            "CA4F 8CF4 37D7 478F DA05  5FD4 4213 7701 1A37 8446")))) >        (channel >         (name 'guix) >         (url "https://git.savannah.gnu.org/git/guix.git") >         (branch "master") >         (commit >          "7319b4d5286d31a9c6a889e81af72308efdaab41") >         (introduction >          (make-channel-introduction >           "9edb3f66fd807b096b48283debdcddccfea34bad" >           (openpgp-fingerprint >            "BBB0 2DDF 2CEA F6A8 0D1D  E643 A2A0 6DF2 A33A 54FA"))))) > > Thanks for your help > > Best regards, > > Emmanuel Medernach >