--- Begin Message ---
Package: hyphen
Version: 2.8.7-2
Severity: normal
Tags: patch
User: debian-powerpc@lists.debian.org
Usertags: ppc64el
User: debian-devel@lists.debian.org
Usertags: autoreconf
Dear Maintainer,
Currently this package FTBFS when compiled in new architectures (as ppc64el)
that is not supported on the outdated package autotools files, mainly because
it fails to understand that the new architectures has support for shared
libraries, as shown below:
dh_install --sourcedir=debian/tmp
dh_install: libhyphen-dev missing files (usr/lib/*.so), aborting
make: *** [install] Error 255
dpkg-buildpackage: error: fakeroot debian/rules binary gave error exit status 2
The full log could be found at
http://ftp.unicamp.br/pub/ppc64el/debian/buildd-upstream/build_logs/logs/hyphen_2.8.7-2_ppc64el.build
I created this patch that call autoreconf to updates the autotool files during
the build, as suggest by the following wiki:
https://wiki.debian.org/qa.debian.org/FTBFS#A2014-01-21_using_dh-autoreconf_during_the_build
I tested it on ppc64el and it worked.
Thank you,
Breno
Index: hyphen-2.8.7/debian/control
===================================================================
--- hyphen-2.8.7.orig/debian/control 2014-07-02 18:58:23.000000000 +0000
+++ hyphen-2.8.7/debian/control 2014-07-02 19:01:35.000000000 +0000
@@ -2,7 +2,7 @@
Priority: optional
Maintainer: Debian LibreOffice Maintainers <debian-openoffice@lists.debian.org>
Uploaders: Rene Engelhard <rene@debian.org>
-Build-Depends: debhelper (>= 5), autotools-dev, texlive-base (>= 2013~), dpatch, gawk
+Build-Depends: debhelper (>= 5), autotools-dev, dh-autoreconf, texlive-base (>= 2013~), dpatch, gawk
Build-Depends-Indep: dictionaries-common-dev
Standards-Version: 3.7.2
Section: libs
Index: hyphen-2.8.7/debian/rules
===================================================================
--- hyphen-2.8.7.orig/debian/rules 2014-07-02 18:58:23.000000000 +0000
+++ hyphen-2.8.7/debian/rules 2014-07-02 18:59:58.000000000 +0000
@@ -28,13 +28,7 @@
config.status: patch-stamp configure
dh_testdir
- # Add here commands to configure the package.
-ifneq "$(wildcard /usr/share/misc/config.sub)" ""
- cp -f /usr/share/misc/config.sub config.sub
-endif
-ifneq "$(wildcard /usr/share/misc/config.guess)" ""
- cp -f /usr/share/misc/config.guess config.guess
-endif
+ dh_autoreconf
./configure --host=$(DEB_HOST_GNU_TYPE) --build=$(DEB_BUILD_GNU_TYPE) --prefix=/usr --mandir=\$${prefix}/share/man --infodir=\$${prefix}/share/info CFLAGS="$(CFLAGS)" LDFLAGS="-Wl,-z,defs" AWK=gawk
@@ -50,6 +44,7 @@
clean: unpatch
dh_testdir
dh_testroot
+ dh_autoreconf_clean
rm -f build-stamp
# Add here commands to clean up after the build process.
--- End Message ---
--- Begin Message ---
Source: hyphen
Source-Version: 2.8.7-3
We believe that the bug you reported is fixed in the latest version of
hyphen, 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 753526@bugs.debian.org,
and the maintainer will reopen the bug report if appropriate.
Debian distribution maintenance software
pp.
Rene Engelhard <rene@debian.org> (supplier of updated hyphen 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: SHA1
Format: 1.8
Date: Tue, 08 Jul 2014 19:26:27 +0200
Source: hyphen
Binary: libhyphen-dev libhyphen0 hyphen-en-us
Architecture: source all amd64
Version: 2.8.7-3
Distribution: unstable
Urgency: low
Maintainer: Debian LibreOffice Maintainers <debian-openoffice@lists.debian.org>
Changed-By: Rene Engelhard <rene@debian.org>
Description:
hyphen-en-us - US English hyphenation patterns for LibreOffice/OpenOffice.org
libhyphen-dev - ALTLinux hyphenation library - development files
libhyphen0 - ALTLinux hyphenation library - shared library
Closes: 753526
Changes:
hyphen (2.8.7-3) unstable; urgency=low
.
* use dh-autoreconf (closes: #753526)
Checksums-Sha1:
15bc689b55da93f5751f3b66388079e3526336a2 1926 hyphen_2.8.7-3.dsc
0d41e447e307dd457dd060a04ae97ef64e95f989 19248 hyphen_2.8.7-3.diff.gz
bb582f7a29f2ab311f432db66d0cfaec1c57da01 53080 hyphen-en-us_2.8.7-3_all.deb
680dd729477e1b3deb8962d2eb5afd7f06e381cf 188458 libhyphen-dev_2.8.7-3_amd64.deb
5750596b8febf3d077168879096f99db3f46ae9f 23242 libhyphen0_2.8.7-3_amd64.deb
Checksums-Sha256:
8c0c4ef947c59d248addece063e9644291852da7fd836376b252aacf43d35afa 1926 hyphen_2.8.7-3.dsc
4fbe0411742ae0f2055a4f2a6db4a7bf626e5a10ab48df888d2f022a9a469ac4 19248 hyphen_2.8.7-3.diff.gz
1552cdcf1e9d29fa8ea67280c1a51e68e94dd87e8a4418db589af8c188b55ea3 53080 hyphen-en-us_2.8.7-3_all.deb
9e13ee2148d26b0059a9a47c27ac287c412d7ab64b46804e5797d478520ba291 188458 libhyphen-dev_2.8.7-3_amd64.deb
df34214737df25bc7d47ecd2c53ad851c0993a32c295f8eb179721832623d5b4 23242 libhyphen0_2.8.7-3_amd64.deb
Files:
b3694bdfc055144795a2a13389b116af 53080 text optional hyphen-en-us_2.8.7-3_all.deb
2754c0769f9f744b7e84cca76151f67d 188458 libdevel optional libhyphen-dev_2.8.7-3_amd64.deb
d044bf9f19154080d67423e56e0e3b18 23242 libs optional libhyphen0_2.8.7-3_amd64.deb
c8b65212b96c61a1698feb8b0c67f6da 1926 libs optional hyphen_2.8.7-3.dsc
4d1d60b119df7c031a36c6c076224819 19248 libs optional hyphen_2.8.7-3.diff.gz
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.12 (GNU/Linux)
iQIcBAEBAgAGBQJTvCpLAAoJEAqgRXHQPj5wYxQQALMUTnklLbFiCtMgXZEQnT92
cw1he0wf/aOZJG7VBFgxvU5d58aQC1Dvxe4kv7PvpnP+q3cttDR2qWY6lTP3+W1W
ktHS8iSizyD6DUx7hNPkthsLj0feuu72uYn8gYV9hfnOWbAzxBvd+hjMHTMjoMXV
1quAunlUBjW8cQ5w2un1ETxxBMumxKHWID5mJ7bn98zYpfUURhQ2XDpuwnsHfmuC
AMTwenMEzLsk0tc9V3PW9wgRRB+PZTBUyVIgcOuC9/WkI28FXbQAbTm0zaMjVHzs
tmCgKH2DLVNrp5o4II/kpg9TUHclhuTVOtWArNSe/t1Qp09Znub60INZapjxm5m3
UNhYXGhHdApmx2pcBNcavTvcvo3oKa9NWLYJj1F7RZR4kNhxGers41k4HPjlmklx
5Uavlg7uvJCfejtOJ/q2v2MAC7Eu306v8LuYFtKQriLEArk94M2tL2aA7lxoBc1b
X2g6N/r28AEho8tUKIawctWSmVhRsA5WxvNjBYUcgxENyqdy/9kRA2FmuZJBQEnG
+4L6bvrHg1t69jMuKK74ZIGoU4k+lyBlOAfelVmIr+cxN9HhniXf/8pGAyMiByiL
1p/iWdsDSOheGKYrDbPGwSZA6m5intwEGzQKyEVe5Q7VnfouB6wzfKwUCoiOaswU
K2HmVOSiHX7iilzj5Yi+
=H4Tl
-----END PGP SIGNATURE-----
--- End Message ---