Bug#993098: espeak FTCBFS: does not pass cross tools to make
Helmut Grohne
helmut at subdivi.de
Fri Aug 27 12:57:19 BST 2021
Source: espeak
Version: 1.48.15+dfsg-2
Tags: patch
User: debian-cross at lists.debian.org
Usertags: ftcbfs
espeak fails to cross build from source, because it does not pass cross
tools to make. The easiest way of fixing that - using dh_auto_build -
makes espeak cross buildable. Please consider applying the attached
patch.
Helmut
-------------- next part --------------
diff --minimal -Nru espeak-1.48.15+dfsg/debian/changelog espeak-1.48.15+dfsg/debian/changelog
--- espeak-1.48.15+dfsg/debian/changelog 2021-01-01 16:48:21.000000000 +0100
+++ espeak-1.48.15+dfsg/debian/changelog 2021-08-27 13:52:11.000000000 +0200
@@ -1,3 +1,10 @@
+espeak (1.48.15+dfsg-2.1) UNRELEASED; urgency=medium
+
+ * Non-maintainer upload.
+ * Fix FTCBFS: Let dh_auto_build pass cross tools to make. (Closes: #-1)
+
+ -- Helmut Grohne <helmut at subdivi.de> Fri, 27 Aug 2021 13:52:11 +0200
+
espeak (1.48.15+dfsg-2) unstable; urgency=medium
* patches/flags: Fix passing CPPFLAGS and LDFLAGS.
diff --minimal -Nru espeak-1.48.15+dfsg/debian/rules espeak-1.48.15+dfsg/debian/rules
--- espeak-1.48.15+dfsg/debian/rules 2020-12-30 19:00:17.000000000 +0100
+++ espeak-1.48.15+dfsg/debian/rules 2021-08-27 13:51:49.000000000 +0200
@@ -15,11 +15,11 @@
override_dh_auto_build:
cp src/portaudio19.h src/portaudio.h
- cd src && $(MAKE) DATADIR=$(ESPEAK_DATA)/espeak-data libespeak.a
+ dh_auto_build --sourcedirectory=src -- DATADIR=$(ESPEAK_DATA)/espeak-data libespeak.a
# Remove object files so we can rebuild them with
# AUDIO=runtime enabled
rm -f src/*.o
- cd src && $(MAKE) DATADIR=$(ESPEAK_DATA)/espeak-data espeak AUDIO=runtime
+ dh_auto_build --sourcedirectory=src -- DATADIR=$(ESPEAK_DATA)/espeak-data espeak AUDIO=runtime
# Build static speak binary
cd platforms/big_endian && CFLAGS="$(CFLAGS)" $(MAKE) CXX=$(CXX)
More information about the Pkg-a11y-devel
mailing list