[Pkg-javascript-devel] Bug#1071802: node-puppeteer: FTBFS: src/node/BrowserFetcher.ts(572, 13): error TS2314: Generic type 'HttpsProxyAgent<Uri>' requires 1 type argument(s).

Santiago Vila sanvila at debian.org
Sat May 25 01:33:07 BST 2024


Package: src:node-puppeteer
Version: 13.4.1+dfsg-2
Severity: serious
Tags: ftbfs

Dear maintainer:

During a rebuild of all packages in unstable, your package failed to build:

--------------------------------------------------------------------------------
[...]
  debian/rules binary
dh binary
    dh_update_autotools_config
    dh_autoreconf
    dh_auto_configure --buildsystem=nodejs
Link ./node_modules/@types/node -> /usr/share/nodejs/@types/node
Link ./node_modules/cross-fetch -> /usr/share/nodejs/cross-fetch
Link ./node_modules/pkg-dir -> /usr/share/nodejs/pkg-dir
Link ./node_modules/progress -> /usr/share/nodejs/progress
Link ./node_modules/proxy-from-env -> /usr/share/nodejs/proxy-from-env
Link ./node_modules/rimraf -> /usr/share/nodejs/rimraf
Link ./node_modules/ws -> /usr/share/nodejs/ws
Link ./node_modules/agent-base -> /usr/share/nodejs/agent-base
Link ./node_modules/yauzl -> /usr/share/nodejs/yauzl
Copy /usr/share/nodejs/extract-zip -> ./node_modules/
Copy /usr/share/nodejs/https-proxy-agent -> ./node_modules/
Link node_modules/devtools-protocol -> ../devtools-protocol
    debian/rules override_dh_auto_build
make[1]: Entering directory '/<<PKGBUILDDIR>>'
tsc -b src/tsconfig.cjs.json
src/node/BrowserFetcher.ts(572,13): error TS2314: Generic type 'HttpsProxyAgent<Uri>' requires 1 type argument(s).
src/node/BrowserFetcher.ts(596,12): error TS2314: Generic type 'HttpsProxyAgentOptions' requires 1 type argument(s).
src/node/BrowserFetcher.ts(598,23): error TS2349: This expression is not callable.
   Type 'typeof import("/<<PKGBUILDDIR>>/node_modules/https-proxy-agent/dist/index")' has no call signatures.
src/node/install.ts(177,12): error TS2314: Generic type 'HttpsProxyAgentOptions' requires 1 type argument(s).
src/node/install.ts(179,30): error TS2349: This expression is not callable.
   Type 'typeof import("/<<PKGBUILDDIR>>/node_modules/https-proxy-agent/dist/index")' has no call signatures.
make[1]: *** [debian/rules:14: override_dh_auto_build] Error 2
make[1]: Leaving directory '/<<PKGBUILDDIR>>'
make: *** [debian/rules:11: binary] Error 2
dpkg-buildpackage: error: debian/rules binary subprocess returned exit status 2
--------------------------------------------------------------------------------

The above is just how the build ends and not necessarily the most relevant part.
If required, the full build log is available here:

https://people.debian.org/~sanvila/build-logs/202405/

About the archive rebuild: The build was made on virtual machines
of type m6a.large and r6a.large from AWS, using sbuild and a
reduced chroot with only build-essential packages.

If you could not reproduce the bug please contact me privately, as I
am willing to provide ssh access to a virtual machine where the bug is
fully reproducible.

If this is really a bug in one of the build-depends, please use
reassign and affects, so that this is still visible in the BTS web
page for this package.

Thanks.



More information about the Pkg-javascript-devel mailing list