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

Previous Next

Package: guix;

Reported by: Leo Famulari <leo <at> famulari.name>

Date: Thu, 13 May 2021 02:02:02 UTC

Severity: normal

Merged with 41120

Done: "pelzflorian (Florian Pelz)" <pelzflorian <at> pelzflorian.de>

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 48393 in the body.
You can then email your comments to 48393 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#48393; Package guix. (Thu, 13 May 2021 02:02:02 GMT) Full text and rfc822 format available.

Acknowledgement sent to Leo Famulari <leo <at> famulari.name>:
New bug report received and forwarded. Copy sent to bug-guix <at> gnu.org. (Thu, 13 May 2021 02:02:02 GMT) Full text and rfc822 format available.

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

From: Leo Famulari <leo <at> famulari.name>
To: bug-guix <at> gnu.org
Subject: Can't build installer on aarch64 / v86d fails to build on aarch64
Date: Wed, 12 May 2021 22:01:29 -0400
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
------




Information forwarded to bug-guix <at> gnu.org:
bug#48393; Package guix. (Fri, 20 Aug 2021 11:17:01 GMT) Full text and rfc822 format available.

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

From: Timotej Lazar <timotej.lazar <at> araneo.si>
To: Leo Famulari <leo <at> famulari.name>, 48393 <at> debbugs.gnu.org
Subject: Re: bug#48393: Can't build installer on aarch64 / v86d fails to
 build on aarch64
Date: Fri, 20 Aug 2021 13:16:02 +0200
Leo Famulari <leo <at> famulari.name> [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’s been discussed previously[0]; as you note,
the problem is that v86d is built even though it’s not used on aarch64.
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




Merged 41120 48393. Request was from Leo Famulari <leo <at> famulari.name> to control <at> debbugs.gnu.org. (Fri, 20 Aug 2021 18:11:02 GMT) Full text and rfc822 format available.

Information forwarded to bug-guix <at> gnu.org:
bug#48393; Package guix. (Thu, 04 Aug 2022 23:05:02 GMT) Full text and rfc822 format available.

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

From: Pavel Shlyak <p.shlyak <at> pantherx.org>
To: 48393 <at> debbugs.gnu.org
Subject: Can't build installer on aarch64 / v86d fails to build on aarch64
Date: Fri, 5 Aug 2022 02:03:54 +0300
This one is done with https://issues.guix.gnu.org/55806. I suggest closing it as resolved.



Information forwarded to bug-guix <at> gnu.org:
bug#48393; Package guix. (Fri, 05 Aug 2022 13:07:02 GMT) Full text and rfc822 format available.

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

From: "pelzflorian (Florian Pelz)" <pelzflorian <at> pelzflorian.de>
To: 48393-done <at> debbugs.gnu.org
Cc: Pavel Shlyak <p.shlyak <at> pantherx.org>
Subject: Re: bug#48393: Can't build installer on aarch64 / v86d fails to
 build on aarch64
Date: Fri, 05 Aug 2022 15:06:23 +0200
Pavel Shlyak <p.shlyak <at> pantherx.org> writes:
> This one is done with https://issues.guix.gnu.org/55806. I suggest closing it as resolved.

Indeed.  With 55806, the uvesafb is added if (supported-package? v86d
system), avoiding the need to check the system.  I’m Closing by sending
a mail to 48393-done <at> debbugs.gnu.org.

Thank you!




bug archived. Request was from Debbugs Internal Request <help-debbugs <at> gnu.org> to internal_control <at> debbugs.gnu.org. (Sat, 03 Sep 2022 11:24:05 GMT) Full text and rfc822 format available.

This bug report was last modified 1 year and 234 days ago.

Previous Next


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