[Pkg-javascript-devel] Bug#1058518: node-es-module-lexer: FTBFS: make[1]: *** [debian/rules:11: src/lexer.js] Error 2

Lucas Nussbaum lucas at debian.org
Tue Dec 12 20:52:13 GMT 2023


Source: node-es-module-lexer
Version: 1.1.0+dfsg-2
Severity: serious
Justification: FTBFS
Tags: trixie sid ftbfs
User: lucas at debian.org
Usertags: ftbfs-20231212 ftbfs-trixie

Hi,

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


Relevant part (hopefully):
> make[1]: Entering directory '/<<PKGBUILDDIR>>'
> tsc -m es2015 src/lexer.ts
> ../../../usr/share/nodejs/@types/node/ts4.8/globals.d.ts(325,84): error TS2792: Cannot find module 'undici-types'. Did you mean to set the 'moduleResolution' option to 'node', or to add aliases to the 'paths' option?
> ../../../usr/share/nodejs/@types/node/ts4.8/globals.d.ts(326,85): error TS2792: Cannot find module 'undici-types'. Did you mean to set the 'moduleResolution' option to 'node', or to add aliases to the 'paths' option?
> ../../../usr/share/nodejs/@types/node/ts4.8/globals.d.ts(327,85): error TS2792: Cannot find module 'undici-types'. Did you mean to set the 'moduleResolution' option to 'node', or to add aliases to the 'paths' option?
> ../../../usr/share/nodejs/@types/node/ts4.8/globals.d.ts(328,84): error TS2792: Cannot find module 'undici-types'. Did you mean to set the 'moduleResolution' option to 'node', or to add aliases to the 'paths' option?
> ../../../usr/share/nodejs/@types/node/ts4.8/globals.d.ts(330,22): error TS2792: Cannot find module 'undici-types'. Did you mean to set the 'moduleResolution' option to 'node', or to add aliases to the 'paths' option?
> ../../../usr/share/nodejs/@types/node/ts4.8/globals.d.ts(336,35): error TS2792: Cannot find module 'undici-types'. Did you mean to set the 'moduleResolution' option to 'node', or to add aliases to the 'paths' option?
> ../../../usr/share/nodejs/@types/node/ts4.8/globals.d.ts(337,35): error TS2792: Cannot find module 'undici-types'. Did you mean to set the 'moduleResolution' option to 'node', or to add aliases to the 'paths' option?
> ../../../usr/share/nodejs/@types/node/ts4.8/globals.d.ts(338,32): error TS2792: Cannot find module 'undici-types'. Did you mean to set the 'moduleResolution' option to 'node', or to add aliases to the 'paths' option?
> ../../../usr/share/nodejs/@types/node/ts4.8/globals.d.ts(339,39): error TS2792: Cannot find module 'undici-types'. Did you mean to set the 'moduleResolution' option to 'node', or to add aliases to the 'paths' option?
> ../../../usr/share/nodejs/@types/node/ts4.8/globals.d.ts(340,42): error TS2792: Cannot find module 'undici-types'. Did you mean to set the 'moduleResolution' option to 'node', or to add aliases to the 'paths' option?
> ../../../usr/share/nodejs/@types/node/ts4.8/globals.d.ts(341,35): error TS2792: Cannot find module 'undici-types'. Did you mean to set the 'moduleResolution' option to 'node', or to add aliases to the 'paths' option?
> ../../../usr/share/nodejs/@types/node/ts4.8/globals.d.ts(342,38): error TS2792: Cannot find module 'undici-types'. Did you mean to set the 'moduleResolution' option to 'node', or to add aliases to the 'paths' option?
> ../../../usr/share/nodejs/@types/node/ts4.8/globals.d.ts(343,34): error TS2792: Cannot find module 'undici-types'. Did you mean to set the 'moduleResolution' option to 'node', or to add aliases to the 'paths' option?
> ../../../usr/share/nodejs/@types/node/ts4.8/globals.d.ts(344,37): error TS2792: Cannot find module 'undici-types'. Did you mean to set the 'moduleResolution' option to 'node', or to add aliases to the 'paths' option?
> ../../../usr/share/nodejs/@types/node/ts4.8/globals.d.ts(360,21): error TS2792: Cannot find module 'undici-types'. Did you mean to set the 'moduleResolution' option to 'node', or to add aliases to the 'paths' option?
> ../../../usr/share/nodejs/@types/node/ts4.8/globals.d.ts(367,21): error TS2792: Cannot find module 'undici-types'. Did you mean to set the 'moduleResolution' option to 'node', or to add aliases to the 'paths' option?
> ../../../usr/share/nodejs/@types/node/ts4.8/globals.d.ts(374,21): error TS2792: Cannot find module 'undici-types'. Did you mean to set the 'moduleResolution' option to 'node', or to add aliases to the 'paths' option?
> ../../../usr/share/nodejs/@types/node/ts4.8/globals.d.ts(381,21): error TS2792: Cannot find module 'undici-types'. Did you mean to set the 'moduleResolution' option to 'node', or to add aliases to the 'paths' option?
> make[1]: *** [debian/rules:11: src/lexer.js] Error 2


The full build log is available from:
http://qa-logs.debian.net/2023/12/12/node-es-module-lexer_1.1.0+dfsg-2_unstable.log

All bugs filed during this archive rebuild are listed at:
https://bugs.debian.org/cgi-bin/pkgreport.cgi?tag=ftbfs-20231212;users=lucas@debian.org
or:
https://udd.debian.org/bugs/?release=na&merged=ign&fnewerval=7&flastmodval=7&fusertag=only&fusertagtag=ftbfs-20231212&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 mark 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