From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp0.migadu.com ([2001:41d0:303:e16b::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by ms1.migadu.com with LMTPS id EK5XDVd1PmbjbAEAqHPOHw:P1 (envelope-from ) for ; Fri, 10 May 2024 21:28:23 +0200 Received: from aspmx1.migadu.com ([2001:41d0:303:e16b::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp0.migadu.com with LMTPS id EK5XDVd1PmbjbAEAqHPOHw (envelope-from ) for ; Fri, 10 May 2024 21:28:23 +0200 X-Envelope-To: larch@yhetil.org Authentication-Results: aspmx1.migadu.com; dkim=none ("invalid DKIM record") header.d=freakingpenguin.com header.s=x header.b=ZXzceco5; spf=pass (aspmx1.migadu.com: domain of "bug-guix-bounces+larch=yhetil.org@gnu.org" designates 209.51.188.17 as permitted sender) smtp.mailfrom="bug-guix-bounces+larch=yhetil.org@gnu.org"; dmarc=none ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=yhetil.org; s=key1; t=1715369303; 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:resent-cc:resent-from:resent-sender: resent-message-id:list-id:list-help:list-unsubscribe:list-subscribe: list-post:dkim-signature; bh=VKsvK3PGKbeEhhhMzNyDO8D7EVLc45zVmV/t/xdhlzE=; b=XQU3/2shnralFYBFiekvdNqrXExQznTyHPC1YLua7AZFDaQSVT/6mfb5wyMRMIEow0TaBw 3u4wy4krzUCHAaoMU/tP8CA8v3B5Ugp+Adp0czDau+lY+Y7AG9ez6COulxer7JTXokubKC et9kgkWgyXkV4G1QqklSTFK0qdwBrsIj8xz5dWkjPwmYGkGjgO1WzorMzYJkbxJUH+k1sG YORdWA0ybroqtD6Wz45zuAVDrrkwa8TrOkuERomvZMN5f2z39bpMByM4uIR6+0szXtf+eH g68+1E6t+qTOmQvxgUcBT84wkuYu/p2utglx3dN3a0kdm87+ic6RZhYdyYIbYQ== ARC-Authentication-Results: i=1; aspmx1.migadu.com; dkim=none ("invalid DKIM record") header.d=freakingpenguin.com header.s=x header.b=ZXzceco5; spf=pass (aspmx1.migadu.com: domain of "bug-guix-bounces+larch=yhetil.org@gnu.org" designates 209.51.188.17 as permitted sender) smtp.mailfrom="bug-guix-bounces+larch=yhetil.org@gnu.org"; dmarc=none ARC-Seal: i=1; s=key1; d=yhetil.org; t=1715369303; a=rsa-sha256; cv=none; b=McCR75VHBOzI5wUuuFL79x3mHup+xTaIiOUjrJlgLHuGNLmJRZaWVX1qg4drrivWejT3h9 qjofSnU9hBH55kAxNucP77YNvHwtyZtqiPk0Stf7niSRmH49XXSkDWWXkhDiaBsvm85yY4 PfJaFDCY480RfMi6wyieOscIoHR+Qiu+dBdFbWPIOiMkeRfjvZ3/GWFKNwYy65x0QA1UMR uV4wQU6wfjR1wxNilUNHI4yTfoyxeNnXmZ/aE06LwGGJDWeDaUDXYsXjZMhV6roCyWRyNi H8sGYCpQrFBhUyFmTy/n20GE9OJ/V6qyi/FI+8I4quUks+z4bipsDk1E+6zzVA== 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 D292E61CEB for ; Fri, 10 May 2024 21:28:22 +0200 (CEST) Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1s5VuZ-0003Bn-PB; Fri, 10 May 2024 15:28:08 -0400 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 1s5VuW-0003Bc-NK for bug-guix@gnu.org; Fri, 10 May 2024 15:28:04 -0400 Received: from debbugs.gnu.org ([2001:470:142:5::43]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1s5VuV-0007ow-FO for bug-guix@gnu.org; Fri, 10 May 2024 15:28:03 -0400 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1s5VuT-0000iA-VN for bug-guix@gnu.org; Fri, 10 May 2024 15:28:02 -0400 X-Loop: help-debbugs@gnu.org Subject: bug#70865: Unable to generate a bootable image for pinebook pro Resent-From: Richard Sent Original-Sender: "Debbugs-submit" Resent-CC: bug-guix@gnu.org Resent-Date: Fri, 10 May 2024 19:28:01 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: report 70865 X-GNU-PR-Package: guix X-GNU-PR-Keywords: To: 70865@debbugs.gnu.org X-Debbugs-Original-To: bug-guix@gnu.org Received: via spool by submit@debbugs.gnu.org id=B.17153692582719 (code B ref -1); Fri, 10 May 2024 19:28:01 +0000 Received: (at submit) by debbugs.gnu.org; 10 May 2024 19:27:38 +0000 Received: from localhost ([127.0.0.1]:43690 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1s5Vu6-0000hn-8f for submit@debbugs.gnu.org; Fri, 10 May 2024 15:27:38 -0400 Received: from lists.gnu.org ([209.51.188.17]:48274) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1s5Vu4-0000hh-CF for submit@debbugs.gnu.org; Fri, 10 May 2024 15:27:36 -0400 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 1s5Vu5-00038s-40 for bug-guix@gnu.org; Fri, 10 May 2024 15:27:37 -0400 Received: from mail-108-mta47.mxroute.com ([136.175.108.47]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1s5Vu2-0007nH-19 for bug-guix@gnu.org; Fri, 10 May 2024 15:27:36 -0400 Received: from filter006.mxroute.com ([136.175.111.2] filter006.mxroute.com) (Authenticated sender: mN4UYu2MZsgR) by mail-108-mta47.mxroute.com (ZoneMTA) with ESMTPSA id 18f63f9874d0008ca2.001 for (version=TLSv1.3 cipher=TLS_AES_256_GCM_SHA384); Fri, 10 May 2024 19:27:28 +0000 X-Zone-Loop: dbb82b858aea4e1f2818b08ad778163fa9843c9fed54 X-Originating-IP: [136.175.111.2] DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=freakingpenguin.com; s=x; h=Content-Type:MIME-Version:Message-ID:Date: Subject:To:From:Sender:Reply-To:Cc:Content-Transfer-Encoding:Content-ID: Content-Description:Resent-Date:Resent-From:Resent-Sender:Resent-To:Resent-Cc :Resent-Message-ID:In-Reply-To:References:List-Id:List-Help:List-Unsubscribe: List-Subscribe:List-Post:List-Owner:List-Archive; bh=VKsvK3PGKbeEhhhMzNyDO8D7EVLc45zVmV/t/xdhlzE=; b=ZXzceco5/Bwr/XfAuuKFMeI9xa 7VGh2hWppvseVKI6ecsYxdpejvxwXpUbobi8KIvYbOrSZU5Ma/V5cVYhthuV6bt21MKhI6mqo821C nbJTaoT4AaoPhQqbUMfnfIZVON0RJRMOi/vNvJrwwrVh+wrL7qhxnnf04twRPs5ooJWoXm8Xc8w5Q evM5orNs0MjkrLeXI3ws/P64ZnVWWUTt5o6IWaH78CXIduBTmLWj3MPqHN51fz9le5kKpk3+Kto/N WglFQ4tpe5WPD3izVo2PIh5/cjKZJ/UzxjlRX4ZFD+4/QoNFTkIEqYJ4ZD3ujKwxB0zxNTD7jJbgt DTVeb/4Q==; From: Richard Sent Date: Fri, 10 May 2024 15:27:20 -0400 Message-ID: <87msoxfox3.fsf@freakingpenguin.com> MIME-Version: 1.0 Content-Type: text/plain X-Authenticated-Id: richard@freakingpenguin.com Received-SPF: pass client-ip=136.175.108.47; envelope-from=richard@freakingpenguin.com; helo=mail-108-mta47.mxroute.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_INVALID=0.1, DKIM_SIGNED=0.1, SPF_HELO_NONE=0.001, SPF_PASS=-0.001 autolearn=no autolearn_force=no X-Spam_action: no action X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list X-BeenThere: bug-guix@gnu.org List-Id: Bug reports for GNU Guix List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: bug-guix-bounces+larch=yhetil.org@gnu.org Sender: bug-guix-bounces+larch=yhetil.org@gnu.org X-Migadu-Flow: FLOW_IN X-Migadu-Country: US X-Migadu-Spam-Score: -5.08 X-Spam-Score: -5.08 X-Migadu-Queue-Id: D292E61CEB X-Migadu-Scanner: mx13.migadu.com X-TUID: 4/xexxdz+06m Hi Guix! When building a system image for the pinebook pro, the image either fails to build or fail to boot. This occurs when when using the pinebook-pro-barebones-raw-image defined in the Guix repository. When --system=aarch64-linux is not passed, the image build fails when cross compiling packages. --8<---------------cut here---------------start------------->8--- $ guix system image gnu/system/images/pinebook-pro.scm ... building /gnu/store/ibjl0n8d1ac107vvkvjgrlb74sxm2b0k-gawk-mesboot-3.1.8.drv... \ 'configure' phasebuilder for `/gnu/store/ibjl0n8d1ac107vvkvjgrlb74sxm2b0k-gawk-mesboot-3.1.8.drv' failed with exit code 1 build of /gnu/store/ibjl0n8d1ac107vvkvjgrlb74sxm2b0k-gawk-mesboot-3.1.8.drv failed View build log at '/var/log/guix/drvs/ib/jl0n8d1ac107vvkvjgrlb74sxm2b0k-gawk-mesboot-3.1.8.drv.gz'. --8<---------------cut here---------------end--------------->8--- When --system=aarch64-linux is passed (enforcing QEMU builds for packages instead of attempting cross compilation), the image builds but the Pinebook Pro does not appear to detect it and will fall back on eMMC. --8<---------------cut here---------------start------------->8--- guix system image gnu/system/images/pinebook-pro.scm --system=aarch64-linux --8<---------------cut here---------------end--------------->8--- Per the blog post on https://othacehe.org/distributing-guix-system-pinebook-pro-images.html, building a pinebook pro system image should be as simple as the first command. When package compilation errors occurs, the user should be able to fall back on the second command. Below is the tail of the log when cross compiling gawk-mesboot: --8<---------------cut here---------------start------------->8--- ... checking for function prototypes... yes checking for string.h... (cached) yes checking whether NLS is requested... yes checking for msgfmt... no checking for gmsgfmt... : checking for xgettext... no checking for msgmerge... no checking build system type... x86_64-unknown-linux-gnu checking host system type... Invalid configuration `aarch64-linux-gnu': machine `aarch64' not recognized configure: error: /gnu/store/rb75igdc6daly1mz2ivz7rs8hd85imdz-gash-boot-0.3.0/bin/bash ./config.sub aarch64-linux-gnu failed error: in phase 'configure': uncaught exception: srfi-34 # phase `configure' failed after 30.6 seconds command "/gnu/store/rb75igdc6daly1mz2ivz7rs8hd85imdz-gash-boot-0.3.0/bin/bash" "./configure" "CC_FOR_BUILD=gcc" "CONFIG_SHELL=/gnu/store/rb75igdc6daly1mz2ivz7rs8hd85imdz-gash-boot-0.3.0/bin/bash" "SHELL=/gnu/store/rb75igdc6daly1mz2ivz7rs8hd85imdz-gash-boot-0.3.0/bin/bash" "--prefix=/gnu/store/bl3aq7fnpyxq9w2a7bqa4zqgd8z88y8x-gawk-mesboot-3.1.8" "--enable-fast-install" "--build=x86_64-unknown-linux-gnu" "--host=aarch64-linux-gnu" "ac_cv_func_connect=no" failed with status 1 --8<---------------cut here---------------end--------------->8--- -- Take it easy, Richard Sent Making my computer weirder one commit at a time.