[Pkg-javascript-devel] Bug#975794: node-agent-base: FTBFS: Type 'undefined' is not assignable to type 'Duplex | Pick<Agent, "addRequest"> | Agent | PromiseLike<AgentCallbackReturn>'.

Lucas Nussbaum lucas at debian.org
Wed Nov 25 20:08:08 GMT 2020


Source: node-agent-base
Version: 6.0.2-1
Severity: serious
Justification: FTBFS on amd64
Tags: bullseye sid ftbfs
Usertags: ftbfs-20201125 ftbfs-bullseye

Hi,

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

Relevant part (hopefully):
> make[1]: Entering directory '/<<PKGBUILDDIR>>'
> mkdir --parents node_modules/@types
> cp -ar /usr/share/nodejs/@types/debug  node_modules/@types
> cp -ar /usr/share/nodejs/@types/mocha  node_modules/@types
> cp -ar /usr/share/nodejs/@types/node   node_modules/@types
> cp -ar /usr/share/nodejs/@types/semver node_modules/@types
> tsc
> src/promisify.ts(27,15): error TS2345: Argument of type 'Duplex | Pick<Agent, "addRequest"> | Agent | undefined' is not assignable to parameter of type 'Duplex | Pick<Agent, "addRequest"> | Agent | PromiseLike<AgentCallbackReturn>'.
>   Type 'undefined' is not assignable to type 'Duplex | Pick<Agent, "addRequest"> | Agent | PromiseLike<AgentCallbackReturn>'.
> make[1]: *** [debian/rules:12: override_dh_auto_build] Error 2

The full build log is available from:
   http://qa-logs.debian.net/2020/11/25/node-agent-base_6.0.2-1_unstable.log

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!

About the archive rebuild: The rebuild was done on EC2 VM instances from
Amazon Web Services, using a clean, minimal and up-to-date chroot. Every
failed build was retried once to eliminate random failures.



More information about the Pkg-javascript-devel mailing list