From: Maxim Cournoyer <maxim.cournoyer@gmail.com>
To: Greg Hogan <code@greghogan.com>
Cc: 62192-done@debbugs.gnu.org
Subject: bug#62192: Test failures in binfmt emulated builds
Date: Sun, 02 Jun 2024 20:26:21 -0400 [thread overview]
Message-ID: <87plsykh1u.fsf@gmail.com> (raw)
In-Reply-To: <CA+3U0Znvd2+1QnOuXUBeVdnuQiBMj4jL4LOaZg-_p4+MpVuU3w@mail.gmail.com> (Greg Hogan's message of "Tue, 14 Mar 2023 15:19:36 -0400")
Hi Greg,
Greg Hogan <code@greghogan.com> writes:
> The following emulated build using binfmt should work according to the
> documentation example at
> https://guix.gnu.org/manual/en/html_node/Native-Builds.html
>
> $ uname -m
> x86_64
>
>
> The package was previously built on an aarch64 offload machine:
>
> $ file $(guix build --system=aarch64-linux hello)/bin/hello
> /gnu/store/s2qnbdlrwlx47h5p6rxlylny1259srmj-hello-2.12.1/bin/hello:
> ELF 64-bit LSB executable, ARM aarch64, version 1 (SYSV), dynamically
> linked, interpreter
> /gnu/store/gfjp8gfv4xxschbaxvldpigadfwqazhw-glibc-2.33/lib/ld-linux-aarch64.so.1,
> for GNU/Linux 2.6.32, stripped
>
>
> Successfully executed using binfmt emulation:
>
> $ $(guix build --system=aarch64-linux hello)/bin/hello
> Hello, world!
>
>
> A locally emulated check build fails during the test phase:
>
> $ guix describe
> Generation 35 Mar 13 2023 13:37:24 (current)
> guix 1ed227d
> repository URL: https://git.savannah.gnu.org/git/guix.git
> branch: master
> commit: 1ed227d7952af48efe50a2f6c9537e17c356daa1
>
> $ guix build --check --system=aarch64-linux --verbosity=1 hello
> The following derivation will be built:
> /gnu/store/sg9mpl4nf7j2w8bmv5q4725gpirhi225-hello-2.12.1.drv
>
> building /gnu/store/sg9mpl4nf7j2w8bmv5q4725gpirhi225-hello-2.12.1.drv...
> | 'check' phasebuilder for
> `/gnu/store/sg9mpl4nf7j2w8bmv5q4725gpirhi225-hello-2.12.1.drv' failed
> with exit code 1
> build of /gnu/store/sg9mpl4nf7j2w8bmv5q4725gpirhi225-hello-2.12.1.drv failed
> View build log at
> '/var/log/guix/drvs/sg/9mpl4nf7j2w8bmv5q4725gpirhi225-hello-2.12.1.drv.gz'.
> guix build: error: build of
> `/gnu/store/sg9mpl4nf7j2w8bmv5q4725gpirhi225-hello-2.12.1.drv' failed
>
>
> $ zcat /var/log/guix/drvs/sg/9mpl4nf7j2w8bmv5q4725gpirhi225-hello-2.12.1.drv.gz
> [...]
> Test suite failed, dumping logs.
>
> --- ./test-suite.log --------------------------------------------------------
>
> ========================================
> GNU Hello 2.12.1: ./test-suite.log
> ========================================
>
> # TOTAL: 7
> # PASS: 4
> # SKIP: 1
> # XFAIL: 0
> # FAIL: 2
> # XPASS: 0
> # ERROR: 0
>
> .. contents:: :depth: 2
>
> FAIL: tests/atexit-1
> ====================
>
> FAIL tests/atexit-1 (exit status: 1)
>
> SKIP: tests/greeting-2
> ======================
>
> ./tests/greeting-2: Skipping test: not a full moon night
> SKIP tests/greeting-2 (exit status: 77)
>
> FAIL: tests/operand-1
> =====================
This kind of problem is really a bug/limitation in QEMU. I'd suggest
forwarding this report to them if you'd like to have it resolved.
Closing.
--
Thanks,
Maxim
prev parent reply other threads:[~2024-06-03 4:51 UTC|newest]
Thread overview: 2+ messages / expand[flat|nested] mbox.gz Atom feed top
2023-03-14 19:19 bug#62192: Test failures in binfmt emulated builds Greg Hogan
2024-06-03 0:26 ` Maxim Cournoyer [this message]
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
List information: https://guix.gnu.org/
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=87plsykh1u.fsf@gmail.com \
--to=maxim.cournoyer@gmail.com \
--cc=62192-done@debbugs.gnu.org \
--cc=code@greghogan.com \
/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 public inbox
https://git.savannah.gnu.org/cgit/guix.git
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).