From: ludo@gnu.org (Ludovic Courtès)
To: Danny Milosavljevic <dannym@scratchpost.org>
Cc: guix-devel@gnu.org, 30394@debbugs.gnu.org, ng0@n0.is
Subject: Re: bug#30394: ARM compilation via qemu binfmt - Assertion failure
Date: Fri, 16 Feb 2018 11:35:43 +0100 [thread overview]
Message-ID: <87vaexp6gw.fsf@gnu.org> (raw)
In-Reply-To: <20180208174238.2abc85dc@scratchpost.org> (Danny Milosavljevic's message of "Thu, 8 Feb 2018 17:42:38 +0100")
Hello,
Danny Milosavljevic <dannym@scratchpost.org> skribis:
> Unfortunately, there's a (pretty reproducible) problem with it.
>
> guix-master/guix $ ./pre-inst-env guix system disk-image --system=armhf-linux -e "(@ (gnu system install) installation-os)"
> [... building grub-2.02 ...]
> phase `configure' succeeded after 821.8 seconds
> starting phase `patch-generated-file-shebangs'
> patch-makefile-SHELL: ./po/Makefile: changing `SHELL' from `/bin/sh' to `/gnu/st[...]
> phase `patch-generated-file-shebangs' succeeded after 14.6 seconds
> starting phase `build'
> bison -d -p grub_script_yy -b grub_script ./grub-core/script/parser.y
> flex -o grub_script.yy.c --header-file=grub_script.yy.h ./grub-core/script/yylex[...]
> bison: ../sysdeps/unix/sysv/linux/spawni.c:360: __spawnix: Assertion `ec >= 0' failed
[...]
> https://sourceware.org/bugzilla/show_bug.cgi?id=22273
> diff --git a/sysdeps/unix/sysv/linux/spawni.c b/sysdeps/unix/sysv/linux/spawni.c
> index dea1650..f02ac19 100644
> --- a/sysdeps/unix/sysv/linux/spawni.c
> +++ b/sysdeps/unix/sysv/linux/spawni.c
> @@ -365,9 +365,15 @@ __spawnix (pid_t * pid, const char *file,
> if (new_pid > 0)
> {
> ec = args.err;
> - assert (ec >= 0);
> if (ec != 0)
Note that this is only a problem for code that uses the ‘posix_spawn’
interface, such as Bison in the example above.
In practice that interface is rarely used, which is probably why I never
hit that assertion before.
Ludo’.
prev parent reply other threads:[~2018-02-16 10:35 UTC|newest]
Thread overview: 18+ messages / expand[flat|nested] mbox.gz Atom feed top
[not found] <87bmh4qrf5.fsf@abyayala.i-did-not-set--mail-host-address--so-tickle-me>
[not found] ` <87bmh3kbd9.fsf@gnu.org>
2018-02-06 10:33 ` GSoC ng0
2018-02-08 11:25 ` GSoC ng0
2018-02-08 12:09 ` GSoC Gábor Boskovits
2018-02-08 12:31 ` GSoC ng0
2018-02-08 12:41 ` GSoC ng0
2018-02-08 13:57 ` RISC-V port for GSoC? Ludovic Courtès
2018-02-08 14:42 ` ng0
2018-02-08 18:42 ` Ricardo Wurmus
2018-02-08 19:19 ` Gábor Boskovits
2018-02-08 19:34 ` ng0
2018-02-08 22:25 ` Ludovic Courtès
2018-02-08 16:42 ` ARM compilation via qemu binfmt - Assertion failure Danny Milosavljevic
2018-02-10 23:45 ` Chris Marusich
2018-02-11 1:07 ` bug#30394: " Leo Famulari
2018-02-11 1:07 ` Leo Famulari
2018-02-11 9:53 ` Pjotr Prins
2018-02-16 10:35 ` bug#30394: " Ludovic Courtès
2018-02-16 10:35 ` Ludovic Courtès [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
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=87vaexp6gw.fsf@gnu.org \
--to=ludo@gnu.org \
--cc=30394@debbugs.gnu.org \
--cc=dannym@scratchpost.org \
--cc=guix-devel@gnu.org \
--cc=ng0@n0.is \
/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 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.