GNU bug report logs - #48393
Can't build installer on aarch64 / v86d fails to build on aarch64

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: Leo Famulari <leo@HIDDEN>; merged with #41120; dated Thu, 13 May 2021 02:02:02 UTC; Maintainer for guix is bug-guix@HIDDEN.
Merged 41120 48393. Request was from Leo Famulari <leo@HIDDEN> to control <at> debbugs.gnu.org. Full text available.

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


Received: (at 48393) by debbugs.gnu.org; 20 Aug 2021 11:16:14 +0000
From debbugs-submit-bounces <at> debbugs.gnu.org Fri Aug 20 07:16:14 2021
Received: from localhost ([127.0.0.1]:33043 helo=debbugs.gnu.org)
	by debbugs.gnu.org with esmtp (Exim 4.84_2)
	(envelope-from <debbugs-submit-bounces <at> debbugs.gnu.org>)
	id 1mH2VO-0006N2-Bu
	for submit <at> debbugs.gnu.org; Fri, 20 Aug 2021 07:16:14 -0400
Received: from araneo.si ([90.157.193.204]:46410)
 by debbugs.gnu.org with esmtp (Exim 4.84_2)
 (envelope-from <timotej.lazar@HIDDEN>) id 1mH2VI-0006Mp-P5
 for 48393 <at> debbugs.gnu.org; Fri, 20 Aug 2021 07:16:09 -0400
Received: from araneo.si (localhost.lan [127.0.0.1])
 by araneo.si (OpenSMTPD) with ESMTP id 96f96417;
 Fri, 20 Aug 2021 11:16:02 +0000 (UTC)
DKIM-Signature: v=1; a=rsa-sha1; c=relaxed; d=araneo.si; h=from:to
 :subject:in-reply-to:references:date:message-id:mime-version
 :content-type:content-transfer-encoding; s=20180623; bh=Qtsg/nQX
 Q7z0c4o5lguv01v5XzQ=; b=hmIUVVR0UXoENvuCKDMTt7TaNpYHLfEvIX0cO32f
 9Ty0RdBFWf7Qdm6j2wnQuTdtbITnKojjUdn2hhbWlaG4hwhFBQd4ewU6AmgrSP7d
 f7BCGbOKnhW6BNLOtuJGq+s66tteSY6ZRBuUJ2zVho5/Wz9TxaAoZwWgi/I2Xkqh
 3p9Nw0tik7gRQbzIztFYlerBD/RWoTJSUJJVF/NPuW1csVOTIpl54L1QgugiI+tz
 iqKUuanHX5daj6DaKF7XrCsflUFxDeFzmA2wtiSkvXHSnVPgIYgIvm3YPtVJS1we
 8xF0KLfcPaCWgsXZqnQWrdevfd6y7VjMh98N3V1ybiB03A==
Received: by araneo.si (OpenSMTPD) with ESMTPSA id 40d67659
 (TLSv1.3:TLS_AES_256_GCM_SHA384:256:NO); 
 Fri, 20 Aug 2021 11:16:02 +0000 (UTC)
From: Timotej Lazar <timotej.lazar@HIDDEN>
To: Leo Famulari <leo@HIDDEN>, 48393 <at> debbugs.gnu.org
Subject: Re: bug#48393: Can't build installer on aarch64 / v86d fails to
 build on aarch64
In-Reply-To: <YJyIeVywcztqN20y@HIDDEN>
References: <YJyIeVywcztqN20y@HIDDEN>
Date: Fri, 20 Aug 2021 13:16:02 +0200
Message-ID: <87o89sjril.fsf@HIDDEN>
MIME-Version: 1.0
Content-Type: text/plain; charset=utf-8
Content-Transfer-Encoding: quoted-printable
X-Spam-Score: -0.0 (/)
X-Debbugs-Envelope-To: 48393
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: -1.0 (-)

Leo Famulari <leo@HIDDEN> [2021-05-12 22:01:29-0400]:
> I tried building the installer on my aarch64 computer, but it fails to
> build v86d, as shown below.

I just hit this one too. It=E2=80=99s been discussed previously[0]; as you =
note,
the problem is that v86d is built even though it=E2=80=99s not used on aarc=
h64.
The patch in [1] works when compiling natively, not sure about cross
compiling.

I tried unsuccessfully to get the solution with let-system[2] to work,
maybe someone better versed in gexps can help?

[0] https://bugs.gnu.org/41120
[1] https://bugs.gnu.org/41120#20
[2] https://bugs.gnu.org/41120#23




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

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


Received: (at submit) by debbugs.gnu.org; 13 May 2021 02:01:41 +0000
From debbugs-submit-bounces <at> debbugs.gnu.org Wed May 12 22:01:41 2021
Received: from localhost ([127.0.0.1]:40950 helo=debbugs.gnu.org)
	by debbugs.gnu.org with esmtp (Exim 4.84_2)
	(envelope-from <debbugs-submit-bounces <at> debbugs.gnu.org>)
	id 1lh0fU-0001sa-Rn
	for submit <at> debbugs.gnu.org; Wed, 12 May 2021 22:01:41 -0400
Received: from lists.gnu.org ([209.51.188.17]:45268)
 by debbugs.gnu.org with esmtp (Exim 4.84_2)
 (envelope-from <leo@HIDDEN>) id 1lh0fR-0001sS-Rz
 for submit <at> debbugs.gnu.org; Wed, 12 May 2021 22:01:39 -0400
Received: from eggs.gnu.org ([2001:470:142:3::10]:52368)
 by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256)
 (Exim 4.90_1) (envelope-from <leo@HIDDEN>) id 1lh0fR-0004iM-90
 for bug-guix@HIDDEN; Wed, 12 May 2021 22:01:37 -0400
Received: from out5-smtp.messagingengine.com ([66.111.4.29]:45921)
 by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256)
 (Exim 4.90_1) (envelope-from <leo@HIDDEN>) id 1lh0fO-00059y-4x
 for bug-guix@HIDDEN; Wed, 12 May 2021 22:01:36 -0400
Received: from compute5.internal (compute5.nyi.internal [10.202.2.45])
 by mailout.nyi.internal (Postfix) with ESMTP id 351BC5C00AB;
 Wed, 12 May 2021 22:01:33 -0400 (EDT)
Received: from mailfrontend1 ([10.202.2.162])
 by compute5.internal (MEProxy); Wed, 12 May 2021 22:01:33 -0400
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=famulari.name;
 h=date:from:to:subject:message-id:mime-version:content-type; s=
 mesmtp; bh=qwUKx4C1CCWU6gZOokHrOseupPNcDyVU0vCLHzll7mA=; b=FaDIy
 DNK5yWAk10zBvW14voZxD8+s92ErH+PqV+7aUxu1qcHUvh4K+G0lrRMpNdfXGhYe
 sK2lmkJep4AhHc8zNrgs27hwgLcrqunKAuHdLs6YPn81b0b9cNzAHuiGOKC+fDvL
 cS+p3AAgo/tvNyFL7jlqsCy9W4JEBZqanI+mO4=
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=
 messagingengine.com; h=content-type:date:from:message-id
 :mime-version:subject:to:x-me-proxy:x-me-proxy:x-me-sender
 :x-me-sender:x-sasl-enc; s=fm2; bh=qwUKx4C1CCWU6gZOokHrOseupPNcD
 yVU0vCLHzll7mA=; b=qWWkyquhz6jrSTZTMOuoplzJSEcIjdndLRO24dxHPhXHh
 Er9Rc92juAah1LfWXFNJW9HKZ5vPYHt9MlOxDB05U3EBo3UlJynnJESWqjCmXoKT
 FaOgfseZC/zrQKVrz4eu0k5D/rDZHMrRNlydbU6t98zfkZ4khV2f8wSlQ5Cy9XNd
 iIOG1i26qm97ovlgi9W2bs0+aRqO43UGbZ71Gda5GkUxgeTbmtMQogfm7dkF4cKP
 t+3WCgdIfsW/VWVTMP0dpG1hy9EIDOKcKbL+MyzyhkuMSUR+jK7ujld8/wOdAvmd
 CMfDhJqUjqVvdt4MXUZ5tLCTk5sHF5J9M0LPhfQ+g==
X-ME-Sender: <xms:fIicYJeIzwIwRRAhId9hmzsnEVkKbMoWiDfIOg4q_QEqPEL8ToXetg>
 <xme:fIicYHPuPsxsYDrKFWI16mUDYQGXeKAocapXTO7ukcxNC6ubxEZlhaHLf9_WRv67K
 gjBeflL1H5t-nhxXQ>
X-ME-Proxy-Cause: gggruggvucftvghtrhhoucdtuddrgeduledrvdehfedggeekucetufdoteggodetrfdotf
 fvucfrrhhofhhilhgvmecuhfgrshhtofgrihhlpdfqfgfvpdfurfetoffkrfgpnffqhgen
 uceurghilhhouhhtmecufedttdenucenucfjughrpeffhffvuffkgggtugesthdtredttd
 dtvdenucfhrhhomhepnfgvohcuhfgrmhhulhgrrhhiuceolhgvohesfhgrmhhulhgrrhhi
 rdhnrghmvgeqnecuggftrfgrthhtvghrnhepffehtdeffedtvdeuieefudeujedvkeehff
 euieejgfdvteelgeehgeefheehuddunecukfhppedutddtrdduuddrudeiledruddukeen
 ucevlhhushhtvghrufhiiigvpedtnecurfgrrhgrmhepmhgrihhlfhhrohhmpehlvghose
 hfrghmuhhlrghrihdrnhgrmhgv
X-ME-Proxy: <xmx:fIicYCgxawSe51Lv_1unCsaLWOCRjcvrp1OVEzVI_ztl-OT6X2xAHw>
 <xmx:fIicYC9KkXXFbF0iezjXzH3tcQX48XTZY_-D_e2PWZh23Ao3TOQ4RA>
 <xmx:fIicYFuUGvnHykXa5dCFLzpxU1v-XXWFIcvnc0qSxWWmHt3f8SPWGg>
 <xmx:fYicYD7PuVVhgsyGwHD6pSEB4xfGlIzxfrB0dBSeV78q3z_4i9phWw>
Received: from localhost (pool-100-11-169-118.phlapa.fios.verizon.net
 [100.11.169.118]) by mail.messagingengine.com (Postfix) with ESMTPA
 for <bug-guix@HIDDEN>; Wed, 12 May 2021 22:01:32 -0400 (EDT)
Date: Wed, 12 May 2021 22:01:29 -0400
From: Leo Famulari <leo@HIDDEN>
To: bug-guix@HIDDEN
Subject: Can't build installer on aarch64 / v86d fails to build on aarch64
Message-ID: <YJyIeVywcztqN20y@HIDDEN>
MIME-Version: 1.0
Content-Type: text/plain; charset=us-ascii
Content-Disposition: inline
Received-SPF: pass client-ip=66.111.4.29; envelope-from=leo@HIDDEN;
 helo=out5-smtp.messagingengine.com
X-Spam_score_int: -27
X-Spam_score: -2.8
X-Spam_bar: --
X-Spam_report: (-2.8 / 5.0 requ) BAYES_00=-1.9, DKIM_SIGNED=0.1,
 DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, DKIM_VALID_EF=-0.1,
 RCVD_IN_DNSWL_LOW=-0.7, RCVD_IN_MSPIKE_H4=0.001, RCVD_IN_MSPIKE_WL=0.001,
 SPF_HELO_PASS=-0.001, SPF_PASS=-0.001 autolearn=ham autolearn_force=no
X-Spam_action: no action
X-Spam-Score: -1.4 (-)
X-Debbugs-Envelope-To: submit
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.4 (--)

I tried building the installer on my aarch64 computer, but it fails to
build v86d, as shown below.

This package v86d is used in the installer's uvesafb-shepherd-service
service, which is supposed to not be used on aarch64 (the 'start' action
of the service limits use to Intel-compatible systems).

------
$ guix system image -t iso9660 gnu/system/install.scm -v3
[...]
starting phase `build'
make -e -w -C libs/lrmi-0.10 liblrmi.a
/gnu/store/ap7hgyv4rjqmhg4a6cb6cypsh3g1f5q4-gcc-7.5.0/bin/gcc -Wall -g -O2 -I/lib/modules/5.11.19-gnu/source/include -Ilibs/lrmi-0.10 -c -o v86_lrmi.o v86_lrmi.c
make[1]: Entering directory '/tmp/guix-build-v86d-0.1.10.drv-0/v86d-0.1.10-checkout/libs/lrmi-0.10'
/gnu/store/ap7hgyv4rjqmhg4a6cb6cypsh3g1f5q4-gcc-7.5.0/bin/gcc -c  -g -Wall -o lrmi.o lrmi.c
/gnu/store/ap7hgyv4rjqmhg4a6cb6cypsh3g1f5q4-gcc-7.5.0/bin/gcc -Wall -g -O2 -I/lib/modules/5.11.19-gnu/source/include -Ilibs/lrmi-0.10 -c -o v86_common.o v86_common.c
/gnu/store/ap7hgyv4rjqmhg4a6cb6cypsh3g1f5q4-gcc-7.5.0/bin/gcc -Wall -g -O2 -I/lib/modules/5.11.19-gnu/source/include -Ilibs/lrmi-0.10 -c -o v86.o v86.c
lrmi.c:1093:2: warning: #warning "LRMI is not supported on your system!" [-Wcpp]
 #warning "LRMI is not supported on your system!"
  ^~~~~~~
In file included from v86_lrmi.c:2:0:
libs/lrmi-0.10/lrmi.h:105:2: warning: #warning "LRMI is not supported on your system!" [-Wcpp]
 #warning "LRMI is not supported on your system!"
  ^~~~~~~
ar -rs liblrmi.a lrmi.o
In file included from v86_lrmi.c:3:0:
v86.h:8:10: fatal error: config.h: No such file or directory
 #include "config.h"
          ^~~~~~~~~~
In file included from v86_common.c:2:0:
v86.h:8:10: fatal error: config.h: No such file or directory
 #include "config.h"
          ^~~~~~~~~~
compilation terminated.
compilation terminated.
make: *** [Makefile:40: v86_lrmi.o] Error 1
ar: make: *** Waiting for unfinished jobs....
creating liblrmi.a
make: *** [Makefile:40: v86_common.o] Error 1
make[1]: Leaving directory '/tmp/guix-build-v86d-0.1.10.drv-0/v86d-0.1.10-checkout/libs/lrmi-0.10'
In file included from v86.c:17:0:
v86.h:8:10: fatal error: config.h: No such file or directory
 #include "config.h"
          ^~~~~~~~~~
compilation terminated.
make: *** [Makefile:40: v86.o] Error 1
command "make" "-j" "4" failed with status 2
builder for `/gnu/store/ll2g97yxbqrqr4vsn0i5zjhdf3dbigpq-v86d-0.1.10.drv' failed with exit code 1
build of /gnu/store/ll2g97yxbqrqr4vsn0i5zjhdf3dbigpq-v86d-0.1.10.drv failed
View build log at '/var/log/guix/drvs/ll/2g97yxbqrqr4vsn0i5zjhdf3dbigpq-v86d-0.1.10.drv.bz2'.
cannot build derivation `/gnu/store/afv6x2id02mldbyirv59d7q3vwabkd27-shepherd-maybe-uvesafb.scm.drv': 1 dependencies couldn't be built
cannot build derivation `/gnu/store/fx3cfyff5lcgjd1dr3j2088cgsii0x7n-shepherd-maybe-uvesafb.go.drv': 1 dependencies couldn't be built
cannot build derivation `/gnu/store/3bbh5zpifch3jrb1g050pn5hvsza5dfq-shepherd.conf.drv': 1 dependencies couldn't be built
cannot build derivation `/gnu/store/gnrykng6fgcqg75z26gfyjcnbd3j7gx2-boot.drv': 1 dependencies couldn't be built
cannot build derivation `/gnu/store/yxikf0sqa67ydlbfk99dkw7brh5bg4a8-system.drv': 1 dependencies couldn't be built
cannot build derivation `/gnu/store/dzs47c2p79cj8yycmnxirab3xamcfsy6-image.iso.drv': 1 dependencies couldn't be built
guix system: error: build of `/gnu/store/dzs47c2p79cj8yycmnxirab3xamcfsy6-image.iso.drv' failed
------




Acknowledgement sent to Leo Famulari <leo@HIDDEN>:
New bug report received and forwarded. Copy sent to bug-guix@HIDDEN. Full text available.
Report forwarded to bug-guix@HIDDEN:
bug#48393; 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: Fri, 20 Aug 2021 18:15:02 UTC

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