Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > linux.debian.bugs.rc > #324080 > unrolled thread

Bug#1016326: node-bluebird: FTBFS: TypeError: Cannot read properties of undefined (reading 'allowHashBang')

Started byLucas Nussbaum <lucas@debian.org>
First post2022-07-29 20:50 +0200
Last post2022-07-30 15:40 +0200
Articles 2 — 2 participants

Back to article view | Back to linux.debian.bugs.rc


Contents

  Bug#1016326: node-bluebird: FTBFS: TypeError: Cannot read properties of undefined (reading 'allowHashBang') Lucas Nussbaum <lucas@debian.org> - 2022-07-29 20:50 +0200
    Bug#1016326: marked as done (node-bluebird: FTBFS: TypeError:  Cannot read properties of undefined (reading 'allowHashBang')) "Debian Bug Tracking System" <owner@bugs.debian.org> - 2022-07-30 15:40 +0200

#324080 — Bug#1016326: node-bluebird: FTBFS: TypeError: Cannot read properties of undefined (reading 'allowHashBang')

FromLucas Nussbaum <lucas@debian.org>
Date2022-07-29 20:50 +0200
SubjectBug#1016326: node-bluebird: FTBFS: TypeError: Cannot read properties of undefined (reading 'allowHashBang')
Message-ID<EODdD-eFfS-15@gated-at.bofh.it>
Source: node-bluebird
Version: 3.7.2+dfsg1+~3.5.36-1
Severity: serious
Justification: FTBFS
Tags: bookworm sid ftbfs
User: lucas@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=lucas@debian.org
or:
https://udd.debian.org/bugs/?release=na&merged=ign&fnewerval=7&flastmodval=7&fusertag=only&fusertagtag=ftbfs-20220728&fusertaguser=lucas@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.

[toc] | [next] | [standalone]


#324144 — Bug#1016326: marked as done (node-bluebird: FTBFS: TypeError: Cannot read properties of undefined (reading 'allowHashBang'))

From"Debian Bug Tracking System" <owner@bugs.debian.org>
Date2022-07-30 15:40 +0200
SubjectBug#1016326: marked as done (node-bluebird: FTBFS: TypeError: Cannot read properties of undefined (reading 'allowHashBang'))
Message-ID<EOURb-ePLE-1@gated-at.bofh.it>
In reply to#324080

[Multipart message — attachments visible in raw view] — view raw

Your message dated Sat, 30 Jul 2022 13:34:53 +0000
with message-id <E1oHmcH-000DAf-Pd@fasolo.debian.org>
and subject line Bug#1016300: fixed in acorn 8.8.0+ds+~cs24.17.6-2
has caused the Debian Bug report #1016300,
regarding node-bluebird: FTBFS: TypeError: Cannot read properties of undefined (reading 'allowHashBang')
to be marked as done.

This means that you claim that the problem has been dealt with.
If this is not the case it is now your responsibility to reopen the
Bug report if necessary, and/or fix the problem forthwith.

(NB: If you are a system administrator and have no idea what this
message is talking about, this may indicate a serious mail system
misconfiguration somewhere. Please contact owner@bugs.debian.org
immediately.)


-- 
1016300: https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=1016300
Debian Bug Tracking System
Contact owner@bugs.debian.org with problems

[toc] | [prev] | [standalone]


Back to top | Article view | linux.debian.bugs.rc


csiph-web