Bug#1144591: node-home-assistant-js-websocket: FTBFS with node-typescript 6
Santiago Vila <[email protected]>
| Newsgroups | gmane.linux.debian.devel.bugs.rc |
|---|---|
| Message-ID | <[email protected]> |
Package: src:node-home-assistant-js-websocket
Version: 9.6.0-1
Severity: serious
Tags: ftbfs forky sid
Dear maintainer:
During a rebuild of all packages in unstable, this package failed to build.
Below you will find the last part of the build log (probably the most
relevant part, but not necessarily). If required, the full build log
is available here:
https://people.debian.org/~sanvila/build-logs/202608/
About the archive rebuild: The build was made on virtual machines from AWS,
using sbuild and a reduced chroot with only build-essential packages.
If you cannot 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 add an affects on src:node-home-assistant-js-websocket, so that this is still
visible in the BTS web page for this package.
Thanks.
--------------------------------------------------------------------------------
[...]
debian/rules clean
dh clean
dh_auto_clean --buildsystem=nodejs_no_lerna
rm -rf ./node_modules/.cache ./.nyc_output
rm ./node_modules/.cache
rm ./node_modules/.cache
dh_clean
debian/rules binary
dh binary
dh_update_autotools_config
dh_autoreconf
dh_auto_configure --buildsystem=nodejs_no_lerna
debian/rules override_dh_auto_build
make[1]: Entering directory '/<<PKGBUILDDIR>>'
tsc --project debian/tsconfig.json
error TS6059: File '/<<PKGBUILDDIR>>/lib/index.ts' is not under 'rootDir' '/<<PKGBUILDDIR>>/debian'. 'rootDir' is expected to contain all source files.
The file is in the program because:
Matched by include pattern '../lib/*' in 'debian/tsconfig.json'
debian/tsconfig.json(3,3): error TS5011: The common source directory of 'tsconfig.json' is '../lib'. The 'rootDir' setting must be explicitly set to this or another path to adjust your output's file layout.
Visit https://aka.ms/ts6 for migration information.
make[1]: *** [debian/rules:6: override_dh_auto_build] Error 2
make[1]: Leaving directory '/<<PKGBUILDDIR>>'
make: *** [debian/rules:3: binary] Error 2
dpkg-buildpackage: error: debian/rules binary subprocess failed with exit status 2
--------------------------------------------------------------------------------