diff -Nru ocaml-4.08.1/debian/changelog ocaml-4.08.1/debian/changelog --- ocaml-4.08.1/debian/changelog 2019-11-08 10:43:37.000000000 +0000 +++ ocaml-4.08.1/debian/changelog 2019-11-26 19:38:59.000000000 +0000 @@ -1,3 +1,13 @@ +ocaml (4.08.1-4+rpi2) bullseye-staging; urgency=medium + + * Revert previous raspbian changes, changing the triplet + now seems to cause more problems than it solves (specifically + it causes ocaml to try and use nonexistant compilers). + * Edit configure.ac to select armv6 when using "arm-linux-gnueabihf" + * Partially fix clean target. + + -- Peter Michael Green Tue, 26 Nov 2019 19:38:59 +0000 + ocaml (4.08.1-4) unstable; urgency=medium * ocaml-base-nox Breaks/Replaces also ocaml-nox (Closes: #944126) diff -Nru ocaml-4.08.1/debian/.gitattributes ocaml-4.08.1/debian/.gitattributes --- ocaml-4.08.1/debian/.gitattributes 2019-11-08 10:43:37.000000000 +0000 +++ ocaml-4.08.1/debian/.gitattributes 1970-01-01 00:00:00.000000000 +0000 @@ -1 +0,0 @@ -changelog merge=dpkg-mergechangelogs diff -Nru ocaml-4.08.1/debian/patches/series ocaml-4.08.1/debian/patches/series --- ocaml-4.08.1/debian/patches/series 2019-11-08 10:43:37.000000000 +0000 +++ ocaml-4.08.1/debian/patches/series 2019-11-26 19:38:59.000000000 +0000 @@ -3,3 +3,4 @@ 0013-Use-CCLINKFLAGS-for-linking-all-executables-and-shar.patch 0005-Check-for-definition-of-AT_SECURE-before-using-it.patch 0008-Reimplement-custom-without-hacks.patch +use-armv6-for-raspbian.patch diff -Nru ocaml-4.08.1/debian/patches/use-armv6-for-raspbian.patch ocaml-4.08.1/debian/patches/use-armv6-for-raspbian.patch --- ocaml-4.08.1/debian/patches/use-armv6-for-raspbian.patch 1970-01-01 00:00:00.000000000 +0000 +++ ocaml-4.08.1/debian/patches/use-armv6-for-raspbian.patch 2019-11-26 19:38:59.000000000 +0000 @@ -0,0 +1,14 @@ +Description: Edit configure.ac to select armv6 when using "arm-linux-gnueabihf" +Author: Peter Michael Green + +--- ocaml-4.08.1.orig/configure.ac ++++ ocaml-4.08.1/configure.ac +@@ -871,7 +871,7 @@ AS_CASE([$host], + [armv5*-*-linux-gnueabi], + [arch=arm; model=armv5; system=linux_eabi], + [arm*-*-linux-gnueabihf], +- [arch=arm; system=linux_eabihf], ++ [arch=arm; model=armv6; system=linux_eabihf], + [arm*-*-linux-gnueabi], + [arch=arm; system=linux_eabi], + [arm*-*-openbsd*], diff -Nru ocaml-4.08.1/debian/rules ocaml-4.08.1/debian/rules --- ocaml-4.08.1/debian/rules 2019-11-08 10:43:37.000000000 +0000 +++ ocaml-4.08.1/debian/rules 2019-11-26 19:38:59.000000000 +0000 @@ -178,6 +178,11 @@ done # Remaining stuff -rm -Rf debian/$(SRCTARBALL) $(TESTDIR) + find testsuite/tests/ -name '*.o' -delete + find testsuite/tests/ -name '*.cmx*' -delete + find testsuite/tests/ -name '*.cmi' -delete + find testsuite/tests/ -name '*.cmo' -delete + rm -f Makefile.common Makefile.config config.log config.status libtool runtime/caml/m.h runtime/caml/s.h testsuite/_log .PHONY: override_dh_auto_install-arch override_dh_auto_install-indep override_dh_auto_install-arch: install-stamp-arch