<html dir="ltr">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1">
<style id="owaParaStyle" type="text/css">P {margin-top:0;margin-bottom:0;}</style>
</head>
<body ocsi="0" fpstyle="1">
<div style="direction: ltr;font-family: Tahoma;color: #000000;font-size: 10pt;"><font size="2"><span style="font-size:10pt"><font size="2"><span style="font-size:10pt">Package:
</span></font></span></font>nodejs<br>
<font size="2"><span style="font-size:10pt"><font size="2"><span style="font-size:10pt"><font size="2"><span style="font-size:10pt"></span></font>Version: 0.10.29~dfsg-1.1</span></font><br>
<font size="2"><span style="font-size:10pt">Severity: important<br>
Tags: sid<br>
User: debian-mips@lists.debian.org</span></font></span></font><br>
<br>
<br>
Hello, <br>
 <br>
Package nodejs_0.10.29~dfsg-1.1 FTBFS on mips big-endian. <br>
 <br>
I have tried to build upstream source in the same environment and results are better.
<br>
https://github.com/joyent/node <br>
After enabling package and tests to build and run on mips and mipsel, <br>
package builds successfully with two tests failing on both mips and mipsel. <br>
 <br>
1. <br>
=== release test-writedouble ===                                               <br>
Path: simple/test-writedouble <br>
assert.js:88 <br>
  throw new assert.AssertionError({ <br>
        ^ <br>
AssertionError: 248 == 247 <br>
    at test (/build/GIT_NODE/node/test/simple/test-writedouble.js:173:10) <br>
    at Object.<anonymous> (/build/GIT_NODE/node/test/simple/test-writedouble.js:195:1)
<br>
    at Module._compile (module.js:462:26) <br>
    at Object.Module._extensions..js (module.js:480:10) <br>
    at Module.load (module.js:357:32) <br>
    at Function.Module._load (module.js:312:12) <br>
    at Function.Module.runMain (module.js:503:10) <br>
    at startup (node.js:132:16) <br>
    at node.js:817(cat) <br>
Command: out/Release/node /build/GIT_NODE/node/test/simple/test-writedouble.js <br>
=== release test-writefloat ===                    <br>
Path: simple/test-writefloat <br>
assert.js:88 <br>
  throw new assert.AssertionError({ <br>
        ^ <br>
AssertionError: 192 == 191 <br>
    at test (/build/GIT_NODE/node/test/simple/test-writefloat.js:119:10) <br>
    at Object.<anonymous> (/build/GIT_NODE/node/test/simple/test-writefloat.js:133:1)
<br>
    at Module._compile (module.js:462:26) <br>
    at Object.Module._extensions..js (module.js:480:10) <br>
    at Module.load (module.js:357:32) <br>
    at Function.Module._load (module.js:312:12) <br>
    at Function.Module.runMain (module.js:503:10) <br>
    at startup (node.js:132:16) <br>
    at node.js:817(cat) <br>
Command: out/Release/node /build/GIT_NODE/node/test/simple/test-writefloat.js <br>
 <br>
2. <br>
=== release test-tls-wrap-timeout ===                    <br>
Path: simple/test-tls-wrap-timeout <br>
assert.js:88 <br>
  throw new assert.AssertionError({ <br>
        ^ <br>
AssertionError: undefined undefined undefined <br>
    at Socket.g (events.js:201:16) <br>
    at Socket.emit (events.js:106:17) <br>
    at Socket._onTimeout (net.js:350:8) <br>
    at _makeTimerTimeout (timers.js:469:11) <br>
    at Timer.unrefTimeout (timers.js:533:5) <br>
Command: out/Release/node /build/GIT_NODE/node/test/simple/test-tls-wrap-timeout.js
<br>
 <br>
First problem is resolved with patch nodejs-0.10.29~dfsg/debian/patches/1004_test_writeNaN.patch
<br>
from debian package nodejs. <br>
 <br>
Second problem is resolved by increasing timeouts: <br>
https://github.com/iojs/io.js/issues/1200 <br>
I had to increase last timeout even more for test to pass on mips and mipsel. <br>
 <br>
Additionally on some setups there is a following issue which is discuses on https://github.com/joyent/node/issues/8061
<br>
 <br>
=== release test-process-active-wraps ===                                      <br>
Path: simple/test-process-active-wraps <br>
assert.js:88 <br>
  throw new assert.AssertionError({ <br>
        ^ <br>
AssertionError: 2 == 1 <br>
    at expect (/build/GIT_NODE/node/test/simple/test-process-active-wraps.js:28:10)
<br>
    at /build/GIT_NODE/node/test/simple/test-process-active-wraps.js:37(cat) <br>
    at Object.<anonymous> (/build/GIT_NODE/node/test/simple/test-process-active-wraps.js:41(cat))
<br>
    at Module._compile (module.js:462:26) <br>
    at Object.Module._extensions..js (module.js:480:10) <br>
    at Module.load (module.js:357:32) <br>
    at Function.Module._load (module.js:312:12) <br>
    at Function.Module.runMain (module.js:503:10) <br>
    at startup (node.js:132:16) <br>
    at node.js:817(cat) <br>
Command: out/Release/node /build/GIT_NODE/node/test/simple/test-process-active-wraps.js
<br>
 <br>
It looks like it will be easier to upload new version of source than to back-port changes to the current version.
<br>
 <br>
Is it possible to upload new upstream version to experimental? <br>
 <br>
Thank you! <br>
 <br>
Regards, <br>
Jurica<br>
</div>
</body>
</html>