[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Bug#493866: dose2_1.3.2-1(hppa/experimental): FTBFS: Package names must not contain the character '.'



tags 493866 + patch
thanks

Hello,

Frank Lichtenheld, le Tue 05 Aug 2008 15:27:33 +0200, a écrit :
> | /usr/bin/ocamlfind install -destdir /build/buildd/dose2-1.3.2/debian/libdose2-ocaml-dev/usr/lib/ocaml/3.10.2 -patch-version -patch-archives 1.3.2 dose2 META util/util.cma ocamlrpm/ocamlrpm.cma ocamldeb/ocamldeb.cma conduit/conduit.cma io/io.cma lifetime/lifetime.cma napkin/napkin.cma dosebase/dosebase.cma progress/progress.cma rapids/rapids.cma satsolver/satsolver.cma packetology/packetology.cma 
> | ocamlfind: Package names must not contain the character '.'!

This is because ocaml doesn't have ocamlopt on hppa, which makes dose2
use a different Makefile rule which incorrectly invokes ocamlfind, see
attached patch.

Samuel
diff -u dose2-1.3.2.orig/Makefile.in dose2-1.3.2/Makefile.in
--- dose2-1.3.2.orig/Makefile.in	2009-03-24 02:12:48.000000000 +0100
+++ dose2-1.3.2/Makefile.in	2009-03-24 02:21:28.000000000 +0100
@@ -53,7 +53,7 @@
 install: @BEST@ $(DESTDIR)
 	-@OCAMLFIND@ remove $(DESTDIR_FLAGS) dose2
 ifeq (@OCAMLBEST@, byte)
-	@OCAMLFIND@ install $(DESTDIR_FLAGS) -patch-version -patch-archives @VERSION@ dose2 META $(CMAS)
+	@OCAMLFIND@ install $(DESTDIR_FLAGS) -patch-archives -patch-version @VERSION@ dose2 META $(CMAS)
 else
 	@OCAMLFIND@ install $(DESTDIR_FLAGS) -patch-version @VERSION@ dose2 META $(CMAS) $(CMXAS) $(ARCHIVES)
 endif	

Reply to: