[Pkg-javascript-devel] Bug#963425: node-terser: FTBFS: ERROR: `m` is not a supported option
Jonas Smedegaard
jonas at jones.dk
Sun Jul 5 15:47:12 BST 2020
Control: reassign -1 node-commander 4.1.1-1
Control: affects -1 uglifyjs.terser
Quoting Lucas Nussbaum (2020-06-21 22:24:18)
> Source: node-terser
> Version: 4.1.2-6
> Severity: serious
> Justification: FTBFS on amd64
> Tags: bullseye sid ftbfs
> Usertags: ftbfs-20200620 ftbfs-bullseye
>
> Hi,
>
> During a rebuild of all packages in sid, your package failed to build
> on amd64.
Thanks, Lucas.
These errors are caused by node-commander upgrade to new major release
without proper testing reverse dependencies.
> > 231 passing (12s)
> > 4 pending
> > 7 failing
> >
> > 1) bin/uglifyjs (2)
> > Should dump AST as JSON:
> > Uncaught Command failed: "/usr/bin/node" bin/uglifyjs test/input/global_defs/simple.js -mco ast
> > ERROR: ENOENT: no such file or directory, open 'ast'
> > at Object.openSync (fs.js:458:3)
> > at Object.readFileSync (fs.js:360:35)
> > at read_file (/<<PKGBUILDDIR>>/bin/uglifyjs:353:19)
> > at /<<PKGBUILDDIR>>/bin/uglifyjs:176:37
> > at Array.forEach (<anonymous>)
> > at Object.<anonymous> (/<<PKGBUILDDIR>>/bin/uglifyjs:175:28)
> > at Module._compile (internal/modules/cjs/loader.js:1138:30)
> > at Object.Module._extensions..js (internal/modules/cjs/loader.js:1158:10)
> > at Module.load (internal/modules/cjs/loader.js:986:32)
> > at Function.Module._load (internal/modules/cjs/loader.js:879:14)
> >
> > Error: Command failed: "/usr/bin/node" bin/uglifyjs test/input/global_defs/simple.js -mco ast
> > ERROR: ENOENT: no such file or directory, open 'ast'
> > at Object.openSync (fs.js:458:3)
> > at Object.readFileSync (fs.js:360:35)
> > at read_file (bin/uglifyjs:353:19)
> > at /<<PKGBUILDDIR>>/bin/uglifyjs:176:37
> > at Array.forEach (<anonymous>)
> > at Object.<anonymous> (bin/uglifyjs:175:28)
> > at Module._compile (internal/modules/cjs/loader.js:1138:30)
> > at Object.Module._extensions..js (internal/modules/cjs/loader.js:1158:10)
> > at Module.load (internal/modules/cjs/loader.js:986:32)
> > at Function.Module._load (internal/modules/cjs/loader.js:879:14)
> >
> > at ChildProcess.exithandler (child_process.js:303:12)
> > at maybeClose (internal/child_process.js:1021:16)
> > at Process.ChildProcess._handle.onexit (internal/child_process.js:286:5)
> >
> > 2) bin/uglifyjs (2)
> > Should mangle toplevel names with the --module option:
> > Uncaught Command failed: "/usr/bin/node" bin/uglifyjs test/input/module/input.js --module -mc
> > Supported options:
> > cache null
> > eval false
> > ie8 false
> > keep_classnames false
> > keep_fnames false
> > module false
> > properties false
> > reserved []
> > safari10 false
> > toplevel false
> > ERROR: `c` is not a supported option
> > at o (/<<PKGBUILDDIR>>/dist/bundle.min.js:1:551)
> > at Object.Kn [as minify] (/<<PKGBUILDDIR>>/dist/bundle.min.js:1:314384)
> > at run (/<<PKGBUILDDIR>>/bin/uglifyjs:228:27)
> > at Object.<anonymous> (/<<PKGBUILDDIR>>/bin/uglifyjs:178:5)
> > at Module._compile (internal/modules/cjs/loader.js:1138:30)
> > at Object.Module._extensions..js (internal/modules/cjs/loader.js:1158:10)
> > at Module.load (internal/modules/cjs/loader.js:986:32)
> > at Function.Module._load (internal/modules/cjs/loader.js:879:14)
> > at Function.executeUserEntryPoint [as runMain] (internal/modules/run_main.js:71:12)
> > at internal/main/run_main_module.js:17:47
> >
> > Error: Command failed: "/usr/bin/node" bin/uglifyjs test/input/module/input.js --module -mc
> > Supported options:
> > cache null
> > eval false
> > ie8 false
> > keep_classnames false
> > keep_fnames false
> > module false
> > properties false
> > reserved []
> > safari10 false
> > toplevel false
> > ERROR: `c` is not a supported option
> > at o (dist/bundle.min.js:1:551)
> > at Object.Kn [as minify] (dist/bundle.min.js:1:314384)
> > at run (bin/uglifyjs:228:27)
> > at Object.<anonymous> (bin/uglifyjs:178:5)
> > at Module._compile (internal/modules/cjs/loader.js:1138:30)
> > at Object.Module._extensions..js (internal/modules/cjs/loader.js:1158:10)
> > at Module.load (internal/modules/cjs/loader.js:986:32)
> > at Function.Module._load (internal/modules/cjs/loader.js:879:14)
> > at Function.executeUserEntryPoint [as runMain] (internal/modules/run_main.js:71:12)
> > at internal/main/run_main_module.js:17:47
> >
> > at ChildProcess.exithandler (child_process.js:303:12)
> > at maybeClose (internal/child_process.js:1021:16)
> > at Process.ChildProcess._handle.onexit (internal/child_process.js:286:5)
> >
> > 3) bin/uglifyjs
> > Should process inline source map:
> > Uncaught Command failed: "/usr/bin/node" bin/uglifyjs test/input/issue-520/input.js -mc toplevel --source-map content=inline,url=inline
> > ERROR: ENOENT: no such file or directory, open 'toplevel'
> > at Object.openSync (fs.js:458:3)
> > at Object.readFileSync (fs.js:360:35)
> > at read_file (/<<PKGBUILDDIR>>/bin/uglifyjs:353:19)
> > at /<<PKGBUILDDIR>>/bin/uglifyjs:176:37
> > at Array.forEach (<anonymous>)
> > at Object.<anonymous> (/<<PKGBUILDDIR>>/bin/uglifyjs:175:28)
> > at Module._compile (internal/modules/cjs/loader.js:1138:30)
> > at Object.Module._extensions..js (internal/modules/cjs/loader.js:1158:10)
> > at Module.load (internal/modules/cjs/loader.js:986:32)
> > at Function.Module._load (internal/modules/cjs/loader.js:879:14)
> >
> > Error: Command failed: "/usr/bin/node" bin/uglifyjs test/input/issue-520/input.js -mc toplevel --source-map content=inline,url=inline
> > ERROR: ENOENT: no such file or directory, open 'toplevel'
> > at Object.openSync (fs.js:458:3)
> > at Object.readFileSync (fs.js:360:35)
> > at read_file (bin/uglifyjs:353:19)
> > at /<<PKGBUILDDIR>>/bin/uglifyjs:176:37
> > at Array.forEach (<anonymous>)
> > at Object.<anonymous> (bin/uglifyjs:175:28)
> > at Module._compile (internal/modules/cjs/loader.js:1138:30)
> > at Object.Module._extensions..js (internal/modules/cjs/loader.js:1158:10)
> > at Module.load (internal/modules/cjs/loader.js:986:32)
> > at Function.Module._load (internal/modules/cjs/loader.js:879:14)
> >
> > at ChildProcess.exithandler (child_process.js:303:12)
> > at maybeClose (internal/child_process.js:1021:16)
> > at Socket.<anonymous> (internal/child_process.js:443:11)
> > at Pipe.<anonymous> (net.js:675:12)
> >
> > 4) bin/uglifyjs with input file globs
> > bin/uglifyjs with one input file extension glob.:
> > Uncaught Command failed: "/usr/bin/node" bin/uglifyjs "test/input/issue-1242/foo.*" -cm
> > Supported options:
> > arguments false
> > arrows true
> > booleans true
> > booleans_as_integers false
> > collapse_vars true
> > comparisons true
> > computed_props true
> > conditionals true
> > dead_code true
> > defaults true
> > directives true
> > drop_console false
> > drop_debugger true
> > ecma 5
> > evaluate true
> > expression false
> > global_defs false
> > hoist_funs false
> > hoist_props true
> > hoist_vars false
> > ie8 false
> > if_return true
> > inline true
> > join_vars true
> > keep_classnames false
> > keep_fargs true
> > keep_fnames false
> > keep_infinity false
> > loops true
> > module false
> > negate_iife true
> > passes 1
> > properties true
> > pure_getters "strict"
> > pure_funcs null
> > reduce_funcs true
> > reduce_vars true
> > sequences true
> > side_effects true
> > switches true
> > top_retain null
> > toplevel false
> > typeofs true
> > unsafe false
> > unsafe_arrows false
> > unsafe_comps false
> > unsafe_Function false
> > unsafe_math false
> > unsafe_methods false
> > unsafe_proto false
> > unsafe_regexp false
> > unsafe_undefined false
> > unused true
> > warnings false
> > ERROR: `m` is not a supported option
> > at o (/<<PKGBUILDDIR>>/dist/bundle.min.js:1:551)
> > at new Rn (/<<PKGBUILDDIR>>/dist/bundle.min.js:1:116095)
> > at Object.Kn [as minify] (/<<PKGBUILDDIR>>/dist/bundle.min.js:1:315863)
> > at run (/<<PKGBUILDDIR>>/bin/uglifyjs:228:27)
> > at Object.<anonymous> (/<<PKGBUILDDIR>>/bin/uglifyjs:178:5)
> > at Module._compile (internal/modules/cjs/loader.js:1138:30)
> > at Object.Module._extensions..js (internal/modules/cjs/loader.js:1158:10)
> > at Module.load (internal/modules/cjs/loader.js:986:32)
> > at Function.Module._load (internal/modules/cjs/loader.js:879:14)
> > at Function.executeUserEntryPoint [as runMain] (internal/modules/run_main.js:71:12)
> >
> > Error: Command failed: "/usr/bin/node" bin/uglifyjs "test/input/issue-1242/foo.*" -cm
> > Supported options:
> > arguments false
> > arrows true
> > booleans true
> > booleans_as_integers false
> > collapse_vars true
> > comparisons true
> > computed_props true
> > conditionals true
> > dead_code true
> > defaults true
> > directives true
> > drop_console false
> > drop_debugger true
> > ecma 5
> > evaluate true
> > expression false
> > global_defs false
> > hoist_funs false
> > hoist_props true
> > hoist_vars false
> > ie8 false
> > if_return true
> > inline true
> > join_vars true
> > keep_classnames false
> > keep_fargs true
> > keep_fnames false
> > keep_infinity false
> > loops true
> > module false
> > negate_iife true
> > passes 1
> > properties true
> > pure_getters "strict"
> > pure_funcs null
> > reduce_funcs true
> > reduce_vars true
> > sequences true
> > side_effects true
> > switches true
> > top_retain null
> > toplevel false
> > typeofs true
> > unsafe false
> > unsafe_arrows false
> > unsafe_comps false
> > unsafe_Function false
> > unsafe_math false
> > unsafe_methods false
> > unsafe_proto false
> > unsafe_regexp false
> > unsafe_undefined false
> > unused true
> > warnings false
> > ERROR: `m` is not a supported option
> > at o (dist/bundle.min.js:1:551)
> > at new Rn (dist/bundle.min.js:1:116095)
> > at Object.Kn [as minify] (dist/bundle.min.js:1:315863)
> > at run (bin/uglifyjs:228:27)
> > at Object.<anonymous> (bin/uglifyjs:178:5)
> > at Module._compile (internal/modules/cjs/loader.js:1138:30)
> > at Object.Module._extensions..js (internal/modules/cjs/loader.js:1158:10)
> > at Module.load (internal/modules/cjs/loader.js:986:32)
> > at Function.Module._load (internal/modules/cjs/loader.js:879:14)
> > at Function.executeUserEntryPoint [as runMain] (internal/modules/run_main.js:71:12)
> >
> > at ChildProcess.exithandler (child_process.js:303:12)
> > at maybeClose (internal/child_process.js:1021:16)
> > at Socket.<anonymous> (internal/child_process.js:443:11)
> > at Pipe.<anonymous> (net.js:675:12)
> >
> > 5) bin/uglifyjs with input file globs
> > bin/uglifyjs with one input file name glob.:
> > Uncaught Command failed: "/usr/bin/node" bin/uglifyjs "test/input/issue-1242/b*.es5" -cm
> > Supported options:
> > arguments false
> > arrows true
> > booleans true
> > booleans_as_integers false
> > collapse_vars true
> > comparisons true
> > computed_props true
> > conditionals true
> > dead_code true
> > defaults true
> > directives true
> > drop_console false
> > drop_debugger true
> > ecma 5
> > evaluate true
> > expression false
> > global_defs false
> > hoist_funs false
> > hoist_props true
> > hoist_vars false
> > ie8 false
> > if_return true
> > inline true
> > join_vars true
> > keep_classnames false
> > keep_fargs true
> > keep_fnames false
> > keep_infinity false
> > loops true
> > module false
> > negate_iife true
> > passes 1
> > properties true
> > pure_getters "strict"
> > pure_funcs null
> > reduce_funcs true
> > reduce_vars true
> > sequences true
> > side_effects true
> > switches true
> > top_retain null
> > toplevel false
> > typeofs true
> > unsafe false
> > unsafe_arrows false
> > unsafe_comps false
> > unsafe_Function false
> > unsafe_math false
> > unsafe_methods false
> > unsafe_proto false
> > unsafe_regexp false
> > unsafe_undefined false
> > unused true
> > warnings false
> > ERROR: `m` is not a supported option
> > at o (/<<PKGBUILDDIR>>/dist/bundle.min.js:1:551)
> > at new Rn (/<<PKGBUILDDIR>>/dist/bundle.min.js:1:116095)
> > at Object.Kn [as minify] (/<<PKGBUILDDIR>>/dist/bundle.min.js:1:315863)
> > at run (/<<PKGBUILDDIR>>/bin/uglifyjs:228:27)
> > at Object.<anonymous> (/<<PKGBUILDDIR>>/bin/uglifyjs:178:5)
> > at Module._compile (internal/modules/cjs/loader.js:1138:30)
> > at Object.Module._extensions..js (internal/modules/cjs/loader.js:1158:10)
> > at Module.load (internal/modules/cjs/loader.js:986:32)
> > at Function.Module._load (internal/modules/cjs/loader.js:879:14)
> > at Function.executeUserEntryPoint [as runMain] (internal/modules/run_main.js:71:12)
> >
> > Error: Command failed: "/usr/bin/node" bin/uglifyjs "test/input/issue-1242/b*.es5" -cm
> > Supported options:
> > arguments false
> > arrows true
> > booleans true
> > booleans_as_integers false
> > collapse_vars true
> > comparisons true
> > computed_props true
> > conditionals true
> > dead_code true
> > defaults true
> > directives true
> > drop_console false
> > drop_debugger true
> > ecma 5
> > evaluate true
> > expression false
> > global_defs false
> > hoist_funs false
> > hoist_props true
> > hoist_vars false
> > ie8 false
> > if_return true
> > inline true
> > join_vars true
> > keep_classnames false
> > keep_fargs true
> > keep_fnames false
> > keep_infinity false
> > loops true
> > module false
> > negate_iife true
> > passes 1
> > properties true
> > pure_getters "strict"
> > pure_funcs null
> > reduce_funcs true
> > reduce_vars true
> > sequences true
> > side_effects true
> > switches true
> > top_retain null
> > toplevel false
> > typeofs true
> > unsafe false
> > unsafe_arrows false
> > unsafe_comps false
> > unsafe_Function false
> > unsafe_math false
> > unsafe_methods false
> > unsafe_proto false
> > unsafe_regexp false
> > unsafe_undefined false
> > unused true
> > warnings false
> > ERROR: `m` is not a supported option
> > at o (dist/bundle.min.js:1:551)
> > at new Rn (dist/bundle.min.js:1:116095)
> > at Object.Kn [as minify] (dist/bundle.min.js:1:315863)
> > at run (bin/uglifyjs:228:27)
> > at Object.<anonymous> (bin/uglifyjs:178:5)
> > at Module._compile (internal/modules/cjs/loader.js:1138:30)
> > at Object.Module._extensions..js (internal/modules/cjs/loader.js:1158:10)
> > at Module.load (internal/modules/cjs/loader.js:986:32)
> > at Function.Module._load (internal/modules/cjs/loader.js:879:14)
> > at Function.executeUserEntryPoint [as runMain] (internal/modules/run_main.js:71:12)
> >
> > at ChildProcess.exithandler (child_process.js:303:12)
> > at maybeClose (internal/child_process.js:1021:16)
> > at Process.ChildProcess._handle.onexit (internal/child_process.js:286:5)
> >
> > 6) bin/uglifyjs with input file globs
> > bin/uglifyjs with multiple input file globs.:
> > Uncaught Command failed: "/usr/bin/node" bin/uglifyjs "test/input/issue-1242/???.es5" "test/input/issue-1242/*.js" -mc toplevel,passes=3
> > ERROR: ENOENT: no such file or directory, open 'toplevel,passes=3'
> > at Object.openSync (fs.js:458:3)
> > at Object.readFileSync (fs.js:360:35)
> > at read_file (/<<PKGBUILDDIR>>/bin/uglifyjs:353:19)
> > at /<<PKGBUILDDIR>>/bin/uglifyjs:176:37
> > at Array.forEach (<anonymous>)
> > at Object.<anonymous> (/<<PKGBUILDDIR>>/bin/uglifyjs:175:28)
> > at Module._compile (internal/modules/cjs/loader.js:1138:30)
> > at Object.Module._extensions..js (internal/modules/cjs/loader.js:1158:10)
> > at Module.load (internal/modules/cjs/loader.js:986:32)
> > at Function.Module._load (internal/modules/cjs/loader.js:879:14)
> >
> > Error: Command failed: "/usr/bin/node" bin/uglifyjs "test/input/issue-1242/???.es5" "test/input/issue-1242/*.js" -mc toplevel,passes=3
> > ERROR: ENOENT: no such file or directory, open 'toplevel,passes=3'
> > at Object.openSync (fs.js:458:3)
> > at Object.readFileSync (fs.js:360:35)
> > at read_file (bin/uglifyjs:353:19)
> > at /<<PKGBUILDDIR>>/bin/uglifyjs:176:37
> > at Array.forEach (<anonymous>)
> > at Object.<anonymous> (bin/uglifyjs:175:28)
> > at Module._compile (internal/modules/cjs/loader.js:1138:30)
> > at Object.Module._extensions..js (internal/modules/cjs/loader.js:1158:10)
> > at Module.load (internal/modules/cjs/loader.js:986:32)
> > at Function.Module._load (internal/modules/cjs/loader.js:879:14)
> >
> > at ChildProcess.exithandler (child_process.js:303:12)
> > at maybeClose (internal/child_process.js:1021:16)
> > at Socket.<anonymous> (internal/child_process.js:443:11)
> > at Pipe.<anonymous> (net.js:675:12)
> >
> > 7) bin/uglifyjs with input file globs
> > Should handle special characters in glob string:
> > Uncaught Command failed: "/usr/bin/node" bin/uglifyjs "test/input/issue-1632/^{*}[???](*)+$.??" -cm
> > Supported options:
> > arguments false
> > arrows true
> > booleans true
> > booleans_as_integers false
> > collapse_vars true
> > comparisons true
> > computed_props true
> > conditionals true
> > dead_code true
> > defaults true
> > directives true
> > drop_console false
> > drop_debugger true
> > ecma 5
> > evaluate true
> > expression false
> > global_defs false
> > hoist_funs false
> > hoist_props true
> > hoist_vars false
> > ie8 false
> > if_return true
> > inline true
> > join_vars true
> > keep_classnames false
> > keep_fargs true
> > keep_fnames false
> > keep_infinity false
> > loops true
> > module false
> > negate_iife true
> > passes 1
> > properties true
> > pure_getters "strict"
> > pure_funcs null
> > reduce_funcs true
> > reduce_vars true
> > sequences true
> > side_effects true
> > switches true
> > top_retain null
> > toplevel false
> > typeofs true
> > unsafe false
> > unsafe_arrows false
> > unsafe_comps false
> > unsafe_Function false
> > unsafe_math false
> > unsafe_methods false
> > unsafe_proto false
> > unsafe_regexp false
> > unsafe_undefined false
> > unused true
> > warnings false
> > ERROR: `m` is not a supported option
> > at o (/<<PKGBUILDDIR>>/dist/bundle.min.js:1:551)
> > at new Rn (/<<PKGBUILDDIR>>/dist/bundle.min.js:1:116095)
> > at Object.Kn [as minify] (/<<PKGBUILDDIR>>/dist/bundle.min.js:1:315863)
> > at run (/<<PKGBUILDDIR>>/bin/uglifyjs:228:27)
> > at Object.<anonymous> (/<<PKGBUILDDIR>>/bin/uglifyjs:178:5)
> > at Module._compile (internal/modules/cjs/loader.js:1138:30)
> > at Object.Module._extensions..js (internal/modules/cjs/loader.js:1158:10)
> > at Module.load (internal/modules/cjs/loader.js:986:32)
> > at Function.Module._load (internal/modules/cjs/loader.js:879:14)
> > at Function.executeUserEntryPoint [as runMain] (internal/modules/run_main.js:71:12)
> >
> > Error: Command failed: "/usr/bin/node" bin/uglifyjs "test/input/issue-1632/^{*}[???](*)+$.??" -cm
> > Supported options:
> > arguments false
> > arrows true
> > booleans true
> > booleans_as_integers false
> > collapse_vars true
> > comparisons true
> > computed_props true
> > conditionals true
> > dead_code true
> > defaults true
> > directives true
> > drop_console false
> > drop_debugger true
> > ecma 5
> > evaluate true
> > expression false
> > global_defs false
> > hoist_funs false
> > hoist_props true
> > hoist_vars false
> > ie8 false
> > if_return true
> > inline true
> > join_vars true
> > keep_classnames false
> > keep_fargs true
> > keep_fnames false
> > keep_infinity false
> > loops true
> > module false
> > negate_iife true
> > passes 1
> > properties true
> > pure_getters "strict"
> > pure_funcs null
> > reduce_funcs true
> > reduce_vars true
> > sequences true
> > side_effects true
> > switches true
> > top_retain null
> > toplevel false
> > typeofs true
> > unsafe false
> > unsafe_arrows false
> > unsafe_comps false
> > unsafe_Function false
> > unsafe_math false
> > unsafe_methods false
> > unsafe_proto false
> > unsafe_regexp false
> > unsafe_undefined false
> > unused true
> > warnings false
> > ERROR: `m` is not a supported option
> > at o (dist/bundle.min.js:1:551)
> > at new Rn (dist/bundle.min.js:1:116095)
> > at Object.Kn [as minify] (dist/bundle.min.js:1:315863)
> > at run (bin/uglifyjs:228:27)
> > at Object.<anonymous> (bin/uglifyjs:178:5)
> > at Module._compile (internal/modules/cjs/loader.js:1138:30)
> > at Object.Module._extensions..js (internal/modules/cjs/loader.js:1158:10)
> > at Module.load (internal/modules/cjs/loader.js:986:32)
> > at Function.Module._load (internal/modules/cjs/loader.js:879:14)
> > at Function.executeUserEntryPoint [as runMain] (internal/modules/run_main.js:71:12)
> >
> > at ChildProcess.exithandler (child_process.js:303:12)
> > at maybeClose (internal/child_process.js:1021:16)
> > at Process.ChildProcess._handle.onexit (internal/child_process.js:286:5)
> >
> >
> >
> > make[1]: *** [debian/rules:39: override_dh_auto_test] Error 7
>
> The full build log is available from:
> http://qa-logs.debian.net/2020/06/20/node-terser_4.1.2-6_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.
>
>
--
* Jonas Smedegaard - idealist & Internet-arkitekt
* Tlf.: +45 40843136 Website: http://dr.jones.dk/
[x] quote me freely [ ] ask before reusing [ ] keep private
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 833 bytes
Desc: signature
URL: <http://alioth-lists.debian.net/pipermail/pkg-javascript-devel/attachments/20200705/ce0bfd4c/attachment.sig>
More information about the Pkg-javascript-devel
mailing list