Source: node-bluebird
Version: 3.7.2+dfsg1+~3.5.36-1
Severity: serious
Justification: FTBFS
Tags: bookworm sid ftbfs
User: lu...@debian.org
Usertags: ftbfs-20220728 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>>'
> node tools/build.js --release --no-minify
> Since Acorn 8.0.0, options.ecmaVersion is required.
> Defaulting to 2020, but this will stop working in the future.
> /usr/share/nodejs/acorn/dist/acorn.js:444
>     if (opts.allowHashBang == null)
>              ^
> 
> TypeError: Cannot read properties of undefined (reading 'allowHashBang')
>     at getOptions (/usr/share/nodejs/acorn/dist/acorn.js:444:14)
>     at new Parser (/usr/share/nodejs/acorn/dist/acorn.js:500:30)
>     at Function.parse (/usr/share/nodejs/acorn/dist/acorn.js:639:12)
>     at Object.parse (/usr/share/nodejs/acorn/dist/acorn.js:5562:19)
>     at Object.<anonymous> (/<<PKGBUILDDIR>>/tools/ast_passes.js:404:23)
>     at Module._compile (node:internal/modules/cjs/loader:1120:14)
>     at Module._extensions..js (node:internal/modules/cjs/loader:1174:10)
>     at Module.load (node:internal/modules/cjs/loader:998:32)
>     at Module._load (node:internal/modules/cjs/loader:839:12)
>     at Module.require (node:internal/modules/cjs/loader:1022:19)
>     at require (node:internal/modules/cjs/helpers:102:18)
>     at require (/<<PKGBUILDDIR>>/tools/job-runner/job-runner.js:426:16)
>     at eval (eval at <anonymous> 
> (/<<PKGBUILDDIR>>/tools/job-runner/job-runner.js:429:9), <anonymous>:5:21)
>     at Object.<anonymous> 
> (/<<PKGBUILDDIR>>/tools/job-runner/job-runner.js:429:9)
>     at Module._compile (node:internal/modules/cjs/loader:1120:14)
>     at Module._extensions..js (node:internal/modules/cjs/loader:1174:10)
> 
> Node.js v18.6.0
> Since Acorn 8.0.0, options.ecmaVersion is required.
> Defaulting to 2020, but this will stop working in the future.
> /usr/share/nodejs/acorn/dist/acorn.js:444
>     if (opts.allowHashBang == null)
>              ^
> 
> TypeError: Cannot read properties of undefined (reading 'allowHashBang')
>     at getOptions (/usr/share/nodejs/acorn/dist/acorn.js:444:14)
>     at new Parser (/usr/share/nodejs/acorn/dist/acorn.js:500:30)
>     at Function.parse (/usr/share/nodejs/acorn/dist/acorn.js:639:12)
>     at Object.parse (/usr/share/nodejs/acorn/dist/acorn.js:5562:19)
>     at Object.<anonymous> (/<<PKGBUILDDIR>>/tools/ast_passes.js:404:23)
>     at Module._compile (node:internal/modules/cjs/loader:1120:14)
>     at Module._extensions..js (node:internal/modules/cjs/loader:1174:10)
>     at Module.load (node:internal/modules/cjs/loader:998:32)
>     at Module._load (node:internal/modules/cjs/loader:839:12)
>     at Module.require (node:internal/modules/cjs/loader:1022:19)
>     at require (node:internal/modules/cjs/helpers:102:18)
>     at require (/<<PKGBUILDDIR>>/tools/job-runner/job-runner.js:426:16)
>     at eval (eval at <anonymous> 
> (/<<PKGBUILDDIR>>/tools/job-runner/job-runner.js:429:9), <anonymous>:5:21)
>     at Object.<anonymous> 
> (/<<PKGBUILDDIR>>/tools/job-runner/job-runner.js:429:9)
>     at Module._compile (node:internal/modules/cjs/loader:1120:14)
>     at Module._extensions..js (node:internal/modules/cjs/loader:1174:10)
> 
> Node.js v18.6.0
> Since Acorn 8.0.0, options.ecmaVersion is required.
> Defaulting to 2020, but this will stop working in the future.
> /usr/share/nodejs/acorn/dist/acorn.js:444
>     if (opts.allowHashBang == null)
>              ^
> 
> TypeError: Cannot read properties of undefined (reading 'allowHashBang')
>     at getOptions (/usr/share/nodejs/acorn/dist/acorn.js:444:14)
>     at new Parser (/usr/share/nodejs/acorn/dist/acorn.js:500:30)
>     at Function.parse (/usr/share/nodejs/acorn/dist/acorn.js:639:12)
>     at Object.parse (/usr/share/nodejs/acorn/dist/acorn.js:5562:19)
>     at Object.<anonymous> (/<<PKGBUILDDIR>>/tools/ast_passes.js:404:23)
>     at Module._compile (node:internal/modules/cjs/loader:1120:14)
>     at Module._extensions..js (node:internal/modules/cjs/loader:1174:10)
>     at Module.load (node:internal/modules/cjs/loader:998:32)
>     at Module._load (node:internal/modules/cjs/loader:839:12)
>     at Module.require (node:internal/modules/cjs/loader:1022:19)
>     at require (node:internal/modules/cjs/helpers:102:18)
>     at require (/<<PKGBUILDDIR>>/tools/job-runner/job-runner.js:426:16)
>     at eval (eval at <anonymous> 
> (/<<PKGBUILDDIR>>/tools/job-runner/job-runner.js:429:9), <anonymous>:5:21)
>     at Object.<anonymous> 
> (/<<PKGBUILDDIR>>/tools/job-runner/job-runner.js:429:9)
>     at Module._compile (node:internal/modules/cjs/loader:1120:14)
>     at Module._extensions..js (node:internal/modules/cjs/loader:1174:10)
> 
> Node.js v18.6.0
> Since Acorn 8.0.0, options.ecmaVersion is required.
> Defaulting to 2020, but this will stop working in the future.
> /usr/share/nodejs/acorn/dist/acorn.js:444
>     if (opts.allowHashBang == null)
>              ^
> 
> TypeError: Cannot read properties of undefined (reading 'allowHashBang')
>     at getOptions (/usr/share/nodejs/acorn/dist/acorn.js:444:14)
>     at new Parser (/usr/share/nodejs/acorn/dist/acorn.js:500:30)
>     at Function.parse (/usr/share/nodejs/acorn/dist/acorn.js:639:12)
>     at Object.parse (/usr/share/nodejs/acorn/dist/acorn.js:5562:19)
>     at Object.<anonymous> (/<<PKGBUILDDIR>>/tools/ast_passes.js:404:23)
>     at Module._compile (node:internal/modules/cjs/loader:1120:14)
>     at Module._extensions..js (node:internal/modules/cjs/loader:1174:10)
>     at Module.load (node:internal/modules/cjs/loader:998:32)
>     at Module._load (node:internal/modules/cjs/loader:839:12)
>     at Module.require (node:internal/modules/cjs/loader:1022:19)
>     at require (node:internal/modules/cjs/helpers:102:18)
>     at require (/<<PKGBUILDDIR>>/tools/job-runner/job-runner.js:426:16)
>     at eval (eval at <anonymous> 
> (/<<PKGBUILDDIR>>/tools/job-runner/job-runner.js:429:9), <anonymous>:5:21)
>     at Object.<anonymous> 
> (/<<PKGBUILDDIR>>/tools/job-runner/job-runner.js:429:9)
>     at Module._compile (node:internal/modules/cjs/loader:1120:14)
>     at Module._extensions..js (node:internal/modules/cjs/loader:1174:10)
> 
> Node.js v18.6.0
> make[1]: Leaving directory '/<<PKGBUILDDIR>>'
>    dh_auto_test --buildsystem=nodejs
>       ln -s ../. node_modules/bluebird
> ln: failed to create symbolic link 'node_modules/bluebird/.': File exists
>       /bin/sh -ex debian/tests/pkg-js/test
> + set -e
> + test -h js
> + set -x
> + rm -rf node_modules
> + mkdir -p node_modules/bluebird/js/release
> + cp js/release/* node_modules/bluebird/js/release/
> cp: cannot stat 'js/release/*': No such file or directory
> + true
> + cp package.json node_modules/bluebird/
> + node --expose-gc tools/test --run=async.js --no-js-hint
> node:internal/modules/cjs/loader:372
>       throw err;
>       ^
> 
> Error: Cannot find module 
> '/<<PKGBUILDDIR>>/node_modules/bluebird/js/release/bluebird.js'. Please 
> verify that the package.json has a valid "main" entry
>     at tryPackage (node:internal/modules/cjs/loader:364:19)
>     at Module._findPath (node:internal/modules/cjs/loader:577:18)
>     at Module._resolveFilename (node:internal/modules/cjs/loader:942:27)
>     at Module._load (node:internal/modules/cjs/loader:804:27)
>     at Module.require (node:internal/modules/cjs/loader:1022:19)
>     at require (node:internal/modules/cjs/helpers:102:18)
>     at Object.<anonymous> (/<<PKGBUILDDIR>>/tools/test.js:4:15)
>     at Module._compile (node:internal/modules/cjs/loader:1120:14)
>     at Module._extensions..js (node:internal/modules/cjs/loader:1174:10)
>     at Module.load (node:internal/modules/cjs/loader:998:32) {
>   code: 'MODULE_NOT_FOUND',
>   path: '/<<PKGBUILDDIR>>/node_modules/bluebird/package.json',
>   requestPath: 'bluebird'
> }
> 
> Node.js v18.6.0
> dh_auto_test: error: /bin/sh -ex debian/tests/pkg-js/test returned exit code 1


The full build log is available from:
http://qa-logs.debian.net/2022/07/28/node-bluebird_3.7.2+dfsg1+~3.5.36-1_unstable.log

All bugs filed during this archive rebuild are listed at:
https://bugs.debian.org/cgi-bin/pkgreport.cgi?tag=ftbfs-20220728;users=lu...@debian.org
or:
https://udd.debian.org/bugs/?release=na&merged=ign&fnewerval=7&flastmodval=7&fusertag=only&fusertagtag=ftbfs-20220728&fusertaguser=lu...@debian.org&allbugs=1&cseverity=1&ctags=1&caffected=1#results

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.

Reply via email to