From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp1 ([2001:41d0:2:4a6f::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by ms11 with LMTPS id gOYNDuo4X1+1eAAA0tVLHw (envelope-from ) for ; Mon, 14 Sep 2020 09:33:30 +0000 Received: from aspmx1.migadu.com ([2001:41d0:2:4a6f::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp1 with LMTPS id KMlbCOo4X19QUQAAbx9fmQ (envelope-from ) for ; Mon, 14 Sep 2020 09:33:30 +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 D1D9E9403EE for ; Mon, 14 Sep 2020 09:33:29 +0000 (UTC) Received: from localhost ([::1]:57628 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1kHkrW-0001mb-S6 for larch@yhetil.org; Mon, 14 Sep 2020 05:33:26 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]:51398) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1kHkrN-0001l2-T9 for help-guix@gnu.org; Mon, 14 Sep 2020 05:33:17 -0400 Received: from hera.aquilenet.fr ([2a0c:e300::1]:40930) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1kHkrL-0002Px-Ub; Mon, 14 Sep 2020 05:33:17 -0400 Received: from localhost (localhost [127.0.0.1]) by hera.aquilenet.fr (Postfix) with ESMTP id 71C182AFF; Mon, 14 Sep 2020 11:33:11 +0200 (CEST) X-Virus-Scanned: Debian amavisd-new at aquilenet.fr Received: from hera.aquilenet.fr ([127.0.0.1]) by localhost (hera.aquilenet.fr [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id u_ywWaq51zxb; Mon, 14 Sep 2020 11:33:10 +0200 (CEST) Received: from jurong (unknown [IPv6:2001:910:103f::c4d]) by hera.aquilenet.fr (Postfix) with ESMTPSA id 380582AF1; Mon, 14 Sep 2020 11:33:10 +0200 (CEST) Date: Mon, 14 Sep 2020 11:32:42 +0200 From: Andreas Enge To: Mathieu Othacehe Subject: Re: guix system disk-image failure aarch64 -> armhf Message-ID: <20200914093242.GA2756@jurong> References: <20200909080445.GA15009@jurong> <87ft7r8gcp.fsf@gnu.org> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <87ft7r8gcp.fsf@gnu.org> Received-SPF: neutral client-ip=2a0c:e300::1; envelope-from=andreas@enge.fr; helo=hera.aquilenet.fr X-detected-operating-system: by eggs.gnu.org: No matching host in p0f cache. That's all we know. X-Spam_score_int: -10 X-Spam_score: -1.1 X-Spam_bar: - X-Spam_report: (-1.1 / 5.0 requ) BAYES_00=-1.9, SPF_HELO_PASS=-0.001, SPF_NEUTRAL=0.779 autolearn=no 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: 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: -0.51 X-TUID: WCLUBASFVMVF Hello Mathieu, thanks for your helpful reply! 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: > > --8<---------------cut here---------------start------------->8--- > guix system disk-image -t novena config.scm > --8<---------------cut here---------------end--------------->8--- 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 :) > 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--- 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? 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? Andreas