<div dir="ltr"><div class="gmail_extra"><br><div class="gmail_quote">2017-11-30 10:51 GMT+01:00 Paolo Greppi <span dir="ltr"><<a href="mailto:paolo.greppi@libpf.com" target="_blank">paolo.greppi@libpf.com</a>></span>:<br><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left-width:1px;border-left-style:solid;border-left-color:rgb(204,204,204);padding-left:1ex">Il 30/11/2017 09:59, Jérémy Lal ha scritto:<br>
> 2017-11-30 9:56 GMT+01:00 Paolo Greppi <<a href="mailto:paolo.greppi@libpf.com">paolo.greppi@libpf.com</a> <mailto:<a href="mailto:paolo.greppi@libpf.com">paolo.greppi@libpf.com</a><wbr>>>:<br>
<span class="gmail-">><br>
>     I noticed that nodejs 6.12.0 fails to build on mips and mipsel:<br>
><br>
</span>>     <a href="https://buildd.debian.org/status/fetch.php?pkg=nodejs&arch=mips&ver=6.12.0%7Edfsg-2&stamp=1511795079&raw=0" rel="noreferrer" target="_blank">https://buildd.debian.org/<wbr>status/fetch.php?pkg=nodejs&<wbr>arch=mips&ver=6.12.0%7Edfsg-2&<wbr>stamp=1511795079&raw=0</a> <<a href="https://buildd.debian.org/status/fetch.php?pkg=nodejs&arch=mips&ver=6.12.0%7Edfsg-2&stamp=1511795079&raw=0" rel="noreferrer" target="_blank">https://buildd.debian.org/<wbr>status/fetch.php?pkg=nodejs&<wbr>arch=mips&ver=6.12.0%7Edfsg-2&<wbr>stamp=1511795079&raw=0</a>><br>
>     <a href="https://buildd.debian.org/status/fetch.php?pkg=nodejs&arch=mips&ver=6.12.0%7Edfsg-2&stamp=1510704638&raw=0" rel="noreferrer" target="_blank">https://buildd.debian.org/<wbr>status/fetch.php?pkg=nodejs&<wbr>arch=mips&ver=6.12.0%7Edfsg-2&<wbr>stamp=1510704638&raw=0</a> <<a href="https://buildd.debian.org/status/fetch.php?pkg=nodejs&arch=mips&ver=6.12.0%7Edfsg-2&stamp=1510704638&raw=0" rel="noreferrer" target="_blank">https://buildd.debian.org/<wbr>status/fetch.php?pkg=nodejs&<wbr>arch=mips&ver=6.12.0%7Edfsg-2&<wbr>stamp=1510704638&raw=0</a>><br>
>     <a href="https://buildd.debian.org/status/fetch.php?pkg=nodejs&arch=mipsel&ver=6.12.0%7Edfsg-2&stamp=1510706722&raw=0" rel="noreferrer" target="_blank">https://buildd.debian.org/<wbr>status/fetch.php?pkg=nodejs&<wbr>arch=mipsel&ver=6.12.0%7Edfsg-<wbr>2&stamp=1510706722&raw=0</a> <<a href="https://buildd.debian.org/status/fetch.php?pkg=nodejs&arch=mipsel&ver=6.12.0%7Edfsg-2&stamp=1510706722&raw=0" rel="noreferrer" target="_blank">https://buildd.debian.org/<wbr>status/fetch.php?pkg=nodejs&<wbr>arch=mipsel&ver=6.12.0%7Edfsg-<wbr>2&stamp=1510706722&raw=0</a>><br>
<span class="gmail-">><br>
>     searching for "not ok", it turns out that all three tests fail here:<br>
</span>>     <a href="https://anonscm.debian.org/cgit/collab-maint/nodejs.git/tree/test/parallel/test-zlib.js?h=debian/6.12.0_dfsg-1#n153" rel="noreferrer" target="_blank">https://anonscm.debian.org/<wbr>cgit/collab-maint/nodejs.git/<wbr>tree/test/parallel/test-zlib.<wbr>js?h=debian/6.12.0_dfsg-1#n153</a> <<a href="https://anonscm.debian.org/cgit/collab-maint/nodejs.git/tree/test/parallel/test-zlib.js?h=debian/6.12.0_dfsg-1#n153" rel="noreferrer" target="_blank">https://anonscm.debian.org/<wbr>cgit/collab-maint/nodejs.git/<wbr>tree/test/parallel/test-zlib.<wbr>js?h=debian/6.12.0_dfsg-1#n153</a><wbr>><br>
<span class="gmail-">><br>
>     That test is still present in upstream master branch today:<br>
</span>>     <a href="https://github.com/nodejs/node/blob/master/test/parallel/test-zlib.js#L175" rel="noreferrer" target="_blank">https://github.com/nodejs/<wbr>node/blob/master/test/<wbr>parallel/test-zlib.js#L175</a> <<a href="https://github.com/nodejs/node/blob/master/test/parallel/test-zlib.js#L175" rel="noreferrer" target="_blank">https://github.com/nodejs/<wbr>node/blob/master/test/<wbr>parallel/test-zlib.js#L175</a>><br>
<span class="gmail-">><br>
>     I don't know why it fails, but I also noticed that currently upstream does not provide binaries for mips:<br>
</span>>     <a href="https://nodejs.org/dist/v8.9.1/" rel="noreferrer" target="_blank">https://nodejs.org/dist/v8.9.<wbr>1/</a> <<a href="https://nodejs.org/dist/v8.9.1/" rel="noreferrer" target="_blank">https://nodejs.org/dist/v8.9.<wbr>1/</a>><br>
<span class="gmail-">>     that perhaps indicates it's not so well tested there ?<br>
><br>
>     Probably we should just skip that test ?<br>
><br>
> I wanted to test if the failures happen when building using embedded (latest) zlib.<br>
> However it did not go so well (remove the --shared flags in debian/rules makes the<br>
> build fail and i don't understand why) and i'm extremely busy these days...<br>
><br>
> Jérémy<br>
<br>
</span>Jérémy would you only remove the --shared-zlib ?<br>
Since I have no access to any MIPS hardware, I am trying that on amd64, on top of branch master-6.x, at least we'll see if it also breaks the build there.<br>
<br>
Anyway is only that blocking nodejs 6 out of testing ?<br>
Because if that's so, probably it could be OK to just skip the test and postpone the investigation ... just add a TODO in the patch ?<br></blockquote><div><br></div><div>No there's also a segfault #878674 which is not blocking right now,</div><div>but might become again severe.</div><div>Also #859297 the openssl 1.1 "migration" (a bad name since it requires</div><div>heavy changes to nodejs core). On that front, hopefully nodejs 8 will fix it.</div><div>So the goal is more or less upload nodejs 8 asap instead of coping with a</div><div>sinking ship.</div><div><br></div><div>Jérémy</div></div><br></div></div>