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

Bug#764058: FTBFS on arm64



Source: ocaml-flac
Version: 0.1.1-3
Severity: normal
Tags: patch

ocaml-flac has failed to build on arm64 due to the old config.guess and
config.sub. Fix it by updating config.{guess,sub}. The patch is attached
to this message.
diff -Nru ocaml-flac-0.1.1/debian/changelog ocaml-flac-0.1.1/debian/changelog
--- ocaml-flac-0.1.1/debian/changelog	2013-05-09 00:42:00.000000000 +0000
+++ ocaml-flac-0.1.1/debian/changelog	2014-10-05 06:24:23.000000000 +0000
@@ -1,3 +1,10 @@
+ocaml-flac (0.1.1-3.1) unstable; urgency=medium
+
+  * Non-maintainer upload.
+  * Update config.{guess,sub} to fix FTBFS on arm64
+
+ -- Chen Baozi <baozich@gmail.com>  Sun, 05 Oct 2014 06:23:32 +0000
+
 ocaml-flac (0.1.1-3) unstable; urgency=low
 
   * Upload to unstable. 
diff -Nru ocaml-flac-0.1.1/debian/control ocaml-flac-0.1.1/debian/control
--- ocaml-flac-0.1.1/debian/control	2013-05-09 00:42:09.000000000 +0000
+++ ocaml-flac-0.1.1/debian/control	2014-10-05 06:23:29.000000000 +0000
@@ -5,6 +5,7 @@
 Uploaders: Samuel Mimram <smimram@debian.org>, Romain Beauxis <toots@rastageeks.org>
 Build-Depends: cdbs (>= 0.4.85~),
  debhelper (>= 7.0.1),
+ autotools-dev,
  dh-buildinfo,
  ocaml-nox,
  dh-ocaml (>= 0.9), 
diff -Nru ocaml-flac-0.1.1/debian/rules ocaml-flac-0.1.1/debian/rules
--- ocaml-flac-0.1.1/debian/rules	2013-05-09 00:43:45.000000000 +0000
+++ ocaml-flac-0.1.1/debian/rules	2014-10-05 06:23:08.000000000 +0000
@@ -9,6 +9,10 @@
 DESTDIR = $(CURDIR)/debian/tmp/$(OCAML_STDLIB_DIR)
 DEB_MAKE_INSTALL_TARGET := install OCAMLFIND_DESTDIR=$(DESTDIR) OCAMLFIND_LDCONF=ignore
 
+configure:
+	cp -f /usr/share/misc/config.sub .
+	cp -f /usr/share/misc/config.guess .
+
 build/libflac-ocaml-dev::
 	mkdir -p $(DESTDIR)
 	make doc

Reply to: