[Pkg-javascript-devel] Bug#778576: unblock: node-tap/0.4.13-2

Andrew Kelley superjoe30 at gmail.com
Mon Feb 16 23:07:40 UTC 2015


Package: release.debian.org
Severity: normal
User: release.debian.org at packages.debian.org
Usertags: unblock

Please unblock package node-tap

The bug that caused this package to be scheduled for autoremoval is
fixed with this small patch which disables a single test.

This does not affect the behavior of the package itself in any way.

diff -Nru node-tap-0.4.13/debian/changelog node-tap-0.4.13/debian/changelog
--- node-tap-0.4.13/debian/changelog	2014-10-20 00:01:44.000000000 +0000
+++ node-tap-0.4.13/debian/changelog	2015-02-16 22:53:56.000000000 +0000
@@ -1,3 +1,9 @@
+node-tap (0.4.13-2) unstable; urgency=medium
+
+  * Patch fixing failing test FTBFS (Closes: #775627)
+
+ -- Jérémy Lal <kapouer at melix.org>  Mon, 16 Feb 2015 23:52:37 +0100
+
 node-tap (0.4.13-1) unstable; urgency=low
 
   * Initial release (Closes: #765988)
diff -Nru node-tap-0.4.13/debian/patches/mitigate_test_segv.patch node-tap-0.4.13/debian/patches/mitigate_test_segv.patch
--- node-tap-0.4.13/debian/patches/mitigate_test_segv.patch	1970-01-01 00:00:00.000000000 +0000
+++ node-tap-0.4.13/debian/patches/mitigate_test_segv.patch	2015-02-16 22:53:00.000000000 +0000
@@ -0,0 +1,30 @@
+Description: exit code of segv test depend on platform - do not check it
+ For reasons yet to be discovered, the assumption in segv test is wrong on
+ the platform used for https://bugs.debian.org/775627.
+Last-Update: 2015-02-16
+Author: Jérémy Lal <kapouer at melix.org>
+Forwarded: no, need more info
+--- a/test/segv.js
++++ b/test/segv.js
+@@ -37,9 +37,7 @@
+       , { 'id': 1,
+           'ok': false,
+           'name': ' ././segv',
+-          'exit': null,
+           'timedOut': true,
+-          'signal': process.platform === 'linux' ? 'SIGSEGV' : 'SIGTERM',
+           'command': '"./segv"' }
+       , 'tests 1'
+       , 'fail  1' ]
+@@ -47,11 +45,6 @@
+   tc.on('data', function (d) {
+     var e = expect.shift()
+ 
+-    // specific signal can be either term or bus
+-    if (d.signal && e.signal)
+-      e.signal = d.signal === "SIGTERM" || d.signal === "SIGBUS" ?
+-        d.signal : e.signal
+-
+     t.same(d, e)
+   })
+   tc.on('end', function () {
diff -Nru node-tap-0.4.13/debian/patches/series node-tap-0.4.13/debian/patches/series
--- node-tap-0.4.13/debian/patches/series	2014-10-20 00:01:40.000000000 +0000
+++ node-tap-0.4.13/debian/patches/series	2015-02-16 22:53:00.000000000 +0000
@@ -1,3 +1,4 @@
 nodejs_rename.patch
 use_available_modules.patch
 sbuild_disable_tests.patch
+mitigate_test_segv.patch

unblock node-tap/0.4.13-2

-- System Information:
Debian Release: 8.0
  APT prefers testing-updates
  APT policy: (500, 'testing-updates'), (500, 'testing')
Architecture: amd64 (x86_64)

Kernel: Linux 3.16.0-4-amd64 (SMP w/2 CPU cores)
Locale: LANG=en_US.UTF-8, LC_CTYPE=en_US.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/dash
Init: systemd (via /run/systemd/system)



More information about the Pkg-javascript-devel mailing list