From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp2 ([2001:41d0:2:4a6f::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by ms11 with LMTPS id GFEYC0FvX1/KYgAA0tVLHw (envelope-from ) for ; Mon, 14 Sep 2020 13:25:21 +0000 Received: from aspmx1.migadu.com ([2001:41d0:2:4a6f::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp2 with LMTPS id yBN5BUFvX1/2IgAAB5/wlQ (envelope-from ) for ; Mon, 14 Sep 2020 13:25:21 +0000 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 A302094050F for ; Mon, 14 Sep 2020 13:25:20 +0000 (UTC) Received: from localhost ([::1]:55148 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1kHoTv-0000cb-ID for larch@yhetil.org; Mon, 14 Sep 2020 09:25:19 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]:54290) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1kHoTX-0000Xq-II for help-guix@gnu.org; Mon, 14 Sep 2020 09:24:55 -0400 Received: from flashner.co.il ([178.62.234.194]:44750) by eggs.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1kHoTV-0008R7-Sw; Mon, 14 Sep 2020 09:24:55 -0400 Received: from localhost (unknown [31.210.181.177]) by flashner.co.il (Postfix) with ESMTPSA id 421A7401B2; Mon, 14 Sep 2020 13:24:52 +0000 (UTC) Date: Mon, 14 Sep 2020 16:24:19 +0300 From: Efraim Flashner To: Andreas Enge Subject: Re: guix system disk-image failure aarch64 -> armhf Message-ID: <20200914132419.GA17272@E5400> References: <20200909080445.GA15009@jurong> <87ft7r8gcp.fsf@gnu.org> <20200914093242.GA2756@jurong> MIME-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha512; protocol="application/pgp-signature"; boundary="LQksG6bCIzRHxTLp" Content-Disposition: inline In-Reply-To: <20200914093242.GA2756@jurong> 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=178.62.234.194; envelope-from=efraim@flashner.co.il; helo=flashner.co.il X-detected-operating-system: by eggs.gnu.org: First seen = 2020/09/14 08:31:21 X-ACL-Warn: Detected OS = ??? 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_PASS=-0.001, SPF_PASS=-0.001 autolearn=ham autolearn_force=no X-Spam_action: no action X-BeenThere: help-guix@gnu.org X-Mailman-Version: 2.1.23 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Cc: Mathieu Othacehe , help-guix@gnu.org Errors-To: help-guix-bounces+larch=yhetil.org@gnu.org Sender: "Help-Guix" X-Scanner: scn0 Authentication-Results: aspmx1.migadu.com; dkim=none; dmarc=none; spf=pass (aspmx1.migadu.com: domain of help-guix-bounces@gnu.org designates 209.51.188.17 as permitted sender) smtp.mailfrom=help-guix-bounces@gnu.org X-Spam-Score: -2.61 X-TUID: WhWdZNdseohV --LQksG6bCIzRHxTLp Content-Type: text/plain; charset=utf-8 Content-Disposition: inline Content-Transfer-Encoding: quoted-printable On Mon, Sep 14, 2020 at 11:32:42AM +0200, Andreas Enge wrote: > Hello Mathieu, >=20 > thanks for your helpful reply! >=20 > On Wed, Sep 09, 2020 at 11:11:18AM +0200, Mathieu Othacehe wrote: > > That does not really explain the error though, but that's another > > issue. The pending patch here[1], will hopefully help users specify > > their target image. It means that you should be able to write: > >=20 > > --8<---------------cut here---------------start------------->8--- > > guix system disk-image -t novena config.scm > > --8<---------------cut here---------------end--------------->8--- >=20 > That looks really interesting, but I cannot meaningfully comment on the > bug report. Maybe it is time after the summer vacation season to poke > people more competent on the subject to comment :) >=20 > > Until then, running something like: > > --8<---------------cut here---------------start------------->8--- > > (run-with-store (open-connection) > > (mlet* %store-monad > > ((drv (lower-object (system-image my-image "armhf-linux"))) > > (build (built-derivations (list drv)))) > > (return #t))) > > --8<---------------cut here---------------end--------------->8--- >=20 > If by running you mean calling "guile the-above-file.scm", then I get > strange results. I just did a "guix system reconfigure"; "which guile" > returns "/run/current-system/profile/bin/guile". However then I get lots > of suspicious messages of this kind: > ;;; In procedure load-thunk-from-memory: incompatible bytecode version > ;;; WARNING: compilation of /run/current-system/profile/share/guile/site/= 3.0/guix/diagnostics.scm failed: > ;;; Unbound variable: trivial-format-string? >=20 > How can byte codes be incompatible if on one hand they are part of the > profile, on the other hand I am running guile from the same profile? >=20 > Andreas >=20 I'm not sure about the trivial-format-string? warning (we should probably investigate that). Guix is built with guile 3.0.2 and we have guile-3.0.4. There was an unfortunate soversion bump with guile-3.0.2 and we've been having the incompatible bytecode version since with guile programs. I've noticed it when launching shepherd as my user. --=20 Efraim Flashner =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 --LQksG6bCIzRHxTLp Content-Type: application/pgp-signature; name="signature.asc" -----BEGIN PGP SIGNATURE----- iQIzBAABCgAdFiEEoov0DD5VE3JmLRT3Qarn3Mo9g1EFAl9fbwMACgkQQarn3Mo9 g1EFChAAqqChgsdvkrIpwI1GTrp7LOp0o4bl+c8gaxW8lYl6lm2kY+0LVXb4SAu9 +7SKRiLjDFeNUA0t6pVFjV0Df9sS4R9kF/GkWWzmUkV47nVC7XbO9BQUX+C3sieE 7f+KfSp4Alc41bKCc2oj8Cn6qf+7aC0fw5bRPulQMa3/d0kMfbqcgpAlIMjUysxV XGOVg4NvwTet7BY5T89kSgxcECLM6nukEhTHG/X3o572lAK5aqzErKdyS04tQaaV eD6WaXdBEmacWj7uyw4gh2X2Oc2w1KrAATm47Budkp+U7GZTjHG9Yd/9pLkUFUnF HqmA5aP331jM9kj23EcT4rU4HtszYEt8O+ZvVIKBD9Qf5mH3jOZBO1nCI5WwRQcY Bv5t5Y3139J6cr1dx8CBNUwPq3QpVhZIn37P3ANZz9OgH12v4kSKC+5AOj113w8q oas1oaGqxmAKw+tBK4hRDEa2AU+mqzyIJWbUubKMxaNy9bSvCw6yZRvq3V3axZvj juMBXmNZcpRBlvFB9j+faAsFfkoM9ApDa0z1WTMIFaB0Vvoi8SHtJ+OQqky3qavz CUx8DPpCSKMHY8Jrb6xyYT+leuAt3tKLjwGogVgvHNntNhkZPaclZ4NA2ux1TY0q yRTcsLe8lAGBAPfXN5P8L51a5Vj5QBZE+BUmSIoHjf2dOhf+BYA= =7ssp -----END PGP SIGNATURE----- --LQksG6bCIzRHxTLp--