GNU bug report logs - #43274
"genimage fails to build on arm architecture"

Please note: This is a static page, with minimal formatting, updated once a day.
Click here to see this page with the latest information and nicer formatting.

Package: guix; Reported by: Andreas Enge <andreas@HIDDEN>; dated Tue, 8 Sep 2020 11:21:01 UTC; Maintainer for guix is bug-guix@HIDDEN.
Changed bug title to '"genimage fails to build on arm architecture"' from 'fdisk fails to build on armhf' Request was from Andreas Enge <andreas@HIDDEN> to control <at> debbugs.gnu.org. Full text available.

Message received at 43274 <at> debbugs.gnu.org:


Received: (at 43274) by debbugs.gnu.org; 8 Sep 2020 16:24:42 +0000
From debbugs-submit-bounces <at> debbugs.gnu.org Tue Sep 08 12:24:42 2020
Received: from localhost ([127.0.0.1]:56213 helo=debbugs.gnu.org)
	by debbugs.gnu.org with esmtp (Exim 4.84_2)
	(envelope-from <debbugs-submit-bounces <at> debbugs.gnu.org>)
	id 1kFgQE-0007HT-HK
	for submit <at> debbugs.gnu.org; Tue, 08 Sep 2020 12:24:42 -0400
Received: from hera.aquilenet.fr ([185.233.100.1]:54590)
 by debbugs.gnu.org with esmtp (Exim 4.84_2)
 (envelope-from <andreas@HIDDEN>) id 1kFgQC-0007HL-Aw
 for 43274 <at> debbugs.gnu.org; Tue, 08 Sep 2020 12:24:41 -0400
Received: from localhost (localhost [127.0.0.1])
 by hera.aquilenet.fr (Postfix) with ESMTP id 46C62DA39;
 Tue,  8 Sep 2020 18:24:39 +0200 (CEST)
X-Virus-Scanned: Debian amavisd-new at aquilenet.fr
Received: from hera.aquilenet.fr ([127.0.0.1])
 by localhost (hera.aquilenet.fr [127.0.0.1]) (amavisd-new, port 10024)
 with ESMTP id 92mz1OWyaR-E; Tue,  8 Sep 2020 18:24:38 +0200 (CEST)
Received: from jurong (unknown [IPv6:2001:910:103f::c08])
 by hera.aquilenet.fr (Postfix) with ESMTPSA id 866FFDA23;
 Tue,  8 Sep 2020 18:24:38 +0200 (CEST)
Date: Tue, 8 Sep 2020 18:24:21 +0200
From: Andreas Enge <andreas@HIDDEN>
To: 43274 <at> debbugs.gnu.org
Subject: Re: bug#43274: fdisk fails to build on armhf
Message-ID: <20200908162421.GA10312@jurong>
References: <20200908111939.GA10965@jurong> <20200908120226.GA14984@jurong>
 <20200908131203.GA19681@jurong> <20200908154753.GA28320@jurong>
MIME-Version: 1.0
Content-Type: text/plain; charset=us-ascii
Content-Disposition: inline
In-Reply-To: <20200908154753.GA28320@jurong>
X-Spam-Score: 0.7 (/)
X-Debbugs-Envelope-To: 43274
X-BeenThere: debbugs-submit <at> debbugs.gnu.org
X-Mailman-Version: 2.1.18
Precedence: list
List-Id: <debbugs-submit.debbugs.gnu.org>
List-Unsubscribe: <https://debbugs.gnu.org/cgi-bin/mailman/options/debbugs-submit>, 
 <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=unsubscribe>
List-Archive: <https://debbugs.gnu.org/cgi-bin/mailman/private/debbugs-submit/>
List-Post: <mailto:debbugs-submit <at> debbugs.gnu.org>
List-Help: <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=help>
List-Subscribe: <https://debbugs.gnu.org/cgi-bin/mailman/listinfo/debbugs-submit>, 
 <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=subscribe>
Errors-To: debbugs-submit-bounces <at> debbugs.gnu.org
Sender: "Debbugs-submit" <debbugs-submit-bounces <at> debbugs.gnu.org>
X-Spam-Score: -0.3 (/)

On Tue, Sep 08, 2020 at 05:47:53PM +0200, Andreas Enge wrote:
> The next step would be to check newer releases (12 and 13) of genimage.
> Has it actually ever been built on the arm architecture?

I tried 12 and 13, but already on x86_64 the test
FAIL: test/basic-images.test 7 - mke2fs
fails.

If someone with more experience with the package could have a look, that
would be nice.

Andreas





Information forwarded to bug-guix@HIDDEN:
bug#43274; Package guix. Full text available.

Message received at 43274 <at> debbugs.gnu.org:


Received: (at 43274) by debbugs.gnu.org; 8 Sep 2020 15:48:16 +0000
From debbugs-submit-bounces <at> debbugs.gnu.org Tue Sep 08 11:48:16 2020
Received: from localhost ([127.0.0.1]:56091 helo=debbugs.gnu.org)
	by debbugs.gnu.org with esmtp (Exim 4.84_2)
	(envelope-from <debbugs-submit-bounces <at> debbugs.gnu.org>)
	id 1kFfqx-000479-NF
	for submit <at> debbugs.gnu.org; Tue, 08 Sep 2020 11:48:15 -0400
Received: from hera.aquilenet.fr ([185.233.100.1]:54080)
 by debbugs.gnu.org with esmtp (Exim 4.84_2)
 (envelope-from <andreas@HIDDEN>) id 1kFfqv-000472-9j
 for 43274 <at> debbugs.gnu.org; Tue, 08 Sep 2020 11:48:14 -0400
Received: from localhost (localhost [127.0.0.1])
 by hera.aquilenet.fr (Postfix) with ESMTP id DA961D969;
 Tue,  8 Sep 2020 17:48:11 +0200 (CEST)
X-Virus-Scanned: Debian amavisd-new at aquilenet.fr
Received: from hera.aquilenet.fr ([127.0.0.1])
 by localhost (hera.aquilenet.fr [127.0.0.1]) (amavisd-new, port 10024)
 with ESMTP id rX5KNat1WlzZ; Tue,  8 Sep 2020 17:48:11 +0200 (CEST)
Received: from jurong (unknown [IPv6:2001:910:103f::c08])
 by hera.aquilenet.fr (Postfix) with ESMTPSA id 1C9F0170F;
 Tue,  8 Sep 2020 17:48:11 +0200 (CEST)
Date: Tue, 8 Sep 2020 17:47:53 +0200
From: Andreas Enge <andreas@HIDDEN>
To: 43274 <at> debbugs.gnu.org
Subject: Re: bug#43274: fdisk fails to build on armhf
Message-ID: <20200908154753.GA28320@jurong>
References: <20200908111939.GA10965@jurong> <20200908120226.GA14984@jurong>
 <20200908131203.GA19681@jurong>
MIME-Version: 1.0
Content-Type: text/plain; charset=us-ascii
Content-Disposition: inline
In-Reply-To: <20200908131203.GA19681@jurong>
X-Spam-Score: 0.7 (/)
X-Debbugs-Envelope-To: 43274
X-BeenThere: debbugs-submit <at> debbugs.gnu.org
X-Mailman-Version: 2.1.18
Precedence: list
List-Id: <debbugs-submit.debbugs.gnu.org>
List-Unsubscribe: <https://debbugs.gnu.org/cgi-bin/mailman/options/debbugs-submit>, 
 <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=unsubscribe>
List-Archive: <https://debbugs.gnu.org/cgi-bin/mailman/private/debbugs-submit/>
List-Post: <mailto:debbugs-submit <at> debbugs.gnu.org>
List-Help: <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=help>
List-Subscribe: <https://debbugs.gnu.org/cgi-bin/mailman/listinfo/debbugs-submit>, 
 <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=subscribe>
Errors-To: debbugs-submit-bounces <at> debbugs.gnu.org
Sender: "Debbugs-submit" <debbugs-submit-bounces <at> debbugs.gnu.org>
X-Spam-Score: -0.3 (/)

On Tue, Sep 08, 2020 at 03:12:03PM +0200, Andreas Enge wrote:
> So there does not even seem to be a test that relies on fdisk.

Looking at the tests, they do call "fdisk" and "sfdisk", but these come
from the util-linux package. The fdisk package only provides "gnufdisk",
which does not seem to be used at all.

> I would suggest to drop fdisk from this package (and getting closer to
> dropping guile@HIDDEN as well).

The package without fdisk fails on aarch64 (where it also failed previously)
and on armhf (where previously its dependency fdisk failed). So I will push
a commit that drops fdisk.

The next step would be to check newer releases (12 and 13) of genimage.
Has it actually ever been built on the arm architecture?

Also, is there any opposition to then drop the fdisk package from the
distribution?

Andreas





Information forwarded to bug-guix@HIDDEN:
bug#43274; Package guix. Full text available.

Message received at 43274 <at> debbugs.gnu.org:


Received: (at 43274) by debbugs.gnu.org; 8 Sep 2020 13:12:24 +0000
From debbugs-submit-bounces <at> debbugs.gnu.org Tue Sep 08 09:12:24 2020
Received: from localhost ([127.0.0.1]:52497 helo=debbugs.gnu.org)
	by debbugs.gnu.org with esmtp (Exim 4.84_2)
	(envelope-from <debbugs-submit-bounces <at> debbugs.gnu.org>)
	id 1kFdQ8-0005Xp-9f
	for submit <at> debbugs.gnu.org; Tue, 08 Sep 2020 09:12:24 -0400
Received: from hera.aquilenet.fr ([185.233.100.1]:52018)
 by debbugs.gnu.org with esmtp (Exim 4.84_2)
 (envelope-from <andreas@HIDDEN>) id 1kFdQ7-0005Xh-5j
 for 43274 <at> debbugs.gnu.org; Tue, 08 Sep 2020 09:12:23 -0400
Received: from localhost (localhost [127.0.0.1])
 by hera.aquilenet.fr (Postfix) with ESMTP id 85B5BD90F;
 Tue,  8 Sep 2020 15:12:21 +0200 (CEST)
X-Virus-Scanned: Debian amavisd-new at aquilenet.fr
Received: from hera.aquilenet.fr ([127.0.0.1])
 by localhost (hera.aquilenet.fr [127.0.0.1]) (amavisd-new, port 10024)
 with ESMTP id zp4W3y_4Qfth; Tue,  8 Sep 2020 15:12:21 +0200 (CEST)
Received: from jurong (unknown [IPv6:2001:910:103f::c08])
 by hera.aquilenet.fr (Postfix) with ESMTPSA id CD340D8F3;
 Tue,  8 Sep 2020 15:12:20 +0200 (CEST)
Date: Tue, 8 Sep 2020 15:12:03 +0200
From: Andreas Enge <andreas@HIDDEN>
To: 43274 <at> debbugs.gnu.org
Subject: Re: bug#43274: fdisk fails to build on armhf
Message-ID: <20200908131203.GA19681@jurong>
References: <20200908111939.GA10965@jurong>
 <20200908120226.GA14984@jurong>
MIME-Version: 1.0
Content-Type: text/plain; charset=us-ascii
Content-Disposition: inline
In-Reply-To: <20200908120226.GA14984@jurong>
X-Spam-Score: 0.7 (/)
X-Debbugs-Envelope-To: 43274
X-BeenThere: debbugs-submit <at> debbugs.gnu.org
X-Mailman-Version: 2.1.18
Precedence: list
List-Id: <debbugs-submit.debbugs.gnu.org>
List-Unsubscribe: <https://debbugs.gnu.org/cgi-bin/mailman/options/debbugs-submit>, 
 <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=unsubscribe>
List-Archive: <https://debbugs.gnu.org/cgi-bin/mailman/private/debbugs-submit/>
List-Post: <mailto:debbugs-submit <at> debbugs.gnu.org>
List-Help: <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=help>
List-Subscribe: <https://debbugs.gnu.org/cgi-bin/mailman/listinfo/debbugs-submit>, 
 <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=subscribe>
Errors-To: debbugs-submit-bounces <at> debbugs.gnu.org
Sender: "Debbugs-submit" <debbugs-submit-bounces <at> debbugs.gnu.org>
X-Spam-Score: -0.3 (/)

Here is what happens when I drop fdisk from native-inputs of genimage:

starting phase `check'
make --no-print-directory check-TESTS
PASS: test/basic-images.test 1 - cpio
SKIP: test/basic-images.test 2 # SKIP cramfs (missing mkcramfs)
...
PASS: test/basic-images.test 20 - fit
============================================================================
Testsuite summary for genimage 11
============================================================================
# TOTAL: 20
# PASS:  19
# SKIP:  1
# XFAIL: 0
# FAIL:  0
# XPASS: 0
# ERROR: 0

So there does not even seem to be a test that relies on fdisk.

I would suggest to drop fdisk from this package (and getting closer to
dropping guile@HIDDEN as well).

Andreas





Information forwarded to bug-guix@HIDDEN:
bug#43274; Package guix. Full text available.

Message received at 43274 <at> debbugs.gnu.org:


Received: (at 43274) by debbugs.gnu.org; 8 Sep 2020 12:02:49 +0000
From debbugs-submit-bounces <at> debbugs.gnu.org Tue Sep 08 08:02:49 2020
Received: from localhost ([127.0.0.1]:52313 helo=debbugs.gnu.org)
	by debbugs.gnu.org with esmtp (Exim 4.84_2)
	(envelope-from <debbugs-submit-bounces <at> debbugs.gnu.org>)
	id 1kFcKn-0001ca-KA
	for submit <at> debbugs.gnu.org; Tue, 08 Sep 2020 08:02:49 -0400
Received: from hera.aquilenet.fr ([185.233.100.1]:50984)
 by debbugs.gnu.org with esmtp (Exim 4.84_2)
 (envelope-from <andreas@HIDDEN>) id 1kFcKk-0001cQ-De
 for 43274 <at> debbugs.gnu.org; Tue, 08 Sep 2020 08:02:48 -0400
Received: from localhost (localhost [127.0.0.1])
 by hera.aquilenet.fr (Postfix) with ESMTP id DF2BDD888;
 Tue,  8 Sep 2020 14:02:44 +0200 (CEST)
X-Virus-Scanned: Debian amavisd-new at aquilenet.fr
Received: from hera.aquilenet.fr ([127.0.0.1])
 by localhost (hera.aquilenet.fr [127.0.0.1]) (amavisd-new, port 10024)
 with ESMTP id stW1OqW6BKxL; Tue,  8 Sep 2020 14:02:44 +0200 (CEST)
Received: from jurong (unknown [IPv6:2001:910:103f::c08])
 by hera.aquilenet.fr (Postfix) with ESMTPSA id 181CBD873;
 Tue,  8 Sep 2020 14:02:44 +0200 (CEST)
Date: Tue, 8 Sep 2020 14:02:26 +0200
From: Andreas Enge <andreas@HIDDEN>
To: 43274 <at> debbugs.gnu.org
Subject: Re: bug#43274: fdisk fails to build on armhf
Message-ID: <20200908120226.GA14984@jurong>
References: <20200908111939.GA10965@jurong>
MIME-Version: 1.0
Content-Type: text/plain; charset=us-ascii
Content-Disposition: inline
In-Reply-To: <20200908111939.GA10965@jurong>
X-Spam-Score: 0.7 (/)
X-Debbugs-Envelope-To: 43274
X-BeenThere: debbugs-submit <at> debbugs.gnu.org
X-Mailman-Version: 2.1.18
Precedence: list
List-Id: <debbugs-submit.debbugs.gnu.org>
List-Unsubscribe: <https://debbugs.gnu.org/cgi-bin/mailman/options/debbugs-submit>, 
 <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=unsubscribe>
List-Archive: <https://debbugs.gnu.org/cgi-bin/mailman/private/debbugs-submit/>
List-Post: <mailto:debbugs-submit <at> debbugs.gnu.org>
List-Help: <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=help>
List-Subscribe: <https://debbugs.gnu.org/cgi-bin/mailman/listinfo/debbugs-submit>, 
 <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=subscribe>
Errors-To: debbugs-submit-bounces <at> debbugs.gnu.org
Sender: "Debbugs-submit" <debbugs-submit-bounces <at> debbugs.gnu.org>
X-Spam-Score: -0.3 (/)

The same two tests also fail on an armhf machine.

Andreas





Information forwarded to bug-guix@HIDDEN:
bug#43274; Package guix. Full text available.

Message received at submit <at> debbugs.gnu.org:


Received: (at submit) by debbugs.gnu.org; 8 Sep 2020 11:20:07 +0000
From debbugs-submit-bounces <at> debbugs.gnu.org Tue Sep 08 07:20:07 2020
Received: from localhost ([127.0.0.1]:52196 helo=debbugs.gnu.org)
	by debbugs.gnu.org with esmtp (Exim 4.84_2)
	(envelope-from <debbugs-submit-bounces <at> debbugs.gnu.org>)
	id 1kFbfS-0006nu-UD
	for submit <at> debbugs.gnu.org; Tue, 08 Sep 2020 07:20:07 -0400
Received: from lists.gnu.org ([209.51.188.17]:42918)
 by debbugs.gnu.org with esmtp (Exim 4.84_2)
 (envelope-from <andreas@HIDDEN>) id 1kFbfO-0006nh-R0
 for submit <at> debbugs.gnu.org; Tue, 08 Sep 2020 07:20:05 -0400
Received: from eggs.gnu.org ([2001:470:142:3::10]:44620)
 by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256)
 (Exim 4.90_1) (envelope-from <andreas@HIDDEN>) id 1kFbfO-00086N-K4
 for bug-guix@HIDDEN; Tue, 08 Sep 2020 07:20:02 -0400
Received: from hera.aquilenet.fr ([185.233.100.1]:54216)
 by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256)
 (Exim 4.90_1) (envelope-from <andreas@HIDDEN>) id 1kFbfM-0007Br-Sj
 for bug-guix@HIDDEN; Tue, 08 Sep 2020 07:20:02 -0400
Received: from localhost (localhost [127.0.0.1])
 by hera.aquilenet.fr (Postfix) with ESMTP id EC364D759;
 Tue,  8 Sep 2020 13:19:57 +0200 (CEST)
X-Virus-Scanned: Debian amavisd-new at aquilenet.fr
Received: from hera.aquilenet.fr ([127.0.0.1])
 by localhost (hera.aquilenet.fr [127.0.0.1]) (amavisd-new, port 10024)
 with ESMTP id 5zjrHFX23soH; Tue,  8 Sep 2020 13:19:57 +0200 (CEST)
Received: from jurong (unknown [IPv6:2001:910:103f::c08])
 by hera.aquilenet.fr (Postfix) with ESMTPSA id 21F37D675;
 Tue,  8 Sep 2020 13:19:57 +0200 (CEST)
Date: Tue, 8 Sep 2020 13:19:39 +0200
From: Andreas Enge <andreas@HIDDEN>
To: bug-guix@HIDDEN
Subject: fdisk fails to build on armhf
Message-ID: <20200908111939.GA10965@jurong>
MIME-Version: 1.0
Content-Type: text/plain; charset=us-ascii
Content-Disposition: inline
Received-SPF: neutral client-ip=185.233.100.1; envelope-from=andreas@HIDDEN;
 helo=hera.aquilenet.fr
X-detected-operating-system: by eggs.gnu.org: First seen = 2020/09/08 06:56:41
X-ACL-Warn: Detected OS   = Linux 3.11 and newer [fuzzy]
X-Spam_score_int: -10
X-Spam_score: -1.1
X-Spam_bar: -
X-Spam_report: (-1.1 / 5.0 requ) BAYES_00=-1.9, RCVD_IN_MSPIKE_BL=0.001,
 RCVD_IN_MSPIKE_L3=0.001, SPF_HELO_PASS=-0.001,
 SPF_NEUTRAL=0.779 autolearn=no autolearn_force=no
X-Spam_action: no action
X-Spam-Score: -1.6 (-)
X-Debbugs-Envelope-To: submit
Cc: Danny Milosavljevic <dannym@HIDDEN>
X-BeenThere: debbugs-submit <at> debbugs.gnu.org
X-Mailman-Version: 2.1.18
Precedence: list
List-Id: <debbugs-submit.debbugs.gnu.org>
List-Unsubscribe: <https://debbugs.gnu.org/cgi-bin/mailman/options/debbugs-submit>, 
 <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=unsubscribe>
List-Archive: <https://debbugs.gnu.org/cgi-bin/mailman/private/debbugs-submit/>
List-Post: <mailto:debbugs-submit <at> debbugs.gnu.org>
List-Help: <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=help>
List-Subscribe: <https://debbugs.gnu.org/cgi-bin/mailman/listinfo/debbugs-submit>, 
 <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=subscribe>
Errors-To: debbugs-submit-bounces <at> debbugs.gnu.org
Sender: "Debbugs-submit" <debbugs-submit-bounces <at> debbugs.gnu.org>
X-Spam-Score: -2.6 (--)

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





Acknowledgement sent to Andreas Enge <andreas@HIDDEN>:
New bug report received and forwarded. Copy sent to bug-guix@HIDDEN. Full text available.
Report forwarded to bug-guix@HIDDEN:
bug#43274; Package guix. Full text available.
Please note: This is a static page, with minimal formatting, updated once a day.
Click here to see this page with the latest information and nicer formatting.
Last modified: Tue, 8 Sep 2020 16:30:02 UTC

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