[DRE-maint] Bug#977750: ruby-http-parser.rb: diff for NMU version 0.6.0-5.1 (was: ruby-http-parser.rb: Upcoming test suite regression with http-parser 2.9.4)

Christoph Biedl debian.axhn at manchmal.in-ulm.de
Sun Dec 20 10:39:00 GMT 2020


Control: tags 977750 patch pending
Control: severity serious
# Justification: FTBFS

Christoph Biedl wrote...

> Once http-parser 2.9.4 reaches unstable, I'll raise the bug severity and
> prepare a NMU to prevent your package from falling out of testing.
> Having issues handled by the maintainers themselves is still my
> preferred way of action, though.

Okay, that went faster then expected, so here we go:

To resolve the above issue, I've prepared an NMU for ruby-http-parser.rb
(versioned as 0.6.0-5.1) and uploaded it to DELAYED/7. Please feel free to tell
me if I should delay it longer.

Kinde regards,

    Christoph

diff -Nru ruby-http-parser.rb-0.6.0/debian/changelog ruby-http-parser.rb-0.6.0/debian/changelog
--- ruby-http-parser.rb-0.6.0/debian/changelog	2020-04-05 15:31:59.000000000 +0200
+++ ruby-http-parser.rb-0.6.0/debian/changelog	2020-12-20 10:39:19.000000000 +0100
@@ -1,3 +1,10 @@
+ruby-http-parser.rb (0.6.0-5.1) unstable; urgency=high
+
+  * Non-maintainer upload.
+  * Relax "post identity body world" test. Closes: #977750
+
+ -- Christoph Biedl <debian.axhn at manchmal.in-ulm.de>  Sun, 20 Dec 2020 10:39:19 +0100
+
 ruby-http-parser.rb (0.6.0-5) unstable; urgency=medium
 
   * Team upload
diff -Nru ruby-http-parser.rb-0.6.0/debian/patches/0007-disable-identity-transfer-encoding-test.patch ruby-http-parser.rb-0.6.0/debian/patches/0007-disable-identity-transfer-encoding-test.patch
--- ruby-http-parser.rb-0.6.0/debian/patches/0007-disable-identity-transfer-encoding-test.patch	1970-01-01 01:00:00.000000000 +0100
+++ ruby-http-parser.rb-0.6.0/debian/patches/0007-disable-identity-transfer-encoding-test.patch	2020-12-20 10:39:19.000000000 +0100
@@ -0,0 +1,21 @@
+Subject: Relax "post identity body world" test
+Author: Christoph Biedl <debian.axhn at manchmal.in-ulm.de>
+Date: 2020-12-20
+Bug: https://github.com/tmm1/http_parser.rb/issues/68
+Bug-Debian: https://bugs.debian.org/977750
+
+    Technically, disabling "strict" causes the entire test to be
+    skipped. Perhaps some day upstream might implement the lenient
+    mode.
+
+--- a/spec/support/requests.json
++++ b/spec/support/requests.json
+@@ -162,7 +162,7 @@
+       "Content-Length": "5"
+     },
+     "body": "World",
+-    "strict": true
++    "strict": false
+   },
+   {
+     "name": "post - chunked body: all your base are belong to us",
diff -Nru ruby-http-parser.rb-0.6.0/debian/patches/series ruby-http-parser.rb-0.6.0/debian/patches/series
--- ruby-http-parser.rb-0.6.0/debian/patches/series	2020-04-03 22:49:00.000000000 +0200
+++ ruby-http-parser.rb-0.6.0/debian/patches/series	2020-12-20 10:19:37.000000000 +0100
@@ -4,3 +4,4 @@
 0004-Do-not-overload-loadpath.patch
 0005-tweak-to-support-rspec3.patch
 0006-disable-folding-header-test.patch
+0007-disable-identity-transfer-encoding-test.patch
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 833 bytes
Desc: not available
URL: <http://alioth-lists.debian.net/pipermail/pkg-ruby-extras-maintainers/attachments/20201220/6c0d0bbb/attachment.sig>


More information about the Pkg-ruby-extras-maintainers mailing list