Re: [Pkg-javascript-devel] Bug#1137067: quickjs-ng FTBFS on hurd buildds

Jérémy Lal <[email protected]> Tue, 19 May 2026 11:42:44 +0200
Newsgroups gmane.linux.debian.ports.hurd
Message-ID <CAJxTCxz5haahNyMt8mom_EOY5d3ptg0e5WYxBY9J8R7fMo+k0w@mail.gmail.com>
--00000000000066a9a6065228820f
Content-Type: text/plain; charset="UTF-8"
Content-Transfer-Encoding: quoted-printable

Le mar. 19 mai 2026 =C3=A0 11:33, St=C3=A9phane Glondu <[email protected]> =
a =C3=A9crit :

> Hello,
>
> Le 19/05/2026 =C3=A0 08:25, Samuel Thibault a =C3=A9crit :
> >> quickjs-ng consistently FTBFS on hurd-i386 and hurd-amd64 buildds, but
> >> I cannot reproduce the failure on exodar.debian.net, nor on my own
> >> machine... Any idea on what is going on?
> >
> > Are you trying in the machine root or in a chroot?
>
> On my own machine, in the machine root. On exodar, in a chroot.
>
> > In the root I had
> > downgraded some packages to try to debug an issue in exim.
> >
> > I have now re-upgraded gnumach, hurd and libc in the root, so that a
> > chroot should be running the same software as a buildd.
>
> I just tried again on exodar (in a chroot), and the failure still does
> not happen.
>

The failure is
../tests/test_std.js:279: Error: assertion failed: got |0|, expected |15|
and comes from the last assertion in that test:

    pid =3D os.exec(["cat"], { block: false } );
    assert(pid >=3D 0);
    os.kill(pid, os.SIGTERM);
    [ret, status] =3D os.waitpid(pid, 0);
    assert(ret, pid);
    // Flaky on cygwin for unclear reasons, see
    // https://github.com/quickjs-ng/quickjs/issues/184
    if (!isCygwin) {
        assert(status & 0x7f, os.SIGTERM);
    }

So it probably is just a flaky test.

J=C3=A9r=C3=A9my

--00000000000066a9a6065228820f
Content-Type: text/html; charset="UTF-8"
Content-Transfer-Encoding: quoted-printable

<div dir=3D"ltr"><div dir=3D"ltr"><br></div><br><div class=3D"gmail_quote g=
mail_quote_container"><div dir=3D"ltr" class=3D"gmail_attr">Le=C2=A0mar. 19=
 mai 2026 =C3=A0=C2=A011:33, St=C3=A9phane Glondu &lt;<a href=3D"mailto:glo=
[email protected]">[email protected]</a>&gt; a =C3=A9crit=C2=A0:<br></div><blo=
ckquote class=3D"gmail_quote" style=3D"margin:0px 0px 0px 0.8ex;border-left=
:1px solid rgb(204,204,204);padding-left:1ex">Hello,<br>
<br>
Le 19/05/2026 =C3=A0 08:25, Samuel Thibault a =C3=A9crit=C2=A0:<br>
&gt;&gt; quickjs-ng consistently FTBFS on hurd-i386 and hurd-amd64 buildds,=
 but<br>
&gt;&gt; I cannot reproduce the failure on <a href=3D"http://exodar.debian.=
net" rel=3D"noreferrer" target=3D"_blank">exodar.debian.net</a>, nor on my =
own<br>
&gt;&gt; machine... Any idea on what is going on?<br>
&gt; <br>
&gt; Are you trying in the machine root or in a chroot?<br>
<br>
On my own machine, in the machine root. On exodar, in a chroot.<br>
<br>
&gt; In the root I had<br>
&gt; downgraded some packages to try to debug an issue in exim.<br>
&gt; <br>
&gt; I have now re-upgraded gnumach, hurd and libc in the root, so that a<b=
r>
&gt; chroot should be running the same software as a buildd.<br>
<br>
I just tried again on exodar (in a chroot), and the failure still does <br>
not happen.<br></blockquote><div><br></div><div>The failure is<br><span sty=
le=3D"color:rgb(0,0,0)">../tests/test_std.js:279: Error: assertion failed: =
got |0|, expected |15|<br></span>and comes from the last assertion in that =
test:</div><div><br></div>=C2=A0 =C2=A0 pid =3D os.exec([&quot;cat&quot;], =
{ block: false } );<br>=C2=A0 =C2=A0 assert(pid &gt;=3D 0);<br>=C2=A0 =C2=
=A0 os.kill(pid, os.SIGTERM);<br>=C2=A0 =C2=A0 [ret, status] =3D os.waitpid=
(pid, 0);<br>=C2=A0 =C2=A0 assert(ret, pid);<br>=C2=A0 =C2=A0 // Flaky on c=
ygwin for unclear reasons, see<br>=C2=A0 =C2=A0 // <a href=3D"https://githu=
b.com/quickjs-ng/quickjs/issues/184">https://github.com/quickjs-ng/quickjs/=
issues/184</a><br>=C2=A0 =C2=A0 if (!isCygwin) {<br>=C2=A0 =C2=A0 =C2=A0 =
=C2=A0 assert(status &amp; 0x7f, os.SIGTERM);<br>=C2=A0 =C2=A0 }<br><div>=
=C2=A0</div><div>So it probably is just a flaky test.</div><div><br></div><=
div>J=C3=A9r=C3=A9my<br></div></div></div>

--00000000000066a9a6065228820f--