Package: release.debian.org
Severity: normal
Tags: bookworm
X-Debbugs-Cc: node-und...@packages.debian.org, Debian Javascript Maintainers
Control: affects -1 + src:node-undici
User: release.debian@packages.debian.org
Usertags: pu
[ Reason ]
node-undici: FTBFS with nodejs 18.19.0+dfsg-6~deb12u1
https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=1063530
[ Impact ]
node-undici FTBFS, also several other packages need node-undici
to properly export its typescript types, which it currently doesn't.
[ Tests ]
(What automated or manual tests cover the affected code?)
Rebuild+Autopkgtest should be enough to cover the affected code.
All this is caused by a regression introduced by nodejs 18.19.0+dfsg-6~deb12u1
[ Risks ]
No further risks.
[ 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 ]
* Import upstream patch that moves index.d.ts to types/ (closes #1063530)
* Force @types/node to use local copy of undici-types
* Fix build failures on lld 15+
[ Other info ]
node-zx, node-v8-compile-cache, node-babel7 will also be proposed,
to fix their tests suites w.r.t. the aforementioned regression.
diff -Nru node-undici-5.15.0+dfsg1+~cs20.10.9.3/debian/changelog
node-undici-5.15.0+dfsg1+~cs20.10.9.3/debian/changelog
--- node-undici-5.15.0+dfsg1+~cs20.10.9.3/debian/changelog 2023-12-21
11:14:59.0 +0100
+++ node-undici-5.15.0+dfsg1+~cs20.10.9.3/debian/changelog 2024-04-13
11:22:02.0 +0200
@@ -1,3 +1,12 @@
+node-undici (5.15.0+dfsg1+~cs20.10.9.3-1+deb12u4) UNRELEASED; urgency=medium
+
+ [ Ryan Gonzalez ]
+ * Import upstream patch that moves index.d.ts to types/ (closes #1063530)
+ * Force @types/node to use local copy of undici-types
+ * Fix build failures on lld 15+
+
+ -- Jérémy Lal Sat, 13 Apr 2024 11:22:02 +0200
+
node-undici (5.15.0+dfsg1+~cs20.10.9.3-1+deb12u3) bookworm-security;
urgency=medium
* Team upload.
diff -Nru node-undici-5.15.0+dfsg1+~cs20.10.9.3/debian/gbp.conf
node-undici-5.15.0+dfsg1+~cs20.10.9.3/debian/gbp.conf
--- node-undici-5.15.0+dfsg1+~cs20.10.9.3/debian/gbp.conf 2023-12-21
11:08:13.0 +0100
+++ node-undici-5.15.0+dfsg1+~cs20.10.9.3/debian/gbp.conf 2024-04-13
11:19:52.0 +0200
@@ -1,4 +1,5 @@
[DEFAULT]
+debian-branch = bookworm
pristine-tar=True
filter=[ '.gitignore', '.travis.yml', '.git*' ]
component=['llhttp', 'llparse', 'llparse-frontend', 'llparse-builder',
'binary-search']
diff -Nru node-undici-5.15.0+dfsg1+~cs20.10.9.3/debian/nodejs/build
node-undici-5.15.0+dfsg1+~cs20.10.9.3/debian/nodejs/build
--- node-undici-5.15.0+dfsg1+~cs20.10.9.3/debian/nodejs/build 2023-12-21
11:08:13.0 +0100
+++ node-undici-5.15.0+dfsg1+~cs20.10.9.3/debian/nodejs/build 2024-04-13
11:18:29.0 +0200
@@ -10,7 +10,7 @@
# - direct clang call
clang -nodefaultlibs --sysroot=/usr -target wasm32-unknown-wasi \
-Ofast -fno-exceptions -fvisibility=hidden \
- -mexec-model=reactor -Wl,-lc -Wl,-error-limit=0 -Wl,-O3 \
+ -mexec-model=reactor -Wl,-lc -Wl,--error-limit=0 -Wl,-O3 \
-Wl,--lto-O3 -Wl,--strip-all -Wl,--allow-undefined \
-Wl,--export-dynamic -Wl,--export-table -Wl,--export=malloc \
-Wl,--export=free \
diff -Nru node-undici-5.15.0+dfsg1+~cs20.10.9.3/debian/nodejs/extcopies
node-undici-5.15.0+dfsg1+~cs20.10.9.3/debian/nodejs/extcopies
--- node-undici-5.15.0+dfsg1+~cs20.10.9.3/debian/nodejs/extcopies
1970-01-01 01:00:00.0 +0100
+++ node-undici-5.15.0+dfsg1+~cs20.10.9.3/debian/nodejs/extcopies
2024-04-13 11:18:29.0 +0200
@@ -0,0 +1 @@
+@types/node
diff -Nru node-undici-5.15.0+dfsg1+~cs20.10.9.3/debian/nodejs/extlinks
node-undici-5.15.0+dfsg1+~cs20.10.9.3/debian/nodejs/extlinks
--- node-undici-5.15.0+dfsg1+~cs20.10.9.3/debian/nodejs/extlinks
2022-10-22 13:28:40.0 +0200
+++ node-undici-5.15.0+dfsg1+~cs20.10.9.3/debian/nodejs/extlinks
2024-04-13 11:18:29.0 +0200
@@ -1,4 +1,3 @@
busboy
@types/debug
-@types/node
@types/semver
diff -Nru
node-undici-5.15.0+dfsg1+~cs20.10.9.3/debian/patches/Add-publish-types-script-2273.patch
node-undici-5.15.0+dfsg1+~cs20.10.9.3/debian/patches/Add-publish-types-script-2273.patch
---
node-undici-5.15.0+dfsg1+~cs20.10.9.3/debian/patches/Add-publish-types-script-2273.patch
1970-01-01 01:00:00.0 +0100
+++
node-undici-5.15.0+dfsg1+~cs20.10.9.3/debian/patches/Add-publish-types-script-2273.patch
2024-04-13 11:18:29.0 +0200
@@ -0,0 +1,341 @@
+From: Ethan Arrowood
+Date: Wed, 20 Sep 2023 15:02:42 -0600
+Subject: Add publish types script (#2273)
+
+* add publish types script
+
+* use postpublish script
+
+* 5.24.0-test.0
+
+* 5.24.0-test.1
+
+* uncomment
+
+* 5.24.0-test.2
+
+* simplify automation
+
+* 5.24.0-test.3
+
+* fix script
+
+* 5.24.0-test.4
+
+* fix script
+
+*