From debbugs-submit-bounces@debbugs.gnu.org Tue Apr 20 07:37:58 2021 Received: (at submit) by debbugs.gnu.org; 20 Apr 2021 11:37:58 +0000 Received: from localhost ([127.0.0.1]:53125 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1lYohZ-0004dU-UH for submit@debbugs.gnu.org; Tue, 20 Apr 2021 07:37:58 -0400 Received: from lists.gnu.org ([209.51.188.17]:59140) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1lYohY-0004dN-Na for submit@debbugs.gnu.org; Tue, 20 Apr 2021 07:37:57 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]:41734) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1lYohY-0007ln-Hk for bug-guix@gnu.org; Tue, 20 Apr 2021 07:37:56 -0400 Received: from knopi.disroot.org ([178.21.23.139]:49728) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1lYohW-0006V7-50 for bug-guix@gnu.org; Tue, 20 Apr 2021 07:37:56 -0400 Received: from localhost (localhost [127.0.0.1]) by disroot.org (Postfix) with ESMTP id 1D45052D52 for ; Tue, 20 Apr 2021 13:37:52 +0200 (CEST) X-Virus-Scanned: Debian amavisd-new at disroot.org Received: from knopi.disroot.org ([127.0.0.1]) by localhost (disroot.org [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id ImYqKDpieyeW for ; Tue, 20 Apr 2021 13:37:50 +0200 (CEST) From: Martin DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=disroot.org; s=mail; t=1618918670; bh=Qw1l8diCjNvVO1pQsEP9Sx5n2sxTRT17Sc4ppx6XKR4=; h=From:Subject:To:Date; b=M6OdqNsxSK3JV2jftWKU7qGYympAjK1nlGCt3qMr4ootveaatWjdLPfd7PhNpUMXb HQlMFnElfNHIjMc4v8Bz5eZFO4rUe6qz6RWTx0QUfSVxZeAnKKCv+ncRPxu9ZgzU3E 3/UV/ov5NvJaHHYqu5GBY5eDAYAc2PyQqD+ae3zSpRbEJlQS0vy010HFd9GjuVTRxR XegGMv6hxnD/74g29JXLiVbggRtKnoYV1IFkdOjtrw6QwpBiErQRMjjM3LMP3vbA23 Q16xvWm7iLJNSYRrnegOLY8lB9KzqEQvPPZQrTT7v8/vo4lGJTKxaMhLNmCOlskINq mPGns9pi4Hg8g== Subject: Cross building disk image for ARM Asus C201 fails To: bug-guix@gnu.org Message-ID: <96121f63-a710-0364-0408-b61907f8e5f5@disroot.org> Date: Tue, 20 Apr 2021 11:37:49 +0000 Mime-Version: 1.0 Content-Type: text/plain; charset=utf-8; format=flowed Content-Transfer-Encoding: 8bit Content-Language: en-US Received-SPF: pass client-ip=178.21.23.139; envelope-from=smartin@disroot.org; helo=knopi.disroot.org X-Spam_score_int: -15 X-Spam_score: -1.6 X-Spam_bar: - X-Spam_report: (-1.6 / 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, SPF_HELO_NONE=0.001, SPF_PASS=-0.001, URI_NOVOWEL=0.5 autolearn=ham autolearn_force=no X-Spam_action: no action X-Spam-Score: -0.9 (/) X-Debbugs-Envelope-To: submit X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -1.9 (-) Hello, I'm trying to create a disk image for an Asus C201 chromebook using the command 'guix system image test.scm' where test.scm based on https://github.com/guix-mirror/guix/blob/master/gnu/system/examples/asus-c201.tmpl but unfortunately this operation fails on my x86 dev machine (guix 53ed3e4): ---  yaml-0.2.5.tar.gz  595KiB                                  4.0MiB/s 00:00 [##################] 100.0%  zstd-1.4.4.tar.xz  1.3MiB                                  2.9MiB/s 00:00 [##################] 100.0% building /gnu/store/ifnczywhsw1x5wijrv60myv309g7vqg0-libyaml-0.2.5.drv... building /gnu/store/fi24bh8iqrwqby2224n602vd0x2gvz81-python-minimal-3.8.2.drv... building /gnu/store/z2diqxmpr8zkiyk2d5vma4flwvd3bzk6-vboot-utils-R63-10032.B.drv... - 'patch-hard-coded-paths' phasebuilder for `/gnu/store/z2diqxmpr8zkiyk2d5vma4flwvd3bzk6-vboot-utils-R63-10032.B.drv' failed with exit code 1 build of /gnu/store/z2diqxmpr8zkiyk2d5vma4flwvd3bzk6-vboot-utils-R63-10032.B.drv failed View build log at '/var/log/guix/drvs/z2/diqxmpr8zkiyk2d5vma4flwvd3bzk6-vboot-utils-R63-10032.B.drv.bz2'. guix system: error: build of `/gnu/store/z2diqxmpr8zkiyk2d5vma4flwvd3bzk6-vboot-utils-R63-10032.B.drv' failed --- the logs: --- vboot-utils-R63-10032.B-checkout/vboot_host.pc.in phase `unpack' succeeded after 1.1 seconds starting phase `patch-hard-coded-paths' Backtrace:           16 (primitive-load "/gnu/store/3px9vwr51v82zhh7bzi8wcmiaw3…") In ice-9/eval.scm:    191:35 15 (_ #f) In guix/build/gnu-build-system.scm:     838:2 14 (gnu-build #:source _ #:outputs _ #:inputs _ #:phases . #) In ice-9/boot-9.scm:   1736:10 13 (with-exception-handler _ _ #:unwind? _ # _) In srfi/srfi-1.scm:    857:16 12 (every1 # …) In guix/build/gnu-build-system.scm:    847:30 11 (_ _) In ice-9/eval.scm:     619:8 10 (_ #(#(#(#) # #) …)) In ice-9/boot-9.scm:   1736:10  9 (with-exception-handler _ _ #:unwind? _ # _) In ice-9/ports.scm:    445:17  8 (call-with-input-file _ _ #:binary _ #:encoding _ # _) In guix/build/utils.scm:    741:26  7 (_ _)    767:26  6 (_ # #) In srfi/srfi-1.scm:    460:18  5 (fold # …) In ice-9/eval.scm:    202:51  4 (_ #(#(#(#(#(#(# …)) …) …) …) …))     163:9  3 (_ #(#(#(#(#(#(# …)) …) …) …) …)) In unknown file:            2 (string-append #f "/bin/cmp") In ice-9/boot-9.scm:   1669:16  1 (raise-exception _ #:continuable? _)   1669:16  0 (raise-exception _ #:continuable? _) ice-9/boot-9.scm:1669:16: In procedure raise-exception: In procedure string-append: Wrong type (expecting string): #f --- Any ideas how to fix it or do you know some alternative approaches how to install GuixSD on Asus C201? Thanks, Martin From debbugs-submit-bounces@debbugs.gnu.org Tue Apr 20 15:23:27 2021 Received: (at 47908) by debbugs.gnu.org; 20 Apr 2021 19:23:28 +0000 Received: from localhost ([127.0.0.1]:56046 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1lYvy3-0006Lq-Jd for submit@debbugs.gnu.org; Tue, 20 Apr 2021 15:23:27 -0400 Received: from albert.telenet-ops.be ([195.130.137.90]:49594) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1lYvy1-0006Lf-GL for 47908@debbugs.gnu.org; Tue, 20 Apr 2021 15:23:26 -0400 Received: from ptr-bvsjgyjmffd7q9timvx.18120a2.ip6.access.telenet.be ([IPv6:2a02:1811:8c09:9d00:aaf1:9810:a0b8:a55d]) by albert.telenet-ops.be with bizsmtp id v7PP2400J0mfAB4067PP3g; Tue, 20 Apr 2021 21:23:24 +0200 Message-ID: <5b3bf4b60ea3f5e4522981a0111d8743b8602e34.camel@telenet.be> Subject: Re: bug#47908: Cross building disk image for ARM Asus C201 fails From: Maxime Devos To: Martin , 47908@debbugs.gnu.org Date: Tue, 20 Apr 2021 21:23:17 +0200 In-Reply-To: <96121f63-a710-0364-0408-b61907f8e5f5@disroot.org> References: <96121f63-a710-0364-0408-b61907f8e5f5@disroot.org> Content-Type: multipart/signed; micalg="pgp-sha512"; protocol="application/pgp-signature"; boundary="=-dPefPXRWjF0DmxD0EIBo" User-Agent: Evolution 3.34.2 MIME-Version: 1.0 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=telenet.be; s=r21; t=1618946604; bh=made/1WRjAQwDS2P6EkJV5azCworKkxoPhamJpp0s4g=; h=Subject:From:To:Date:In-Reply-To:References; b=UnYhOjKjqNdkW+o/0Fdnwv7USO/se5dRdjEGqwXBx9eLpjyaU0Yy+mZoaTIkWbvN4 fsyzkoYq92xCp054SbVIWu/IzYeag4HMy6S/kmj+RJZlDujlgz6qZxIme8zJrnSdLZ 4BnSJ67cSLQZZXdGh8OUIJmF5SlDdey0wHnX6J+LLrLPI7cEMBNefVrt+Tk3Vedzfq twtawHV5WF4gOT2sH3bbfzpRKC22zpQis5V8GgfKbKdirX7kcYSGf7lJjS5mruCuns r03gNb6TZGZNFr80Jk6he5Dger/yv8HIS3JMYm44fs3wfHhx4wldPMNOzPLUcVd9Vj YAhYlD0COrZbQ== X-Spam-Score: -0.2 (/) X-Debbugs-Envelope-To: 47908 X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -1.2 (-) --=-dPefPXRWjF0DmxD0EIBo Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable Martin via Bug reports for GNU Guix schreef op di 20-04-2021 om 11:37 [+000= 0]: > Hello, > I'm trying to create a disk image for an Asus C201 chromebook using the= =20 > command 'guix system image test.scm' where test.scm based on=20 > https://github.com/guix-mirror/guix/blob/master/gnu/system/examples/asus-= c201.tmpl=20 > but unfortunately this operation fails on my x86 dev machine (guix 53ed3e= 4): >=20 > --- > [...] > View build log at=20 > '/var/log/guix/drvs/z2/diqxmpr8zkiyk2d5vma4flwvd3bzk6-vboot-utils-R63-100= 32.B.drv.bz2'. > guix system: error: build of=20 > `/gnu/store/z2diqxmpr8zkiyk2d5vma4flwvd3bzk6-vboot-utils-R63-10032.B.drv'= =20 > failed > --- >=20 > the logs: > [...] > In unknown file: > 2 (string-append #f "/bin/cmp") > In ice-9/boot-9.scm: > 1669:16 1 (raise-exception _ #:continuable? _) > 1669:16 0 (raise-exception _ #:continuable? _) >=20 > ice-9/boot-9.scm:1669:16: In procedure raise-exception: > In procedure string-append: Wrong type (expecting string): #f > --- > Any ideas how to fix it Some issues I see in the definition of the "vboot-utils" package: (arguments `(#:make-flags (list "CC=3Dgcc" ;; On ARM, we must pass "HOST_ARCH=3Darm" so that= the The "CC=3Dgcc" should be ,(string-append "CC=3D" (cc-for-target)), such tha= t the cross-compiler is used. (cc-for-target) also works when not cross-compilin= g. (lambda* (#:key inputs outputs #:allow-other-keys) (let ((coreutils (assoc-ref inputs "coreutils")) (diffutils (assoc-ref inputs "diffutils"))) [...] (substitute* "tests/bitmaps/TestBmpBlock.py" (("/usr/bin/cmp") (string-append diffutils "/bin/= cmp"))) "diffutils" should be looked up in 'native-inputs', not 'inputs', as "cmp" = is run when building the package. (And not when this package is actually used at = run-time). So that should be (lambda* (#:key native-inputs inputs outputs #:allow-ot= her-keys) (let ((coreutils (assoc-ref inputs "coreutils")) (diffutils (assoc- ref (or native-inputs inputs) "diffutils"))) [...] (substitute* "tests/bitmaps/TestBmpBlock.py" (("/usr/bin/cmp") (string-append diffutils "/bin/cmp"))) p.s. I began replacing "CC=3Dgcc" with ,(string-append "CC=3D" (cc-for-tar= get)) where it seemed necessary in the patch series at Greetings, Maxime. --=-dPefPXRWjF0DmxD0EIBo Content-Type: application/pgp-signature; name="signature.asc" Content-Description: This is a digitally signed message part Content-Transfer-Encoding: 7bit -----BEGIN PGP SIGNATURE----- iI0EABYKADUWIQTB8z7iDFKP233XAR9J4+4iGRcl7gUCYH8qJhccbWF4aW1lZGV2 b3NAdGVsZW5ldC5iZQAKCRBJ4+4iGRcl7ugxAP9E8H5qSbN+yUBa/fplw0QlJzYB EyVge8VkdeeztH12kAEAlUMM322SS9nusAPbgqgmtL5muzJXii8QMtqbKxXwMgg= =KuQ7 -----END PGP SIGNATURE----- --=-dPefPXRWjF0DmxD0EIBo-- From debbugs-submit-bounces@debbugs.gnu.org Fri Nov 05 05:24:25 2021 Received: (at 47908) by debbugs.gnu.org; 5 Nov 2021 09:24:25 +0000 Received: from localhost ([127.0.0.1]:44820 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1mivST-0003rX-Mk for submit@debbugs.gnu.org; Fri, 05 Nov 2021 05:24:25 -0400 Received: from mail-40133.protonmail.ch ([185.70.40.133]:61804) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1mivSR-0003rK-Sz for 47908@debbugs.gnu.org; Fri, 05 Nov 2021 05:24:24 -0400 Date: Fri, 05 Nov 2021 09:24:11 +0000 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=protonmail.com; s=protonmail; t=1636104252; bh=eDugi2RuRTGyJG+xT8tR9Xouw+ifNDW9V4qzSf21G/Y=; h=Date:To:From:Reply-To:Subject:From; b=tPJIvZ2Cmj+SF41hz79jJED1auGGqx18+ffTIchmHmTqOwflbrAlvcDRnCO4ttJLb H5+CPolun3/w2D1kdJB6hKQoM53CE0+7Q3bN8EvgcDnjfWwjEgl/1EKEHJnesvJiCO QLoafXq5PoTi7aYtbYkCP62dyI5XSA82fyCIGkDI= To: "47908@debbugs.gnu.org" <47908@debbugs.gnu.org> From: phodina Subject: Re: Cross building disk image for ARM Asus C201 fails Message-ID: MIME-Version: 1.0 Content-Type: multipart/alternative; boundary="b1_qr8yHvDqZ1qbTGIALuYu7UibInoX5dyWN7NnFLLVzEk" X-Spam-Status: No, score=-1.2 required=10.0 tests=ALL_TRUSTED,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,FREEMAIL_FROM,HTML_MESSAGE shortcircuit=no autolearn=disabled version=3.4.4 X-Spam-Checker-Version: SpamAssassin 3.4.4 (2020-01-24) on mailout.protonmail.ch X-Spam-Score: -0.0 (/) X-Debbugs-Envelope-To: 47908 X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Reply-To: phodina Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -1.0 (-) This is a multi-part message in MIME format. --b1_qr8yHvDqZ1qbTGIALuYu7UibInoX5dyWN7NnFLLVzEk Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: base64 SGkgTWFydGluICYgTWF4aW1lLAoKSSd2ZSB0ZXN0ZWQgaWYgdGhlIHN5c3RlbSBpbWFnZSBidWls ZHMgYWZ0ZXIgbWVyZ2luZyBwYXRjaGVzIGZvciB0aGUKdmJvb3QtdXRpbHMgcGFja2FnZS4KCiQg Z3VpeCBzeXN0ZW0gYnVpbGQgLXMgYXJtaGYtbGludXggdGVzdC5zY20KClVuZm9ydHVuYXRlbHkg SSBkb24ndCBvd24gdGhlIEFSTSBBc3VzIEMyMDEgQ2hyb21lYm9vayBzbyBJIGNhbid0IHRlc3Qg dGhlIGxpdmUgc3lzdGVtLgoKQ291bGQgeW91IE1hcnRpbiB0ZXN0IHBsZWFzZT8gSSB1c2VkIGNv bW1pdCA3YWYzYjgyMjE3ODc4MmQ2NTk4ODY1ZTFkNmE3ODBhNzU2ZGQwY2IzLgoKUGV0cg== --b1_qr8yHvDqZ1qbTGIALuYu7UibInoX5dyWN7NnFLLVzEk Content-Type: text/html; charset=utf-8 Content-Transfer-Encoding: base64 PGRpdj48ZGl2PkhpIE1hcnRpbiAmYW1wOyBNYXhpbWUsPGJyPjwvZGl2PjxkaXY+PGJyPjwvZGl2 PjxkaXY+SSd2ZSB0ZXN0ZWQgaWYgdGhlIHN5c3RlbSBpbWFnZSBidWlsZHMgYWZ0ZXIgbWVyZ2lu ZyBwYXRjaGVzIGZvciB0aGU8YnI+PC9kaXY+PGRpdj48c3BhbiBjbGFzcz0ibGluZSI+dmJvb3Qt dXRpbHMgcGFja2FnZS48YnI+PGJyPjwvc3Bhbj48L2Rpdj48L2Rpdj48ZGl2PjxkaXY+JCBndWl4 IHN5c3RlbSBidWlsZCAtcyBhcm1oZi1saW51eCB0ZXN0LnNjbTxicj48L2Rpdj48ZGl2Pjxicj48 L2Rpdj48ZGl2PlVuZm9ydHVuYXRlbHkgSSBkb24ndCBvd24gdGhlIDxzcGFuIGNsYXNzPSJuYXZi YXItdGV4dCI+QVJNIEFzdXMgQzIwMSBDaHJvbWVib29rIHNvIEkgY2FuJ3QgdGVzdCB0aGUgbGl2 ZSBzeXN0ZW0uPGJyPjxicj5Db3VsZCB5b3UgTWFydGluIHRlc3QgcGxlYXNlPyBJIHVzZWQgY29t bWl0IDwvc3Bhbj43YWYzYjgyMjE3ODc4MmQ2NTk4ODY1ZTFkNmE3ODBhNzU2ZGQwY2IzLjxzcGFu IGNsYXNzPSJuYXZiYXItdGV4dCI+PGJyPjxicj5QZXRyPC9zcGFuPjwvZGl2PjxkaXY+PGJyPjwv ZGl2PjwvZGl2PjxkaXY+PGJyPjwvZGl2Pg== --b1_qr8yHvDqZ1qbTGIALuYu7UibInoX5dyWN7NnFLLVzEk-- From debbugs-submit-bounces@debbugs.gnu.org Fri Nov 05 05:59:20 2021 Received: (at 47908) by debbugs.gnu.org; 5 Nov 2021 09:59:20 +0000 Received: from localhost ([127.0.0.1]:44881 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1miw0G-0004lB-16 for submit@debbugs.gnu.org; Fri, 05 Nov 2021 05:59:20 -0400 Received: from laurent.telenet-ops.be ([195.130.137.89]:53136) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1miw0C-0004l0-Ti for 47908@debbugs.gnu.org; Fri, 05 Nov 2021 05:59:17 -0400 Received: from ptr-bvsjgyhxw7psv60dyze.18120a2.ip6.access.telenet.be ([IPv6:2a02:1811:8c09:9d00:3c5f:2eff:feb0:ba5a]) by laurent.telenet-ops.be with bizsmtp id EZzE2600K4UW6Th01ZzEQc; Fri, 05 Nov 2021 10:59:15 +0100 Message-ID: <2fad6ddd72d0d63ef42846ee21b9408958377e6a.camel@telenet.be> Subject: Re: bug#47908: Cross building disk image for ARM Asus C201 fails From: Maxime Devos To: phodina , "47908@debbugs.gnu.org" <47908@debbugs.gnu.org> Date: Fri, 05 Nov 2021 10:59:14 +0100 In-Reply-To: References: <96121f63-a710-0364-0408-b61907f8e5f5@disroot.org> Content-Type: text/plain; charset="UTF-8" User-Agent: Evolution 3.38.3-1 MIME-Version: 1.0 Content-Transfer-Encoding: 7bit DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=telenet.be; s=r21; t=1636106355; bh=OGoQAc1xthdbjV4syrXsG/VFjW6AJzXKQrjwEkzb/yE=; h=Subject:From:To:Date:In-Reply-To:References; b=VfVsTD6yIcX6uzYJ9zCQjLCdnnSUrBTcn5AUCFelY8y433bwHUthrPac2CqJqZv5Z YLTT8sVkiKLy42fYL85mQmfTNccD876xC7deRtjwIenFH0pXHX6CjrZNkPslv0lsCK JzHei4VLUIuKt8R5buX2y3Ko9TTsS6yW+eB1JUQsVqZq2fvzi3YFWbNKrPF9TeoCPy supmIZ2i3uj18ql2l4duwjf6KXLqltK6eUfRTsV74kDplrTqEoYpx3FpRii7jcYie8 t3WCMAeXSUuWRG0AQeGqeq32k0/yqCCDnbdX7C2C7aoBjgIXfQ/iMRLVp7p3RPgHbt Z2Ds1hfuN9XGQ== X-Spam-Score: -0.7 (/) X-Debbugs-Envelope-To: 47908 X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -1.7 (-) phodina via Bug reports for GNU Guix schreef op vr 05-11-2021 om 09:24 [+0000]: > Hi Martin & Maxime, > > I've tested if the system image builds after merging patches for the > vboot-utils package. > > $ guix system build -s armhf-linux test.scm That's an emulated build (with QEMU), not a cross-build. To cross-build, something like $ guix system build --target=arm-linux-gnueabihf test.scm is necessary. Emulated builds function rather differently from cross-builds (the former mostly looks like native compilation to guix), so the former command isn't a good test. Greetings, Maxime -- not hacking on guix for a while, only occassionally looking at IRC logs and bug reports. E-mails are unsigned until backup is located. From debbugs-submit-bounces@debbugs.gnu.org Fri Nov 05 14:17:33 2021 Received: (at 47908) by debbugs.gnu.org; 5 Nov 2021 18:17:33 +0000 Received: from localhost ([127.0.0.1]:47157 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1mj3mP-0007gp-3q for submit@debbugs.gnu.org; Fri, 05 Nov 2021 14:17:33 -0400 Received: from mail-4322.protonmail.ch ([185.70.43.22]:12763) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1mj3mN-0007gb-BX for 47908@debbugs.gnu.org; Fri, 05 Nov 2021 14:17:32 -0400 Date: Fri, 05 Nov 2021 18:17:23 +0000 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=protonmail.com; s=protonmail; t=1636136244; bh=Nu8212oNoan/8JXunq0fO1JcX69zkPglggoGP4Gkt5w=; h=Date:To:From:Cc:Reply-To:Subject:In-Reply-To:References:From; b=FxzfO5VyOgq146XLgRW8PtsbVnCLw5xDvytVd9MrcsCK9YWebH/9DinlovNsMz0TC 8+C42cY9V80oX5HYbEj7j9qTCez7s1K82AlI3Ymwcbsaxj1AltjSp7GqpkDNgfnf9N xV/0jWnUOktl/yhrYmK+98wWrqh77WFMUIOkowbU= To: Maxime Devos From: phodina Subject: Re: bug#47908: Cross building disk image for ARM Asus C201 fails Message-ID: In-Reply-To: <2fad6ddd72d0d63ef42846ee21b9408958377e6a.camel@telenet.be> References: <96121f63-a710-0364-0408-b61907f8e5f5@disroot.org> <2fad6ddd72d0d63ef42846ee21b9408958377e6a.camel@telenet.be> MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable X-Spam-Status: No, score=-1.2 required=10.0 tests=ALL_TRUSTED,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,FREEMAIL_FROM shortcircuit=no autolearn=disabled version=3.4.4 X-Spam-Checker-Version: SpamAssassin 3.4.4 (2020-01-24) on mailout.protonmail.ch X-Spam-Score: -0.0 (/) X-Debbugs-Envelope-To: 47908 Cc: "47908@debbugs.gnu.org" <47908@debbugs.gnu.org> X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Reply-To: phodina Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -1.0 (-) Hi Maxime, On Friday, November 5th, 2021 at 10:59 AM, Maxime Devos wrote: > phodina via Bug reports for GNU Guix schreef op vr 05-11-2021 om 09:24 > > [+0000]: > > > Hi Martin & Maxime, > > > > I've tested if the system image builds after merging patches for the > > > > vboot-utils package. > > > > $ guix system build -s armhf-linux test.scm > > That's an emulated build (with QEMU), not a cross-build. > > To cross-build, something like > > $ guix system build --target=3Darm-linux-gnueabihf test.scm > > is necessary. Emulated builds function rather differently > > from cross-builds (the former mostly looks like native compilation to > > guix), so the former command isn't a good test. > > Greetings, > > Maxime > Thanks for highlighting the fact. I've intended to run the cross-compilatio= n as you said not run "native" build in QEMU. The command in full: [env]$ ./pre-inst-env guix system build --target=3Darm-linux-gnueabihf gnu/= system/examples/asus-c201.tmpl Then again the build is successful but without the hardware I can't verify = it boots successfully. Petr