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


Groups > linux.debian.bugs.rc > #324083

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

From Lucas Nussbaum <lucas@debian.org>
Newsgroups linux.debian.bugs.rc
Subject Bug#1016339: node-promise: FTBFS: TypeError: Cannot read properties of undefined (reading 'allowHashBang')
Date 2022-07-29 20:50 +0200
Message-ID <EODdH-eFfS-31@gated-at.bofh.it> (permalink)
Organization linux.* mail to news gateway

Show all headers | View raw


Source: node-promise
Version: 8.1.0-3
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 ./build.js
> 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 fixup (/<<PKGBUILDDIR>>/build.js:23:19)
>     at /<<PKGBUILDDIR>>/build.js:45:13
>     at Array.forEach (<anonymous>)
>     at Object.<anonymous> (/<<PKGBUILDDIR>>/build.js:43:36)
>     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]: *** [debian/rules:11: override_dh_auto_build] Error 1


The full build log is available from:
http://qa-logs.debian.net/2022/07/28/node-promise_8.1.0-3_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.

Back to linux.debian.bugs.rc | Previous | Next — Next in thread | Find similar | Unroll thread


Thread

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

csiph-web