GNU bug report logs - #30825
'guix system disk-image' fails on ARM

Previous Next

Package: guix;

Reported by: Andreas Enge <andreas <at> enge.fr>

Date: Thu, 15 Mar 2018 13:38:02 UTC

Severity: normal

Done: Mathieu Othacehe <othacehe <at> gnu.org>

Bug is archived. No further changes may be made.

To add a comment to this bug, you must first unarchive it, by sending
a message to control AT debbugs.gnu.org, with unarchive 30825 in the body.
You can then email your comments to 30825 AT debbugs.gnu.org in the normal way.

Toggle the display of automated, internal messages from the tracker.

View this report as an mbox folder, status mbox, maintainer mbox


Report forwarded to bug-guix <at> gnu.org:
bug#30825; Package guix. (Thu, 15 Mar 2018 13:38:02 GMT) Full text and rfc822 format available.

Acknowledgement sent to Andreas Enge <andreas <at> enge.fr>:
New bug report received and forwarded. Copy sent to bug-guix <at> gnu.org. (Thu, 15 Mar 2018 13:38:02 GMT) Full text and rfc822 format available.

Message #5 received at submit <at> debbugs.gnu.org (full text, mbox):

From: Andreas Enge <andreas <at> enge.fr>
To: bug-guix <at> gnu.org
Subject: Building disk-image fails
Date: Thu, 15 Mar 2018 14:37:24 +0100
Hello,

trying to build a disk image on armhf on guix git has been failing for
a while now with the following, not very informative message:

...
grafting '/gnu/store/l5a4h6hjjdpf5kiny97pn1m5wd04ippp-zile-2.4.14' -> '/gnu/store/0dd0gyjknaycp768bh7ms1bz6vs34jms-zile-2.4.14'...
Creating manual page database...
1141 entries processed in 7.8 s

warning: collision encountered:
/gnu/store/7b068yxm2i08v9nymh96zqmdr7awmd1d-inetutils-1.9.4/bin/ifconfig
/gnu/store/cb4dwqhgjzvpnjcfynqzg6j1lkfnbpc1-net-tools-1.60-0.479bb4a/bin/ifconfig
warning: arbitrarily choosing /gnu/store/7b068yxm2i08v9nymh96zqmdr7awmd1d-inetutils-1.9.4/bin/ifconfig

warning: collision encountered:
/gnu/store/m8f75dsgp3nbzn9nlzilc0pgh70wka02-util-linux-2.31/sbin/nologin
/gnu/store/d7s422nfkydsc2r7wwjzq23qgiw5w9ss-shadow-4.5/sbin/nologin
warning: arbitrarily choosing /gnu/store/m8f75dsgp3nbzn9nlzilc0pgh70wka02-util-linux-2.31/sbin/nologin

warning: collision encountered:
/gnu/store/m8f75dsgp3nbzn9nlzilc0pgh70wka02-util-linux-2.31/share/man/man8/nologin.8.gz
/gnu/store/d7s422nfkydsc2r7wwjzq23qgiw5w9ss-shadow-4.5/share/man/man8/nologin.8.gz
warning: arbitrarily choosing /gnu/store/m8f75dsgp3nbzn9nlzilc0pgh70wka02-util-linux-2.31/share/man/man8/nologin.8.gz
environment variable `PATH' set to `/gnu/store/qh0ipghra0ggh7pnik9hds0qb361hv0k-qemu-minimal-2.11.1/bin:/gnu/store/170l2mhsb0pycki92l7n0ir50hnabq2c-coreutils-8.28/bin'
creating raw image of 1004.70 MiB...
Formatting '/gnu/store/gqv4i2hamajyqzrdlx90yg3wf49jz6ll-disk-image', fmt=raw size=1053507739
Backtrace:
           2 (primitive-load "/gnu/store/50h7i8w32jxfawm8cdry7ingf1n?")
In ./gnu/build/vm.scm:
    163:4  1 (load-in-linux-vm _ #:output _ #:qemu _ #:memory-size _ ?)
In unknown file:
           0 (scm-error misc-error #f "~A ~S" ("qemu failed" "qem?") #)

ERROR: In procedure scm-error:
qemu failed "qemu-system-arm"
builder for `/gnu/store/vd8bx5jd868mnhm0mdj8zgjsvjakzh4y-disk-image.drv' failed with exit code 1
guix system: error: build failed: build of `/gnu/store/vd8bx5jd868mnhm0mdj8zgjsvjakzh4y-disk-image.drv' failed
...

Andreas





Information forwarded to bug-guix <at> gnu.org:
bug#30825; Package guix. (Thu, 15 Mar 2018 15:15:02 GMT) Full text and rfc822 format available.

Message #8 received at 30825 <at> debbugs.gnu.org (full text, mbox):

From: Andreas Enge <andreas <at> enge.fr>
To: 30825 <at> debbugs.gnu.org
Subject: Re: bug#30825: Building disk-image fails
Date: Thu, 15 Mar 2018 16:14:16 +0100
[Message part 1 (text/plain, inline)]
I am attaching my configuration file as passed to
   ./pre-inst-env guix system disk-image lime.scm
I am trying to create a GuixSD image to be run on the Olimex Lime system.

When I comment out the line "initrd" (since the module does not exist
on x86_64), a disk image is created on x86_64.

What could I do to help debug this?

Andreas

[lime.scm (text/plain, attachment)]

Information forwarded to bug-guix <at> gnu.org:
bug#30825; Package guix. (Thu, 15 Mar 2018 15:30:03 GMT) Full text and rfc822 format available.

Message #11 received at 30825 <at> debbugs.gnu.org (full text, mbox):

From: ludo <at> gnu.org (Ludovic Courtès)
To: Andreas Enge <andreas <at> enge.fr>
Cc: 30825 <at> debbugs.gnu.org, Mathieu Othacehe <m.othacehe <at> gmail.com>
Subject: Re: bug#30825: Building disk-image fails
Date: Thu, 15 Mar 2018 16:29:18 +0100
Hello,

Andreas Enge <andreas <at> enge.fr> skribis:

> Formatting '/gnu/store/gqv4i2hamajyqzrdlx90yg3wf49jz6ll-disk-image', fmt=raw size=1053507739
> Backtrace:
>            2 (primitive-load "/gnu/store/50h7i8w32jxfawm8cdry7ingf1n?")
> In ./gnu/build/vm.scm:
>     163:4  1 (load-in-linux-vm _ #:output _ #:qemu _ #:memory-size _ ?)
> In unknown file:
>            0 (scm-error misc-error #f "~A ~S" ("qemu failed" "qem?") #)
>
> ERROR: In procedure scm-error:
> qemu failed "qemu-system-arm"
> builder for `/gnu/store/vd8bx5jd868mnhm0mdj8zgjsvjakzh4y-disk-image.drv' failed with exit code 1

Building an image on ARM, *that’s* bleeding edge!  :-)

Could you do:

  guix gc --references /gnu/store/vd8bx5jd868mnhm0mdj8zgjsvjakzh4y-disk-image.drv | grep disk-image-builder

and try to run the qemu-system-arm command that appears there with the
arguments that from gnu/build/vm.scm line 163?

Mathieu came up with that code and might have a better idea though.  :-)

Thanks,
Ludo’.




Information forwarded to bug-guix <at> gnu.org:
bug#30825; Package guix. (Thu, 15 Mar 2018 16:00:02 GMT) Full text and rfc822 format available.

Message #14 received at 30825 <at> debbugs.gnu.org (full text, mbox):

From: Mathieu Othacehe <m.othacehe <at> gmail.com>
To: Ludovic Courtès <ludo <at> gnu.org>
Cc: Andreas Enge <andreas <at> enge.fr>, 30825 <at> debbugs.gnu.org
Subject: Re: bug#30825: Building disk-image fails
Date: Thu, 15 Mar 2018 16:58:53 +0100
Hi Ludo & Andreas,

> Could you do:
>
>   guix gc --references /gnu/store/vd8bx5jd868mnhm0mdj8zgjsvjakzh4y-disk-image.drv | grep disk-image-builder
>
> and try to run the qemu-system-arm command that appears there with the
> arguments that from gnu/build/vm.scm line 163?
>
> Mathieu came up with that code and might have a better idea though.  :-)

That how I debug this part of the code, so let's wait for the answer :)

Mathieu




Information forwarded to bug-guix <at> gnu.org:
bug#30825; Package guix. (Tue, 01 May 2018 20:29:01 GMT) Full text and rfc822 format available.

Message #17 received at 30825 <at> debbugs.gnu.org (full text, mbox):

From: ludo <at> gnu.org (Ludovic Courtès)
To: Andreas Enge <andreas <at> enge.fr>
Cc: 30825 <at> debbugs.gnu.org, Mathieu Othacehe <m.othacehe <at> gmail.com>
Subject: Re: bug#30825: Building disk-image fails
Date: Tue, 01 May 2018 22:28:11 +0200
Ping!  :-)

ludo <at> gnu.org (Ludovic Courtès) skribis:

> Hello,
>
> Andreas Enge <andreas <at> enge.fr> skribis:
>
>> Formatting '/gnu/store/gqv4i2hamajyqzrdlx90yg3wf49jz6ll-disk-image', fmt=raw size=1053507739
>> Backtrace:
>>            2 (primitive-load "/gnu/store/50h7i8w32jxfawm8cdry7ingf1n?")
>> In ./gnu/build/vm.scm:
>>     163:4  1 (load-in-linux-vm _ #:output _ #:qemu _ #:memory-size _ ?)
>> In unknown file:
>>            0 (scm-error misc-error #f "~A ~S" ("qemu failed" "qem?") #)
>>
>> ERROR: In procedure scm-error:
>> qemu failed "qemu-system-arm"
>> builder for `/gnu/store/vd8bx5jd868mnhm0mdj8zgjsvjakzh4y-disk-image.drv' failed with exit code 1
>
> Building an image on ARM, *that’s* bleeding edge!  :-)
>
> Could you do:
>
>   guix gc --references /gnu/store/vd8bx5jd868mnhm0mdj8zgjsvjakzh4y-disk-image.drv | grep disk-image-builder
>
> and try to run the qemu-system-arm command that appears there with the
> arguments that from gnu/build/vm.scm line 163?
>
> Mathieu came up with that code and might have a better idea though.  :-)
>
> Thanks,
> Ludo’.




Changed bug title to ''guix system disk-image' fails on ARM' from 'Building disk-image fails' Request was from ludo <at> gnu.org (Ludovic Courtès) to control <at> debbugs.gnu.org. (Tue, 01 May 2018 20:29:02 GMT) Full text and rfc822 format available.

Reply sent to Mathieu Othacehe <othacehe <at> gnu.org>:
You have taken responsibility. (Mon, 07 Dec 2020 09:48:01 GMT) Full text and rfc822 format available.

Notification sent to Andreas Enge <andreas <at> enge.fr>:
bug acknowledged by developer. (Mon, 07 Dec 2020 09:48:01 GMT) Full text and rfc822 format available.

Message #24 received at 30825-done <at> debbugs.gnu.org (full text, mbox):

From: Mathieu Othacehe <othacehe <at> gnu.org>
To: Andreas Enge <andreas <at> enge.fr>
Cc: 30825-done <at> debbugs.gnu.org
Subject: Re: bug#30825: Building disk-image fails
Date: Mon, 07 Dec 2020 10:46:57 +0100
Hello,

> ERROR: In procedure scm-error:
> qemu failed "qemu-system-arm"
> builder for `/gnu/store/vd8bx5jd868mnhm0mdj8zgjsvjakzh4y-disk-image.drv' failed with exit code 1
> guix system: error: build failed: build of `/gnu/store/vd8bx5jd868mnhm0mdj8zgjsvjakzh4y-disk-image.drv' failed
> ...

That's no longer relevant as "disk-image" are now produced without
resorting to virtual machines.

Thanks,

Mathieu




bug archived. Request was from Debbugs Internal Request <help-debbugs <at> gnu.org> to internal_control <at> debbugs.gnu.org. (Mon, 04 Jan 2021 12:24:06 GMT) Full text and rfc822 format available.

This bug report was last modified 3 years and 107 days ago.

Previous Next


GNU bug tracking system
Copyright (C) 1999 Darren O. Benham, 1997,2003 nCipher Corporation Ltd, 1994-97 Ian Jackson.