Package: zzthreads
Version: 2.3.2-7
Severity: normal
Tags: patch
User: [email protected]
Usertags: ppc64el
User: [email protected]
Usertags: autoreconf

Dear Maintainer,

The package zthreads fails to build on ppc64el, as on new architectures,
because the config.{guess,sub} and libtool files are out of date, and are not
updated during the build, causing the following error, because shared library
is not generated.

        make[1]: Entering directory `/«PKGBUILDDIR»'
        install -d /«PKGBUILDDIR»/debian/tmp/usr/lib/powerpc64le-linux-gnu
        install -d /«PKGBUILDDIR»/debian/tmp/usr/bin
        cp -a include /«PKGBUILDDIR»/debian/tmp/usr
        cp -a src/.libs/*.so* src/.libs/*.la src/.libs/*.a 
/«PKGBUILDDIR»/debian/tmp/usr/lib/powerpc64le-linux-gnu
        cp: cannot stat 'src/.libs/*.so*': No such file or directory
        make[1]: *** [override_dh_auto_install] Error 1
        make[1]: Leaving directory `/«PKGBUILDDIR»'
        make: *** [binary] Error 2
        dpkg-buildpackage: error: fakeroot debian/rules binary gave error exit 
status 2

I just created a patch that enables the package to be reconfigured during the
build process, so, updating the libtool files. I am using the following URL as
reference:
https://wiki.debian.org/qa.debian.org/FTBFS#A2014-01-21_using_dh-autoreconf_during_the_build

Thank you,
Breno 
Index: zthreads-2.3.2/debian/control
===================================================================
--- zthreads-2.3.2.orig/debian/control	2012-05-19 18:42:38.000000000 +0000
+++ zthreads-2.3.2/debian/control	2014-06-26 15:59:26.000000000 +0000
@@ -2,7 +2,7 @@
 Priority: extra
 Section: libs
 Maintainer: Cleto Martín <[email protected]>
-Build-Depends: debhelper (>= 9), autotools-dev, quilt
+Build-Depends: debhelper (>= 9), autotools-dev, quilt, dh-autoreconf
 Standards-Version: 3.9.3
 Homepage:  http://zthread.sourceforge.net/
 
Index: zthreads-2.3.2/debian/rules
===================================================================
--- zthreads-2.3.2.orig/debian/rules	2012-05-19 19:20:55.000000000 +0000
+++ zthreads-2.3.2/debian/rules	2014-06-26 15:59:18.000000000 +0000
@@ -11,7 +11,7 @@
 
 
 %:
-	dh $@
+	dh $@ --with autoreconf
 
 override_dh_auto_configure:
 	./configure --build=$(DEB_HOST_MULTIARCH) --prefix=/usr --includedir=\$${prefix}/include \

Reply via email to