[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
> [32m√ [39mShould known that arguments in functions are local scoped
> [32m√ [39mShould recognize when a function uses arguments
> bin/uglifyjs
> [31m× [39mShould produce a functional build when using --self
> [32m√ [39mShould be able to filter comments correctly with `--comments all`
> [32m√ [39mShould be able to filter comments correctly with `--comment <RegExp>`
> [32m√ [39mShould be able to filter comments correctly with just `--comment`
> [32m√ [39mShould give sensible error against invalid input source map
> [32m√ [39mShould append source map to output when using --source-map url=inline
> [32m√ [39mShould not append source map to output when not using --source-map url=inline
> [32m√ [39mShould not consider source map file content as source map file name (issue #2082)
> [32m√ [39mShould not load source map before finish reading from STDIN
> [32m√ [39mShould work with --keep-fnames (mangle only)
> [32m√ [39mShould work with --keep-fnames (mangle & compress)
> [32m√ [39mShould work with keep_fnames under mangler options
> [32m√ [39mShould work with --define (simple)
> [32m√ [39mShould work with --define (nested)
> [32m√ [39mShould work with --define (AST_Node)
> [32m√ [39mShould work with `--beautify`
> [32m√ [39mShould work with `--beautify braces`
> [31m× [39mShould process inline source map
> [32m√ [39mShould warn for missing inline source map
> [32m√ [39mShould handle multiple input and inline source map
> [32m√ [39mShould fail with acorn and inline source map
> [32m√ [39mShould fail with SpiderMonkey and inline source map
> [32m√ [39mShould fail with invalid syntax
> [32m√ [39mShould fail with correct marking of tabs
> [32m√ [39mShould fail with correct marking at start of line
> [32m√ [39mShould fail with a missing loop body
> [32m√ [39mShould throw syntax error (5--)
> [32m√ [39mShould throw syntax error (Math.random() /= 2)
> [32m√ [39mShould throw syntax error (++this)
> [32m√ [39mShould throw syntax error (++null)
> [32m√ [39mShould throw syntax error (a.=)
> [32m√ [39mShould throw syntax error (%.a)
> [32m√ [39mShould throw syntax error (a./();)
> [32m√ [39mShould throw syntax error ({%: 1})
> [32m√ [39mShould throw syntax error (delete x)
> [32m√ [39mShould throw syntax error (function g(arguments))
> [32m√ [39mShould throw syntax error (function eval())
> [32m√ [39mShould throw syntax error (iife arguments())
> [32m√ [39mShould throw syntax error (catch (eval))
> [32m√ [39mShould throw syntax error (var eval)
> [32m√ [39mShould throw syntax error (else)
> [32m√ [39mShould throw syntax error (return)
> [32m√ [39mShould throw syntax error (for-in init)
> [32m√ [39mShould throw syntax error (for-in var)
> [32m√ [39mShould handle literal string as source map input
> [32m√ [39mShould include function calls in source map
> [31m× [39mShould dump AST as JSON
> [32m√ [39mShould print supported options on invalid option syntax
> [32m√ [39mShould work with --mangle reserved=[]
> [32m√ [39mShould work with --mangle reserved=false
> [32m√ [39mShould fail with --mangle-props reserved=[in]
> [32m√ [39mShould work with mangle.properties.regex from --config-file
> [32m√ [39mShould fail with --define a-b
> [32m√ [39mShould work with explicit --rename
> [31m× [39mShould work with explicit --no-rename
> [31m× [39mShould work with implicit --rename
> [32m√ [39mShould work with implicit --no-rename
> [32m√ [39mShould work with --enclose
> [32m√ [39mShould work with --enclose arg
> [32m√ [39mShould work with --enclose arg:value
> [32m√ [39mShould work with --enclose & --wrap
> [31m× [39mShould compress swarm of unused variables with reasonable performance
> comments
> [32m√ [39mShould recognize eol of single line comments
> [32m√ [39mShould update the position of a multiline comment correctly
> [32m√ [39mShould handle comment within return correctly
> [32m√ [39mShould handle comment folded into return correctly
> [32m√ [39mShould not drop comments after first OutputStream
> [32m√ [39mShould retain trailing comments
> [32m√ [39mShould retain comments within braces
> [32m√ [39mShould correctly preserve new lines around comments
> [32m√ [39mShould preserve new line before comment without beautify
> [32m√ [39mShould preserve comments around IIFE
> [32m√ [39mShould output line comments after statements
> [32m√ [39mShould handle programmatic AST insertions gracefully
> [32m√ [39mShould not duplicate sourceMappingURL
> comment before constant
> [32m√ [39mShould test comment before constant is retained and output after mangle.
> [32m√ [39mShould test code works when comments disabled.
> comment filters
> [32m√ [39mShould be able to filter comments by passing regexp
> [32m√ [39mShould be able to filter comments with the 'all' option
> [32m√ [39mShould be able to filter commments with the 'some' option
> [32m√ [39mShould be able to filter comments by passing a function
> [32m√ [39mShould be able to filter comments by passing regex in string format
> [32m√ [39mShould be able to get the comment and comment type when using a function
> [32m√ [39mShould be able to filter comments by passing a boolean
> [32m√ [39mShould never be able to filter comment5 (shebangs)
> [32m√ [39mShould never be able to filter comment5 when using 'some' as filter
> [32m√ [39mShould have no problem on multiple calls
> [32m√ [39mShould handle shebang and preamble correctly
> [32m√ [39mShould handle preamble without shebang correctly
> Huge number of comments.
> [32m√ [39mShould parse and compress code with thousands of consecutive comments
> Directives
> [32m√ [39mShould allow tokenizer to store directives state
> [32m√ [39mShould know which strings are directive and which ones are not
> [32m√ [39mShould test EXPECT_DIRECTIVE RegExp
> [32m√ [39mShould only print 2 semicolons spread over 2 lines in beautify mode
> [32m√ [39mShould not add double semicolons in non-scoped block statements to avoid strings becoming directives
> [32m√ [39mShould add double semicolon when relying on automatic semicolon insertion
> [32m√ [39mShould check quote style of directives
> [32m√ [39mShould be able to compress without side effects
> Getters and setters
> [32m√ [39mShould not accept operator symbols as getter/setter name
> bin/uglifyjs with input file globs
> [31m× [39mbin/uglifyjs with one input file extension glob.
> [31m× [39mbin/uglifyjs with one input file name glob.
> [31m× [39mbin/uglifyjs with multiple input file globs.
> [32m√ [39mShould throw with non-matching glob string
> [32m√ [39m"?" in glob string should not match "/"
> [31m× [39mShould handle special characters in glob string
> [32m√ [39mShould handle array of glob strings - matching and otherwise
> ie8
> [32m√ [39mShould be able to minify() with undefined as catch parameter in a try...catch statement
> let
> [32m√ [39mShould not produce reserved keywords as variable name in mangle
> [32m√ [39mShould quote mangled properties that are reserved keywords
> line-endings
> [32m√ [39mShould parse LF line endings
> [32m√ [39mShould parse CR/LF line endings
> [32m√ [39mShould parse CR line endings
> [32m√ [39mShould not allow line terminators in regexp
> Input file as map
> [32m√ [39mShould accept object
> [32m√ [39mShould accept array of strings
> [32m√ [39mShould correctly include source
> minify
> [32m√ [39mShould test basic sanity of minify with default options
> [32m√ [39mShould skip inherited keys from `files`
> [32m√ [39mShould work with mangle.cache
> [32m√ [39mShould work with nameCache
> [32m√ [39mShould avoid cached names when mangling top-level variables
> [32m√ [39mShould avoid cached names when mangling inner-scoped variables
> [32m√ [39mShould not parse invalid use of reserved words
> keep_quoted_props
> [32m√ [39mShould preserve quotes in object literals
> [32m√ [39mShould preserve quote styles when quote_style is 3
> [32m√ [39mShould not preserve quotes in object literals when disabled
> mangleProperties
> [32m√ [39mShouldn't mangle quoted properties
> [32m√ [39mShould not mangle quoted property within dead code
> #__PURE__
> [32m√ [39mShould drop #__PURE__ hint after use
> [32m√ [39mShould drop #__PURE__ hint if function is retained
> JS_Parse_Error
> [32m√ [39mShould return syntax error
> [32m√ [39mShould reject duplicated label name
> global_defs
> [32m√ [39mShould throw for non-trivial expressions
> [32m√ [39mShould skip inherited properties
> collapse_vars
> [32m√ [39mShould not produce invalid AST
> rename
> [32m√ [39mShould be repeatable
> enclose
> [32m√ [39mShould work with true
> [32m√ [39mShould work with arg
> [32m√ [39mShould work with arg:value
> [32m√ [39mShould work alongside wrap
> Number literals
> [32m√ [39mShould not allow legacy octal literals in strict mode
> operator
> [32m√ [39mShould handle mixing of ++/+/--/- correctly
> [32m√ [39mShould remove extraneous spaces
> parentheses
> [32m√ [39mShould add trailing parentheses for new expressions with zero arguments in beautify mode
> [32m√ [39mShould not add trailing parentheses for new expressions with zero arguments in non-beautify mode
> [32m√ [39mShould compress leading parenthesis with reasonable performance
> sourcemaps
> [32m√ [39mShould give correct version
> [32m√ [39mShould give correct names
> [32m√ [39mShould mark array/object literals
> [32m√ [39mShould give correct sourceRoot
> inSourceMap
> [32m√ [39mShould read the given string filename correctly when sourceMapIncludeSources is enabled
> [32m√ [39mShould process inline source map
> [32m√ [39mShould warn for missing inline source map
> [32m√ [39mShould handle multiple input and inline source map
> [32m√ [39mShould drop source contents for includeSources=false
> [32m√ [39mShould parse the correct sourceMappingURL
> [32m√ [39mShould work in presence of unrecognised annotations
> sourceMapInline
> [32m√ [39mShould append source map to output js when sourceMapInline is enabled
> [32m√ [39mShould not append source map to output js when sourceMapInline is not enabled
> [32m√ [39mShould work with max_line_len
> [32m√ [39mShould work with unicode characters
> input sourcemaps
> [32m√ [39mShould copy over original sourcesContent
> [32m√ [39mShould copy sourcesContent if sources are relative
> [32m√ [39mShould not have invalid mappings from inputSourceMap
> spidermonkey export/import sanity test
> [31m× [39mShould produce a functional build when using --self with spidermonkey
> [32m√ [39mShould not add unnecessary escape slashes to regexps
> [32m√ [39mShould judge between directives and strings correctly on import
> String literals
> [32m√ [39mShould throw syntax error if a string literal contains a newline
> [32m√ [39mShould not throw syntax error if a string has a line continuation
> [32m√ [39mShould throw error in strict mode if string contains escaped octalIntegerLiteral
> [32m√ [39mShould not throw error outside strict mode if string contains escaped octalIntegerLiteral
> [32m√ [39mShould not throw error when digit is 8 or 9
> [32m√ [39mShould not unescape unpaired surrogates
> tokens
> [32m√ [39mShould give correct positions for accessors
> With
> [32m√ [39mShould throw syntaxError when using with statement in strict mode
> [32m√ [39mShould set uses_with for scopes involving With statements
>
> [31m11 test(s) failed![39m
>
> bin/uglifyjs
> 1) Should produce a functional build when using --self
> [31mError: Command failed: "/usr/bin/node" bin/uglifyjs --self -cm --wrap WrappedUglifyJS[39m
> 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
> [31mError: 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[39m
> 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
> [31mError: Command failed: "/usr/bin/node" bin/uglifyjs test/input/global_defs/simple.js -mco ast[39m
> 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
> [31mError: Command failed: "/usr/bin/node" bin/uglifyjs test/input/rename/input.js -mc passes=2 --no-rename[39m
> 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
> [31mError: Command failed: "/usr/bin/node" bin/uglifyjs test/input/rename/input.js -mc passes=2[39m
> 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
> [31mError: Command failed: "/usr/bin/node" bin/uglifyjs -mc[39m
> 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.
> [31mError: Command failed: "/usr/bin/node" bin/uglifyjs "test/input/issue-1242/foo.*" -cm[39m
> 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.
> [31mError: Command failed: "/usr/bin/node" bin/uglifyjs "test/input/issue-1242/b*.es5" -cm[39m
> 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.
> [31mError: Command failed: "/usr/bin/node" bin/uglifyjs "test/input/issue-1242/???.es5" "test/input/issue-1242/*.js" -mc toplevel,passes=3[39m
> 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
> [31mError: Command failed: "/usr/bin/node" bin/uglifyjs "test/input/issue-1632/^{*}[???](*)+$.??" -cm[39m
> 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
> [31mError: Command failed: "/usr/bin/node" bin/uglifyjs --self -cm --wrap SpiderUglify -o spidermonkey | "/usr/bin/node" bin/uglifyjs -p spidermonkey -cm[39m
> 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