Package: ocplib-simplex
Version: 0.5.1-1
Severity: serious
Tags: patch

Hello, looks like zarith is a test dependency (but not a runtime dependency).

102s autopkgtest [08:43:49]: test upstream-tests: [-----------------------
102s File "dune", line 13, characters 27-33:
102s 13 |  (libraries ocplib-simplex zarith))
102s                                 ^^^^^^
102s Error: Library "zarith" not found.
102s -> required by _build/default/solveEmpty.exe
102s -> required by _build/default/solveEmpty.output
102s -> required by alias runtest in dune:15
103s autopkgtest [08:43:50]: test upstream-tests: -----------------------]
103s upstream-tests       FAIL non-zero exit status 1
103s autopkgtest [08:43:50]: test upstream-tests:  - - - - - - - - - - results 
- - - - - - - - - -
103s autopkgtest [08:43:50]: test upstream-tests:  - - - - - - - - - - stderr - 
- - - - - - - - -
103s File "dune", line 13, characters 27-33:
103s 13 |  (libraries ocplib-simplex zarith))
103s                                 ^^^^^^
103s Error: Library "zarith" not found.
103s -> required by _build/default/solveEmpty.exe
103s -> required by _build/default/solveEmpty.output
103s -> required by alias runtest in dune:15


My proposed solution since this look like not useful at runtime, is to add the 
dependency to tests/control.


  * Test depend on libzarith-ocaml-dev, dependency used for testing.


Thanks for considering the patch.

--- ocplib-simplex-0.5.1/debian/tests/control   2024-06-04 06:26:17.000000000 
+0200
+++ ocplib-simplex-0.5.1/debian/tests/control   2024-06-06 08:03:17.000000000 
+0200
@@ -1,2 +1,2 @@
 Tests: upstream-tests
-Depends: @, ocaml, ocaml-dune, libnum-ocaml-dev, liblogs-ocaml-dev
+Depends: @, ocaml, ocaml-dune, libnum-ocaml-dev, liblogs-ocaml-dev, 
libzarith-ocaml-dev


Attachment: OpenPGP_signature.asc
Description: OpenPGP digital signature

Reply via email to