Package: gss
Version: 1.0.2-3
Severity: normal
Tags: patch
User: ubuntu-de...@lists.ubuntu.com
Usertags: origin-ubuntu trusty ubuntu-patch

Dear Maintainer,

For the ppc64el architecture in Ubuntu, since this package uses libtool, a full
autoreconf is necessary instead of just config.{sub,guess} updates with
autotools-dev. This is because we need new libtool macros for ppc64el.

In Ubuntu, the attached patch was applied to achieve the following:

  * Use dh-autoreconf instead of autotools-dev to also fix FTBFS on ppc64el by
    getting new libtool macros (still updates config.{sub,guess}).
  * Disable -Werror to fix FTBFS while autoreconfing.
  * Build-depend on help2man to fix FTBFS.

Thanks for considering the patch.

Logan Rosen



-- System Information:
Debian Release: jessie/sid
  APT prefers trusty-updates
  APT policy: (500, 'trusty-updates'), (500, 'trusty-security'), (500, 
'trusty'), (100, 'trusty-backports')
Architecture: amd64 (x86_64)
Foreign Architectures: i386

Kernel: Linux 3.13.0-2-generic (SMP w/1 CPU core)
Locale: LANG=en_US.UTF-8, LC_CTYPE=en_US.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/dash
diff -Nru gss-1.0.2/debian/control gss-1.0.2/debian/control
--- gss-1.0.2/debian/control	2013-11-03 16:05:48.000000000 -0500
+++ gss-1.0.2/debian/control	2014-01-14 22:59:29.000000000 -0500
@@ -3,9 +3,9 @@
 Priority: extra
 Maintainer: Debian GSS Team <help-...@gnu.org>
 Uploaders: Simon Josefsson <si...@josefsson.org>, Russ Allbery <r...@debian.org>
-Build-Depends: debhelper (>= 7), cdbs, autotools-dev,
+Build-Depends: debhelper (>= 7), cdbs, dh-autoreconf,
  libshishi-dev (>= 0.0.42), texinfo, texlive-latex-base,
- valgrind [amd64 i386 powerpc], gtk-doc-tools
+ valgrind [amd64 i386 powerpc], gtk-doc-tools, help2man
 Standards-Version: 3.9.4
 Vcs-Git: git://gitorious.org/gss/gss-dpkg.git
 Vcs-Browser: https://www.gitorious.org/gss/gss-dpkg/
diff -Nru gss-1.0.2/debian/patches/disable-Werror.patch gss-1.0.2/debian/patches/disable-Werror.patch
--- gss-1.0.2/debian/patches/disable-Werror.patch	1969-12-31 19:00:00.000000000 -0500
+++ gss-1.0.2/debian/patches/disable-Werror.patch	2014-01-14 14:25:29.000000000 -0500
@@ -0,0 +1,11 @@
+--- a/configure.ac
++++ b/configure.ac
+@@ -24,7 +24,7 @@
+ AC_CONFIG_AUX_DIR([build-aux])
+ AC_CONFIG_MACRO_DIR([m4])
+ AC_CONFIG_HEADERS(config.h)
+-AM_INIT_AUTOMAKE([1.10 -Wall -Werror -Wno-override])
++AM_INIT_AUTOMAKE([1.10 -Wall -Wno-override])
+ AM_SILENT_RULES([yes])
+ 
+ # Library code modified:                              REVISION++
diff -Nru gss-1.0.2/debian/patches/series gss-1.0.2/debian/patches/series
--- gss-1.0.2/debian/patches/series	1969-12-31 19:00:00.000000000 -0500
+++ gss-1.0.2/debian/patches/series	2014-01-14 14:25:11.000000000 -0500
@@ -0,0 +1 @@
+disable-Werror.patch
diff -Nru gss-1.0.2/debian/rules gss-1.0.2/debian/rules
--- gss-1.0.2/debian/rules	2013-11-03 16:03:20.000000000 -0500
+++ gss-1.0.2/debian/rules	2014-01-14 14:20:30.000000000 -0500
@@ -4,6 +4,7 @@
 
 include /usr/share/cdbs/1/rules/debhelper.mk
 include /usr/share/cdbs/1/class/autotools.mk
+include /usr/share/cdbs/1/rules/autoreconf.mk
 
 DEB_CONFIGURE_EXTRA_FLAGS = --with-po-suffix --with-packager=Debian --with-packager-version=$(DEB_VERSION) --with-packager-bug-reports=http://bugs.debian.org/ --enable-gtk-doc
 

Reply via email to