[Pkg-javascript-devel] Bug#1058547: node-globby: FTBFS: make: *** [debian/rules:8: binary] Error 25

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


Source: node-globby
Version: 13.1.3+~cs16.25.40-1
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):
>  debian/rules binary
> dh binary
>    dh_update_autotools_config
>    dh_autoreconf
>    dh_auto_configure --buildsystem=nodejs
> Link ./node_modules/@sinonjs/fake-timers -> /usr/share/nodejs/@sinonjs/fake-timers
> Link ./node_modules/@types/glob-parent -> /usr/share/nodejs/@types/glob-parent
> Link ./node_modules/@types/minimist -> /usr/share/nodejs/@types/minimist
> Link ./node_modules/@types/mocha -> /usr/share/nodejs/@types/mocha
> Link ./node_modules/@types/node -> /usr/share/nodejs/@types/node
> Copy /usr/share/nodejs/@types/braces -> ./node_modules/@types
> Copy /usr/share/nodejs/@types/glob -> ./node_modules/@types
> Copy /usr/share/nodejs/@types/micromatch -> ./node_modules/@types
> Not found
> ### @types/minimatch is required by debian/nodejs/./extcopies but not available
> # Typescript definition detected, Fallback to main module
> ### You SHOULD update your debian/nodejs/./extcopies file!
> Copy /usr/share/nodejs/minimatch -> ./node_modules/
> Copy /usr/share/nodejs/@types/sinon -> ./node_modules/@types
> Copy /usr/share/nodejs/@types/sinonjs__fake-timers -> ./node_modules/@types
> Link node_modules/dir-glob -> ../dir-glob
> Link node_modules/fast-glob -> ../fast-glob
> Link node_modules/fastq -> ../fastq
> Link node_modules/merge2 -> ../merge2
> Link node_modules/@nodelib/fs.macchiato -> ../../nodelib-fs-macchiato
> Link node_modules/@nodelib/fs.scandir -> ../../nodelib-fsscandir
> Link node_modules/@nodelib/fs.stat -> ../../nodelib-fsstat
> Link node_modules/@nodelib/fs.walk -> ../../nodelib-fswalk
> Link node_modules/reusify -> ../reusify
> Link node_modules/run-parallel -> ../run-parallel
> Link fast-glob/node_modules/fastq -> ../../fastq
> Link fast-glob/node_modules/@nodelib/fs.scandir -> ../../../nodelib-fsscandir
> Link fast-glob/node_modules/@nodelib/fs.stat -> ../../../nodelib-fsstat
> Link fast-glob/node_modules/@nodelib/fs.walk -> ../../../nodelib-fswalk
> Link fast-glob/node_modules/run-parallel -> ../../run-parallel
> Link node_modules/@types/easy-table -> ../../debian/build_modules/@types/easy-table
> Link node_modules/@types/merge2 -> ../../debian/build_modules/@types/merge2
>    dh_auto_build --buildsystem=nodejs
> No build command found, searching known files
> No build command found, searching known files
> No build command found, searching known files
> No build command found, searching known files
> No build command found, searching known files
> Found debian/nodejs/fast-glob/build
> 	cd ./fast-glob && sh -ex ../debian/nodejs/fast-glob/build
> + mv src/benchmark .
> + tsc
> src/utils/fs.ts:5:7 - error TS2720: Class 'DirentFromStats' incorrectly implements class 'Dirent'. Did you mean to extend 'Dirent' and inherit its members as a subclass?
>   Property 'path' is missing in type 'DirentFromStats' but required in type 'Dirent'.
> 
> 5 class DirentFromStats implements fs.Dirent {
>         ~~~~~~~~~~~~~~~
> 
>   ../../../../usr/share/nodejs/@types/node/ts4.8/fs.d.ts:227:9
>     227         path: string;
>                 ~~~~
>     'path' is declared here.
> 
> ../nodelib-fs-macchiato/out/dirent.d.ts:4:22 - error TS2720: Class 'import("/<<PKGBUILDDIR>>/nodelib-fs-macchiato/out/dirent").default' incorrectly implements class 'import("fs").Dirent'. Did you mean to extend 'import("fs").Dirent' and inherit its members as a subclass?
>   Property 'path' is missing in type 'import("/<<PKGBUILDDIR>>/nodelib-fs-macchiato/out/dirent").default' but required in type 'import("fs").Dirent'.
> 
> 4 export default class Dirent implements fs.Dirent {
>                        ~~~~~~
> 
>   ../../../../usr/share/nodejs/@types/node/ts4.8/fs.d.ts:227:9
>     227         path: string;
>                 ~~~~
>     'path' is declared here.
> 
> 
> Found 2 errors in 2 files.
> 
> Errors  Files
>      1  src/utils/fs.ts:5
>      1  ../nodelib-fs-macchiato/out/dirent.d.ts:4
> dh_auto_build: error: cd ./fast-glob && sh -ex ../debian/nodejs/fast-glob/build returned exit code 2
> make: *** [debian/rules:8: binary] Error 25


The full build log is available from:
http://qa-logs.debian.net/2023/12/12/node-globby_13.1.3+~cs16.25.40-1_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