Package: ocaml-extunix
Tags: ftbfs, hppa
Version: 0.4.1-3

This package fails like this:

Failure: tests:7:resource:0:setrlimit:1:RLIMIT_STACK
soft limit
expected: infinity but got: 8388608

see: 
https://buildd.debian.org/status/fetch.php?pkg=ocaml-extunix&arch=hppa&ver=0.4.1-3&stamp=1692284259&raw=0

The problem is, that on hppa a "unlimited stack" means "80MB" stack
by default. Reason is, that on hppa the stack grows upwards, so on
hppa there always needs to be a configurable stack (up to a limit).

Can you please apply that patch (at least for hppa) so that the build
succeeds?

Thanks,
Helge

diff -up ./test/test.ml.org ./test/test.ml
--- ./test/test.ml.org  2023-08-21 13:42:33.779667564 +0000
+++ ./test/test.ml      2023-08-21 14:00:18.226077993 +0000
@@ -132,7 +132,7 @@ let test_resource =
     RLIMIT_DATA;
     RLIMIT_FSIZE;
 (*     RLIMIT_NOFILE; *) (* too fragile to test on CI *)
-    RLIMIT_STACK;
+(*     RLIMIT_STACK;  *) (* at least on hppa stack unlimited means 80MB *)
     RLIMIT_AS;
   ]
   in

Reply via email to