[Pkg-javascript-devel] Bug#980062: Bug#980062: nocheck build profile is broken - Error: Cannot find module 'babel-jest'
Xavier
yadd at debian.org
Wed Jan 13 19:42:31 GMT 2021
Control: fixed -1 0.9.62
Le 13/01/2021 à 20:28, Pirate Praveen a écrit :
> Package: node-yaml,pkg-js-tools
> Severity: important
>
> When building node-yaml with nocheck build profile, the build fails
>
> dh binary
> dh_update_autotools_config
> dh_autoreconf
> dh_auto_configure --buildsystem=nodejs
> mkdir node_modules
> internal/modules/cjs/loader.js:638
> throw err;
> ^
>
> Error: Cannot find module 'babel-jest'
> at Function.Module._resolveFilename
> (internal/modules/cjs/loader.js:636:15)
> at Function.resolve (internal/modules/cjs/helpers.js:33:19)
> at [eval]:1:21
> at Script.runInThisContext (vm.js:122:20)
> at Object.runInThisContext (vm.js:329:38)
> at Object.<anonymous> ([eval]-wrapper:6:22)
> at Module._compile (internal/modules/cjs/loader.js:778:30)
> at evalScript (internal/bootstrap/node.js:590:27)
> at startup (internal/bootstrap/node.js:265:9)
> at bootstrapNodeJSCore (internal/bootstrap/node.js:623:3)
> ### babel-jest is required by debian/nodejs/./extlinks but not available
> make: *** [debian/rules:8: binary] Error 1
>
> DEB_BUILD_OPTIONS=nocheck DEB_BUILD_PROFILES=nocheck sbuild
> should skip jest build dependency but extlinks fails to find the link
> when jest is not installed.
>
> extlinks and extcopies should filter nocheck build profiles
> automatically or should support build profiles like,
>
> babel-jest <!nocheck>
Since 0.9.62, you can add a "test" flag in debian/nodejs/ext*
More information about the Pkg-javascript-devel
mailing list