[Pkg-javascript-devel] Bug#1028888: node-got: FTBFS: make[1]: *** [debian/rules:12: override_dh_auto_build] Error 1

Lucas Nussbaum lucas at debian.org
Sat Jan 14 13:00:24 GMT 2023


Source: node-got
Version: 11.8.5+~cs58.13.36-2
Severity: serious
Justification: FTBFS
Tags: bookworm sid ftbfs
User: lucas at debian.org
Usertags: ftbfs-20230113 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>>'
> dh_auto_build --buildsystem=nodejs
> No build command found, searching known files
> Found debian/nodejs/normalize-url/build
> 	cd ./normalize-url && sh -ex ../debian/nodejs/normalize-url/build
> + babeljs --presets @babel/preset-env -o index.cjs index.js
> 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
> No build command found, searching known files
> No build command found, searching known files
> Found debian/nodejs/defer-to-connect/build
> 	cd ./defer-to-connect && sh -ex ../debian/nodejs/defer-to-connect/build
> + tsc
> Found debian/nodejs/szmarczak-http-timer/build
> 	cd ./szmarczak-http-timer && sh -ex ../debian/nodejs/szmarczak-http-timer/build
> + tsc
> No build command found, searching known files
> No build command found, searching known files
> No build command found, searching known files
> Found debian/nodejs/sindresorhus-is/build
> 	cd ./sindresorhus-is && sh -ex ../debian/nodejs/sindresorhus-is/build
> + tsc
> No build command found, searching known files
> tsc
> source/core/index.ts:260:11 - error TS2430: Interface 'RealRequestOptions' incorrectly extends interface 'RequestOptions'.
>   Type 'RealRequestOptions' is not assignable to type '{ checkServerIdentity?: ((hostname: string, cert: PeerCertificate) => Error | undefined) | undefined; rejectUnauthorized?: boolean | undefined; servername?: string | undefined; }'.
>     Types of property 'checkServerIdentity' are incompatible.
>       Type 'CheckServerIdentityFunction' is not assignable to type '(hostname: string, cert: PeerCertificate) => Error | undefined'.
>         Types of parameters 'certificate' and 'cert' are incompatible.
>           Property 'issuerCertificate' is missing in type 'PeerCertificate' but required in type 'DetailedPeerCertificate'.
> 
> 260 interface RealRequestOptions extends https.RequestOptions {
>               ~~~~~~~~~~~~~~~~~~
> 
>   ../../../usr/share/nodejs/@types/node/ts4.8/tls.d.ts:59:9
>     59         issuerCertificate: DetailedPeerCertificate;
>                ~~~~~~~~~~~~~~~~~
>     'issuerCertificate' is declared here.
> 
> 
> Found 1 error in source/core/index.ts:260
> 
> make[1]: *** [debian/rules:12: override_dh_auto_build] Error 1


The full build log is available from:
http://qa-logs.debian.net/2023/01/13/node-got_11.8.5+~cs58.13.36-2_unstable.log

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