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

Bug#836690: marked as done (espeak FTCBFS: uses build architecture compiler)



Your message dated Sun, 04 Sep 2016 19:23:55 +0000
with message-id <E1bgd1H-0002TF-5j@franck.debian.org>
and subject line Bug#836690: fixed in espeak 1.48.04+dfsg-5
has caused the Debian Bug report #836690,
regarding espeak FTCBFS: uses build architecture compiler
to be marked as done.

This means that you claim that the problem has been dealt with.
If this is not the case it is now your responsibility to reopen the
Bug report if necessary, and/or fix the problem forthwith.

(NB: If you are a system administrator and have no idea what this
message is talking about, this may indicate a serious mail system
misconfiguration somewhere. Please contact owner@bugs.debian.org
immediately.)


-- 
836690: http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=836690
Debian Bug Tracking System
Contact owner@bugs.debian.org with problems
--- Begin Message ---
Source: espeak
Version: 1.48.04+dfsg-3
Tags: patch
User: helmutg@debian.org
Usertags: rebootstrap

espeak fails to cross build from source, because it uses the build
architecture compiler. Later dh_strip fails when it uses host
architecture tools. Simply passing triplet-prefixed CXX is sufficient to
make it build. Please consider applying the attached patch.

Helmut
diff --minimal -Nru espeak-1.48.04+dfsg/debian/changelog espeak-1.48.04+dfsg/debian/changelog
--- espeak-1.48.04+dfsg/debian/changelog	2016-05-22 23:59:26.000000000 +0200
+++ espeak-1.48.04+dfsg/debian/changelog	2016-09-04 19:30:47.000000000 +0200
@@ -1,3 +1,11 @@
+espeak (1.48.04+dfsg-3.1) UNRELEASED; urgency=medium
+
+  * Non-maintainer upload.
+  * Fix FTCBFS: (Closes: #-1)
+    + Pass triplet-prefixed CXX to make
+
+ -- Helmut Grohne <helmut@subdivi.de>  Sun, 04 Sep 2016 19:30:27 +0200
+
 espeak (1.48.04+dfsg-3) unstable; urgency=medium
 
   * patches/char_cast: New patch, fixes build with g++-6 (Closes: Bug#811772).
diff --minimal -Nru espeak-1.48.04+dfsg/debian/rules espeak-1.48.04+dfsg/debian/rules
--- espeak-1.48.04+dfsg/debian/rules	2016-01-24 01:11:24.000000000 +0100
+++ espeak-1.48.04+dfsg/debian/rules	2016-09-04 19:30:25.000000000 +0200
@@ -7,19 +7,22 @@
 soname=libespeak.so.1
 version=$(shell dpkg-parsechangelog|sed -n -e 's/^Version: //p'|cut -d- -f1|cut -d. -f1-2)
 
-DEB_HOST_MULTIARCH ?= $(shell dpkg-architecture -qDEB_HOST_MULTIARCH)
+include /usr/share/dpkg/architecture.mk
+ifeq ($(origin CXX),default)
+	CXX = $(DEB_HOST_GNU_TYPE)-g++
+endif
 ESPEAK_DATA=/usr/lib/$(DEB_HOST_MULTIARCH)
 
 override_dh_auto_build:
 	cp src/portaudio19.h src/portaudio.h
-	cd src && $(MAKE) CXXFLAGS="$(CXXFLAGS) $(CFLAGS)" DATADIR=$(ESPEAK_DATA)/espeak-data libespeak.a
+	cd src && $(MAKE) CXX=$(CXX) CXXFLAGS="$(CXXFLAGS) $(CFLAGS)" 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) CXXFLAGS="$(CXXFLAGS) $(CFLAGS)" DATADIR=$(ESPEAK_DATA)/espeak-data espeak AUDIO=runtime
+	cd src && $(MAKE) CXX=$(CXX) CXXFLAGS="$(CXXFLAGS) $(CFLAGS)" DATADIR=$(ESPEAK_DATA)/espeak-data espeak AUDIO=runtime
 
 	# Build static speak binary
-	cd platforms/big_endian && CFLAGS="$(CFLAGS)" $(MAKE)
+	cd platforms/big_endian && CFLAGS="$(CFLAGS)" $(MAKE) CXX=$(CXX)
 	# Build voice metadata.
 	cp -a $(CURDIR)/espeak-data $(CURDIR)/espeak-data-local
 	$(CURDIR)/platforms/big_endian/espeak-phoneme-data $(CURDIR)/espeak-data-local $(CURDIR)/espeak-data-local $(CURDIR)/espeak-data-local/phondata-manifest

--- End Message ---
--- Begin Message ---
Source: espeak
Source-Version: 1.48.04+dfsg-5

We believe that the bug you reported is fixed in the latest version of
espeak, which is due to be installed in the Debian FTP archive.

A summary of the changes between this version and the previous one is
attached.

Thank you for reporting the bug, which will now be closed.  If you
have further comments please address them to 836690@bugs.debian.org,
and the maintainer will reopen the bug report if appropriate.

Debian distribution maintenance software
pp.
Samuel Thibault <sthibault@debian.org> (supplier of updated espeak package)

(This message was generated automatically at their request; if you
believe that there is a problem with it please contact the archive
administrators by mailing ftpmaster@ftp-master.debian.org)


-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA512

Format: 1.8
Date: Sun, 04 Sep 2016 19:42:23 +0200
Source: espeak
Binary: espeak espeak-data espeak-data-udeb libespeak1 libespeak-dev
Architecture: source amd64
Version: 1.48.04+dfsg-5
Distribution: unstable
Urgency: medium
Maintainer: Debian Accessibility Team <debian-accessibility@lists.debian.org>
Changed-By: Samuel Thibault <sthibault@debian.org>
Description:
 espeak     - Multi-lingual software speech synthesizer
 espeak-data - Multi-lingual software speech synthesizer: speech data files
 espeak-data-udeb - Multi-lingual software speech synthesizer: data for d-i (udeb)
 libespeak-dev - Multi-lingual software speech synthesizer: development files
 libespeak1 - Multi-lingual software speech synthesizer: shared library
Closes: 836690
Changes:
 espeak (1.48.04+dfsg-5) unstable; urgency=medium
 .
   [ Helmut Grohne ]
   * Fix FTCBFS: (Closes: #836690)
     + Pass triplet-prefixed CXX to make
Checksums-Sha1:
 dc6303126bf035077d740a2eeb01486f21ef641c 2257 espeak_1.48.04+dfsg-5.dsc
 49b173a61f5f1e9d2bf57076e0bd24c4a9fe6c22 10060 espeak_1.48.04+dfsg-5.debian.tar.xz
 cf63474d97d309ce160ceba457367520d1707088 916194 espeak-data-udeb_1.48.04+dfsg-5_amd64.udeb
 4051a07453fd54e69b076330fe3fe5273a9fd8bf 941612 espeak-data_1.48.04+dfsg-5_amd64.deb
 0264923987cdde9c8a3c1e9c0d8f6bcfd441e64d 13792 espeak-dbgsym_1.48.04+dfsg-5_amd64.deb
 2e61a25a14139a82cd5c15d7d2f131417368e981 71052 espeak_1.48.04+dfsg-5_amd64.deb
 b8622a9fd360c947ce9d9785886779cd7637a168 182692 libespeak-dev_1.48.04+dfsg-5_amd64.deb
 e594c884dc76747be20f58c8e6c5b4f44a111329 337788 libespeak1-dbgsym_1.48.04+dfsg-5_amd64.deb
 959d6d098a85aa1a0531c78dd01c592817badff4 153664 libespeak1_1.48.04+dfsg-5_amd64.deb
Checksums-Sha256:
 e0b901de76dddd56cb69e2cf5f63a47e00a5b2e58804590ee1c0804c74e18b3d 2257 espeak_1.48.04+dfsg-5.dsc
 0b9df0a7018a81c715bae13812f31cc3fa39ad9121f81c231c78516775a24cfe 10060 espeak_1.48.04+dfsg-5.debian.tar.xz
 b7eb70d4e580e5e5686eaf97522fbc286b8c20fc53314a73b453512298ba7b03 916194 espeak-data-udeb_1.48.04+dfsg-5_amd64.udeb
 2bb76e0ae24de7a17e32d9ad1a679cd7062ceae78a81eae215f3b2864a47e8df 941612 espeak-data_1.48.04+dfsg-5_amd64.deb
 0542e0c691d00cccfcd9b42f60972f733754a15e1cafaa9563564059364e10ba 13792 espeak-dbgsym_1.48.04+dfsg-5_amd64.deb
 06c95b51a8343d38aae3186d4c9e365421de0101d41d92def51acfd9219370c3 71052 espeak_1.48.04+dfsg-5_amd64.deb
 9c9cdecbeb3c99d24e56ad36ceea778a41f54cbc327e2b03b91fb952826740d1 182692 libespeak-dev_1.48.04+dfsg-5_amd64.deb
 524a8bf56cc69542c9837af820c3239aa808d9eab3bc5f2e3cc6cf6c951f17b0 337788 libespeak1-dbgsym_1.48.04+dfsg-5_amd64.deb
 3075b8ba872a513af1f3ff15bbd1a230b2a0a367f251ebe21d9945b995e5c227 153664 libespeak1_1.48.04+dfsg-5_amd64.deb
Files:
 d450bf8997f2e44bb4a9dae1a4e53477 2257 sound optional espeak_1.48.04+dfsg-5.dsc
 fcfd52421902696434ff05ed2f7fa987 10060 sound optional espeak_1.48.04+dfsg-5.debian.tar.xz
 e0182b9c5ec380ce76607f2abe0eddce 916194 debian-installer optional espeak-data-udeb_1.48.04+dfsg-5_amd64.udeb
 f3ec6ea0df5974d18df5955ec340673d 941612 sound optional espeak-data_1.48.04+dfsg-5_amd64.deb
 4bbb91dfb412c046d3b0823f777e6423 13792 debug extra espeak-dbgsym_1.48.04+dfsg-5_amd64.deb
 c35ce94d36917dd5f65db469c0e48045 71052 sound optional espeak_1.48.04+dfsg-5_amd64.deb
 09cb622d3e3ea1e0250305a9f509b54f 182692 libdevel optional libespeak-dev_1.48.04+dfsg-5_amd64.deb
 6a1ec60e2757da51755b6d8b730fe67e 337788 debug extra libespeak1-dbgsym_1.48.04+dfsg-5_amd64.deb
 e3be235de772a82bffdb9bf0756e816f 153664 libs optional libespeak1_1.48.04+dfsg-5_amd64.deb

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1

iQIcBAEBCgAGBQJXzF1LAAoJEOPlHOj7ay8d3isP/3mOw8UVfXPw3oNe/pI6/ol4
93HkIp0xUUPsi2n6H1Na8YNr7Ds6Cja22By3a1ADaoYBCaXTJ752uARMeJ8CTabE
s38B8svJaSVkXdtjDWcGohLUUFMStlfZOoyvcmjyes5lVxQCcfJVzJexUDJm3lxv
+XMHrXunux+5LKKg4Yh/UMwkzJtyQAUQ9K+4nyrzyeJH2X89An33sR+ACXKUQkD1
5mFvtidvaGye06vbvz+vAAP9pStxE+gSuOJVS+NMlSk1bYBZ2xHrhAGBo063zhTG
JuXB40kQGAmvi9m+135K4SQIDlxyxz2MmEV/YfNUYmUP6g1q511Vy6dn+j+WJwN7
ZUr5/rjYsvK1IlpaUsoxm1C/dUJ1zaXqKGpGduyCekomhxZJLttrQWQVV2BI/YQZ
AFBR8lNvMjTCqeTdgtf/SaAj0ahD/N5GYttIoQe/Inv/5fPpMCgV/XaGJPc2fbor
is1W2moYCjGNETZxtpl+U5L+CaK4JSaUoxrtY/bOifDoVcm0vMlBPHDVPHp0fJOu
IiVl7x3PstYWyHnO4oDOHGj2Y1SIIT0wyVRZ8T9RG03+Rb9CMJXrXxX3VY2IphCa
rY73Z//A+hKFKXVdGtKmhKufgKUMRwekrIc9H3TOtxteUKegkcRZvOAwkD1S3kaC
oJc8dcyriV+CPFkAAbaQ
=yGGA
-----END PGP SIGNATURE-----

--- End Message ---

Reply to: