[Pkg-javascript-devel] Bug#780845: package nodejs_0.10.29~dfsg-1.1 FTBFS on mips big-endian

Jurica Stanojkovic Jurica.Stanojkovic at imgtec.com
Fri Mar 20 13:18:45 UTC 2015


Package: nodejs
Version: 0.10.29~dfsg-1.1
Severity: important
Tags: sid
User: debian-mips at lists.debian.org


Hello,

Package nodejs_0.10.29~dfsg-1.1 FTBFS on mips big-endian.

I have tried to build upstream source in the same environment and results are better.
https://github.com/joyent/node
After enabling package and tests to build and run on mips and mipsel,
package builds successfully with two tests failing on both mips and mipsel.

1.
=== release test-writedouble ===
Path: simple/test-writedouble
assert.js:88
  throw new assert.AssertionError({
        ^
AssertionError: 248 == 247
    at test (/build/GIT_NODE/node/test/simple/test-writedouble.js:173:10)
    at Object.<anonymous> (/build/GIT_NODE/node/test/simple/test-writedouble.js:195:1)
    at Module._compile (module.js:462:26)
    at Object.Module._extensions..js (module.js:480:10)
    at Module.load (module.js:357:32)
    at Function.Module._load (module.js:312:12)
    at Function.Module.runMain (module.js:503:10)
    at startup (node.js:132:16)
    at node.js:817(cat)
Command: out/Release/node /build/GIT_NODE/node/test/simple/test-writedouble.js
=== release test-writefloat ===
Path: simple/test-writefloat
assert.js:88
  throw new assert.AssertionError({
        ^
AssertionError: 192 == 191
    at test (/build/GIT_NODE/node/test/simple/test-writefloat.js:119:10)
    at Object.<anonymous> (/build/GIT_NODE/node/test/simple/test-writefloat.js:133:1)
    at Module._compile (module.js:462:26)
    at Object.Module._extensions..js (module.js:480:10)
    at Module.load (module.js:357:32)
    at Function.Module._load (module.js:312:12)
    at Function.Module.runMain (module.js:503:10)
    at startup (node.js:132:16)
    at node.js:817(cat)
Command: out/Release/node /build/GIT_NODE/node/test/simple/test-writefloat.js

2.
=== release test-tls-wrap-timeout ===
Path: simple/test-tls-wrap-timeout
assert.js:88
  throw new assert.AssertionError({
        ^
AssertionError: undefined undefined undefined
    at Socket.g (events.js:201:16)
    at Socket.emit (events.js:106:17)
    at Socket._onTimeout (net.js:350:8)
    at _makeTimerTimeout (timers.js:469:11)
    at Timer.unrefTimeout (timers.js:533:5)
Command: out/Release/node /build/GIT_NODE/node/test/simple/test-tls-wrap-timeout.js

First problem is resolved with patch nodejs-0.10.29~dfsg/debian/patches/1004_test_writeNaN.patch
from debian package nodejs.

Second problem is resolved by increasing timeouts:
https://github.com/iojs/io.js/issues/1200
I had to increase last timeout even more for test to pass on mips and mipsel.

Additionally on some setups there is a following issue which is discuses on https://github.com/joyent/node/issues/8061

=== release test-process-active-wraps ===
Path: simple/test-process-active-wraps
assert.js:88
  throw new assert.AssertionError({
        ^
AssertionError: 2 == 1
    at expect (/build/GIT_NODE/node/test/simple/test-process-active-wraps.js:28:10)
    at /build/GIT_NODE/node/test/simple/test-process-active-wraps.js:37(cat)
    at Object.<anonymous> (/build/GIT_NODE/node/test/simple/test-process-active-wraps.js:41(cat))
    at Module._compile (module.js:462:26)
    at Object.Module._extensions..js (module.js:480:10)
    at Module.load (module.js:357:32)
    at Function.Module._load (module.js:312:12)
    at Function.Module.runMain (module.js:503:10)
    at startup (node.js:132:16)
    at node.js:817(cat)
Command: out/Release/node /build/GIT_NODE/node/test/simple/test-process-active-wraps.js

It looks like it will be easier to upload new version of source than to back-port changes to the current version.

Is it possible to upload new upstream version to experimental?

Thank you!

Regards,
Jurica
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.alioth.debian.org/pipermail/pkg-javascript-devel/attachments/20150320/78fa4251/attachment.html>


More information about the Pkg-javascript-devel mailing list