X-Loop: help-debbugs@HIDDEN Subject: bug#74762: guix copy on cross-built guix not working on powerpc-linux Resent-From: Efraim Flashner <efraim@HIDDEN> Original-Sender: "Debbugs-submit" <debbugs-submit-bounces <at> debbugs.gnu.org> Resent-CC: bug-guix@HIDDEN Resent-Date: Tue, 10 Dec 2024 09:34:02 +0000 Resent-Message-ID: <handler.74762.B.173382323122519 <at> debbugs.gnu.org> Resent-Sender: help-debbugs@HIDDEN X-GNU-PR-Message: report 74762 X-GNU-PR-Package: guix X-GNU-PR-Keywords: To: 74762 <at> debbugs.gnu.org X-Debbugs-Original-To: bug-guix@HIDDEN Received: via spool by submit <at> debbugs.gnu.org id=B.173382323122519 (code B ref -1); Tue, 10 Dec 2024 09:34:02 +0000 Received: (at submit) by debbugs.gnu.org; 10 Dec 2024 09:33:51 +0000 Received: from localhost ([127.0.0.1]:56969 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from <debbugs-submit-bounces <at> debbugs.gnu.org>) id 1tKwco-0005r8-IF for submit <at> debbugs.gnu.org; Tue, 10 Dec 2024 04:33:51 -0500 Received: from lists.gnu.org ([209.51.188.17]:37122) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from <efraim.flashner@HIDDEN>) id 1tKwcl-0005qx-K9 for submit <at> debbugs.gnu.org; Tue, 10 Dec 2024 04:33:49 -0500 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 <efraim.flashner@HIDDEN>) id 1tKwck-00061v-Ml for bug-guix@HIDDEN; Tue, 10 Dec 2024 04:33:46 -0500 Received: from mail-wr1-x431.google.com ([2a00:1450:4864:20::431]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from <efraim.flashner@HIDDEN>) id 1tKwci-0008K9-OX for bug-guix@HIDDEN; Tue, 10 Dec 2024 04:33:46 -0500 Received: by mail-wr1-x431.google.com with SMTP id ffacd0b85a97d-3862a921123so2875737f8f.3 for <bug-guix@HIDDEN>; Tue, 10 Dec 2024 01:33:44 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20230601; t=1733823223; x=1734428023; darn=gnu.org; h=content-disposition:mime-version:mail-followup-to:message-id :subject:to:from:date:sender:from:to:cc:subject:date:message-id :reply-to; bh=k3xNxn/KbTaJxpEY566+VaU76SrvyiCatiirnvq2LYY=; b=L4Mct+rwU6+PKIvVyUSDO7YvQU/NwZDlxlHE/9tLrDhAnKJjWsJtwtWph2peOjEEJh eWvskuU0BFb4ZFP96nlx3p/9XBvtzp022HAO2AN2RkMqsCwogN3m1hr6MMOYH0vgqALn 0PjE4gzQoQ9SgUnGVbtSDoQw4bCedd4AcRUDuJxmi8zxWy2G9mvg5BB080YuNpm/ChFb Y3cE5Ux6N9ooQMfEBQM7zuyPtUkRAgY8oH1z91wkEnp3pE8HlegVesLuEM/05YR69z44 PhPCJzt7sDdgoXTm27zBxGtm77DoHd5NMcqJzJLaeKYRU9LDgi7ZyMYfUXr7qK/nLX/7 NCEg== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1733823223; x=1734428023; h=content-disposition:mime-version:mail-followup-to:message-id :subject:to:from:date:sender:x-gm-message-state:from:to:cc:subject :date:message-id:reply-to; bh=k3xNxn/KbTaJxpEY566+VaU76SrvyiCatiirnvq2LYY=; b=s94+NDz8edDF1LI09y/cFBwKj+lIshX8lcJ2WvUrAdoj0tNut6IK9Vc3IstVB7Nlol 186I6Ic26jk2FJmsa6NvK+u4McVyGuKAkdMoL1iRm7SqMk2Pgjm1FVaybKgyk7IjffdB nwpR7oKDYfUxaSRFiy+omO5tuCUv4qL/cyie0/ER40rMPTalkYN74P+hrJliOSar+gze IvXL9ZxOxx7gE4ybDWsxLpEdhZ1RqrREXG8IZ//Mh4eCoafykEuf/vpdw9rfu580TlJD LGCD3VVIj5LrlqwxHpXb8nzk3Adnb/YIzzXsVi3Hx3rnaxQHrOuYQaf9wVdAMnDmN3NK pa+w== X-Gm-Message-State: AOJu0Yx2h8cDj3r8RtnI9UWLeXh6hd/NpKrk9rcKhNBjYTZPM3f0C6Ph pquAc+4Tcq4VhHjHPIkEC+aPaJvStz46zrXzMcsOpEdQ8P5cqwDuXuk4F5gv X-Gm-Gg: ASbGncvT17niGElz0lAI1gxljYmUcnvthIWN8M5yhH/pU6/vtUySwTRgQAbaXbpRAoz 03zvtVwI9Imon8jw4YfpZPtsYVqD/5jIcrBSs51tgmPZSIfVR81ZTXTEBD3FS+Vk3u7Y19E+7JP kFQ2U/tIFXY/a3voFPpWV3Hp4sr/VyLl8o/1JaoIs+cdSgQue2eBy/XdpLk0fE28QWJcOfEUPPN 17LML1H6HZJr2kbYrqeIetocrbPzSWYOjHXIkWRRZuBdcSpCXF+6w== X-Google-Smtp-Source: AGHT+IHE7Ork44CSqWTJqsIpeHIScBDnvdoTsBRDV7M1GxhkgXEXpifg8VN9DPiFbPTD/DiafBZz5A== X-Received: by 2002:a05:6000:4026:b0:385:f677:85a9 with SMTP id ffacd0b85a97d-3862b3d0a60mr11495510f8f.44.1733823222848; Tue, 10 Dec 2024 01:33:42 -0800 (PST) Received: from localhost ([31.210.180.118]) by smtp.gmail.com with ESMTPSA id 5b1f17b1804b1-4361968eed5sm1722065e9.42.2024.12.10.01.33.41 for <bug-guix@HIDDEN> (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Tue, 10 Dec 2024 01:33:42 -0800 (PST) Date: Tue, 10 Dec 2024 11:33:40 +0200 From: Efraim Flashner <efraim@HIDDEN> Message-ID: <Z1gK9GJigfNT9moe@3900XT> Mail-Followup-To: Efraim Flashner <efraim@HIDDEN>, bug-guix@HIDDEN MIME-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha256; protocol="application/pgp-signature"; boundary="17ZJrC/E5nmr9cFB" Content-Disposition: inline X-PGP-Key-ID: 0x41AAE7DCCA3D8351 X-PGP-Key: https://flashner.co.il/~efraim/efraim_flashner.asc X-PGP-Fingerprint: A28B F40C 3E55 1372 662D 14F7 41AA E7DC CA3D 8351 Received-SPF: pass client-ip=2a00:1450:4864:20::431; envelope-from=efraim.flashner@HIDDEN; helo=mail-wr1-x431.google.com X-Spam_score_int: -16 X-Spam_score: -1.7 X-Spam_bar: - X-Spam_report: (-1.7 / 5.0 requ) BAYES_00=-1.9, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_EF=-0.1, FREEMAIL_FORGED_FROMDOMAIN=0.001, FREEMAIL_FROM=0.001, HEADER_FROM_DIFFERENT_DOMAINS=0.249, RCVD_IN_DNSWL_NONE=-0.0001, SPF_HELO_NONE=0.001, SPF_PASS=-0.001 autolearn=no autolearn_force=no X-Spam_action: no action X-Spam-Score: -1.1 (-) X-BeenThere: debbugs-submit <at> debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: <debbugs-submit.debbugs.gnu.org> List-Unsubscribe: <https://debbugs.gnu.org/cgi-bin/mailman/options/debbugs-submit>, <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=unsubscribe> List-Archive: <https://debbugs.gnu.org/cgi-bin/mailman/private/debbugs-submit/> List-Post: <mailto:debbugs-submit <at> debbugs.gnu.org> List-Help: <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=help> List-Subscribe: <https://debbugs.gnu.org/cgi-bin/mailman/listinfo/debbugs-submit>, <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=subscribe> Errors-To: debbugs-submit-bounces <at> debbugs.gnu.org Sender: "Debbugs-submit" <debbugs-submit-bounces <at> debbugs.gnu.org> X-Spam-Score: -2.1 (--) --17ZJrC/E5nmr9cFB Content-Type: text/plain; charset=utf-8 Content-Disposition: inline Content-Transfer-Encoding: quoted-printable I cross compiled guix from x86_64-linux to powerpc-linux and then copied it over to my powerpc machine. I can use it to instantiate builds but I can't copy derivations across the network to my x86_64 box. process 4199 acquired build slot '/var/guix/offload/g4.local:22/0' normalized load on machine 'g4.local' is 0.90 building /gnu/store/vr7f10sygxs83dvp2xsfy6h6hcsy38dn-python-boot0-3.5.9.drv= =2E.. waiting for locks or build slots... guix offload: sending 0 store items (0 MiB) to 'g4.local'... offloading '/gnu/store/vr7f10sygxs83dvp2xsfy6h6hcsy38dn-python-boot0-3.5.9.= drv' to 'g4.local'... offloading build of /gnu/store/vr7f10sygxs83dvp2xsfy6h6hcsy38dn-python-boot= 0-3.5.9.drv to 'g4.local' retrieving 1 store item from 'g4.local'... importing file or directory '/gnu/store/cbdccw5b3dab8r0634vr011miin58jx3-py= thon-boot0-3.5.9'... guix offload: error: corrupt input while restoring archive from #<input: st= ring 7f0364d43150> cannot build derivation `/gnu/store/bg8gd8ap9p8f8yvwjz7gm6p3rqnici6h-glibc-= 2.39.drv': 1 dependencies couldn't be built cannot build derivation `/gnu/store/gcsya7jl7g6a8zavb92nhc6fqkclsmj2-glibc-= intermediate-2.39.drv': 1 dependencies couldn't be built cannot build derivation `/gnu/store/k8vcffd0z45n3rh8b845xj7pv21hsvy3-hello-= 2.12.1.drv': 1 dependencies couldn't be built guix build: error: build of `/gnu/store/k8vcffd0z45n3rh8b845xj7pv21hsvy3-he= llo-2.12.1.drv' failed real 0m50.650s user 0m1.367s sys 0m0.106s (ins)efraim@3900XT ~/workspace/guix$ guix copy --from=3Dg4.local /gnu/store= /cbdccw5b3dab8r0634vr011miin58jx3-python-boot0-3.5.9 retrieving 1 store item from 'g4.local'... guix copy: error: implementation cannot deal with > 32-bit integers switching back to the guix daemon from my checkout on the powerpc: (ins)efraim@3900XT ~/workspace/guix$ guix copy --from=3Dg4.local /gnu/store= /cbdccw5b3dab8r0634vr011miin58jx3-python-boot0-3.5.9 retrieving 1 store item from 'g4.local'... /gnu/store/2zcghnqqx7pvzvnkxp5jq3l8mx04bkwr-bootstrap-binaries-0 /gnu/store/mwnpb8xmzx8s2z4xj07nvxcnx9g2vn47-glibc-bootstrap-0 /gnu/store/cbdccw5b3dab8r0634vr011miin58jx3-python-boot0-3.5.9 (ins)efraim@3900XT ~/workspace/guix$ guix gc -D /gnu/store/cbdccw5b3dab8r06= 34vr011miin58jx3-python-boot0-3.5.9 finding garbage collector roots... removing stale link from `/var/guix/gcroots/auto/241cz9zn5c07pgw5yjk553hyx4= 1zil9y' to `/var/guix/profiles/per-user/efraim/current-guix-189-link' [0 MiB] deleting '/gnu/store/cbdccw5b3dab8r0634vr011miin58jx3-python-boot0-= 3.5.9' deleting `/gnu/store/trash' deleting unused links... note: currently hard linking saves 552875.87 MiB switching back to the cross compiled package: (ins)efraim@3900XT ~/workspace/guix$ guix copy -v5 --from=3Dg4.local /gnu/s= tore/cbdccw5b3dab8r0634vr011miin58jx3-python-boot0-3.5.9 retrieving 1 store item from 'g4.local'... guix copy: error: implementation cannot deal with > 32-bit integers (ins)efraim@3900XT ~/workspace/guix$ ssh g4.local guix archive --export /gn= u/store/cbdccw5b3dab8r0634vr011miin58jx3-python-boot0-3.5.9 | guix archive = --import guix archive: error: unexpected EOF reading an integer Backtrace: 13 (primitive-load "/home/efraim/.config/guix/current/bin/=E2=80= =A6") In guix/ui.scm: 2330:7 12 (run-guix . _) 2293:10 11 (run-guix-command _ . _) In ice-9/boot-9.scm: 1752:10 10 (with-exception-handler _ _ #:unwind? _ # _) In guix/status.scm: 859:3 9 (_) 839:4 8 (call-with-status-report _ _) In ice-9/boot-9.scm: 1752:10 7 (with-exception-handler _ _ #:unwind? _ # _) In guix/store.scm: 689:37 6 (thunk) 1330:8 5 (call-with-build-handler #<procedure 7fb10da80390 at g=E2=80= =A6> =E2=80=A6) 1751:22 4 (import-paths #<store-connection 256.100 7fb117245820> #) 764:14 3 (process-stderr _ _) In guix/serialization.scm: 122:12 2 (write-bytevector #vu8(0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 =E2=80=A6= ) =E2=80=A6) In ice-9/boot-9.scm: 1685:16 1 (raise-exception _ #:continuable? _) 1685:16 0 (raise-exception _ #:continuable? _) ice-9/boot-9.scm:1685:16: In procedure raise-exception: In procedure modulo: Wrong type argument in position 1: #<eof> My first thought is an issue in our libssh, since we already have problems cross-compiling that to 32-bit architectures. The EOF in the integer sounds like it could be an endian issue, but I'm not sure why that wouldn't have come up previously. --=20 Efraim Flashner <efraim@HIDDEN> =D7=90=D7=A4=D7=A8=D7=99=D7=9D = =D7=A4=D7=9C=D7=A9=D7=A0=D7=A8 GPG key =3D A28B F40C 3E55 1372 662D 14F7 41AA E7DC CA3D 8351 Confidentiality cannot be guaranteed on emails sent or received unencrypted --17ZJrC/E5nmr9cFB Content-Type: application/pgp-signature; name="signature.asc" -----BEGIN PGP SIGNATURE----- iQIzBAABCAAdFiEEoov0DD5VE3JmLRT3Qarn3Mo9g1EFAmdYCvAACgkQQarn3Mo9 g1FEMhAAi6VEmFK104vhF/wE3xE2RQ+rkgrVOZBwlydvMn1NbvmP9Nj0RUbkJsgJ gX3ySQ9OVkF77hDNGt7T6RLQx7Q5WOFtgEIyGYOSLOlhG9OWL8xrXr69rZhLfG4F AcRptgf2W4LlDBSYQXg8LoR5TSMqv2z7nXC3te9b1OEvwbdCUqdp8AEpOV5cck+X jF5q2+5QlRzji4c/WGnk0itxBDhRVxwYfAB0FXCKuRVO9KxhU4uJ8N/MXdiLObzc o9fELPTOBa1sPzazvQ0I5nvVETEDngNJZfVi5osxHvY8Z80LaWWqaDpNKlTmM7L1 6a0eipM+43KL6fw8SwPraqVqX4cb563zXPahrQflsMBnnp9J8sRQQ55TNjkpj4nm jUghya6Fz3zFV/B45D26eUOMCS4H8Kx+U+too/4Ov/IQPOzYVK8cqUPIHrYNZ3mo mO7f/a2n+VVmdTmaa5qX5pegEox3muOLKBsWvvi1P+nqa3zzY+zlAkPecS6E5KMr TqF35wHgAezIv3EFK+/ZZf4B0Wai/zparz88BPIQ4h+IS4R5lpgpaSr+rd0mGYdB F4xQL+HmnV2W8d/iOZv0T0W8dUIwPiyGzCl5vNoQsw82j+NNxWOBeRI3D80+BrBv QWmkPZrBteksieT/YX0S8ohEdn42ah764u2SxjlaLJ335lMwytU= =KJGZ -----END PGP SIGNATURE----- --17ZJrC/E5nmr9cFB--
Content-Disposition: inline Content-Transfer-Encoding: quoted-printable MIME-Version: 1.0 X-Mailer: MIME-tools 5.505 (Entity 5.505) Content-Type: text/plain; charset=utf-8 X-Loop: help-debbugs@HIDDEN From: help-debbugs@HIDDEN (GNU bug Tracking System) To: Efraim Flashner <efraim@HIDDEN> Subject: bug#74762: Acknowledgement (guix copy on cross-built guix not working on powerpc-linux) Message-ID: <handler.74762.B.173382323122519.ack <at> debbugs.gnu.org> References: <Z1gK9GJigfNT9moe@3900XT> X-Gnu-PR-Message: ack 74762 X-Gnu-PR-Package: guix Reply-To: 74762 <at> debbugs.gnu.org Date: Tue, 10 Dec 2024 09:34:03 +0000 Thank you for filing a new bug report with debbugs.gnu.org. This is an automatically generated reply to let you know your message has been received. Your message is being forwarded to the package maintainers and other interested parties for their attention; they will reply in due course. Your message has been sent to the package maintainer(s): bug-guix@HIDDEN If you wish to submit further information on this problem, please send it to 74762 <at> debbugs.gnu.org. Please do not send mail to help-debbugs@HIDDEN unless you wish to report a problem with the Bug-tracking system. --=20 74762: https://debbugs.gnu.org/cgi/bugreport.cgi?bug=3D74762 GNU Bug Tracking System Contact help-debbugs@HIDDEN with problems
GNU bug tracking system
Copyright (C) 1999 Darren O. Benham,
1997 nCipher Corporation Ltd,
1994-97 Ian Jackson.