help-guix
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: guix pull fails on raspberry


From: Vagrant Cascadian
Subject: Re: guix pull fails on raspberry
Date: Mon, 31 Aug 2020 07:14:34 -0700

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



reply via email to

[Prev in Thread] Current Thread [Next in Thread]