Package: release.debian.org
Severity: normal
Tags: trixie
X-Debbugs-Cc: [email protected], [email protected]
Control: affects -1 + src:uglifyjs
User: [email protected]
Usertags: pu

[ Reason ]
This is to fix FTBFS bug #1072609, where the build fails because a test
detects an output different than expected.

[ Impact ]
Anybody trying to build the package from source will find that the package does 
not build.

[ Tests ]
I've checked that the fixed package builds again in trixie.

[ Risks ]
Very low risk. We are only changing a test so that it conforms to reality.

[ 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 ]
Adjust test so that the output matches what actually happens in reality.

I've also changed Vcs-Git and gbp.conf but I've
decided to document that in the git commits only
because it's not a user-visible change.

[ Other info ]
I've already uploaded the package.
diff -Nru uglifyjs-2.8.29/debian/changelog uglifyjs-2.8.29/debian/changelog
--- uglifyjs-2.8.29/debian/changelog    2021-02-15 20:30:01.000000000 +0100
+++ uglifyjs-2.8.29/debian/changelog    2026-02-11 16:25:00.000000000 +0100
@@ -1,3 +1,10 @@
+uglifyjs (2.8.29-8+deb13u1) trixie; urgency=medium
+
+  * Team upload.
+  * Adapt test issue-1770.js to reality. Closes: #1072609.
+
+ -- Santiago Vila <[email protected]>  Wed, 11 Feb 2026 16:25:00 +0100
+
 uglifyjs (2.8.29-8) unstable; urgency=medium
 
   * Team upload
diff -Nru uglifyjs-2.8.29/debian/control uglifyjs-2.8.29/debian/control
--- uglifyjs-2.8.29/debian/control      2021-02-14 22:43:17.000000000 +0100
+++ uglifyjs-2.8.29/debian/control      2026-02-11 14:00:00.000000000 +0100
@@ -15,7 +15,7 @@
 Standards-Version: 4.3.0
 Homepage: http://lisperator.net/uglifyjs/
 Vcs-Browser: https://salsa.debian.org/js-team/uglifyjs
-Vcs-Git: https://salsa.debian.org/js-team/uglifyjs.git -b master
+Vcs-Git: https://salsa.debian.org/js-team/uglifyjs.git -b master-trixie
 Rules-Requires-Root: no
 
 Package: node-uglify
diff -Nru uglifyjs-2.8.29/debian/gbp.conf uglifyjs-2.8.29/debian/gbp.conf
--- uglifyjs-2.8.29/debian/gbp.conf     2021-02-14 22:43:17.000000000 +0100
+++ uglifyjs-2.8.29/debian/gbp.conf     2026-02-11 14:00:00.000000000 +0100
@@ -2,7 +2,7 @@
 
 [DEFAULT]
 upstream-branch = upstream
-debian-branch = master
+debian-branch = master-trixie
 pristine-tar = True
 sign-tags = True
 filter = */.git*
diff -Nru uglifyjs-2.8.29/debian/patches/adapt-test-to-reality.patch 
uglifyjs-2.8.29/debian/patches/adapt-test-to-reality.patch
--- uglifyjs-2.8.29/debian/patches/adapt-test-to-reality.patch  1970-01-01 
01:00:00.000000000 +0100
+++ uglifyjs-2.8.29/debian/patches/adapt-test-to-reality.patch  2026-02-11 
14:06:00.000000000 +0100
@@ -0,0 +1,15 @@
+From: Santiago Vila <[email protected]>
+Subject: Adapt test to reality
+Bug-Debian: https://bugs.debian.org/1072609
+
+--- a/test/compress/issue-1770.js
++++ b/test/compress/issue-1770.js
+@@ -233,7 +233,7 @@
+             ba: 58,
+             ca: 59,
+             da: 60,
+-            ea: 61,
++            with: 61,
+         };
+     }
+ }
diff -Nru uglifyjs-2.8.29/debian/patches/series 
uglifyjs-2.8.29/debian/patches/series
--- uglifyjs-2.8.29/debian/patches/series       2021-02-14 22:52:08.000000000 
+0100
+++ uglifyjs-2.8.29/debian/patches/series       2026-02-11 14:00:00.000000000 
+0100
@@ -3,3 +3,4 @@
 1003_fix_manpage_help_output.patch
 2002_node_conflict.patch
 adapt-test-to-status-quo.patch
+adapt-test-to-reality.patch

Reply via email to