usertag #1099418: ocaml-mdx fails to build when nice value is not zero

Holger Levsen holger at layer-acht.org
Mon Mar 3 12:45:10 GMT 2025


User reproducible-builds at lists.alioth.debian.org
Usertag 1099418 senvironment
thanks

Am Mon, Mar 03, 2025 at 01:24:35PM +0100 schrieb Jochen Sprickerhof:
> 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
> 

-- 
cheers,
	Holger

 ⢀⣴⠾⠻⢶⣦⠀
 ⣾⠁⢠⠒⠀⣿⡁  holger@(debian|reproducible-builds|layer-acht).org
 ⢿⡄⠘⠷⠚⠋⠀  OpenPGP: B8BF54137B09D35CF026FE9D 091AB856069AAA1C
 ⠈⠳⣄

The people who refer to the pandemic in the past tense and climate change in
the future tense are the reason everything is going to shit.
-------------- 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/reproducible-bugs/attachments/20250303/83f9d3cc/attachment.sig>


More information about the Reproducible-bugs mailing list