fyi..<br><br><div class="gmail_quote">---------- Forwarded message ----------<br>From: <b class="gmail_sendername">Matthew Wilson</b> <span dir="ltr"><<a href="mailto:diakopter@gmail.com">diakopter@gmail.com</a>></span><br>
Date: Sat, Jan 31, 2009 at 4:58 PM<br>Subject: [Bug 323748] [NEW] FTBFS when ocaml present<br>To: <a href="mailto:diakopter@gmail.com">diakopter@gmail.com</a><br><br><br>Public bug reported:<br>
<br>
Binary package hint: llvm<br>
<br>
I'm using the nightly jaunty. When ocaml is present, the ocaml bindings<br>
in llvm are attempted to be built, but the build fails when building the<br>
documentation for the ocaml bindings, because (parallel) make of<br>
docs/Makefile attempts target $(PROJ_OBJ_DIR)/ocamldoc.tar.gz<br>
concurrently with the target regen-ocamldoc, when in fact regen-ocamldoc<br>
is an implicit dependency of $(PROJ_OBJ_DIR)/ocamldoc.tar.gz<br>
<br>
I did:<br>
sudo apt-get install ocaml ocaml-base ocaml-base-nox ocaml-compiler-libs ocaml-core ocaml-doc ocamldsort ocaml-findlib ocaml-interp ocaml-libs ocamlmakefile ocaml-native-compilers ocaml-nox ocaml-source ocaml-tools ocaml-ulex ocaml-ulex08 ocamlweb<br>
apt-get source llvm<br>
cd llvm-2.4<br>
debuild -us -uc<br>
<br>
My suggestion for fixing: add ocaml/ocaml-doc as build dependencies, in<br>
addition to applying the below patch. Also, I recommend that Debian<br>
packages llvm-bindings-ocaml be packaged separately for the ocaml<br>
bindings and ocamldoc bindings documentation.<br>
<br>
--- Makefile.orig 2009-01-31 16:43:18.000000000 -0600<br>
+++ Makefile 2009-01-31 16:47:55.000000000 -0600<br>
@@ -78,7 +78,7 @@<br>
fi<br>
$(Verb) $(DOXYGEN) $(PROJ_OBJ_DIR)/doxygen.cfg<br>
<br>
-$(PROJ_OBJ_DIR)/doxygen.tar.gz: $(DOXYFILES) $(PROJ_OBJ_DIR)/doxygen.cfg<br>
+$(PROJ_OBJ_DIR)/doxygen.tar.gz: $(DOXYFILES) $(PROJ_OBJ_DIR)/doxygen.cfg regendoc<br>
$(Echo) Packaging doxygen documentation<br>
$(Verb) $(RM) -rf $@ $(PROJ_OBJ_DIR)/doxygen.tar<br>
$(Verb) $(TAR) cf $(PROJ_OBJ_DIR)/doxygen.tar doxygen<br>
@@ -113,7 +113,7 @@<br>
$(OCAMLDOC) -d $(PROJ_OBJ_DIR)/ocamldoc/html -sort -colorize-code -html \<br>
`$(FIND) $(LEVEL)/bindings/ocaml -name "*.odoc" -exec echo -load '{}' ';'`<br>
<br>
-$(PROJ_OBJ_DIR)/ocamldoc.tar.gz:<br>
+$(PROJ_OBJ_DIR)/ocamldoc.tar.gz: regen-ocamldoc<br>
$(Echo) Packaging ocamldoc documentation<br>
$(Verb) $(RM) -rf $@ $(PROJ_OBJ_DIR)/ocamldoc.tar<br>
$(Verb) $(TAR) cf $(PROJ_OBJ_DIR)/ocamldoc.tar ocamldoc<br>
<br>
** Affects: llvm (Ubuntu)<br>
Importance: Undecided<br>
Status: New<br>
<br>
--<br>
FTBFS when ocaml present<br>
<a href="https://bugs.launchpad.net/bugs/323748" target="_blank">https://bugs.launchpad.net/bugs/323748</a><br>
You received this bug notification because you are a direct subscriber<br>
of the bug.<br>
<br>
Status in "llvm" source package in Ubuntu: New<br>
<br>
Bug description:<br>
Binary package hint: llvm<br>
<br>
I'm using the nightly jaunty. When ocaml is present, the ocaml bindings in llvm are attempted to be built, but the build fails when building the documentation for the ocaml bindings, because (parallel) make of docs/Makefile attempts target $(PROJ_OBJ_DIR)/ocamldoc.tar.gz concurrently with the target regen-ocamldoc, when in fact regen-ocamldoc is an implicit dependency of $(PROJ_OBJ_DIR)/ocamldoc.tar.gz<br>
<br>
I did:<br>
sudo apt-get install ocaml ocaml-base ocaml-base-nox ocaml-compiler-libs ocaml-core ocaml-doc ocamldsort ocaml-findlib ocaml-interp ocaml-libs ocamlmakefile ocaml-native-compilers ocaml-nox ocaml-source ocaml-tools ocaml-ulex ocaml-ulex08 ocamlweb<br>
apt-get source llvm<br>
cd llvm-2.4<br>
debuild -us -uc<br>
<br>
My suggestion for fixing: add ocaml/ocaml-doc as build dependencies, in addition to applying the below patch. Also, I recommend that Debian packages llvm-bindings-ocaml be packaged separately for the ocaml bindings and ocamldoc bindings documentation.<br>
<br>
--- Makefile.orig 2009-01-31 16:43:18.000000000 -0600<br>
+++ Makefile 2009-01-31 16:47:55.000000000 -0600<br>
@@ -78,7 +78,7 @@<br>
fi<br>
$(Verb) $(DOXYGEN) $(PROJ_OBJ_DIR)/doxygen.cfg<br>
<br>
-$(PROJ_OBJ_DIR)/doxygen.tar.gz: $(DOXYFILES) $(PROJ_OBJ_DIR)/doxygen.cfg<br>
+$(PROJ_OBJ_DIR)/doxygen.tar.gz: $(DOXYFILES) $(PROJ_OBJ_DIR)/doxygen.cfg regendoc<br>
$(Echo) Packaging doxygen documentation<br>
$(Verb) $(RM) -rf $@ $(PROJ_OBJ_DIR)/doxygen.tar<br>
$(Verb) $(TAR) cf $(PROJ_OBJ_DIR)/doxygen.tar doxygen<br>
@@ -113,7 +113,7 @@<br>
$(OCAMLDOC) -d $(PROJ_OBJ_DIR)/ocamldoc/html -sort -colorize-code -html \<br>
`$(FIND) $(LEVEL)/bindings/ocaml -name "*.odoc" -exec echo -load '{}' ';'`<br>
<br>
-$(PROJ_OBJ_DIR)/ocamldoc.tar.gz:<br>
+$(PROJ_OBJ_DIR)/ocamldoc.tar.gz: regen-ocamldoc<br>
$(Echo) Packaging ocamldoc documentation<br>
$(Verb) $(RM) -rf $@ $(PROJ_OBJ_DIR)/ocamldoc.tar<br>
$(Verb) $(TAR) cf $(PROJ_OBJ_DIR)/ocamldoc.tar ocamldoc<br>
</div><br>