Package: node-source-map Version: 0.7.0+dfsg.really.0.6.1-1 The following error occurs when built from source on sid:
uglifyjs -o dist/debug.min.js --source-map=dist/debug.min.js.map dist/debug.js undefined:9483 var generator = new MOZ_SourceMap.SourceMapGenerator({ ^ TypeError: Cannot read property 'SourceMapGenerator' of undefined at Object.SourceMap (eval at <anonymous> (/usr/lib/nodejs/uglify-js/tools/node.js:33:1), <anonymous>:9483:39) at done (/usr/lib/nodejs/uglify-js/bin/uglifyjs:398:77) at cb (/usr/lib/nodejs/uglify-js/bin/uglifyjs:324:39) at /usr/lib/nodejs/uglify-js/bin/uglifyjs:391:9 at FSReqWrap.readFileAfterClose [as oncomplete] (fs.js:511:3) make[1]: *** [debian/rules:13: override_dh_auto_build] Error 1 This seems like a regression due to node-uglify's upgrade to version 2.8, though I'm not sure why CI isn't showing a FTBFS in buster. A solution appears to be to add node-source-map to the build dependencies, however in my opinion it should be added as a dependency on node-uglify. I've attached a git patch which would fix the issue on this package, though I'm not sure as applying it here is the best idea. Any thoughts from anyone else? -- Zebulon McCorkle Email: zebmccor...@zeb.fun IRC: - zebmccorkle@Freenode - zebmccorkle@OFTC - zeb@EsperNet - zeb@hackint - zeb@PdgnCo - zeb@EFNet PGP: 803A 0F47 82AD DDEA 46BE 055F F8F9 DB8C 1A54 6398 (Zebulon McCorkle <zebmccor...@zeb.fun>)
From 2e5ce5897cdc6ac9982fb4388584e59727b9b87b Mon Sep 17 00:00:00 2001 From: Zebulon McCorkle <zebmccor...@zeb.fun> Date: Wed, 23 May 2018 19:04:47 -0500 Subject: [PATCH] Fix FTBFS in sid This adds node-source-map to the build dependencies to fix a regression with node-uglify. --- debian/control | 1 + 1 file changed, 1 insertion(+) diff --git a/debian/control b/debian/control index 04e520e..792ca22 100644 --- a/debian/control +++ b/debian/control @@ -16,6 +16,7 @@ Build-Depends: debhelper (>= 9) , node-sinon , node-sinon-chai , node-uglify + , node-source-map , nodejs Standards-Version: 4.1.1 Homepage: https://github.com/visionmedia/debug -- 2.17.0
signature.asc
Description: PGP signature