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

Bug#646364: espeakup: FTBFS due to multiarched libjack



Source: espeakup
Version: 5.1.6-2
Severity: serious
Justification: ftbs
Tags: patch
User: ubuntu-devel@lists.ubuntu.com
Usertags: origin-ubuntu oneiric ubuntu-patch 

libjack has been multiarched recently:

jack-audio-connection-kit (1:0.121.0+svn4538-2) unstable; urgency=low
   * Enable multiarch support (Closes: #637599)

This requires adaption of espeakup as it fails to build currently:
cc -u _Unwind_Resume -u __gcc_personality_v0 -u _Unwind_ForcedUnwind -u _Unwind_GetCFA -u _Unwind_GetBSP -lgcc_s  espeakup.o cli.o queue.o softsynth.o synth.o  /usr/lib/libespeak.a /usr/lib/libportaudio.a /usr/lib/libjack.a -lm -lpthread -lasound -lrt -o espeakup 
cc: error: /usr/lib/libjack.a: No such file or directory


Here patch applied in ubuntu to fix the issue:

diff -u espeakup-0.71/debian/rules espeakup-0.71/debian/rules
--- espeakup-0.71/debian/rules
+++ espeakup-0.71/debian/rules
@@ -1,7 +1,8 @@
 #!/usr/bin/make -f
 
+DEB_HOST_MULTIARCH ?= $(shell dpkg-architecture -qDEB_HOST_MULTIARCH)
 UDEB_CFLAGS ?= $(CFLAGS) -Os
-UDEB_LDLIBS ?= /usr/lib/libespeak.a /usr/lib/libportaudio.a /usr/lib/libjack.a -lm -lpthread -lasound -lrt
+UDEB_LDLIBS ?= /usr/lib/libespeak.a /usr/lib/libportaudio.a /usr/lib/$(DEB_HOST_MULTIARCH)/libjack.a -lm -lpthread -lasound -lrt
 UDEB_LDFLAGS += -u _Unwind_Resume -u __gcc_personality_v0 -u _Unwind_ForcedUnwind -u _Unwind_GetCFA -u _Unwind_GetBSP -lgcc_s
 
 clean:
I: Running in no-targz mode
I: using fakeroot in build.
I: Current time: Sun Oct 23 17:18:58 CEST 2011
I: pbuilder-time-stamp: 1319383138
I: copying local configuration
I: mounting /proc filesystem
I: mounting /dev/pts filesystem
I: Mounting /dev/shm
I: Mounting /var/cache/pbuilder/ccache
I: policy-rc.d already exists
I: Setting up ccache
I: Installing the build-deps
W: no hooks of type D found -- ignoring
dpkg: error: configuration error: /etc/dpkg/dpkg.cfg.d/multiarch:1: unknown option 'foreign-architecture'
Reading package lists...
Building dependency tree...
Reading state information...
Suggested packages:
  wamerican wordlist whois vacation dh-make gettext-doc groff
  libasound2-plugins libasound2-doc jackd1 less www-browser libmail-box-perl
Recommended packages:
  espeak curl wget lynx-cur autopoint libglib2.0-data shared-mime-info
  xml-core libmail-sendmail-perl
The following NEW packages will be installed:
  bsdmainutils debhelper espeak-data file gettext gettext-base groff-base
  html2text intltool-debian libasound2 libasound2-dev libcroco3 libespeak-dev
  libespeak1 libglib2.0-0 libjack-dev libjack0 libmagic1 libpcre3 libpipeline1
  libpopt0 libportaudio2 libportaudiocpp0 libsonic0 libunistring0 libxml2
  man-db pkg-config po-debconf portaudio19-dev
0 upgraded, 30 newly installed, 0 to remove and 0 not upgraded.
Need to get 12.1 MB of archives.
After this operation, 35.6 MB of additional disk space will be used.
Get:1 http://ftp.de.debian.org/debian/ unstable/main libpipeline1 amd64 1.2.0-3 [37.9 kB]
Get:2 http://ftp.de.debian.org/debian/ unstable/main libpcre3 amd64 8.12-4 [225 kB]
Get:3 http://ftp.de.debian.org/debian/ unstable/main libasound2 amd64 1.0.24.1-4 [446 kB]
Get:4 http://ftp.de.debian.org/debian/ unstable/main libjack0 amd64 1:0.121.0+svn4538-3 [55.6 kB]
Get:5 http://ftp.de.debian.org/debian/ unstable/main bsdmainutils amd64 8.2.3 [208 kB]
Get:6 http://ftp.de.debian.org/debian/ unstable/main groff-base amd64 1.21-6 [1150 kB]
Get:7 http://ftp.de.debian.org/debian/ unstable/main libpopt0 amd64 1.16-1 [54.1 kB]
Get:8 http://ftp.de.debian.org/debian/ unstable/main man-db amd64 2.6.0.2-2 [1023 kB]
Get:9 http://ftp.de.debian.org/debian/ unstable/main libmagic1 amd64 5.09-2 [246 kB]
Get:10 http://ftp.de.debian.org/debian/ unstable/main file amd64 5.09-2 [52.0 kB]
Get:11 http://ftp.de.debian.org/debian/ unstable/main gettext-base amd64 0.18.1.1-5 [154 kB]
Get:12 http://ftp.de.debian.org/debian/ unstable/main libxml2 amd64 2.7.8.dfsg-5 [892 kB]
Get:13 http://ftp.de.debian.org/debian/ unstable/main html2text amd64 1.3.2a-15 [103 kB]
Get:14 http://ftp.de.debian.org/debian/ unstable/main libglib2.0-0 amd64 2.28.8-1 [1651 kB]
Get:15 http://ftp.de.debian.org/debian/ unstable/main libcroco3 amd64 0.6.2-1 [125 kB]
Get:16 http://ftp.de.debian.org/debian/ unstable/main libunistring0 amd64 0.9.3-4 [437 kB]
Get:17 http://ftp.de.debian.org/debian/ unstable/main gettext amd64 0.18.1.1-5 [2080 kB]
Get:18 http://ftp.de.debian.org/debian/ unstable/main intltool-debian all 0.35.0+20060710.1 [30.8 kB]
Get:19 http://ftp.de.debian.org/debian/ unstable/main po-debconf all 1.0.16+nmu1 [223 kB]
Get:20 http://ftp.de.debian.org/debian/ unstable/main debhelper all 8.9.8 [552 kB]
Get:21 http://ftp.de.debian.org/debian/ unstable/main espeak-data amd64 1.45.04-2 [719 kB]
Get:22 http://ftp.de.debian.org/debian/ unstable/main libasound2-dev amd64 1.0.24.1-4 [598 kB]
Get:23 http://ftp.de.debian.org/debian/ unstable/main libportaudio2 amd64 19+svn20110326-2 [75.5 kB]
Get:24 http://ftp.de.debian.org/debian/ unstable/main libsonic0 amd64 0.1.17-1 [13.5 kB]
Get:25 http://ftp.de.debian.org/debian/ unstable/main libespeak1 amd64 1.45.04-2 [148 kB]
Get:26 http://ftp.de.debian.org/debian/ unstable/main libespeak-dev amd64 1.45.04-2 [202 kB]
Get:27 http://ftp.de.debian.org/debian/ unstable/main pkg-config amd64 0.26-1 [59.5 kB]
Get:28 http://ftp.de.debian.org/debian/ unstable/main libjack-dev amd64 1:0.121.0+svn4538-3 [344 kB]
Get:29 http://ftp.de.debian.org/debian/ unstable/main libportaudiocpp0 amd64 19+svn20110326-2 [23.7 kB]
Get:30 http://ftp.de.debian.org/debian/ unstable/main portaudio19-dev amd64 19+svn20110326-2 [136 kB]
debconf: delaying package configuration, since apt-utils is not installed
Fetched 12.1 MB in 11s (1035 kB/s)
Selecting previously unselected package libpipeline1.
(Reading database ... 10937 files and directories currently installed.)
Unpacking libpipeline1 (from .../libpipeline1_1.2.0-3_amd64.deb) ...
Selecting previously unselected package libpcre3.
Unpacking libpcre3 (from .../libpcre3_8.12-4_amd64.deb) ...
Selecting previously unselected package libasound2.
Unpacking libasound2 (from .../libasound2_1.0.24.1-4_amd64.deb) ...
Selecting previously unselected package libjack0.
Unpacking libjack0 (from .../libjack0_1%3a0.121.0+svn4538-3_amd64.deb) ...
Selecting previously unselected package bsdmainutils.
Unpacking bsdmainutils (from .../bsdmainutils_8.2.3_amd64.deb) ...
Selecting previously unselected package groff-base.
Unpacking groff-base (from .../groff-base_1.21-6_amd64.deb) ...
Selecting previously unselected package libpopt0.
Unpacking libpopt0 (from .../libpopt0_1.16-1_amd64.deb) ...
Selecting previously unselected package man-db.
Unpacking man-db (from .../man-db_2.6.0.2-2_amd64.deb) ...
Selecting previously unselected package libmagic1.
Unpacking libmagic1 (from .../libmagic1_5.09-2_amd64.deb) ...
Selecting previously unselected package file.
Unpacking file (from .../archives/file_5.09-2_amd64.deb) ...
Selecting previously unselected package gettext-base.
Unpacking gettext-base (from .../gettext-base_0.18.1.1-5_amd64.deb) ...
Selecting previously unselected package libxml2.
Unpacking libxml2 (from .../libxml2_2.7.8.dfsg-5_amd64.deb) ...
Selecting previously unselected package html2text.
Unpacking html2text (from .../html2text_1.3.2a-15_amd64.deb) ...
Selecting previously unselected package libglib2.0-0.
Unpacking libglib2.0-0 (from .../libglib2.0-0_2.28.8-1_amd64.deb) ...
Selecting previously unselected package libcroco3.
Unpacking libcroco3 (from .../libcroco3_0.6.2-1_amd64.deb) ...
Selecting previously unselected package libunistring0.
Unpacking libunistring0 (from .../libunistring0_0.9.3-4_amd64.deb) ...
Selecting previously unselected package gettext.
Unpacking gettext (from .../gettext_0.18.1.1-5_amd64.deb) ...
Selecting previously unselected package intltool-debian.
Unpacking intltool-debian (from .../intltool-debian_0.35.0+20060710.1_all.deb) ...
Selecting previously unselected package po-debconf.
Unpacking po-debconf (from .../po-debconf_1.0.16+nmu1_all.deb) ...
Selecting previously unselected package debhelper.
Unpacking debhelper (from .../debhelper_8.9.8_all.deb) ...
Selecting previously unselected package espeak-data.
Unpacking espeak-data (from .../espeak-data_1.45.04-2_amd64.deb) ...
Selecting previously unselected package libasound2-dev.
Unpacking libasound2-dev (from .../libasound2-dev_1.0.24.1-4_amd64.deb) ...
Selecting previously unselected package libportaudio2.
Unpacking libportaudio2 (from .../libportaudio2_19+svn20110326-2_amd64.deb) ...
Selecting previously unselected package libsonic0.
Unpacking libsonic0 (from .../libsonic0_0.1.17-1_amd64.deb) ...
Selecting previously unselected package libespeak1.
Unpacking libespeak1 (from .../libespeak1_1.45.04-2_amd64.deb) ...
Selecting previously unselected package libespeak-dev.
Unpacking libespeak-dev (from .../libespeak-dev_1.45.04-2_amd64.deb) ...
Selecting previously unselected package pkg-config.
Unpacking pkg-config (from .../pkg-config_0.26-1_amd64.deb) ...
Selecting previously unselected package libjack-dev.
Unpacking libjack-dev (from .../libjack-dev_1%3a0.121.0+svn4538-3_amd64.deb) ...
Selecting previously unselected package libportaudiocpp0.
Unpacking libportaudiocpp0 (from .../libportaudiocpp0_19+svn20110326-2_amd64.deb) ...
Selecting previously unselected package portaudio19-dev.
Unpacking portaudio19-dev (from .../portaudio19-dev_19+svn20110326-2_amd64.deb) ...
Setting up libpipeline1 (1.2.0-3) ...
Setting up libpcre3 (8.12-4) ...
Setting up libasound2 (1.0.24.1-4) ...
Setting up libjack0 (1:0.121.0+svn4538-3) ...
Setting up bsdmainutils (8.2.3) ...
update-alternatives: using /usr/bin/bsd-write to provide /usr/bin/write (write) in auto mode.
update-alternatives: using /usr/bin/bsd-from to provide /usr/bin/from (from) in auto mode.
Setting up groff-base (1.21-6) ...
Setting up libpopt0 (1.16-1) ...
Setting up man-db (2.6.0.2-2) ...
Building database of manual pages ...
Setting up libmagic1 (5.09-2) ...
Setting up file (5.09-2) ...
Setting up gettext-base (0.18.1.1-5) ...
Setting up libxml2 (2.7.8.dfsg-5) ...
Setting up html2text (1.3.2a-15) ...
Setting up libglib2.0-0 (2.28.8-1) ...
No schema files found: doing nothing.
Setting up libcroco3 (0.6.2-1) ...
Setting up libunistring0 (0.9.3-4) ...
Setting up gettext (0.18.1.1-5) ...
Setting up intltool-debian (0.35.0+20060710.1) ...
Setting up po-debconf (1.0.16+nmu1) ...
Setting up debhelper (8.9.8) ...
Setting up espeak-data (1.45.04-2) ...
Setting up libasound2-dev (1.0.24.1-4) ...
Setting up libportaudio2 (19+svn20110326-2) ...
Setting up libsonic0 (0.1.17-1) ...
Setting up libespeak1 (1.45.04-2) ...
Setting up libespeak-dev (1.45.04-2) ...
Setting up pkg-config (0.26-1) ...
Setting up libjack-dev (1:0.121.0+svn4538-3) ...
Setting up libportaudiocpp0 (19+svn20110326-2) ...
Setting up portaudio19-dev (19+svn20110326-2) ...
Reading package lists...
Building dependency tree...
Reading state information...
eatmydata is already the newest version.
The following NEW packages will be installed:
  fakeroot
0 upgraded, 1 newly installed, 0 to remove and 0 not upgraded.
Need to get 129 kB of archives.
After this operation, 378 kB of additional disk space will be used.
Get:1 http://ftp.de.debian.org/debian/ unstable/main fakeroot amd64 1.18.1-1 [129 kB]
debconf: delaying package configuration, since apt-utils is not installed
Fetched 129 kB in 0s (2397 kB/s)
Selecting previously unselected package fakeroot.
(Reading database ... 12837 files and directories currently installed.)
Unpacking fakeroot (from .../fakeroot_1.18.1-1_amd64.deb) ...
Processing triggers for man-db ...
Setting up fakeroot (1.18.1-1) ...
update-alternatives: using /usr/bin/fakeroot-sysv to provide /usr/bin/fakeroot (fakeroot) in auto mode.
I: Copying source file
I: copying [/tmp/espeakup_0.71-3.dsc]
I: copying [/tmp/espeakup_0.71.orig.tar.gz]
I: copying [/tmp/espeakup_0.71-3.diff.gz]
I: Extracting source
gpgv: keyblock resource `/tmp/buildd/.gnupg/trustedkeys.gpg': file open error
gpgv: Signature made Fri Aug  5 21:33:52 2011 UTC using DSA key ID 8D649BCD
gpgv: Can't check signature: public key not found
dpkg-source: warning: failed to verify signature on ./espeakup_0.71-3.dsc
dpkg-source: info: extracting espeakup in espeakup-0.71
dpkg-source: info: unpacking espeakup_0.71.orig.tar.gz
dpkg-source: info: applying espeakup_0.71-3.diff.gz
dpkg-source: info: upstream files that have been modified: 
 espeakup-0.71/espeakup.c
 espeakup-0.71/tarball
I: Building the package
W: no hooks of type A found -- ignoring
I: Running cd tmp/buildd/*/ && env PATH=/usr/lib/ccache:/usr/lib/ccache:/usr/sbin:/usr/bin:/sbin:/bin:/usr/X11R6/bin dpkg-buildpackage -us -uc "-ejtaylor.debian@googlemail.com" -rfakeroot
dpkg-buildpackage: source package espeakup
dpkg-buildpackage: source version 1:0.71-3
 dpkg-source --before-build espeakup-0.71
dpkg-buildpackage: host architecture amd64
 fakeroot debian/rules clean
dh_testroot
dh_clean
debconf-updatepo
/usr/bin/make clean
make[1]: Entering directory `/tmp/buildd/espeakup-0.71'
rm -f cli.o espeakup.o queue.o softsynth.o synth.o
make[1]: Leaving directory `/tmp/buildd/espeakup-0.71'
rm -f build-stamp
rm -f espeakup
rm -fr espeakup-udeb
 dpkg-source -b espeakup-0.71
dpkg-source: warning: no source format specified in debian/source/format, see dpkg-source(1)
dpkg-source: info: using source format `1.0'
dpkg-source: info: building espeakup using existing espeakup_0.71.orig.tar.gz
dpkg-source: info: building espeakup in espeakup_0.71-3.diff.gz
dpkg-source: warning: the diff modifies the following upstream files: 
 espeakup.c
 tarball
dpkg-source: info: use the '3.0 (quilt)' format to have separate and documented changes to upstream files, see dpkg-source(1)
dpkg-source: info: building espeakup in espeakup_0.71-3.dsc
 debian/rules build
/usr/bin/make
make[1]: Entering directory `/tmp/buildd/espeakup-0.71'
cc -c -Wall   -o espeakup.o espeakup.c 
cc -c -Wall   -o cli.o cli.c 
cc -c -Wall   -o queue.o queue.c 
queue.c: In function 'queue_process_entry':
queue.c:135:15: warning: variable 'error' set but not used [-Wunused-but-set-variable]
cc -c -Wall   -o softsynth.o softsynth.c 
cc -c -Wall   -o synth.o synth.c 
cc   espeakup.o cli.o queue.o softsynth.o synth.o  -lespeak -lpthread -o espeakup
make[1]: Leaving directory `/tmp/buildd/espeakup-0.71'
mkdir espeakup-udeb
ln *.c *.h espeakup-udeb/
ln Makefile espeakup-udeb/
CFLAGS=" -Os" /usr/bin/make -C espeakup-udeb LDLIBS="/usr/lib/libespeak.a /usr/lib/libportaudio.a /usr/lib/libjack.a -lm -lpthread -lasound -lrt" LDFLAGS="-u _Unwind_Resume -u __gcc_personality_v0 -u _Unwind_ForcedUnwind -u _Unwind_GetCFA -u _Unwind_GetBSP -lgcc_s"
make[1]: Entering directory `/tmp/buildd/espeakup-0.71/espeakup-udeb'
cc -c -Wall  -Os  -o espeakup.o espeakup.c 
cc -c -Wall  -Os  -o cli.o cli.c 
cc -c -Wall  -Os  -o queue.o queue.c 
queue.c: In function 'queue_process_entry':
queue.c:135:15: warning: variable 'error' set but not used [-Wunused-but-set-variable]
cc -c -Wall  -Os  -o softsynth.o softsynth.c 
softsynth.c: In function 'process_buffer.isra.1':
softsynth.c:98:16: warning: 'adj' may be used uninitialized in this function [-Wuninitialized]
softsynth.c:42:16: note: 'adj' was declared here
softsynth.c:98:16: warning: 'value' may be used uninitialized in this function [-Wuninitialized]
softsynth.c:41:6: note: 'value' was declared here
cc -c -Wall  -Os  -o synth.o synth.c 
cc -u _Unwind_Resume -u __gcc_personality_v0 -u _Unwind_ForcedUnwind -u _Unwind_GetCFA -u _Unwind_GetBSP -lgcc_s  espeakup.o cli.o queue.o softsynth.o synth.o  /usr/lib/libespeak.a /usr/lib/libportaudio.a /usr/lib/libjack.a -lm -lpthread -lasound -lrt -o espeakup
cc: error: /usr/lib/libjack.a: No such file or directory
make[1]: *** [espeakup] Error 1
make[1]: Leaving directory `/tmp/buildd/espeakup-0.71/espeakup-udeb'
make: *** [build-stamp] Error 2
dpkg-buildpackage: error: debian/rules build gave error exit status 2
E: Failed autobuilding of package

Attachment: signature.asc
Description: OpenPGP digital signature


Reply to: