Inconsistency with ocaml's stdlib breaks dependent package builds (rebuild required)
Description:
There seems to have been a problem with the rebuild order for ocaml 5.1.1, as ocaml complains about inconsistencies between ocaml's included stdlib and ocaml-cmdliner when building a package that depends on this one:
ocamlfind ocamlopt -linkpkg -g -package unix -package cmdliner -I src -I test src/uutf.cmx test/utftrip.cmx -o test/utftrip.native
+ ocamlfind ocamlopt -linkpkg -g -package unix -package cmdliner -I src -I test src/uutf.cmx test/utftrip.cmx -o test/utftrip.native
File "_none_", line 1:
Error: Files /usr/lib/ocaml/cmdliner/cmdliner.cmxa
and /usr/lib/ocaml/stdlib.cmxa
make inconsistent assumptions over implementation Stdlib__String
Rebuilding ocaml-cmdliner manually fixes this and enables the build of the dependent package to go through.
Additional info:
$ pacman -Q ocaml ocaml-cmdliner
ocaml 5.1.1-1
ocaml-cmdliner 1.2.0-3
Steps to reproduce:
- Try to build ocaml-uutf from the AUR
- Observe the build failure
- Rebuild ocaml-cmdliner manually
- Try to rebuild ocaml-uutf from the AUR
- Observe the build success
- Profit
Edited by Daniel Peukert