From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp11.migadu.com ([2001:41d0:2:4a6f::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by ms5.migadu.com with LMTPS id 4DEGM24772MF4QAAbAwnHQ (envelope-from ) for ; Fri, 17 Feb 2023 09:31:42 +0100 Received: from aspmx1.migadu.com ([2001:41d0:2:4a6f::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp11.migadu.com with LMTPS id kOzwMm4772PZcwAA9RJhRA (envelope-from ) for ; Fri, 17 Feb 2023 09:31:42 +0100 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 59ABFA193 for ; Fri, 17 Feb 2023 09:31:42 +0100 (CET) Authentication-Results: aspmx1.migadu.com; dkim=pass header.d=gmail.com header.s=20210112 header.b=R65o89W+; spf=pass (aspmx1.migadu.com: domain of "guix-devel-bounces+larch=yhetil.org@gnu.org" designates 209.51.188.17 as permitted sender) smtp.mailfrom="guix-devel-bounces+larch=yhetil.org@gnu.org"; dmarc=pass (policy=none) header.from=gmail.com ARC-Seal: i=1; s=key1; d=yhetil.org; t=1676622702; a=rsa-sha256; cv=none; b=datDYFbUJ9t1mqLr6LD6PG/FkqTGxiSdkWuArP8JVpTTfB42Y2u+WASJtTUldmRYrv753S 8kc5RgqQe7tLpjhkM+EO85dOLUj4IdwMUgkF9EnN3v0e5kZU8XQV65fP+f36PWCgKqjOio 3yjPCgnpgJOP4ddBbAyQj7RDdVTg79u/QQjZEw6XYnMrKR0jKZBeKleBV9p0vo+SvJWsLK +4MrkcsqpBcWuLYpe8y7pqFGekvdAZmVRIlptEHrC97EVkep6AFCGke1lUUDE8OMDX1R+b M+JLSnoTZMkKjBTIYAz5blg37vGTEcUo7+EXQhO7ZXyQfzzYlsQ1I0qQG7KtAQ== ARC-Authentication-Results: i=1; aspmx1.migadu.com; dkim=pass header.d=gmail.com header.s=20210112 header.b=R65o89W+; spf=pass (aspmx1.migadu.com: domain of "guix-devel-bounces+larch=yhetil.org@gnu.org" designates 209.51.188.17 as permitted sender) smtp.mailfrom="guix-devel-bounces+larch=yhetil.org@gnu.org"; dmarc=pass (policy=none) header.from=gmail.com ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=yhetil.org; s=key1; t=1676622702; 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:dkim-signature; bh=Ec+cpumAaiukLmZy2arBV8gTlIQ/uEO9AyCyhv6a6a8=; b=JIY/QSpna6FjaPKy2eIN5mOIlDKsqy8JfKIFpoIl9w+0EeLZzSLWhtimSj0k8Pc6qk5EKM +/T76qWFq4HHfmQoWXcWbG8V4nZiaqZk33wIaNS8TS/qLWsAK/YTHclqOU9CKOf9pR+/pn vhkHie4HxlT9RCGUk1h+DahauQ9Y46/wmYpsoHLpF8Dhe5MUIER91A9AARv1yKEku4dc4g A6n15SPpy4CWlFusz1ZD8e1VH/RFfRtGMKLxENGvHJSPe1RT823Tv0m9v8y6jpKgoSmoBl QzdLE+xbjc7RZbPSPpO55/J4iq6GN/dc1PE2E1J/XZdslQLmdktMMFlCp+VcsQ== Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1pSw96-0002At-KD; Fri, 17 Feb 2023 03:31:08 -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 ) id 1pSw94-0002AZ-Dn for guix-devel@gnu.org; Fri, 17 Feb 2023 03:31:06 -0500 Received: from mail-lf1-x132.google.com ([2a00:1450:4864:20::132]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1pSw91-0006we-Rb for guix-devel@gnu.org; Fri, 17 Feb 2023 03:31:05 -0500 Received: by mail-lf1-x132.google.com with SMTP id h38so3973828lfv.7 for ; Fri, 17 Feb 2023 00:31:01 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20210112; h=content-transfer-encoding:mime-version:message-id:date :mail-followup-to:user-agent:subject:to:from:from:to:cc:subject:date :message-id:reply-to; bh=Ec+cpumAaiukLmZy2arBV8gTlIQ/uEO9AyCyhv6a6a8=; b=R65o89W+Hi0BfJzqKY+wVAT0/VITWcCEhGw+7W72eLpeKp+SrcELBLd6X+4me9Y8by 1UvGWlO7/w+HirFtyrwq4hLjlObuWzmnL8fhK22y8+Ld/tkygfaay8DZoxcDhkhkG6Iq Gbrfl5M0FazmqZZt7rDvZvVblnQ28SAAAODRIgHhIfj3zy6kB9X2OlmeqgZqzwUHFw0P H5we097J11y4WQXLPlJWmYRhidYWeyv8UTsS4OpL95+zKML0SJ7UTEHeDfQ+yH2lYOoh Nn/C0g0o9HvL7nUMP9a+EG7FUXjZdU1VAi+Cy6n7EMLoFBRFs96Tk0zq0w51ynPufaHW 4jrQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=content-transfer-encoding:mime-version:message-id:date :mail-followup-to:user-agent:subject:to:from:x-gm-message-state:from :to:cc:subject:date:message-id:reply-to; bh=Ec+cpumAaiukLmZy2arBV8gTlIQ/uEO9AyCyhv6a6a8=; b=YhxQdKjZAzBs7/aNiZkli9hcXbFxnH5arGhuDtBssNln0XMcUmzP78VboOYjpTG7Pw BOXdJLT/a4MVaOX6zkmJh2Ix88k3w51keXTL2MVq4cVdq8w4OrfcEWzG54z4xbYx3Utr u992/ygFjl17NILKFlnKcDLdtLyQAH7a2514mt4Xi+k+z5LEPNVydpvWysZiP3vEmyBy ElXk8D5seblhKpKBHWeCY25I9PJfQuhWO8U29//QcdsqXk+i5ScH6i7OUNK0BLGP3SWn Qg5C/HZUGX0QRJD1vAMRrB6EEIiyhOoE/MIgftDvlrn9ai2gM1k2f0QoLSYI8P9u3ley fWSw== X-Gm-Message-State: AO0yUKXRpRgjTkBx+tsg2f7Ue4BYOAharrWCC28AoXawaiKQk4E2wK74 KWpeiqUrm3XTB0iGixMeWMaZ8xaSaAU= X-Google-Smtp-Source: AK7set+dZWUtNQ4175WRW6/AKgkBM4U4b0+3/YraEMK3IVaiS+6Ky2bkE1rBmL5VEVMhx3dRjCIZxQ== X-Received: by 2002:a19:ac42:0:b0:4b3:f50c:69a8 with SMTP id r2-20020a19ac42000000b004b3f50c69a8mr2131440lfc.47.1676622659190; Fri, 17 Feb 2023 00:30:59 -0800 (PST) Received: from debian ([109.251.233.9]) by smtp.gmail.com with ESMTPSA id w16-20020a2e9590000000b002945e93c682sm503148ljh.99.2023.02.17.00.30.57 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Fri, 17 Feb 2023 00:30:58 -0800 (PST) From: Max Brieiev To: guix-devel@gnu.org Subject: Building arm64 guix system image User-Agent: Gnus/5.13 (Gnus v5.13) Mail-Followup-To: guix-devel@gnu.org Date: Fri, 17 Feb 2023 10:29:35 +0200 Message-ID: <86v8k0d79s.fsf@gmail.com> MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable Received-SPF: pass client-ip=2a00:1450:4864:20::132; envelope-from=max.brieiev@gmail.com; helo=mail-lf1-x132.google.com X-Spam_score_int: -20 X-Spam_score: -2.1 X-Spam_bar: -- X-Spam_report: (-2.1 / 5.0 requ) BAYES_00=-1.9, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, DKIM_VALID_EF=-0.1, FREEMAIL_FROM=0.001, RCVD_IN_DNSWL_NONE=-0.0001, SPF_HELO_NONE=0.001, SPF_PASS=-0.001 autolearn=ham autolearn_force=no X-Spam_action: no action X-BeenThere: guix-devel@gnu.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: "Development of GNU Guix and the GNU System distribution." List-Unsubscribe: , List-Archive: List-Post: X-Migadu-Queue-Id: 59ABFA193 X-Spam-Score: -11.84 X-Migadu-Spam-Score: -11.84 X-Migadu-Scanner: scn0.migadu.com List-Help: List-Subscribe: , Errors-To: guix-devel-bounces+larch=yhetil.org@gnu.org Sender: guix-devel-bounces+larch=yhetil.org@gnu.org X-Migadu-Flow: FLOW_IN X-Migadu-Country: US X-TUID: 4z6aMC5hBGMM I want to run Guix on Apple M1 as a Qemu virtual machine. On the Mac machine I run arm64 dedian image. I installed there guix as a package manager. Now I am trying to create a guix system image to use with Qemu, but it fails. Here is what I do: max@debian:~$ guix system image --system=3Daarch64-linux -t qcow2 ~/cod= e/guix/gnu/system/examples/bare-bones.tmpl=20 guix system: warning: Consider running 'guix pull' followed by 'guix system reconfigure' to get up-to-date packages and security updat= es. =20=20=20=20 substitute: updating substitutes from 'https://ci.guix.gnu.org'... 100.= 0% substitute: updating substitutes from 'https://bordeaux.guix.gnu.org'..= . 100.0% The following derivations will be built: /gnu/store/dhknasynfsx9ffsv2m188mmhfvz4l1cl-grub-2.06.drv /gnu/store/875pz541zymv6vhl0hkfll151jv8sd2p-qemu-minimal-7.2.0.drv /gnu/store/2vbjnb0f6dzcnvvyaaqjzww0146fpwmj-openbios-qemu-ppc-1.1.drv /gnu/store/dclmdk80rbqqpix98vh6srhdbgscyiwb-qemu-7.2.0.tar.xz.drv /gnu/store/g9crxhl9j2pw35kwgx9bdcjg3jrvi77v-linux-libre-6.1.9.drv /gnu/store/blyj3j5v3p2lh6pj7mw81xjg58d1k4zb-shepherd-0.9.3.drv /gnu/store/r517qlsjsl877kpjfl9ixay9mzh0n923-grub-efi32-2.06.drv /gnu/store/pyv1w00f9c0q291qhi6y0911sqlvfcrv-grub-efi-2.06.drv /gnu/store/875pz541zymv6vhl0hkfll151jv8sd2p-qemu-minimal-7.2.0.drv /gnu/store/brzpisxg4dkvad07pd95riwn7c8559j6-genimage-15-1.ec44ae0.drv =20=20=20=20 1.0 MB will be downloaded alsa-utils-1.2.4 987KiB 4.5MiB/s 00:00 [#################= #] 100.0% building /gnu/store/g9crxhl9j2pw35kwgx9bdcjg3jrvi77v-linux-libre-6.1.9.= drv... building /gnu/store/2vbjnb0f6dzcnvvyaaqjzww0146fpwmj-openbios-qemu-ppc-= 1.1.drv... | 'build' phasebuilder for `/gnu/store/2vbjnb0f6dzcnvvyaaqjzww0146fpwmj= -openbios-qemu-ppc-1.1.drv' failed with exit code 1 build of /gnu/store/2vbjnb0f6dzcnvvyaaqjzww0146fpwmj-openbios-qemu-ppc-= 1.1.drv failed View build log at '/var/log/guix/drvs/2v/bjnb0f6dzcnvvyaaqjzww0146fpwmj= -openbios-qemu-ppc-1.1.drv.gz'. cannot build derivation `/gnu/store/875pz541zymv6vhl0hkfll151jv8sd2p-qe= mu-minimal-7.2.0.drv': 1 dependencies couldn't be built guix system: error: build of `/gnu/store/875pz541zymv6vhl0hkfll151jv8sd= 2p-qemu-minimal-7.2.0.drv' failed The relevant part of the build log shows the following errors: Building OpenBIOS for ppc Building... error: /gnu/store/gm5mbaxkqhzafwy0wnimrg53j884glxn-linux-libre-headers-5.10.35= /include/asm/sigcontext.h:128:2: error: unknown type name =E2=80=98__u32=E2= =80=99 128 | __u32 size; /* size in bytes of the extra space */ | ^~~~~ /gnu/store/gm5mbaxkqhzafwy0wnimrg53j884glxn-linux-libre-headers-5.10.35= /include/asm/sigcontext.h:129:2: error: unknown type name =E2=80=98__u32=E2= =80=99 129 | __u32 __reserved[3]; | ^~~~~ /gnu/store/gm5mbaxkqhzafwy0wnimrg53j884glxn-linux-libre-headers-5.10.35= /include/asm/sigcontext.h:136:2: error: unknown type name =E2=80=98__u16=E2= =80=99 136 | __u16 vl; | ^~~~~ /gnu/store/gm5mbaxkqhzafwy0wnimrg53j884glxn-linux-libre-headers-5.10.35= /include/asm/sigcontext.h:137:2: error: unknown type name =E2=80=98__u16=E2= =80=99 137 | __u16 __reserved[3]; | ^~~~~ make[1]: *** [rules.mak:83: host/kernel/bootstrap.o] Error 1 make[1]: *** Waiting for unfinished jobs.... make[1]: Leaving directory '/tmp/guix-build-openbios-qemu-ppc-1.1.drv-0= /source/obj-ppc' make: *** [Makefile:19: build] Error 1 error: in phase 'build': uncaught exception: %exception #<&invoke-error program: "make" arguments: ("-j" "4") exit-s= tatus: 2 term-signal: #f stop-signal: #f>=20 phase `build' failed after 0.2 seconds command "make" "-j" "4" failed with status 2 I don't know where to look to fix this error. Please, help me. Also, I thought I could find somewhere arm64 guix build, but apparently there is none? I found only a raw image for Pinebook Pro: https://ci.guix.gnu.org/eval/196495 But for some reason it says it is x86_64 system, and this confuses me. Thank you in advance.