Package: release.debian.org
Severity: normal
Tags: bookworm
X-Debbugs-Cc: node-rol...@packages.debian.org
Control: affects -1 + src:node-rollup
User: release.debian....@packages.debian.org
Usertags: pu

[ Reason ]
FTBFS https://bugs.debian.org/1078895

[ Risks ]
None

[ Checklist ]
  [x] *all* changes are documented in the d/changelog
  [x] I reviewed all changes and I approve them
  [x] attach debdiff against the package in (old)stable
  [x] the issue is verified as fixed in unstable

[ Changes ]
The type of x in clearTimeout(x), x = setTimeout(...)
has been changed in a previous security upload of nodejs.
This fixes that.

[ Other info ]
There are 21 others packages that FTBFS on bookworm because of that
nodejs type change.
The plan is to "bookworm-pu" all of them, making sure they build with
18.19.0+dfsg-6~deb12u2
and with
18.20.4+dfsg-1~deb12u1 (which makes 5 new packages in the archive FTBFS).
which will be the last one to be proposed.
diff -Nru node-rollup-3.15.0/debian/changelog 
node-rollup-3.15.0/debian/changelog
--- node-rollup-3.15.0/debian/changelog 2023-02-17 09:18:18.000000000 +0100
+++ node-rollup-3.15.0/debian/changelog 2025-02-17 23:14:54.000000000 +0100
@@ -1,3 +1,9 @@
+node-rollup (3.15.0-2) bookworm; urgency=medium
+
+  * patch to fix tsc FTBFS. Closes: #1078895.
+
+ -- Jérémy Lal <kapo...@melix.org>  Mon, 17 Feb 2025 23:14:54 +0100
+
 node-rollup (3.15.0-1) unstable; urgency=medium
 
   * Team upload
diff -Nru node-rollup-3.15.0/debian/patches/series 
node-rollup-3.15.0/debian/patches/series
--- node-rollup-3.15.0/debian/patches/series    2023-01-31 05:00:29.000000000 
+0100
+++ node-rollup-3.15.0/debian/patches/series    2025-02-17 23:06:40.000000000 
+0100
@@ -9,3 +9,4 @@
 fix-commonjs-path.diff
 update-to-recent-plugin-node-resolve.patch
 dont-fail-on-circular-dependencies.patch
+ts.patch
diff -Nru node-rollup-3.15.0/debian/patches/ts.patch 
node-rollup-3.15.0/debian/patches/ts.patch
--- node-rollup-3.15.0/debian/patches/ts.patch  1970-01-01 01:00:00.000000000 
+0100
+++ node-rollup-3.15.0/debian/patches/ts.patch  2025-02-17 23:09:52.000000000 
+0100
@@ -0,0 +1,13 @@
+Description: fix nodejs 18.19 type change
+Forwarded: no
+--- a/src/watch/watch.ts
++++ b/src/watch/watch.ts
+@@ -35,7 +35,7 @@
+       readonly emitter: RollupWatcher;
+ 
+       private buildDelay = 0;
+-      private buildTimeout: NodeJS.Timer | null = null;
++      private buildTimeout: NodeJS.Timeout | null = null;
+       private closed = false;
+       private readonly invalidatedIds = new Map<string, ChangeEvent>();
+       private rerun = false;

Reply via email to