[Pkg-javascript-devel] Bug#934228: FTBFS in experimental and on buster

Daniel Baumann daniel.baumann at progress-linux.org
Thu Aug 8 12:50:27 BST 2019


Package: nodejs
Version: 12.8.0~dfsg-1

Hi,

thank you so much for updating nodejs. Unfortunately it doesn't build
for arch-all (dpkg-buildpackage -A):

first in experimental, see:
https://buildd.debian.org/status/fetch.php?pkg=nodejs&arch=all&ver=12.8.0%7Edfsg-1&stamp=1565264516&raw=0

and second, when updating my local backport for buster it fails too
(12.7.0~dfsg-1 build fine):

---snip---
if [ -x /build/nodejs-12.8.0_dfsg-1_progress5+u1/./node ] && [ -e
/build/nodejs-12.8.0_dfsg-1_progress5+u1/./node ]; then
/build/nodejs-12.8.0_dfsg-1_progress5+u1/./node  tools/doc/allhtml.js;
elif [ -x `which node` ] && [ -e `which node` ] && [ `which node` ];
then `which node`  tools/doc/allhtml.js; else echo "No available node,
cannot run \"node  tools/doc/allhtml.js\""; exit 1; fi;
/build/nodejs-12.8.0_dfsg-1_progress5+u1/tools/doc/allhtml.js:28
for (const link of toc.match(/<a.*?>/g)) {
                       ^

TypeError: toc.match is not a function or its return value is not iterable
    at Object.<anonymous>
(/build/nodejs-12.8.0_dfsg-1_progress5+u1/tools/doc/allhtml.js:28:24)
    at Module._compile (internal/modules/cjs/loader.js:868:30)
    at Object.Module._extensions..js (internal/modules/cjs/loader.js:879:10)
    at Module.load (internal/modules/cjs/loader.js:731:32)
    at Function.Module._load (internal/modules/cjs/loader.js:644:12)
    at Function.Module.runMain (internal/modules/cjs/loader.js:931:10)
    at internal/main/run_main_module.js:17:11
make[2]: *** [Makefile:741: out/doc/api/all.html] Error 1
make[1]: *** [Makefile:698: doc-only] Error 2
make[1]: Leaving directory '/build/nodejs-12.8.0_dfsg-1_progress5+u1'
make: *** [debian/rules:254: build/nodejs-doc] Error 2
dpkg-buildpackage: error: debian/rules build subprocess returned exit
status 2
---snap---

Regards,
Daniel



More information about the Pkg-javascript-devel mailing list