From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp1.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 IJKyGBhU9GUyDwEA62LTzQ:P1 (envelope-from ) for ; Fri, 15 Mar 2024 14:58:48 +0100 Received: from aspmx1.migadu.com ([2001:41d0:403:4876::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp1.migadu.com with LMTPS id IJKyGBhU9GUyDwEA62LTzQ (envelope-from ) for ; Fri, 15 Mar 2024 14:58:48 +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=1710511128; a=rsa-sha256; cv=none; b=rbms2kV1RFMHE4tq9inj2Z6QWLl0nmpALX3BMD/asDVX889Zo4eDZ0qPAg3I7vXEjGkL2h ZqiL838kOXqB0d+1mNT54XBAqquiLWqCUZYgUubUIKb05BBCRpz5NMsVi0mg/EKXs9y5jz 5BQKhBTA41zyViSz6TwX5y1skXhtnEBsWq7La0/I2j8ZKgvmAfC2YOlhr8iwk2Z0xaedJt ZWi7/WEbAvjmtMdWj2rcHgQ9QdkXNEI7I2QGcosB3meNBH6PwysgU5JNHkQXykwChvi45Q 6b8c/11CuX9t5cqAiI+jv7A3lSQYNFJInIx95ibu0oevllaq5TYszGbbv+J8uQ== 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=1710511128; 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=EU2PsgNoBo/TnvB9LnFRx9SMPjRAWDWjnOnrJpy8sdw=; b=SCUKWxkIm0O27NRRhvHMcBy7VQblY3X+sGWrz7xxYVAzo4DUFAt6hzq06W5a6Oo3XCFBO6 8J8METo1MYKr5yJYTNWb5m2K0CPQuz7SuVTNuVASPuAOThfQJMAEvdSkIX8euEuqslzLL6 Rg99c0rksXt7ZGy2Sh4BlUvcridkK8U6HBX5DB+15Ngg83ncVQWc/roxW0xCXmU2/je3bH DntxD0wLj+Pc2QZZcV5XFUXpMhHCY3UqW6g0fYNBJCVjAr8J9eWA3p8Z5j8eAct/jsfKW3 YD/5ZbPYvxc1/KSQ37CP67ghqVr/twtRtU8Ay3IPZgts8MUZw1mg7sjVA1FfdQ== 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 33BDD6F75C for ; Fri, 15 Mar 2024 14:58:48 +0100 (CET) Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1rl84u-0005cC-3P; Fri, 15 Mar 2024 09:58:32 -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 1rl84r-0005bA-FW for guix-science@gnu.org; Fri, 15 Mar 2024 09:58:29 -0400 Received: from cczrelay05.in2p3.fr ([134.158.66.155] helo=cczrelay01.in2p3.fr) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1rl84o-0001sT-Rm for guix-science@gnu.org; Fri, 15 Mar 2024 09:58:29 -0400 Received: from [193.48.89.201] (sbgat392.in2p3.fr [193.48.89.201]) (authenticated bits=0) by cczrelay01.in2p3.fr (8.14.4/8.14.4) with ESMTP id 42FDwNJn007245 (version=TLSv1/SSLv3 cipher=AES128-GCM-SHA256 bits=128 verify=NO) for ; Fri, 15 Mar 2024 14:58:23 +0100 Message-ID: Date: Fri, 15 Mar 2024 14:58:23 +0100 MIME-Version: 1.0 User-Agent: Mozilla Thunderbird Subject: Re: Problem with guix copy To: guix-science@gnu.org References: <8fd0feda-7b79-40e2-8efd-39397e73ed38@iphc.cnrs.fr> Content-Language: en-US From: Emmanuel Medernach In-Reply-To: <8fd0feda-7b79-40e2-8efd-39397e73ed38@iphc.cnrs.fr> Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 8bit Received-SPF: pass client-ip=134.158.66.155; envelope-from=Emmanuel.Medernach@iphc.cnrs.fr; helo=cczrelay01.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-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: 33BDD6F75C X-TUID: sAqrDWzEVKvq Le 15/03/2024 à 10:21, Emmanuel Medernach a écrit : > > 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): >> I tried a guix pull as a user and as root on both machines. Now on both machines guix and guix-daemon used are the same, here are both paths: /gnu/store/m79ld7h62wjbx6kc2jip73lmh8lfc8qs-guix-command /gnu/store/z642sncd5jgj4bc3p18rdqwdkq30p833-guix-daemon When I try a guix copy the requested hash is still different from the one on Machine_A (and it wishes to recompile it): Machine_B # guix copy --dry-run --from=Machine_A bazel The following derivations would be built:   /gnu/store/0lscmi07b2y0aw6hscbgm2h7nqwc6sb1-bazel-6.4.0.drv /gnu/store/gssvcsrhq6j2pifavjzw00h8wqlx05km-java-commons-compress-1.21.drv   /gnu/store/l8z82vbw16nq70w3fnjj4jkwk389lkbh-java-xz-1.9.drv /gnu/store/h03jjkqcps6xw0x4hgxph4rwynzg7n07-bazel-6.4.0-dist.tar.xz.drv /gnu/store/var9aniprgbyg2w0i1fhgzsmjbqdv5cp-bazel-6.4.0-dist.zip.drv /gnu/store/ggg0r1jxp8vvk3sfva6kgc0vsrrlzzb1-zipbomb-bazel-6.4.0-dist.zip.drv 681.5 MB would be downloaded:   /gnu/store/anzqriqq31ai85ifmn2iiisqyqrs2388-openjdk-11.0.22-jdk   /gnu/store/qjnlrsvp0j04hhbxh8a4xi7d76bg1s47-openjdk-9.181-jdk   /gnu/store/ng26zmv0w15cq6zg8v13604labaxllz2-gtk+-2.24.33   /gnu/store/gab2vx6lrncbpb8w351rwhjwfd30496w-icedtea-3.19.0-jdk   /gnu/store/wjg1al20skmbczzmli1q8zg6ayq0dhnn-grpc-1.34.0 What am I missing ? Thanks for your help Best regards, Emmanuel Medernach >> 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 >> >