From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp0.migadu.com ([2001:41d0:303:e224::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by ms8.migadu.com with LMTPS id QDgIOSk+9GXGCAEAqHPOHw:P1 (envelope-from ) for ; Fri, 15 Mar 2024 13:25:14 +0100 Received: from aspmx1.migadu.com ([2001:41d0:303:e224::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp0.migadu.com with LMTPS id QDgIOSk+9GXGCAEAqHPOHw (envelope-from ) for ; Fri, 15 Mar 2024 13:25:14 +0100 X-Envelope-To: larch@yhetil.org Authentication-Results: aspmx1.migadu.com; dkim=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"; dmarc=fail reason="SPF not aligned (relaxed), No valid DKIM" header.from=cnrs.fr (policy=none) ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=yhetil.org; s=key1; t=1710505513; 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:list-id:list-help: list-unsubscribe:list-subscribe:list-post; bh=gBTtm7qopglolnskQAyN9WXkhTCJbiRpuNMoWzB0vWo=; b=jDkEaEhfndnak8ateaVnNuS3wW9HKFnDzv1b0cFlme1JpQtjk+w3VroK/vc/FSgEqhNu53 Oh6IDd5UOmPn7Zn/hLRp6Rvn+aR4Uns0s4JxDMKb+pTzXU5Yc80HzJNDaK1D00DDMUiUn3 CY7yEN4Mm2okofzs7gVauY8fLEnZuAITtGCBAcTdafU+Ya/krsocN7vSv1fK0xm3HUlfqP BP5kC9h+f9mxlAKU/tKQZ6n+0aJfocZvucYXIAwH1mrqmX/XRLZ3PhOYhF39h3MvpE5VJf gdpQUsexWz8JGI0h4FqpJt8X/MXcdXvfpqCfR9mZt6Ny6YpSIgC+ygsy/x0gNQ== ARC-Authentication-Results: i=1; aspmx1.migadu.com; dkim=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"; dmarc=fail reason="SPF not aligned (relaxed), No valid DKIM" header.from=cnrs.fr (policy=none) ARC-Seal: i=1; s=key1; d=yhetil.org; t=1710505513; a=rsa-sha256; cv=none; b=VUVdQNa2lAOe3iW2FaOIpJQeZDB7E/m2tn+yQlHdwCCjld9FC4+EE7BJYGe6BFYBr9YvcX 8i7c2OeNCVJRMYCEqDSqIuVNohffX8nPDrCujFGRdNnZeRp2dsz66Pz/creoK3rQZy+7fg se6C3BPk9hqKWW5PdkE5nHQpAXJGaD+XYnrmmDplk83Aomkq8dY3Ut4Ac0UBLTQMGB/acW klPG4+mzAY6BcBR1vJQk7njlW90PKB+vI1BfGAC6mEwtDZAzVgP2SAnn3T5zJWQF/fB8KL QD2CSsB64VvWx39YrUi844D8OXQtxKjBwJFJ4OjuhIvHkMlGpJ55y1wzj5jFwQ== 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 B711836213 for ; Fri, 15 Mar 2024 13:25:13 +0100 (CET) Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1rl6cS-0007z3-5h; Fri, 15 Mar 2024 08:25:04 -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 1rl3f1-00028m-H8 for guix-science@gnu.org; Fri, 15 Mar 2024 05:15:31 -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 1rl3ey-00088L-86 for guix-science@gnu.org; Fri, 15 Mar 2024 05:15:30 -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 42F9EKVI026331 (version=TLSv1/SSLv3 cipher=AES128-GCM-SHA256 bits=128 verify=NO) for ; Fri, 15 Mar 2024 10:14:21 +0100 Message-ID: Date: Fri, 15 Mar 2024 10:14:20 +0100 MIME-Version: 1.0 User-Agent: Mozilla Thunderbird Content-Language: en-US From: Emmanuel Medernach Subject: Problem with guix copy To: guix-science@gnu.org 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-Country: US X-Migadu-Flow: FLOW_IN X-Migadu-Scanner: mx12.migadu.com X-Migadu-Spam-Score: -1.29 X-Spam-Score: -1.29 X-Migadu-Queue-Id: B711836213 X-TUID: uPm21BCzCeSv 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: Machine_A # guix install bazel 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