Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 587374 - net-libs/nodejs-6.2.1 USE=doc - Error: Cannot find module '/var/tmp/portage/net-libs/nodejs-6.2.1/work/node-v6.2.1/tools/eslint/node_modules/js-yaml'
Summary: net-libs/nodejs-6.2.1 USE=doc - Error: Cannot find module '/var/tmp/portage/n...
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal normal
Assignee: Gentoo Linux bug wranglers
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2016-06-28 06:31 UTC by Martin von Gagern
Modified: 2016-06-28 13:39 UTC (History)
0 users

See Also:
Package list:
Runtime testing required: ---


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Martin von Gagern 2016-06-28 06:31:25 UTC
net-libs/nodejs-6.2.1 fails to build its documentation, complaining about a missing js-yaml module:

make -j5 doc 
make -C out BUILDTYPE=Release V=1
mkdir -p out/doc
mkdir -p out/doc/api/
mkdir -p out/doc/api/assets
cp -r doc/api/assets/sh_javascript.min.js out/doc/api/assets/sh_javascript.min.js
cp -r doc/api/assets/style.css out/doc/api/assets/style.css
cp -r doc/api/assets/sh_main.js out/doc/api/assets/sh_main.js
cp -r doc/api/assets/sh.css out/doc/api/assets/sh.css
[ -x ./node ] && ./node tools/doc/generate.js --node-version=v6.2.1 --format=html --template=doc/template.html doc/api/debugger.md > out/doc/api/debugger.html || node tools/doc/generate.js --node-version=v6.2.1 --format=html --template=doc/template.html doc/api/debugger.md > out/doc/api/debugger.html
make[1]: Entering directory '/var/tmp/portage/net-libs/nodejs-6.2.1/work/node-v6.2.1/out'
make[1]: Nothing to be done for 'all'.
make[1]: Leaving directory '/var/tmp/portage/net-libs/nodejs-6.2.1/work/node-v6.2.1/out'
ln -fs out/Release/node node
[ -x ./node ] && ./node tools/doc/generate.js --node-version=v6.2.1 --format=html --template=doc/template.html doc/api/all.md > out/doc/api/all.html || node tools/doc/generate.js --node-version=v6.2.1 --format=html --template=doc/template.html doc/api/all.md > out/doc/api/all.html
Input file = doc/api/debugger.md
module.js:341
    throw err;
    ^

Error: Cannot find module '/var/tmp/portage/net-libs/nodejs-6.2.1/work/node-v6.2.1/tools/eslint/node_modules/js-yaml'
    at Function.Module._resolveFilename (module.js:339:15)
    at Function.Module._load (module.js:290:25)
    at Module.require (module.js:367:17)
    at require (internal/module.js:16:19)
    at Object.<anonymous> (/var/tmp/portage/net-libs/nodejs-6.2.1/work/node-v6.2.1/tools/doc/node_modules/js-yaml/index.js:15:18)
    at Module._compile (module.js:413:34)
    at Object.Module._extensions..js (module.js:422:10)
    at Module.load (module.js:357:32)
    at Function.Module._load (module.js:314:12)
    at Module.require (module.js:367:17)
make: *** [Makefile:290: out/doc/api/debugger.html] Error 1
make: *** Waiting for unfinished jobs....
Input file = doc/api/all.md
[ '@include documentation',
  '@include synopsis',
  '@include addons',
  '@include assert',
  '@include buffer',
  '@include child_process',
  '@include cluster',
  '@include cli',
  '@include console',
  '@include crypto',
  '@include debugger',
  '@include dgram',
  '@include dns',
  '@include domain',
  '@include errors',
  '@include events',
  '@include fs',
  '@include globals',
  '@include http',
  '@include https',
  '@include modules',
  '@include net',
  '@include os',
  '@include path',
  '@include process',
  '@include punycode',
  '@include querystring',
  '@include readline',
  '@include repl',
  '@include stream',
  '@include string_decoder',
  '@include timers',
  '@include tls',
  '@include tty',
  '@include url',
  '@include util',
  '@include v8',
  '@include vm',
  '@include zlib' ]
module.js:442
    throw err;
    ^

Error: Cannot find module '/var/tmp/portage/net-libs/nodejs-6.2.1/work/node-v6.2.1/tools/eslint/node_modules/js-yaml'
    at Function.Module._resolveFilename (module.js:440:15)
    at Function.Module._load (module.js:388:25)
    at Module.require (module.js:468:17)
    at require (internal/module.js:20:19)
    at Object.<anonymous> (/var/tmp/portage/net-libs/nodejs-6.2.1/work/node-v6.2.1/tools/doc/node_modules/js-yaml/index.js:15:18)
    at Module._compile (module.js:541:32)
    at Object.Module._extensions..js (module.js:550:10)
    at Module.load (module.js:458:32)
    at tryModuleLoad (module.js:417:12)
    at Function.Module._load (module.js:409:3)
Input file = doc/api/all.md
[ '@include documentation',
  '@include synopsis',
  '@include addons',
  '@include assert',
  '@include buffer',
  '@include child_process',
  '@include cluster',
  '@include cli',
  '@include console',
  '@include crypto',
  '@include debugger',
  '@include dgram',
  '@include dns',
  '@include domain',
  '@include errors',
  '@include events',
  '@include fs',
  '@include globals',
  '@include http',
  '@include https',
  '@include modules',
  '@include net',
  '@include os',
  '@include path',
  '@include process',
  '@include punycode',
  '@include querystring',
  '@include readline',
  '@include repl',
  '@include stream',
  '@include string_decoder',
  '@include timers',
  '@include tls',
  '@include tty',
  '@include url',
  '@include util',
  '@include v8',
  '@include vm',
  '@include zlib' ]
module.js:341
    throw err;
    ^

Error: Cannot find module '/var/tmp/portage/net-libs/nodejs-6.2.1/work/node-v6.2.1/tools/eslint/node_modules/js-yaml'
    at Function.Module._resolveFilename (module.js:339:15)
    at Function.Module._load (module.js:290:25)
    at Module.require (module.js:367:17)
    at require (internal/module.js:16:19)
    at Object.<anonymous> (/var/tmp/portage/net-libs/nodejs-6.2.1/work/node-v6.2.1/tools/doc/node_modules/js-yaml/index.js:15:18)
    at Module._compile (module.js:413:34)
    at Object.Module._extensions..js (module.js:422:10)
    at Module.load (module.js:357:32)
    at Function.Module._load (module.js:314:12)
    at Module.require (module.js:367:17)
make: *** [Makefile:290: out/doc/api/all.html] Error 1
Comment 1 Patrick Lauer gentoo-dev 2016-06-28 13:39:41 UTC
Upstream is funny.

Fixed in 6.2.2