From: Vagrant Cascadian <vagrant@debian.org>
To: Julien Lepiller <julien@lepiller.eu>,
help-guix@gnu.org, Vittorio Malaguti <rundhis@gmail.com>
Subject: Re: guix pull fails on raspberry
Date: Mon, 31 Aug 2020 07:14:34 -0700 [thread overview]
Message-ID: <87o8mqsy0l.fsf@ponder> (raw)
In-Reply-To: <62055B40-30AA-4772-A854-5D6BD1819000@lepiller.eu>
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ût 2020 06:27:36 GMT-04:00, Vittorio Malaguti <rundhis@gmail.com> a écrit :
>>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=<a commit in may, another in july>
>>
>>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.drv':
>>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
prev parent reply other threads:[~2020-08-31 14:15 UTC|newest]
Thread overview: 3+ messages / expand[flat|nested] mbox.gz Atom feed top
2020-08-31 10:27 guix pull fails on raspberry Vittorio Malaguti
2020-08-31 13:57 ` Julien Lepiller
2020-08-31 14:14 ` Vagrant Cascadian [this message]
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=87o8mqsy0l.fsf@ponder \
--to=vagrant@debian.org \
--cc=help-guix@gnu.org \
--cc=julien@lepiller.eu \
--cc=rundhis@gmail.com \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
Code repositories for project(s) associated with this external index
https://git.savannah.gnu.org/cgit/guix.git
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.