building ocaml with sbuild
Hello.
I was trying to build ocaml with sbuild.
- dget http://http.debian.net/debian/pool/main/o/ocaml/ocaml_4.05.0-10.dsc
- cd ocaml-4.05.0/
- sbuild -sA --dist=unstable
And I ended up following error.
`````
sbuild -sA --dist=unstable
dh clean
debian/rules override_dh_auto_clean
make[1]: Entering directory '/root/ocaml-3.12.1/test/ocaml-4.05.0'
/usr/bin/make -f
/root/ocaml-3.12.1/test/ocaml-4.05.0/debian/ocamlinit.mk ocamlinit-clean
make[2]: Entering directory '/root/ocaml-3.12.1/test/ocaml-4.05.0'
/root/ocaml-3.12.1/test/ocaml-4.05.0/debian/ocamlinit.mk:28:
/usr/share/ocaml/ocamlvars.mk: No such file or directory
make[2]: *** No rule to make target '/usr/share/ocaml/ocamlvars.mk'. Stop.
make[2]: Leaving directory '/root/ocaml-3.12.1/test/ocaml-4.05.0'
make[1]: *** [debian/rules:171: override_dh_auto_clean] Error 2
make[1]: Leaving directory '/root/ocaml-3.12.1/test/ocaml-4.05.0'
make: *** [debian/rules:75: clean] Error 2
E: Failed to clean source directory /root/ocaml-3.12.1/test/ocaml-4.05.0
(/root/ocaml-3.12.1/test/ocaml_4.05.0-10.dsc)
``````
What I did wrong ? Please help.
Reply to: