unofficial mirror of help-guix@gnu.org 
 help / color / mirror / Atom feed
From: Julien Lepiller <julien@lepiller.eu>
To: help-guix@gnu.org,Vittorio Malaguti <rundhis@gmail.com>
Subject: Re: guix pull fails on raspberry
Date: Mon, 31 Aug 2020 09:57:50 -0400	[thread overview]
Message-ID: <62055B40-30AA-4772-A854-5D6BD1819000@lepiller.eu> (raw)
In-Reply-To: <CAHgstk5ycPNuN1_NAJr4oiih2FTJG3RSgsuVaFdfWPCwVC6mDw@mail.gmail.com>

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.

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	other threads:[~2020-08-31 13:58 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 [this message]
2020-08-31 14:14   ` Vagrant Cascadian

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

  List information: https://guix.gnu.org/

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=62055B40-30AA-4772-A854-5D6BD1819000@lepiller.eu \
    --to=julien@lepiller.eu \
    --cc=help-guix@gnu.org \
    --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.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).