#1149422 ipywidgets: FTBFS: src/utils.ts(4,44): error TS7016: Could not find a declaration file for module 'base64-js'. '/usr/share/nodejs/base64-js/index.js' implicitly has an 'any' type. #1149422
- Package:
- src:ipywidgets
- Source:
- src:ipywidgets
- Submitter:
- Santiago Vila
- Date:
- 2026-10-13 18:23:07 UTC
- Severity:
- normal
- Tags:
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/202609/ 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:ipywidgets, so that this is still visible in the BTS web page for this package. Thanks. -------------------------------------------------------------------------------- [...] src/utils.ts(4,44): error TS7016: Could not find a declaration file for module 'base64-js'. '/usr/share/nodejs/base64-js/index.js' implicitly has an 'any' type. Try `npm i --save-dev @types/base64-js` if it exists or add a new declaration (.d.ts) file containing `declare module 'base64-js';` dh_auto_build: error: cd ./packages/base-manager && sh -ex ../../debian/nodejs/packages/base-manager/build returned exit code 1 make[1]: *** [debian/rules:29: override_dh_auto_build] Error 25 make[1]: Leaving directory '/<<PKGBUILDDIR>>' make: *** [debian/rules:12: binary] Error 2 dpkg-buildpackage: error: debian/rules binary subprocess failed with exit status 2 --------------------------------------------------------------------------------
[...] This seems to have been introduced by node-base64-js 1.5.1+dfsg+~1.5.0-1, where the only substantial change was to replace @types/base64-js with a stub. Xavier, can you advise what the right fix in ipywidgets would be? Thanks,
Control: reassign -1 node-base64-js 1.5.1+dfsg+~1.5.0-1 Control: affects -1 src:ipywidgets This turns out to be a bug in node-base64-js. I've filed https://salsa.debian.org/js-team/node-base64-js/-/merge_requests/1, and verified that ipywidgets builds with that fix. Please could somebody in the JS team apply this? Thanks,
Hello, Bug #1149422 in node-base64-js reported by you has been fixed in the Git repository and is awaiting an upload. You can see the commit message below and you can check the diff of the fix at: https://salsa.debian.org/js-team/node-base64-js/-/commit/d566c080ad9ec85d0eea50cdc8f210f043847bc9 ------------------------------------------------------------------------ Install index.d.ts Closes: #1149422 ------------------------------------------------------------------------ (this message was generated automatically) -- Greetings https://bugs.debian.org/1149422
We believe that the bug you reported is fixed in the latest version of node-base64-js, which is due to be installed in the Debian FTP archive. A summary of the changes between this version and the previous one is attached. Thank you for reporting the bug, which will now be closed. If you have further comments please address them to 1149422@bugs.debian.org, and the maintainer will reopen the bug report if appropriate. Debian distribution maintenance software pp. Santiago Vila <sanvila@debian.org> (supplier of updated node-base64-js package) (This message was generated automatically at their request; if you believe that there is a problem with it please contact the archive administrators by mailing ftpmaster@ftp-master.debian.org) Format: 1.8 Date: Tue, 13 Oct 2026 18:55:00 +0200 Source: node-base64-js Architecture: source Version: 1.5.1+dfsg+~1.5.0-2 Distribution: unstable Urgency: medium Maintainer: Debian Javascript Maintainers <pkg-javascript-devel@lists.alioth.debian.org> Changed-By: Santiago Vila <sanvila@debian.org> Closes: 1149422 Changes: node-base64-js (1.5.1+dfsg+~1.5.0-2) unstable; urgency=medium . * Team upload. . [ Colin Watson ] * Install index.d.ts. Closes: #1149422. . [ Santiago Vila ] * d/salsa-ci.yml: Disable redundant/duplicate jobs. Checksums-Sha1: 01fee7c2617e9bd9acb6fa95bf2f4e79779d6d65 2170 node-base64-js_1.5.1+dfsg+~1.5.0-2.dsc eb0c6a71160121ddc11c3b6f3d3b4a4562c424f0 3728 node-base64-js_1.5.1+dfsg+~1.5.0-2.debian.tar.xz 17e30513a30b6db2d27aa18a143fec77d7413e0d 4652 node-base64-js_1.5.1+dfsg+~1.5.0-2_source.buildinfo Checksums-Sha256: 9f703addb94a84bf8acf47158aff4047b7c62b2fee48f6bfb6da136aef82a5eb 2170 node-base64-js_1.5.1+dfsg+~1.5.0-2.dsc fc97ca66f34d34d637bf3fd99374aed55736c07fae349dbd4e90ac8e9fc489f4 3728 node-base64-js_1.5.1+dfsg+~1.5.0-2.debian.tar.xz d8b8cc866fe64fa38b7c63a2e5c9b24494ed6743a16ca1a151ba960e29f33da0 4652 node-base64-js_1.5.1+dfsg+~1.5.0-2_source.buildinfo Files: f2aba20287101b52977a6994cf44b3a7 2170 javascript optional node-base64-js_1.5.1+dfsg+~1.5.0-2.dsc 7e05ebc4073fd31afae0014948000faa 3728 javascript optional node-base64-js_1.5.1+dfsg+~1.5.0-2.debian.tar.xz 059f2324a5a6da65d74048d25779ad75 4652 javascript optional node-base64-js_1.5.1+dfsg+~1.5.0-2_source.buildinfo -----BEGIN PGP SIGNATURE----- iQEzBAEBCgAdFiEE1Uw7+v+wQt44LaXXQc5/C58bizIFAmrOY6YACgkQQc5/C58b izIhLAgAqF6NncUMHAG8Sh1NGXxZMEeDNJUQKOtMCThwHRnaDQBJE6p/VM8WzcJR rdr6lOYDWrgxi71SlysCJ5qWs6pSSRVYM8dvagjNg2f3ZL0RQP2OKSjzaE90eZBY VGT3H59K4ERL7t7e4cI+PwvLyV2Yc1JCBFvO+ctFf7J10jpTKyLechudIdjBQ9nj wDdt5AqsESKop0Wh/7Al8SOgxnBKPQE+ml0IPa8+5Ly19Uv3A4TgROEn/nWA2MOm OO/6MjJvZnd09wGwib4yXjEAR60WyuYbGgTsQA5R3e3QOluvW9nsFBMB0lQJzV+U UntaY0Fpw1DKZIh4bktKCzZVTjmiAw== =WXwp -----END PGP SIGNATURE-----