all messages for Guix-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
From: Andreas Enge <andreas@enge.fr>
To: 43274@debbugs.gnu.org
Subject: bug#43274: fdisk fails to build on armhf
Date: Tue, 8 Sep 2020 13:19:39 +0200	[thread overview]
Message-ID: <20200908111939.GA10965@jurong> (raw)

Hello,

I am trying to build an armhf disk image on an aarch64 machine.

The build fails in this order:
genimage requires fdisk
fdisk requires guile-1.8.8 (!)
guile-1.8.8 fails two of its 16 tests:
ERROR: Value out of range -9223372036854775808 to 9223372036854775807: -9223372036854775808
FAIL: test-num2integral
fail: scm_is_signed_integer ((- (expt 2 63)), -9223372036854775808, 9223372036854775807) == 1
FAIL: test-conversion

This might be due to trying to "pseudo-cross-compile" from an aarch64 machine.
Independently, the last fdisk release dates from 2011, and relying on
guile-1.8.8 is not sustainable.

Can we phase out fdisk in Guix? Replace it by parted? Something else?
Actually genimage is the only package depending on fdisk, so if anything,
we could maybe drop this dependency, marked as
    (native-inputs
       ...
       ("fdisk" ,fdisk) ; for the tests

What do you think?

Andreas





             reply	other threads:[~2020-09-08 11:21 UTC|newest]

Thread overview: 10+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2020-09-08 11:19 Andreas Enge [this message]
2020-09-08 12:02 ` bug#43274: fdisk fails to build on armhf Andreas Enge
2020-09-08 13:12   ` Andreas Enge
2020-09-08 15:47     ` Andreas Enge
2020-09-08 16:24       ` Andreas Enge
2020-09-08 17:50         ` Timotej Lazar
2020-09-08 21:00           ` Andreas Enge
2020-12-14 19:03 ` bug#43274: Guile: test-num2integral and scm_is_signed_integer test failing Denis 'GNUtoo' Carikli
2021-01-14 12:33 ` bug#43274: latest genimage test suite Vincent Legoll
2021-01-14 12:45   ` Vincent Legoll

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=20200908111939.GA10965@jurong \
    --to=andreas@enge.fr \
    --cc=43274@debbugs.gnu.org \
    /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.