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 6JwMGewFTV/0SwAA0tVLHw (envelope-from ) for ; Mon, 31 Aug 2020 14:15:08 +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 EAvaFOwFTV94OwAAbx9fmQ (envelope-from ) for ; Mon, 31 Aug 2020 14:15:08 +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 73E29940223 for ; Mon, 31 Aug 2020 14:15:07 +0000 (UTC) Received: from localhost ([::1]:55920 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1kCkaP-0006L3-FH for larch@yhetil.org; Mon, 31 Aug 2020 10:15:05 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]:33470) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1kCka4-0006Kp-RY for help-guix@gnu.org; Mon, 31 Aug 2020 10:14:44 -0400 Received: from cascadia.aikidev.net ([173.255.214.101]:57226) by eggs.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1kCka1-0006qh-Ht for help-guix@gnu.org; Mon, 31 Aug 2020 10:14:44 -0400 Received: from localhost (unknown [IPv6:2600:3c01:e000:21:21:21:0:100e]) (Authenticated sender: vagrant@cascadia.debian.net) by cascadia.aikidev.net (Postfix) with ESMTPSA id 0A0981AA3F; Mon, 31 Aug 2020 07:14:36 -0700 (PDT) From: Vagrant Cascadian To: Julien Lepiller , help-guix@gnu.org, Vittorio Malaguti Subject: Re: guix pull fails on raspberry In-Reply-To: <62055B40-30AA-4772-A854-5D6BD1819000@lepiller.eu> References: <62055B40-30AA-4772-A854-5D6BD1819000@lepiller.eu> Date: Mon, 31 Aug 2020 07:14:34 -0700 Message-ID: <87o8mqsy0l.fsf@ponder> MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable Received-SPF: none client-ip=173.255.214.101; envelope-from=vagrant@debian.org; helo=cascadia.aikidev.net X-detected-operating-system: by eggs.gnu.org: First seen = 2020/08/31 10:14:36 X-ACL-Warn: Detected OS = Linux 3.11 and newer [fuzzy] 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_NONE=0.001, SPF_NONE=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: , 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: 3bUggMgPFXjZ On 2020-08-31, Julien Lepiller wrote: > I think you're not using the correct architecture. From what I see on > the internet, the raspberry pi 3 is an aarch64 board. armhf (armv7) > and aarch64 (armv8) are somewhat compatible, but some instructions are > not the same, so you can get this kind of segfaults by using the wrong > arch. And to add to the confusion... If you're running the raspberry pi images produced by raspberrypi.org (which are built with raspbian), you'll be running an armhf variant built for ARMv6(even though the hardware is capable of aarch64/ARMv8, and nearly all other distros build armhf for ARMv7). So the userspace is ARMv6, even though your kernel is aarch64/ARMv8... Though I would think the guix binaries should still work, as the kernel you're running should support backwards compatibility with older ARM specifications... but may as well try the aarch64 guix binaries. live well, vagrant > > HTH! > > Le 31 ao=C3=BBt 2020 06:27:36 GMT-04:00, Vittorio Malaguti a =C3=A9crit : >>Hi, I installed guix on the raspberry os as a secondary package >>manager (the hardware is the raspberry pi 3B+). >> >>I used the script to install it, after installing the hello package to >>make sure everything was working, I make 'guix pull'. >> >>I tried many different options: >>guix pull --fallback >>guix pull --no-grafts >>guix pull --commit=3D >> >>every time it fails to pull with a segmentation error, usually on the >>guix-packages-base.drv >> >>Here a log: >> >>----------------------- >> >>$ sudo -i guix pull --no-grafts --fallback >> >>Updating channel 'guix' from Git repository at >>'https://git.savannah.gnu.org/git/guix.git'... >>Building from this channel: >> guix https://git.savannah.gnu.org/git/guix.git e4e0304 >>Computing Guix derivation for 'armhf-linux'... | >>The following derivations will be built: >> /gnu/store/vg4b13q1qax3vb3lpkba9bh7ak12p80w-profile.drv >> /gnu/store/p48m0gg6hvfsrq778f6m19dz078qvm7r-guix-e4e03047f.drv >> /gnu/store/bqj5297fs45bmiijgzgxix5xji6xi31n-guix-daemon.drv >> /gnu/store/pl424ji85lqsdz11dhgg4md9rcxlmwby-guix-command.drv >> /gnu/store/bbadbbzwg7lmvjmj1gdqc1dpw1ypzrkg-guix-module-union.drv >> /gnu/store/q9x2gd6vfzqv6c9j7prnjcga04g44zjc-guix-e4e03047f-modules.drv >>/gnu/store/clkzf3jkavb2wd8rnh8i7bgi404z4cic-guix-packages-base-modules.drv >> /gnu/store/5dy0kmgiasrzyray3ka9bw1r5ahivygd-guix-packages-base.drv >> /gnu/store/g136xsqllyahk6jaz5iaf5f5fi6ghmq2-guix-packages-modules.drv >> /gnu/store/sbdkm7fld4575awq1as6z12b8yf1dyqs-guix-packages.drv >> /gnu/store/ih04srm6yk1mbb6i2c0jqq37wqzpg0hp-guix-system-modules.drv >> /gnu/store/cznbjxi8sjxrdr6mqsdvg8wv246y0la1-guix-system.drv >> /gnu/store/jy0bcjxmhc449nvvlf8rv956wfpis5z4-guix-cli-modules.drv >> /gnu/store/g5300h6xvhqirsrvy1sxsvraz2mrxfx4-guix-cli.drv >>/gnu/store/kzyr6pf0jpav9gv75iis2zhrphd9d5g6-guix-system-tests-modules.drv >> /gnu/store/fbn88zmxmig6bbzjhax1pvqrnqiaslzr-guix-system-tests.drv >> /gnu/store/mvvwsaagnr68729didmxjpz009fqq5vn-guix-config-modules.drv >> /gnu/store/ma7q49638wsmcpn61rv13rjycz8hhvhj-guix-config-source.drv >> /gnu/store/rhy0q3azn4am4pgla56z696r97yblkv1-guix-config.drv >> /gnu/store/bg2j6csmikvfgzf23sk9z87ifamky000-inferior-script.scm.drv >> /gnu/store/cw7b7iad1b4hw6x8bw31vgmb8d2j7w34-profile.drv >>The following profile hooks will be built: >> /gnu/store/8kw6bh98vqwqd2zhd0rg9rlw1rsx1l77-ca-certificate-bundle.drv >> /gnu/store/ahaw8rplxv9ikc9l0y4m6na7lj0mnrxa-guix-package-cache.drv >> /gnu/store/rc6vjr02pnydrmrlrwcv1l16mp7gipnj-manual-database.drv >> /gnu/store/x7w3wh0rz20v9dcbk78l45mrc3xs5j2i-info-dir.drv >> /gnu/store/yfg9kzrs3pgv2gp9v0b7mm3lrgv8pk2b-fonts-dir.drv >>building >>/gnu/store/ma7q49638wsmcpn61rv13rjycz8hhvhj-guix-config-source.drv... >>building >>/gnu/store/5dy0kmgiasrzyray3ka9bw1r5ahivygd-guix-packages-base.drv... >>52% >>[########################################################################= #################### >> ]builder for >>`/gnu/store/5dy0kmgiasrzyray3ka9bw1r5ahivygd-guix-packages-base.drv' >>failed due to signal 11 (Segmentation fault) >>build of >>/gnu/store/5dy0kmgiasrzyray3ka9bw1r5ahivygd-guix-packages-base.drv >>failed >>View build log at >>'/var/log/guix/drvs/5d/y0kmgiasrzyray3ka9bw1r5ahivygd-guix-packages-base.= drv.bz2'. >>cannot build derivation >>`/gnu/store/g5300h6xvhqirsrvy1sxsvraz2mrxfx4-guix-cli.drv': 1 >>dependencies couldn't be built >>building /gnu/store/rhy0q3azn4am4pgla56z696r97yblkv1-guix-config.drv... >>cannot build derivation >>`/gnu/store/clkzf3jkavb2wd8rnh8i7bgi404z4cic-guix-packages-base-modules.d= rv': >>1 dependencies couldn't be built >>cannot build derivation >>`/gnu/store/sbdkm7fld4575awq1as6z12b8yf1dyqs-guix-packages.drv': 1 >>dependencies couldn't be built >>cannot build derivation >>`/gnu/store/fbn88zmxmig6bbzjhax1pvqrnqiaslzr-guix-system-tests.drv': 1 >>dependencies couldn't be built >>cannot build derivation >>`/gnu/store/cznbjxi8sjxrdr6mqsdvg8wv246y0la1-guix-system.drv': 1 >>dependencies couldn't be built >>cannot build derivation >>`/gnu/store/q9x2gd6vfzqv6c9j7prnjcga04g44zjc-guix-e4e03047f-modules.drv': >>1 dependencies couldn't be built >>cannot build derivation >>`/gnu/store/p48m0gg6hvfsrq778f6m19dz078qvm7r-guix-e4e03047f.drv': 1 >>dependencies couldn't be built >>cannot build derivation >>`/gnu/store/vg4b13q1qax3vb3lpkba9bh7ak12p80w-profile.drv': 1 >>dependencies couldn't be built >>guix pull: error: build of >>`/gnu/store/vg4b13q1qax3vb3lpkba9bh7ak12p80w-profile.drv' failed