Article View: linux.debian.bugs.dist
Article #497Bug#1149422: ipywidgets: FTBFS: src/utils.ts(4,44): error TS7016: Could not find a declaration file for module 'base64-js'. '/us...
From: Colin Watson
Date: Sun, 11 Oct 2026 15:10
Date: Sun, 11 Oct 2026 15:10
35 lines
3546 bytes
3546 bytes
Control: reassign -1 node-base64-js 1.5.1+dfsg+~1.5.0-1 Control: affects -1 src:ipywidgets On Wed, Oct 07, 2026 at 10:08:49AM +0100, Colin Watson wrote: >On Tue, Sep 29, 2026 at 10:19:34PM +0000, Santiago Vila wrote: >>Package: src:ipywidgets >>Version: 8.1.5-8 >>Severity: serious >>Tags: ftbfs forky sid >> >>Dear maintainer: >> >>During a rebuild of all packages in unstable, this package failed to build. >[...] >>>@jupyter-widgets/base-manager@1.0.11 build:src >>>tsc --build >> >>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 > >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? 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, -- Colin Watson (he/him) [cjwatson@debian.org]
Technical Details
Message-ID:
<NN3lv-4U5e-15@gated-at.bofh.it>Path:
mbox-mo1.pugleaf.net!archive.usenet.blueworldhosting.com!usenet.blueworldhosting.com!diablo1.usenet.blueworldhosting.com!2.eu.feeder.erje.net!3.eu.feeder.erje.net!feeder.erje.net!fu-berlin.de!bofh.it!news.nic.it!robomodReferences:
<NIOuK-2Bn4-25@gated-at.bofh.it> <NLvYB-43fG-1@gated-at.bofh.it> <NIOuK-2Bn4-25@gated-at.bofh.it> <NLvYB-43fG-1@gated-at.bofh.it>Show Full Headers
Complete Article Headers
Path: mbox-mo1.pugleaf.net!archive.usenet.blueworldhosting.com!usenet.blueworldhosting.com!diablo1.usenet.blueworldhosting.com!2.eu.feeder.erje.net!3.eu.feeder.erje.net!feeder.erje.net!fu-berlin.de!bofh.it!news.nic.it!robomod From: Colin Watson <cjwatson@debian.org> Newsgroups: linux.debian.bugs.dist Subject: Bug#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. Date: Sun, 11 Oct 2026 17:10:01 +0200 Message-ID: <NN3lv-4U5e-15@gated-at.bofh.it> References: <NIOuK-2Bn4-25@gated-at.bofh.it> <NLvYB-43fG-1@gated-at.bofh.it> <NIOuK-2Bn4-25@gated-at.bofh.it> <NLvYB-43fG-1@gated-at.bofh.it> X-Mailbox-Line: From debian-bugs-dist-request@lists.debian.org Sun Oct 11 15:05:10 2026 Old-Return-Path: <debbugs@buxtehude.debian.org> X-Spam-Flag: NO X-Spam-Score: -1.7 Reply-To: Colin Watson <cjwatson@debian.org>, 1149422@bugs.debian.org Resent-To: debian-bugs-dist@lists.debian.org Resent-Cc: team+python@tracker.debian.org X-Debian-Pr-Message: followup 1149422 X-Debian-Pr-Package: src:ipywidgets X-Debian-Pr-Keywords: forky ftbfs sid X-Debian-Pr-Source: ipywidgets MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii; format=flowed Content-Disposition: inline X-Debian-User: cjwatson X-Debian-Message: from BTS X-Mailing-List: <debian-bugs-dist@lists.debian.org> archive/latest/1996255 List-ID: <debian-bugs-dist.lists.debian.org> List-URL: <https://lists.debian.org/debian-bugs-dist/> Approved: robomod@news.nic.it Lines: 35 Organization: linux.* mail to news gateway Sender: robomod@news.nic.it X-Original-Cc: Xavier Guimard <yadd@debian.org> X-Original-Date: Sun, 11 Oct 2026 15:45:48 +0100 X-Original-Message-ID: <asuhHABxxvr0cse3@riva.ucam.org> X-Original-References: <E1xBgAg-00BZUF-0k@paradis.debian.org> <asYMIMjA83lM5c9i@riva.ucam.org> <E1xBgAg-00BZUF-0k@paradis.debian.org> <asYMIMjA83lM5c9i@riva.ucam.org>