Control: tags -1 + pending

Hello,

Svante Signell, le ven. 23 août 2019 13:13:11 +0200, a ecrit:
> Currently guile-2.0 FTBFS on GNU/Hurd due to one test failing. The
> attached upstream patch, renamed to 0006-fix-hurd-statprof-test.patch
> fixes that problem. It is already fixed upstream, in commit 
> https://git.savannah.gnu.org/cgit/guile.git/commit/?h=stable-2.0&id=f2764cb1031379c47a17c02fef3f8164a6ce9cda
> , see https://debbugs.gnu.org/cgi/bugreport.cgi?bug=37037

Thanks for dealing with upstream!  I have NMU-ed the attached change to
DELAYED/5.

Samuel
diff -Nru guile-2.0-2.0.13+1/debian/changelog 
guile-2.0-2.0.13+1/debian/changelog
--- guile-2.0-2.0.13+1/debian/changelog 2019-03-30 19:24:44.000000000 +0100
+++ guile-2.0-2.0.13+1/debian/changelog 2019-09-18 01:38:50.000000000 +0200
@@ -1,3 +1,14 @@
+guile-2.0 (2.0.13+1-5.2) unstable; urgency=medium
+
+  [ Samuel Thibault ]
+  * Non-maintainer upload.
+
+  [ Svante Signell ]
+  * 0006-fix-hurd-statprof-test.patch: new patch by Ludovic Courtès to fix
+    FTBFS on hurd-i386 (Closes: #935505)
+
+ -- Samuel Thibault <sthiba...@debian.org>  Wed, 18 Sep 2019 01:38:50 +0200
+
 guile-2.0 (2.0.13+1-5.1) unstable; urgency=medium
 
   * Non-maintainer upload.
diff -Nru guile-2.0-2.0.13+1/debian/patches/0006-fix-hurd-statprof-test.patch 
guile-2.0-2.0.13+1/debian/patches/0006-fix-hurd-statprof-test.patch
--- guile-2.0-2.0.13+1/debian/patches/0006-fix-hurd-statprof-test.patch 
1970-01-01 01:00:00.000000000 +0100
+++ guile-2.0-2.0.13+1/debian/patches/0006-fix-hurd-statprof-test.patch 
2019-09-18 01:38:50.000000000 +0200
@@ -0,0 +1,49 @@
+From f2764cb1031379c47a17c02fef3f8164a6ce9cda Mon Sep 17 00:00:00 2001
+From: =?UTF-8?q?Ludovic=20Court=C3=A8s?= <l...@gnu.org>
+Date: Sat, 11 Feb 2017 22:00:18 +0100
+Subject: tests: Avoid statprof test failure on systems without 'setitimer'.
+
+Partly fixes <http://bugs.gnu.org/25463>.
+Reported by ren...@openmailbox.org.
+
+* test-suite/tests/statprof.test ("return values"): Wrap in
+'when-implemented'.
+---
+ test-suite/tests/statprof.test | 21 +++++++++++----------
+ 1 file changed, 11 insertions(+), 10 deletions(-)
+
+diff --git a/test-suite/tests/statprof.test b/test-suite/tests/statprof.test
+index 482709f..885e310 100644
+--- a/test-suite/tests/statprof.test
++++ b/test-suite/tests/statprof.test
+@@ -47,16 +47,17 @@
+ 
+ (pass-if-equal "return values"
+     '(42 77)
+-  (call-with-values
+-      (lambda ()
+-        (with-output-to-port (%make-void-port "w")
+-          (lambda ()
+-            (with-statprof
+-                (let loop ((i 10000))
+-                  (if (zero? i)
+-                      (values 42 77)
+-                      (loop (1- i))))))))
+-    list))
++  (when-implemented
++   (call-with-values
++       (lambda ()
++         (with-output-to-port (%make-void-port "w")
++           (lambda ()
++             (with-statprof
++                 (let loop ((i 10000))
++                   (if (zero? i)
++                       (values 42 77)
++                       (loop (1- i))))))))
++     list)))
+ 
+ (pass-if "statistical sample counts within expected range"
+   (when-implemented
+-- 
+cgit v1.0-41-gc330
+
diff -Nru guile-2.0-2.0.13+1/debian/patches/series 
guile-2.0-2.0.13+1/debian/patches/series
--- guile-2.0-2.0.13+1/debian/patches/series    2019-03-30 19:21:50.000000000 
+0100
+++ guile-2.0-2.0.13+1/debian/patches/series    2019-09-18 01:38:50.000000000 
+0200
@@ -3,3 +3,4 @@
 0003-tests-Avoid-race-condition-in-REPL-server-test.patch
 0004-ia64-Fix-crash-in-thread-context-switch.patch
 0005-fix-french-locale-test.patch
+0006-fix-hurd-statprof-test.patch

Reply via email to