Building 1.9.53 fails for me with ocaml 3.10.2 and 3.12.1, likely due to
commit a0722c7ad846960be54978a31ebe73b76e119203:
[ 318s] ocamlfind ocamlopt -g -warn-error CDEFLMPSUVYZX -package str -I ../src/.libs -I
../ocaml \
[ 318s] mlguestfs.cmxa -linkpkg ../fish/guestfish-progress.o progress-c.o
resize_gettext.cmx resize_utils.cmx progress.cmx resize.cmx -cclib -lncurses -o
virt-resize
[ 318s] No implementations provided for the following modules:
[ 318s] Unix referenced from progress.cmx
[ 318s] make[2]: *** [virt-resize] Error 2
[ 318s] make[2]: Leaving directory
`/usr/src/packages/BUILD/libguestfs-1.19.53/resize'
I'm not sure where Unix is supposed to come from, the Printf files exist:
bax:~> rpm -ql ocaml | grep -iw unix
/usr/lib64/ocaml/unix.a
/usr/lib64/ocaml/unix.cma
/usr/lib64/ocaml/unix.cmi
/usr/lib64/ocaml/unix.cmx
/usr/lib64/ocaml/unix.cmxa
/usr/lib64/ocaml/unix.mli
/usr/lib64/ocaml/vmthreads/unix.cma
bax:~> rpm -ql ocaml | grep -iw printf
/usr/lib64/ocaml/printf.cmi
/usr/lib64/ocaml/printf.cmx
/usr/lib64/ocaml/printf.ml
/usr/lib64/ocaml/printf.mli
/usr/lib64/ocaml/printf.p.cmx
bax:~>
Is the ocaml.rpm built or packaged incorrectly?
Olaf