[Pkg-javascript-devel] Bug#952335: uglify-js: FTBFS: ERROR: `m` is not a supported option

Lucas Nussbaum lucas at debian.org
Sun Feb 23 13:31:13 GMT 2020


Source: uglify-js
Version: 3.6.3-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>>'
> NODE_PATH=lib node test/mocha.js \
> 	
> arguments
>   √ Should known that arguments in functions are local scoped
>   √ Should recognize when a function uses arguments
> bin/uglifyjs
>   × Should produce a functional build when using --self
>   √ Should be able to filter comments correctly with `--comments all`
>   √ Should be able to filter comments correctly with `--comment <RegExp>`
>   √ Should be able to filter comments correctly with just `--comment`
>   √ Should give sensible error against invalid input source map
>   √ Should append source map to output when using --source-map url=inline
>   √ Should not append source map to output when not using --source-map url=inline
>   √ Should not consider source map file content as source map file name (issue #2082)
>   √ Should not load source map before finish reading from STDIN
>   √ Should work with --keep-fnames (mangle only)
>   √ Should work with --keep-fnames (mangle & compress)
>   √ Should work with keep_fnames under mangler options
>   √ Should work with --define (simple)
>   √ Should work with --define (nested)
>   √ Should work with --define (AST_Node)
>   √ Should work with `--beautify`
>   √ Should work with `--beautify braces`
>   × Should process inline source map
>   √ Should warn for missing inline source map
>   √ Should handle multiple input and inline source map
>   √ Should fail with acorn and inline source map
>   √ Should fail with SpiderMonkey and inline source map
>   √ Should fail with invalid syntax
>   √ Should fail with correct marking of tabs
>   √ Should fail with correct marking at start of line
>   √ Should fail with a missing loop body
>   √ Should throw syntax error (5--)
>   √ Should throw syntax error (Math.random() /= 2)
>   √ Should throw syntax error (++this)
>   √ Should throw syntax error (++null)
>   √ Should throw syntax error (a.=)
>   √ Should throw syntax error (%.a)
>   √ Should throw syntax error (a./();)
>   √ Should throw syntax error ({%: 1})
>   √ Should throw syntax error (delete x)
>   √ Should throw syntax error (function g(arguments))
>   √ Should throw syntax error (function eval())
>   √ Should throw syntax error (iife arguments())
>   √ Should throw syntax error (catch (eval))
>   √ Should throw syntax error (var eval)
>   √ Should throw syntax error (else)
>   √ Should throw syntax error (return)
>   √ Should throw syntax error (for-in init)
>   √ Should throw syntax error (for-in var)
>   √ Should handle literal string as source map input
>   √ Should include function calls in source map
>   × Should dump AST as JSON
>   √ Should print supported options on invalid option syntax
>   √ Should work with --mangle reserved=[]
>   √ Should work with --mangle reserved=false
>   √ Should fail with --mangle-props reserved=[in]
>   √ Should work with mangle.properties.regex from --config-file
>   √ Should fail with --define a-b
>   √ Should work with explicit --rename
>   × Should work with explicit --no-rename
>   × Should work with implicit --rename
>   √ Should work with implicit --no-rename
>   √ Should work with --enclose
>   √ Should work with --enclose arg
>   √ Should work with --enclose arg:value
>   √ Should work with --enclose & --wrap
>   × Should compress swarm of unused variables with reasonable performance
> comments
>   √ Should recognize eol of single line comments
>   √ Should update the position of a multiline comment correctly
>   √ Should handle comment within return correctly
>   √ Should handle comment folded into return correctly
>   √ Should not drop comments after first OutputStream
>   √ Should retain trailing comments
>   √ Should retain comments within braces
>   √ Should correctly preserve new lines around comments
>   √ Should preserve new line before comment without beautify
>   √ Should preserve comments around IIFE
>   √ Should output line comments after statements
>   √ Should handle programmatic AST insertions gracefully
>   √ Should not duplicate sourceMappingURL
>   comment before constant
>     √ Should test comment before constant is retained and output after mangle.
>     √ Should test code works when comments disabled.
>   comment filters
>     √ Should be able to filter comments by passing regexp
>     √ Should be able to filter comments with the 'all' option
>     √ Should be able to filter commments with the 'some' option
>     √ Should be able to filter comments by passing a function
>     √ Should be able to filter comments by passing regex in string format
>     √ Should be able to get the comment and comment type when using a function
>     √ Should be able to filter comments by passing a boolean
>     √ Should never be able to filter comment5 (shebangs)
>     √ Should never be able to filter comment5 when using 'some' as filter
>     √ Should have no problem on multiple calls
>     √ Should handle shebang and preamble correctly
>     √ Should handle preamble without shebang correctly
>   Huge number of comments.
>     √ Should parse and compress code with thousands of consecutive comments
> Directives
>   √ Should allow tokenizer to store directives state
>   √ Should know which strings are directive and which ones are not
>   √ Should test EXPECT_DIRECTIVE RegExp
>   √ Should only print 2 semicolons spread over 2 lines in beautify mode
>   √ Should not add double semicolons in non-scoped block statements to avoid strings becoming directives
>   √ Should add double semicolon when relying on automatic semicolon insertion
>   √ Should check quote style of directives
>   √ Should be able to compress without side effects
> Getters and setters
>   √ Should not accept operator symbols as getter/setter name
> bin/uglifyjs with input file globs
>   × bin/uglifyjs with one input file extension glob.
>   × bin/uglifyjs with one input file name glob.
>   × bin/uglifyjs with multiple input file globs.
>   √ Should throw with non-matching glob string
>   √ "?" in glob string should not match "/"
>   × Should handle special characters in glob string
>   √ Should handle array of glob strings - matching and otherwise
> ie8
>   √ Should be able to minify() with undefined as catch parameter in a try...catch statement
> let
>   √ Should not produce reserved keywords as variable name in mangle
>   √ Should quote mangled properties that are reserved keywords
> line-endings
>   √ Should parse LF line endings
>   √ Should parse CR/LF line endings
>   √ Should parse CR line endings
>   √ Should not allow line terminators in regexp
> Input file as map
>   √ Should accept object
>   √ Should accept array of strings
>   √ Should correctly include source
> minify
>   √ Should test basic sanity of minify with default options
>   √ Should skip inherited keys from `files`
>   √ Should work with mangle.cache
>   √ Should work with nameCache
>   √ Should avoid cached names when mangling top-level variables
>   √ Should avoid cached names when mangling inner-scoped variables
>   √ Should not parse invalid use of reserved words
>   keep_quoted_props
>     √ Should preserve quotes in object literals
>     √ Should preserve quote styles when quote_style is 3
>     √ Should not preserve quotes in object literals when disabled
>   mangleProperties
>     √ Shouldn't mangle quoted properties
>     √ Should not mangle quoted property within dead code
>   #__PURE__
>     √ Should drop #__PURE__ hint after use
>     √ Should drop #__PURE__ hint if function is retained
>   JS_Parse_Error
>     √ Should return syntax error
>     √ Should reject duplicated label name
>   global_defs
>     √ Should throw for non-trivial expressions
>     √ Should skip inherited properties
>   collapse_vars
>     √ Should not produce invalid AST
>   rename
>     √ Should be repeatable
>   enclose
>     √ Should work with true
>     √ Should work with arg
>     √ Should work with arg:value
>     √ Should work alongside wrap
> Number literals
>   √ Should not allow legacy octal literals in strict mode
> operator
>   √ Should handle mixing of ++/+/--/- correctly
>   √ Should remove extraneous spaces
> parentheses
>   √ Should add trailing parentheses for new expressions with zero arguments in beautify mode
>   √ Should not add trailing parentheses for new expressions with zero arguments in non-beautify mode
>   √ Should compress leading parenthesis with reasonable performance
> sourcemaps
>   √ Should give correct version
>   √ Should give correct names
>   √ Should mark array/object literals
>   √ Should give correct sourceRoot
>   inSourceMap
>     √ Should read the given string filename correctly when sourceMapIncludeSources is enabled
>     √ Should process inline source map
>     √ Should warn for missing inline source map
>     √ Should handle multiple input and inline source map
>     √ Should drop source contents for includeSources=false
>     √ Should parse the correct sourceMappingURL
>     √ Should work in presence of unrecognised annotations
>   sourceMapInline
>     √ Should append source map to output js when sourceMapInline is enabled
>     √ Should not append source map to output js when sourceMapInline is not enabled
>     √ Should work with max_line_len
>     √ Should work with unicode characters
>   input sourcemaps
>     √ Should copy over original sourcesContent
>     √ Should copy sourcesContent if sources are relative
>     √ Should not have invalid mappings from inputSourceMap
> spidermonkey export/import sanity test
>   × Should produce a functional build when using --self with spidermonkey
>   √ Should not add unnecessary escape slashes to regexps
>   √ Should judge between directives and strings correctly on import
> String literals
>   √ Should throw syntax error if a string literal contains a newline
>   √ Should not throw syntax error if a string has a line continuation
>   √ Should throw error in strict mode if string contains escaped octalIntegerLiteral
>   √ Should not throw error outside strict mode if string contains escaped octalIntegerLiteral
>   √ Should not throw error when digit is 8 or 9
>   √ Should not unescape unpaired surrogates
> tokens
>   √ Should give correct positions for accessors
> With
>   √ Should throw syntaxError when using with statement in strict mode
>   √ Should set uses_with for scopes involving With statements
> 
> 11 test(s) failed!
> 
> bin/uglifyjs
>   1) Should produce a functional build when using --self
> Error: Command failed: "/usr/bin/node" bin/uglifyjs --self -cm --wrap WrappedUglifyJS
> Supported options:
>   arguments         true
>   assignments       true
>   booleans          true
>   collapse_vars     true
>   comparisons       true
>   conditionals      true
>   dead_code         true
>   directives        true
>   drop_console      false
>   drop_debugger     true
>   evaluate          true
>   expression        false
>   functions         true
>   global_defs       false
>   hoist_funs        false
>   hoist_props       true
>   hoist_vars        false
>   ie8               false
>   if_return         true
>   inline            true
>   join_vars         true
>   keep_fargs        "strict"
>   keep_fnames       false
>   keep_infinity     false
>   loops             true
>   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_comps      false
>   unsafe_Function   false
>   unsafe_math       false
>   unsafe_proto      false
>   unsafe_regexp     false
>   unsafe_undefined  false
>   unused            true
> ERROR: `m` is not a supported option
>     at DefaultsError.get (eval at <anonymous> (/<<PKGBUILDDIR>>/tools/node.js:18:1), <anonymous>:71:23)
>     at fatal (/<<PKGBUILDDIR>>/bin/uglifyjs:298:27)
>     at run (/<<PKGBUILDDIR>>/bin/uglifyjs:241:9)
>     at Object.<anonymous> (/<<PKGBUILDDIR>>/bin/uglifyjs:162:5)
>     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 ChildProcess.exithandler (child_process.js:294:12)
>     at ChildProcess.emit (events.js:198:13)
>     at maybeClose (internal/child_process.js:982:16)
>     at Process.ChildProcess._handle.onexit (internal/child_process.js:259:5)
> 
>   2) Should process inline source map
> Error: Command failed: "/usr/bin/node" bin/uglifyjs test/input/issue-520/input.js -mc toplevel --source-map content=inline --source-map includeSources=true --source-map url=inline
> ERROR: ENOENT: no such file or directory, open 'toplevel'
>     at Object.openSync (fs.js:443:3)
>     at Object.readFileSync (fs.js:343:35)
>     at read_file (/<<PKGBUILDDIR>>/bin/uglifyjs:339:19)
>     at /<<PKGBUILDDIR>>/bin/uglifyjs:165:37
>     at Array.forEach (<anonymous>)
>     at Object.<anonymous> (/<<PKGBUILDDIR>>/bin/uglifyjs:164:31)
>     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 ChildProcess.exithandler (child_process.js:294:12)
>     at ChildProcess.emit (events.js:198:13)
>     at maybeClose (internal/child_process.js:982:16)
>     at Process.ChildProcess._handle.onexit (internal/child_process.js:259:5)
> 
>   3) Should dump AST as JSON
> 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:443:3)
>     at Object.readFileSync (fs.js:343:35)
>     at read_file (/<<PKGBUILDDIR>>/bin/uglifyjs:339:19)
>     at /<<PKGBUILDDIR>>/bin/uglifyjs:165:37
>     at Array.forEach (<anonymous>)
>     at Object.<anonymous> (/<<PKGBUILDDIR>>/bin/uglifyjs:164:31)
>     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 ChildProcess.exithandler (child_process.js:294:12)
>     at ChildProcess.emit (events.js:198:13)
>     at maybeClose (internal/child_process.js:982:16)
>     at Socket.stream.socket.on (internal/child_process.js:389:11)
>     at Socket.emit (events.js:198:13)
>     at Pipe._handle.close (net.js:607:12)
> 
>   4) Should work with explicit --no-rename
> Error: Command failed: "/usr/bin/node" bin/uglifyjs test/input/rename/input.js -mc passes=2 --no-rename
> ERROR: ENOENT: no such file or directory, open 'passes=2'
>     at Object.openSync (fs.js:443:3)
>     at Object.readFileSync (fs.js:343:35)
>     at read_file (/<<PKGBUILDDIR>>/bin/uglifyjs:339:19)
>     at /<<PKGBUILDDIR>>/bin/uglifyjs:165:37
>     at Array.forEach (<anonymous>)
>     at Object.<anonymous> (/<<PKGBUILDDIR>>/bin/uglifyjs:164:31)
>     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 ChildProcess.exithandler (child_process.js:294:12)
>     at ChildProcess.emit (events.js:198:13)
>     at maybeClose (internal/child_process.js:982:16)
>     at Process.ChildProcess._handle.onexit (internal/child_process.js:259:5)
> 
>   5) Should work with implicit --rename
> Error: Command failed: "/usr/bin/node" bin/uglifyjs test/input/rename/input.js -mc passes=2
> ERROR: ENOENT: no such file or directory, open 'passes=2'
>     at Object.openSync (fs.js:443:3)
>     at Object.readFileSync (fs.js:343:35)
>     at read_file (/<<PKGBUILDDIR>>/bin/uglifyjs:339:19)
>     at /<<PKGBUILDDIR>>/bin/uglifyjs:165:37
>     at Array.forEach (<anonymous>)
>     at Object.<anonymous> (/<<PKGBUILDDIR>>/bin/uglifyjs:164:31)
>     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 ChildProcess.exithandler (child_process.js:294:12)
>     at ChildProcess.emit (events.js:198:13)
>     at maybeClose (internal/child_process.js:982:16)
>     at Socket.stream.socket.on (internal/child_process.js:389:11)
>     at Socket.emit (events.js:198:13)
>     at Pipe._handle.close (net.js:607:12)
> 
>   6) Should compress swarm of unused variables with reasonable performance
> Error: Command failed: "/usr/bin/node" bin/uglifyjs -mc
> Supported options:
>   cache        null
>   eval         false
>   ie8          false
>   keep_fnames  false
>   properties   false
>   reserved     []
>   toplevel     false
> ERROR: `c` is not a supported option
>     at DefaultsError.get (eval at <anonymous> (/<<PKGBUILDDIR>>/tools/node.js:18:1), <anonymous>:71:23)
>     at fatal (/<<PKGBUILDDIR>>/bin/uglifyjs:298:27)
>     at run (/<<PKGBUILDDIR>>/bin/uglifyjs:241:9)
>     at Socket.<anonymous> (/<<PKGBUILDDIR>>/bin/uglifyjs:175:9)
>     at Socket.emit (events.js:203:15)
>     at endReadableNT (_stream_readable.js:1143:12)
>     at process._tickCallback (internal/process/next_tick.js:63:19)
> 
>     at ChildProcess.exithandler (child_process.js:294:12)
>     at ChildProcess.emit (events.js:198:13)
>     at maybeClose (internal/child_process.js:982:16)
>     at Socket.stream.socket.on (internal/child_process.js:389:11)
>     at Socket.emit (events.js:198:13)
>     at Pipe._handle.close (net.js:607:12)
> 
> bin/uglifyjs with input file globs
>   7) bin/uglifyjs with one input file extension glob.
> Error: Command failed: "/usr/bin/node" bin/uglifyjs "test/input/issue-1242/foo.*" -cm
> Supported options:
>   arguments         true
>   assignments       true
>   booleans          true
>   collapse_vars     true
>   comparisons       true
>   conditionals      true
>   dead_code         true
>   directives        true
>   drop_console      false
>   drop_debugger     true
>   evaluate          true
>   expression        false
>   functions         true
>   global_defs       false
>   hoist_funs        false
>   hoist_props       true
>   hoist_vars        false
>   ie8               false
>   if_return         true
>   inline            true
>   join_vars         true
>   keep_fargs        "strict"
>   keep_fnames       false
>   keep_infinity     false
>   loops             true
>   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_comps      false
>   unsafe_Function   false
>   unsafe_math       false
>   unsafe_proto      false
>   unsafe_regexp     false
>   unsafe_undefined  false
>   unused            true
> ERROR: `m` is not a supported option
>     at DefaultsError.get (eval at <anonymous> (/<<PKGBUILDDIR>>/tools/node.js:18:1), <anonymous>:71:23)
>     at fatal (/<<PKGBUILDDIR>>/bin/uglifyjs:298:27)
>     at run (/<<PKGBUILDDIR>>/bin/uglifyjs:241:9)
>     at Object.<anonymous> (/<<PKGBUILDDIR>>/bin/uglifyjs:167:5)
>     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 ChildProcess.exithandler (child_process.js:294:12)
>     at ChildProcess.emit (events.js:198:13)
>     at maybeClose (internal/child_process.js:982:16)
>     at Process.ChildProcess._handle.onexit (internal/child_process.js:259:5)
> 
>   8) bin/uglifyjs with one input file name glob.
> Error: Command failed: "/usr/bin/node" bin/uglifyjs "test/input/issue-1242/b*.es5" -cm
> Supported options:
>   arguments         true
>   assignments       true
>   booleans          true
>   collapse_vars     true
>   comparisons       true
>   conditionals      true
>   dead_code         true
>   directives        true
>   drop_console      false
>   drop_debugger     true
>   evaluate          true
>   expression        false
>   functions         true
>   global_defs       false
>   hoist_funs        false
>   hoist_props       true
>   hoist_vars        false
>   ie8               false
>   if_return         true
>   inline            true
>   join_vars         true
>   keep_fargs        "strict"
>   keep_fnames       false
>   keep_infinity     false
>   loops             true
>   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_comps      false
>   unsafe_Function   false
>   unsafe_math       false
>   unsafe_proto      false
>   unsafe_regexp     false
>   unsafe_undefined  false
>   unused            true
> ERROR: `m` is not a supported option
>     at DefaultsError.get (eval at <anonymous> (/<<PKGBUILDDIR>>/tools/node.js:18:1), <anonymous>:71:23)
>     at fatal (/<<PKGBUILDDIR>>/bin/uglifyjs:298:27)
>     at run (/<<PKGBUILDDIR>>/bin/uglifyjs:241:9)
>     at Object.<anonymous> (/<<PKGBUILDDIR>>/bin/uglifyjs:167:5)
>     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 ChildProcess.exithandler (child_process.js:294:12)
>     at ChildProcess.emit (events.js:198:13)
>     at maybeClose (internal/child_process.js:982:16)
>     at Process.ChildProcess._handle.onexit (internal/child_process.js:259:5)
> 
>   9) bin/uglifyjs with multiple input file globs.
> 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:443:3)
>     at Object.readFileSync (fs.js:343:35)
>     at read_file (/<<PKGBUILDDIR>>/bin/uglifyjs:339:19)
>     at /<<PKGBUILDDIR>>/bin/uglifyjs:165:37
>     at Array.forEach (<anonymous>)
>     at Object.<anonymous> (/<<PKGBUILDDIR>>/bin/uglifyjs:164:31)
>     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 ChildProcess.exithandler (child_process.js:294:12)
>     at ChildProcess.emit (events.js:198:13)
>     at maybeClose (internal/child_process.js:982:16)
>     at Process.ChildProcess._handle.onexit (internal/child_process.js:259:5)
> 
>   10) Should handle special characters in glob string
> Error: Command failed: "/usr/bin/node" bin/uglifyjs "test/input/issue-1632/^{*}[???](*)+$.??" -cm
> Supported options:
>   arguments         true
>   assignments       true
>   booleans          true
>   collapse_vars     true
>   comparisons       true
>   conditionals      true
>   dead_code         true
>   directives        true
>   drop_console      false
>   drop_debugger     true
>   evaluate          true
>   expression        false
>   functions         true
>   global_defs       false
>   hoist_funs        false
>   hoist_props       true
>   hoist_vars        false
>   ie8               false
>   if_return         true
>   inline            true
>   join_vars         true
>   keep_fargs        "strict"
>   keep_fnames       false
>   keep_infinity     false
>   loops             true
>   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_comps      false
>   unsafe_Function   false
>   unsafe_math       false
>   unsafe_proto      false
>   unsafe_regexp     false
>   unsafe_undefined  false
>   unused            true
> ERROR: `m` is not a supported option
>     at DefaultsError.get (eval at <anonymous> (/<<PKGBUILDDIR>>/tools/node.js:18:1), <anonymous>:71:23)
>     at fatal (/<<PKGBUILDDIR>>/bin/uglifyjs:298:27)
>     at run (/<<PKGBUILDDIR>>/bin/uglifyjs:241:9)
>     at Object.<anonymous> (/<<PKGBUILDDIR>>/bin/uglifyjs:167:5)
>     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 ChildProcess.exithandler (child_process.js:294:12)
>     at ChildProcess.emit (events.js:198:13)
>     at maybeClose (internal/child_process.js:982:16)
>     at Process.ChildProcess._handle.onexit (internal/child_process.js:259:5)
> 
> spidermonkey export/import sanity test
>   11) Should produce a functional build when using --self with spidermonkey
> Error: Command failed: "/usr/bin/node" bin/uglifyjs --self -cm --wrap SpiderUglify -o spidermonkey | "/usr/bin/node" bin/uglifyjs -p spidermonkey -cm
> Supported options:
>   arguments         true
>   assignments       true
>   booleans          true
>   collapse_vars     true
>   comparisons       true
>   conditionals      true
>   dead_code         true
>   directives        true
>   drop_console      false
>   drop_debugger     true
>   evaluate          true
>   expression        false
>   functions         true
>   global_defs       false
>   hoist_funs        false
>   hoist_props       true
>   hoist_vars        false
>   ie8               false
>   if_return         true
>   inline            true
>   join_vars         true
>   keep_fargs        "strict"
>   keep_fnames       false
>   keep_infinity     false
>   loops             true
>   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_comps      false
>   unsafe_Function   false
>   unsafe_math       false
>   unsafe_proto      false
>   unsafe_regexp     false
>   unsafe_undefined  false
>   unused            true
> ERROR: `m` is not a supported option
>     at DefaultsError.get (eval at <anonymous> (/<<PKGBUILDDIR>>/tools/node.js:18:1), <anonymous>:71:23)
>     at fatal (/<<PKGBUILDDIR>>/bin/uglifyjs:298:27)
>     at run (/<<PKGBUILDDIR>>/bin/uglifyjs:241:9)
>     at Object.<anonymous> (/<<PKGBUILDDIR>>/bin/uglifyjs:162:5)
>     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)
> ERROR: Unexpected end of JSON input
>     at JSON.parse (<anonymous>)
>     at /<<PKGBUILDDIR>>/bin/uglifyjs:203:36
>     at Array.reduce (<anonymous>)
>     at convert_ast (/<<PKGBUILDDIR>>/bin/uglifyjs:181:66)
>     at run (/<<PKGBUILDDIR>>/bin/uglifyjs:202:25)
>     at Socket.<anonymous> (/<<PKGBUILDDIR>>/bin/uglifyjs:175:9)
>     at Socket.emit (events.js:203:15)
>     at endReadableNT (_stream_readable.js:1143:12)
>     at process._tickCallback (internal/process/next_tick.js:63:19)
> 
>     at ChildProcess.exithandler (child_process.js:294:12)
>     at ChildProcess.emit (events.js:198:13)
>     at maybeClose (internal/child_process.js:982:16)
>     at Process.ChildProcess._handle.onexit (internal/child_process.js:259:5)
> make[1]: *** [debian/rules:48: override_dh_auto_test] Error 1

The full build log is available from:
   http://qa-logs.debian.net/2020/02/22/uglify-js_3.6.3-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.



More information about the Pkg-javascript-devel mailing list