[Pkg-javascript-devel] [RFS] --- node-token-types

Yadd yadd at debian.org
Sun Mar 21 12:04:48 GMT 2021


Le 21/03/2021 à 13:01, Nilesh Patra a écrit :
> March 21, 2021 5:20 PM, "Yadd" <yadd at debian.org> wrote:
> 
> 
>> You must pass both 'DEB_BUILD_OPTIONS=nocheck' and
>> 'DEB_BUILD_PROFILE=nocheck' to test
> 
> Yes, I did so. For more clarity, I'm using this command: 
> 
> $DEB_BUILD_OPTIONS=nocheck DEB_BUILD_PROFILE=nocheck sbuild -j5 -d unstable --source-only-changes --run-lintian --lintian-opts='--color always --display-info --display-experimental --pedantic' --profiles=nocheck
> 
> I get:
> 
> internal/modules/cjs/loader.js:818
>   throw err;
>   ^
> 
> Error: Cannot find module 'ieee754'
> Require stack:
> - /<<PKGBUILDDIR>>/[eval]
>     at Function.Module._resolveFilename (internal/modules/cjs/loader.js:815:15)
>     at Function.resolve (internal/modules/cjs/helpers.js:80:19)
>     at [eval]:1:21
>     at Script.runInThisContext (vm.js:120:18)
>     at Object.runInThisContext (vm.js:309:38)
>     at Object.<anonymous> ([eval]-wrapper:10:26)
>     at Module._compile (internal/modules/cjs/loader.js:999:30)
>     at evalScript (internal/process/execution.js:94:25)
>     at internal/main/eval_string.js:23:3 {
>   code: 'MODULE_NOT_FOUND',
>   requireStack: [
>     '/<<PKGBUILDDIR>>/[eval]'
>   ]
> }
> ### ieee754 is required by debian/nodejs/./extlinks but not available
> make: *** [debian/rules:8: binary] Error 1
> 
> 
> Now I remove <!nocheck> from node-ieee754 and rebuild to get:
> 
> Error: Cannot find module '@types/mocha'
> Require stack:
> - /<<PKGBUILDDIR>>/[eval]
>     at Function.Module._resolveFilename (internal/modules/cjs/loader.js:815:15)
>     at Function.resolve (internal/modules/cjs/helpers.js:80:19)
>     at [eval]:1:21
>     at Script.runInThisContext (vm.js:120:18)
>     at Object.runInThisContext (vm.js:309:38)
>     at Object.<anonymous> ([eval]-wrapper:10:26)
>     at Module._compile (internal/modules/cjs/loader.js:999:30)
>     at evalScript (internal/process/execution.js:94:25)
>     at internal/main/eval_string.js:23:3 {
>   code: 'MODULE_NOT_FOUND',
>   requireStack: [
>     '/<<PKGBUILDDIR>>/[eval]'
>   ]
> }
> ### @types/mocha is required by debian/nodejs/./extlinks but not available
> make: *** [debian/rules:8: binary] Error 1
> 
> 
> Do I miss something? Please do let me know.
> 
> Nilesh

OK, then remove nocheck anywhere. I don't understand why I didn't get
this error with a similar command...



More information about the Pkg-javascript-devel mailing list