all messages for Guix-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
* bug#43274: fdisk fails to build on armhf
@ 2020-09-08 11:19 Andreas Enge
  2020-09-08 12:02 ` Andreas Enge
                   ` (2 more replies)
  0 siblings, 3 replies; 10+ messages in thread
From: Andreas Enge @ 2020-09-08 11:19 UTC (permalink / raw)
  To: 43274

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





^ permalink raw reply	[flat|nested] 10+ messages in thread

end of thread, other threads:[~2021-01-14 12:46 UTC | newest]

Thread overview: 10+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2020-09-08 11:19 bug#43274: fdisk fails to build on armhf Andreas Enge
2020-09-08 12:02 ` 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

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.