[Pkg-javascript-devel] Bug#812291: nodejs: FTBFS with GCC 6: test suite failures

Martin Michlmayr tbm at hpe.com
Fri Jan 22 04:10:27 UTC 2016


Package: nodejs
Version: 4.2.4~dfsg-2
Severity: normal
User: debian-gcc at lists.debian.org
Usertags: ftbfs-gcc-6 gcc-6-unknown

This package fails to build with GCC 6.  GCC 6 has not been released
yet, but it's expected that GCC 6 will become the default compiler for
stretch.

Unfortunately, it's not clear from the log why the build failed.
It's possible there's a bug in this package or in GCC.  It's also
possible I reported a non-issue, although I tried to avoid that.
I apologize in advance if this is the case.

If you have some time to look into this issue, that'd be great.  If
not, I can re-test the package with GCC 6 in a few weeks time.

You can find a snapshot of GCC 6 in experimental.  To build with
GCC 6, you can set CC=gcc-6 CXX=g++-6 explicitly.

You may be able to find out more about this issue at
https://gcc.gnu.org/gcc-6/changes.html

> sbuild (Debian sbuild) 0.67.0 (26 Dec 2015) on dl580gen9-02.hlinux
...
>   duration_ms: 0.329
>   ...
> not ok 405 test-http-pipeline-regr-3332.js
>   ---
...
>   ...
> not ok 669 test-stdout-close-unref.js # TODO : Fix flaky test
> #/<<PKGBUILDDIR>>/test/parallel/test-stdout-close-unref.js:8
> #process.stdin._handle.close();
> #                     ^
> #
> #TypeError: Cannot read property 'close' of undefined
> #    at Object.<anonymous> (/<<PKGBUILDDIR>>/test/parallel/test-stdout-close-unref.js:8:22)
> #    at Module._compile (module.js:435:26)
> #    at Object.Module._extensions..js (module.js:442:10)
> #    at Module.load (module.js:356:32)
> #    at Function.Module._load (module.js:313:12)
> #    at Function.Module.runMain (module.js:467:10)
> #    at startup (node.js:136:18)
> #    at node.js:963:3
>   ---
>   duration_ms: 0.170
>   ...
...
>   duration_ms: 0.211
>   ...
> not ok 720 test-stringbytes-external.js
>   ---
...
>   duration_ms: 0.89
>   ...
> not ok 732 test-tick-processor.js
> #nm: /lib/x86_64-linux-gnu/libc-2.22.so: no symbols
> #nm: /lib/x86_64-linux-gnu/libgcc_s.so.1: no symbols
> #
> #assert.js:89
> #  throw new assert.AssertionError({
> #  ^
> #AssertionError: null == true
> #    at runTest (/<<PKGBUILDDIR>>/test/parallel/test-tick-processor.js:51:3)
> #    at Object.<anonymous> (/<<PKGBUILDDIR>>/test/parallel/test-tick-processor.js:14:1)
> #    at Module._compile (module.js:435:26)
> #    at Object.Module._extensions..js (module.js:442:10)
> #    at Module.load (module.js:356:32)
> #    at Function.Module._load (module.js:313:12)
> #    at Function.Module.runMain (module.js:467:10)
> #    at startup (node.js:136:18)
> #    at node.js:963:3
>   ---

...

>   ...
> Makefile:147: recipe for target 'test-ci' failed
> make[1]: *** [test-ci] Error 1

-- 
Martin Michlmayr
Linux for HPE Helion, Hewlett Packard Enterprise



More information about the Pkg-javascript-devel mailing list