Bug#1099418: ocaml-mdx fails to build when nice value is not zero
Source: ocaml-mdx
Version: 2.5.0-2
Severity: normal
Tags: ftbfs
Hi,
ocaml-mdx has a test that expects to be run with nice zero. Otherwise it
fails with:
dh_auto_test -a -O--buildsystem=ocaml_dune
dune runtest -j 6 -p mdx
File "test/bin/mdx-test/expect/os_type/test-case.md", line 1, characters 0-0:
(cd _build/default && /usr/bin/diff -u test/bin/mdx-test/expect/os_type/test-case.md test/bin/mdx-test/expect/os_type.actual)
--- test/bin/mdx-test/expect/os_type/test-case.md 2025-02-28 13:07:48.010376024 +0000
+++ test/bin/mdx-test/expect/os_type.actual 2025-02-28 13:07:50.370508337 +0000
@@ -3,7 +3,7 @@
```ocaml os_type<>Win32
# #require "unix"
# Unix.nice 0
-- : int = 0
+- : int = 10
```
(build ran with nice 10)
This currently makes the package not reproducible on
reproduce.debian.net:
https://reproduce.debian.net/amd64/#libmdx-ocaml
I would recommend to either mock the expected value or disable the test.
Cheers Jochen
Reply to: