[Pkg-javascript-devel] Bug#997625: node-jquery: FTBFS: DefaultsError: `ie8` is not a supported option

Lucas Nussbaum lucas at debian.org
Sat Oct 23 22:09:04 BST 2021


Source: node-jquery
Version: 3.5.1+dfsg+~3.5.5-7
Severity: serious
Justification: FTBFS
Tags: bookworm sid ftbfs
User: lucas at debian.org
Usertags: ftbfs-20211023 ftbfs-bookworm

Hi,

During a rebuild of all packages in sid, your package failed to build
on amd64.


Relevant part (hopefully):
> make[1]: Entering directory '/<<PKGBUILDDIR>>'
> mkdir -p external
> mkdir -p external/sizzle/dist
> ln -s /usr/share/javascript/sizzle/sizzle.js external/sizzle/dist
> grunt qunit_fixture
> Loading "babel.js" tasks...ERROR
> >> Error: Cannot find module '@babel/core'
> >> Require stack:
> >> - /usr/share/nodejs/grunt-babel/tasks/babel.js
> >> - /usr/share/nodejs/grunt/lib/grunt/task.js
> >> - /usr/share/nodejs/grunt/lib/grunt.js
> >> - /usr/share/nodejs/grunt-cli/bin/grunt
> >>  grunt-babel at 8 requires Babel 7.x (the package '@babel/core'). If you'd like to use Babel 6.x ('babel-core'), you should install 'grunt-babel at 7'.
> 
> Running "qunit_fixture" task
> >> Updated ./test/data/qunit-fixture.js.
> 
> Done.
> grunt build:*:* uglify remove_map_comment dist:*
> Loading "babel.js" tasks...ERROR
> >> Error: Cannot find module '@babel/core'
> >> Require stack:
> >> - /usr/share/nodejs/grunt-babel/tasks/babel.js
> >> - /usr/share/nodejs/grunt/lib/grunt/task.js
> >> - /usr/share/nodejs/grunt/lib/grunt.js
> >> - /usr/share/nodejs/grunt-cli/bin/grunt
> >>  grunt-babel at 8 requires Babel 7.x (the package '@babel/core'). If you'd like to use Babel 6.x ('babel-core'), you should install 'grunt-babel at 7'.
> 
> Running "build:all:*" (build) task
> >> File 'dist/jquery.js' created.
> 
> Running "uglify:all" (uglify) task
> DefaultsError: `ie8` is not a supported option
>     at DefaultsError.get (<anonymous>:69:23)
>     at formatError (internal/util/inspect.js:1164:38)
>     at formatRaw (internal/util/inspect.js:937:14)
>     at formatValue (internal/util/inspect.js:791:10)
>     at inspect (internal/util/inspect.js:328:10)
>     at formatWithOptions (internal/util/inspect.js:1989:40)
>     at console.value (internal/console/constructor.js:308:14)
>     at console.log (internal/console/constructor.js:343:61)
>     at /usr/share/nodejs/grunt-contrib-uglify/tasks/uglify.js:156:17
>     at Array.forEach (<anonymous>:null:null)
>     at Object.<anonymous> (/usr/share/nodejs/grunt-contrib-uglify/tasks/uglify.js:90:16)
>     at Object.<anonymous> (/usr/share/nodejs/grunt/lib/grunt/task.js:253:15)
>     at Object.thisTask.fn (/usr/share/nodejs/grunt/lib/grunt/task.js:71:16)
>     at Object.<anonymous> (/usr/share/nodejs/grunt/lib/util/task.js:294:30)
>     at Task.runTaskFn (/usr/share/nodejs/grunt/lib/util/task.js:244:24)
>     at Task.<anonymous> (/usr/share/nodejs/grunt/lib/util/task.js:293:12)
>     at /usr/share/nodejs/grunt/lib/util/task.js:220:11
>     at processTicksAndRejections (internal/process/task_queues.js:79:11)
>  {
>   defs: {
>     annotations: false,
>     ascii_only: false,
>     beautify: false,
>     braces: false,
>     comments: false,
>     galio: false,
>     ie: false,
>     indent_level: 4,
>     indent_start: 0,
>     inline_script: true,
>     keep_quoted_props: false,
>     max_line_len: false,
>     preamble: null,
>     preserve_line: false,
>     quote_keys: false,
>     quote_style: 0,
>     semicolons: true,
>     shebang: true,
>     source_map: null,
>     v8: false,
>     webkit: false,
>     width: 80,
>     wrap_iife: false
>   }
> }
> >> Uglifying source dist/jquery.js failed.
> Warning: Uglification failed.
> `ie8` is not a supported option. 
>  Use --force to continue.
> 
> Aborted due to warnings.
> make[1]: *** [debian/rules:15: override_dh_auto_build] Error 6


The full build log is available from:
http://qa-logs.debian.net/2021/10/23/node-jquery_3.5.1+dfsg+~3.5.5-7_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!

If you reassign this bug to another package, please marking it as 'affects'-ing
this package. See https://www.debian.org/Bugs/server-control#affects

If you fail to reproduce this, please provide a build log and diff it with mine
so that we can identify if something relevant changed in the meantime.



More information about the Pkg-javascript-devel mailing list