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

Andreas Beckmann anbe at debian.org
Mon Aug 26 09:34:21 BST 2019


Followup-For: Bug #934228
Control: found -1 12.8.0~dfsg-2

https://buildd.debian.org/status/fetch.php?pkg=nodejs&arch=all&ver=12.8.0%7Edfsg-2&stamp=1565277544&raw=0

[...]
touch debian/stamp-makefile-check
mkdir -p ./tools/node_modules/eslint/node_modules
ln -sf -t ./tools/node_modules/eslint/node_modules/ /usr/share/nodejs/js-yaml
make doc-only
make[1]: Entering directory '/<<PKGBUILDDIR>>'
mkdir -p out/doc
mkdir -p out/doc/api
cp -r doc/api out/doc/
rm -f out/doc/api/*.html
rm -f out/doc/api/*.json
if [ -x /<<PKGBUILDDIR>>/./node ] && [ -e /<<PKGBUILDDIR>>/./node ]; then /<<PKGBUILDDIR>>/./node  tools/doc/generate.js --node-version=v12.8.0 --format=html doc/api/console.md > out/doc/api/console.html; elif [ -x `which node` ] && [ -e `which node` ] && [ `which node` ]; then `which node`  tools/doc/generate.js --node-version=v12.8.0 --format=html doc/api/console.md > out/doc/api/console.html; else echo "No available node, cannot run \"node  tools/doc/generate.js --node-version=v12.8.0 --format=html doc/api/console.md > out/doc/api/console.html\""; exit 1; fi;
internal/modules/cjs/loader.js:716
    throw err;
    ^

Error: Cannot find module 'js-yaml'
Require stack:
- /<<PKGBUILDDIR>>/tools/doc/common.js
- /<<PKGBUILDDIR>>/tools/doc/html.js
- /<<PKGBUILDDIR>>/tools/doc/generate.js
    at Function.Module._resolveFilename (internal/modules/cjs/loader.js:713:15)
    at Function.Module._load (internal/modules/cjs/loader.js:618:27)
    at Module.require (internal/modules/cjs/loader.js:771:19)
    at require (internal/modules/cjs/helpers.js:68:18)
    at Object.<anonymous> (/<<PKGBUILDDIR>>/tools/doc/common.js:4:3)
    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 Module.require (internal/modules/cjs/loader.js:771:19) {
  code: 'MODULE_NOT_FOUND',
  requireStack: [
    '/<<PKGBUILDDIR>>/tools/doc/common.js',
    '/<<PKGBUILDDIR>>/tools/doc/html.js',
    '/<<PKGBUILDDIR>>/tools/doc/generate.js'
  ]
}
make[2]: *** [Makefile:738: out/doc/api/console.html] Error 1
make[1]: *** [Makefile:698: doc-only] Error 2
make[1]: Leaving directory '/<<PKGBUILDDIR>>'
make: *** [debian/rules:255: build/nodejs-doc] Error 2
dpkg-buildpackage: error: debian/rules build-indep subprocess returned exit status 2


Andreas



More information about the Pkg-javascript-devel mailing list