ocaml build failures
Hi,
The latest ocaml upload failed to build on half of the
available architectures, as follows:
-=-=-=-=-=-=-=-=-=-
# now move the graphics files over
if [ -e opt-built-stamp ]; then \
dh_movefiles -pocaml \
--sourcedir=debian/ocaml-nox; \
else \
dh_movefiles -pocaml \
--sourcedir=debian/ocaml-nox \
--exclude=*.cmx --exclude=*.cmxa; \
fi
dh_movefiles: debian/ocaml-nox/usr/lib/ocaml/3.07/graphics.cmx not found (supposed to put it in ocaml)
dh_movefiles: debian/ocaml-nox/usr/lib/ocaml/3.07/graphics.cmxa not found (supposed to put it in ocaml)
dh_movefiles: debian/ocaml-nox/usr/lib/ocaml/3.07/graphics.a not found (supposed to put it in ocaml)
make: *** [install-arch] Error 1
-=-=-=-=-=-=-=-=-=-
I suspect the use of dh_movefiles is erroneous.
Why not doing the following, in debian/ocaml.files:
usr/bin/labltk
usr/lib/ocaml/3.07/libgraphics.*
usr/lib/ocaml/3.07/graphics.*
usr/lib/ocaml/3.07/graphicsX11.*
usr/lib/ocaml/3.07/labltk
so the test for opt-built-stamp is no longer needed since
only what's been built will be installed.
--
Jérôme Marant
http://marant.org
Reply to: