Package: src:node-socks-proxy-agent
Version: 7.0.0+dfsg+~cs2.0.11-1
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/agent-base -> /usr/share/nodejs/agent-base
Link ./node_modules/@types/debug -> /usr/share/nodejs/@types/debug
Link ./node_modules/socks -> /usr/share/nodejs/socks
Link node_modules/dns2 -> ../dns2
Link node_modules/socksv5 -> ../socksv5
   dh_auto_build --buildsystem=nodejs
No build command found, searching known files
No build command found, searching known files
Found debian/nodejs/./build
        cd ./. && sh -ex debian/nodejs/./build
+ tsc
src/index.ts(2,17): error TS2305: Module '"agent-base"' has no exported member 
'ClientRequest'.
src/index.ts(2,32): error TS2305: Module '"agent-base"' has no exported member 
'RequestOptions'.
src/index.ts(3,10): error TS2305: Module '"agent-base"' has no exported member 
'AgentOptions'.
src/index.ts(121,14): error TS2515: Non-abstract class 'SocksProxyAgent' does 
not implement inherited abstract member 'connect' from class 'Agent'.
src/index.ts(129,11): error TS2345: Argument of type 'SocksProxyAgentOptions' 
is not assignable to parameter of type 'AgentOptions'.
  Types of property 'port' are incompatible.
    Type 'string | number | null | undefined' is not assignable to type 'number 
| undefined'.
      Type 'null' is not assignable to type 'number | undefined'.
src/index.ts(159,30): error TS7006: Parameter 'err' implicitly has an 'any' 
type.
src/index.ts(159,35): error TS7006: Parameter 'res' implicitly has an 'any' 
type.
dh_auto_build: error: cd ./. && sh -ex debian/nodejs/./build returned exit code 
2
make: *** [debian/rules:8: binary] Error 25
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.

Reply via email to