Source: sqlcipher
Version: 2.2.1-2
Severity: normal
Tags: patch
User: [email protected]
Usertags: autoreconf
User: [email protected]
Usertags: ppc64el
Dear Maintainer,
The package sqlcipher fails to build from source on ppc64el, because
config.{guess,sub}
are not updated during build.
Adding dh_autotools-dev to the build would solve that case. However, as
autoconf also
being used, I thought it would also be convenient to replace it by a full
dh_autoreconf.
OBS: Using only dh_autoreconf produces no effect over config.{guess,sub}, since
automake is not
in use for the source pkg available.
The patch attached contains the modifications aforementioned, and are in
accordance with the
following guide: https://wiki.debian.org/Autoreconf
Thanks and regards.
Fernando
-- System Information:
Debian Release: jessie/sid
APT prefers unstable
APT policy: (500, 'unstable')
Architecture: ppc64el (ppc64le)
Kernel: Linux 3.13-1-powerpc64le (SMP w/4 CPU cores)
Locale: LANG=en_US.utf8, LC_CTYPE=en_US.utf8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/dash
diff -Nru sqlcipher-2.2.1/debian/control sqlcipher-2.2.1/debian/control
--- sqlcipher-2.2.1/debian/control 2013-08-13 22:04:22.000000000 +0000
+++ sqlcipher-2.2.1/debian/control 2014-07-24 17:33:06.000000000 +0000
@@ -2,7 +2,7 @@
Section: devel
Priority: optional
Maintainer: Hans-Christoph Steiner <[email protected]>
-Build-Depends: dpkg-dev (>= 1.16.1~), debhelper (>= 8.1.3), autoconf (>= 2.59), libtool (>= 1.5.2), automake, autotools-dev, chrpath, libreadline-dev, tcl8.5-dev, libssl-dev
+Build-Depends: dpkg-dev (>= 1.16.1~), debhelper (>= 8.1.3), dh-autoreconf, chrpath, libreadline-dev, tcl8.5-dev, libssl-dev
Build-Conflicts: tcl8.4, tcl8.4-dev
Homepage: http://sqlcipher.net/
Standards-Version: 3.9.4
diff -Nru sqlcipher-2.2.1/debian/rules sqlcipher-2.2.1/debian/rules
--- sqlcipher-2.2.1/debian/rules 2013-10-16 02:51:21.000000000 +0000
+++ sqlcipher-2.2.1/debian/rules 2014-07-24 17:32:43.000000000 +0000
@@ -29,7 +29,8 @@
configure: configure-stamp
configure-stamp:
dh_testdir
- autoconf
+ dh_autotools-dev_updateconfig
+ dh_autoreconf
echo CFLAGS = $$CFLAGS
./configure --prefix=/usr --mandir="/usr/share/man" \
$(confflags) --enable-threadsafe \
@@ -62,6 +63,8 @@
rm -f config.log config.h pkgIndex.tcl configure
[ ! -f Makefile ] || $(MAKE) distclean
rm -f config.h
+ dh_autotools-dev_restoreconfig
+ dh_autoreconf_clean
dh_clean
install: build