Just did a git pull to the below commit (to get the latest version
1.25.37) and did a local build, this is what I see:
Error: The files ../ocaml/guestfs.cmi and perl_edit.cmi
make inconsistent assumptions over interface Guestfs
Haven't investigated further, thought I'd post it here first:
$ git rev-parse --short HEAD
838a3c9
$ ./autogen.sh
$ echo $?
0
$ make -j48
[. . .]
findlib: [WARNING] Interface perl_edit.cmi occurs in several directories: ., ../mllib
findlib: [WARNING] Interface perl_edit.cmi occurs in several directories: ., ../mllib
findlib: [WARNING] Interface perl_edit.cmi occurs in several directories: ., ../mllib
CC virt_index_validate-index-scan.o
ocamlfind ocamlc -g -warn-error CDEFLMPSUVYZX -package str,unix -I ../src/.libs -I
../ocaml -I ../mllib -package gettext-stub -c list_entries.mli -o list_entries.cmi
CC index-scan.o
findlib: [WARNING] Interface perl_edit.cmi occurs in several directories: ., ../mllib
ocamlfind ocamlopt -g -warn-error CDEFLMPSUVYZX -package str,unix -I ../src/.libs -I
../ocaml -I ../mllib -package gettext-stub -c index_parser.ml -o index_parser.cmx
ocamlfind ocamlopt -g -warn-error CDEFLMPSUVYZX -package str,unix -I ../src/.libs -I
../ocaml -I ../mllib -package gettext-stub -c cmdline.ml -o cmdline.cmx
findlib: [WARNING] Interface perl_edit.cmi occurs in several directories: ., ../mllib
findlib: [WARNING] Interface perl_edit.cmi occurs in several directories: ., ../mllib
ocamlfind ocamlopt -g -warn-error CDEFLMPSUVYZX -package str,unix -I ../src/.libs -I
../ocaml -I ../mllib -package gettext-stub -c list_entries.ml -o list_entries.cmx
findlib: [WARNING] Interface perl_edit.cmi occurs in several directories: ., ../mllib
CCLD virt-index-validate
ocamlfind ocamlopt -g -warn-error CDEFLMPSUVYZX -package str,unix -I ../src/.libs -I
../ocaml -I ../mllib -package gettext-stub -c builder.ml -o builder.cmx
findlib: [WARNING] Interface perl_edit.cmi occurs in several directories: ., ../mllib
File "builder.ml", line 1:
Error: The files ../ocaml/guestfs.cmi and perl_edit.cmi
make inconsistent assumptions over interface Guestfs
make[2]: *** [builder.cmx] Error 2
make[2]: Leaving directory `/home/tuser1/src/libguestfs/builder'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/home/tuser1/src/libguestfs'
make: *** [all] Error 2
--
/kashyap