[Pkg-javascript-devel] Bug#952358: Bug#952358: node-builtin-modules: FTBFS: ReferenceError: describe is not defined

Xavier yadd at debian.org
Sun Feb 23 15:20:45 GMT 2020


Hi 

Easy to fix: mocha no more accepts "describe" in a "describe" loop. Just to replace it by "it"

Regards,
Xavier

Le 23 février 2020 14:49:28 GMT+01:00, Lucas Nussbaum <lucas at debian.org> a écrit :
>Source: node-builtin-modules
>Version: 3.0.0-1
>Severity: serious
>Justification: FTBFS on amd64
>Tags: bullseye sid ftbfs
>Usertags: ftbfs-20200222 ftbfs-bullseye
>
>Hi,
>
>During a rebuild of all packages in sid, your package failed to build
>on amd64.
>
>Relevant part (hopefully):
>> make[1]: Entering directory '/<<PKGBUILDDIR>>'
>> mocha -R spec -u tdd
>> /usr/share/nodejs/yargs/yargs.js:1195
>>       else throw err
>>            ^
>> 
>> ReferenceError: describe is not defined
>>     at Object.<anonymous> (/<<PKGBUILDDIR>>/test.js:5:1)
>>     at Module._compile (internal/modules/cjs/loader.js:778:30)
>>     at Object.Module._extensions..js
>(internal/modules/cjs/loader.js:789:10)
>>     at Module.load (internal/modules/cjs/loader.js:653:32)
>>     at tryModuleLoad (internal/modules/cjs/loader.js:593:12)
>>     at Function.Module._load (internal/modules/cjs/loader.js:585:3)
>>     at Module.require (internal/modules/cjs/loader.js:692:17)
>>     at require (internal/modules/cjs/helpers.js:25:18)
>>     at /usr/share/nodejs/mocha/lib/mocha.js:311:36
>>     at Array.forEach (<anonymous>)
>>     at Mocha.loadFiles (/usr/share/nodejs/mocha/lib/mocha.js:308:14)
>>     at Mocha.run (/usr/share/nodejs/mocha/lib/mocha.js:849:10)
>>     at Object.exports.singleRun
>(/usr/share/nodejs/mocha/lib/cli/run-helpers.js:108:16)
>>     at exports.runMocha
>(/usr/share/nodejs/mocha/lib/cli/run-helpers.js:143:13)
>>     at Object.exports.handler.argv [as handler]
>(/usr/share/nodejs/mocha/lib/cli/run.js:305:3)
>>     at Object.runCommand
>(/usr/share/nodejs/yargs/lib/command.js:240:40)
>>     at Object.parseArgs [as _parseArgs]
>(/usr/share/nodejs/yargs/yargs.js:1135:35)
>>     at Object.parse (/usr/share/nodejs/yargs/yargs.js:594:25)
>>     at Object.exports.main
>(/usr/share/nodejs/mocha/lib/cli/cli.js:68:6)
>>     at Object.<anonymous> (/usr/share/nodejs/mocha/bin/mocha:133:29)
>>     at Module._compile (internal/modules/cjs/loader.js:778:30)
>>     at Object.Module._extensions..js
>(internal/modules/cjs/loader.js:789:10)
>>     at Module.load (internal/modules/cjs/loader.js:653:32)
>>     at tryModuleLoad (internal/modules/cjs/loader.js:593:12)
>>     at Function.Module._load (internal/modules/cjs/loader.js:585:3)
>>     at Function.Module.runMain
>(internal/modules/cjs/loader.js:831:12)
>>     at startup (internal/bootstrap/node.js:283:19)
>>     at bootstrapNodeJSCore (internal/bootstrap/node.js:623:3)
>> make[1]: *** [debian/rules:14: override_dh_auto_test] Error 1
>
>The full build log is available from:
>http://qa-logs.debian.net/2020/02/22/node-builtin-modules_3.0.0-1_unstable.log
>
>A list of current common problems and possible solutions is available
>at
>http://wiki.debian.org/qa.debian.org/FTBFS . You're welcome to
>contribute!
>
>About the archive rebuild: The rebuild was done on EC2 VM instances
>from
>Amazon Web Services, using a clean, minimal and up-to-date chroot.
>Every
>failed build was retried once to eliminate random failures.
>
>-- 
>Pkg-javascript-devel mailing list
>Pkg-javascript-devel at alioth-lists.debian.net
>https://alioth-lists.debian.net/cgi-bin/mailman/listinfo/pkg-javascript-devel

-- 
Envoyé de mon appareil Android avec Courriel K-9 Mail. Veuillez excuser ma brièveté.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://alioth-lists.debian.net/pipermail/pkg-javascript-devel/attachments/20200223/2b0692b6/attachment.html>


More information about the Pkg-javascript-devel mailing list