Package: sfftobmp
Version: 3.1.3-3
Severity: normal
Tags: patch
User: debian-de...@lists.debian.org
Usertags: autoreconf
User: debian-powe...@lists.debian.org
Usertags: ppc64el

The package sfftobmp fails to build on ppc64el, as on new architectures, because
the config.{guess,sub} files are out of date, and are not updated during the
build.

I just created a patch that enables it to be built on ppc64el. 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

Also, since the package doesn't have the NEWS, ChangeLog, AUTHORS and other
files, I marked it as foreign, following the following documentation:

https://wiki.debian.org/AutoMake
http://www.gnu.org/software/automake/manual/html_node/Public-Macros.html

Thank you,
Breno


-- 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.UTF-8, LC_CTYPE=en_US.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/dash
Index: sfftobmp-3.1.3/configure.ac
===================================================================
--- sfftobmp-3.1.3.orig/configure.ac	2006-10-24 21:00:26.000000000 +0000
+++ sfftobmp-3.1.3/configure.ac	2014-06-04 19:56:40.000000000 +0000
@@ -5,7 +5,7 @@
 AC_INIT(sfftobmp, 2.3, peter.schae...@gmx.de)
 AC_CONFIG_AUX_DIR(config)
 
-AM_INIT_AUTOMAKE(sff, 2.3,peter.schae...@gmx.de)
+AM_INIT_AUTOMAKE([foreign])
 
 AC_CONFIG_SRCDIR([src/main.cpp])
 AM_CONFIG_HEADER([src/config.h])
Index: sfftobmp-3.1.3/debian/control
===================================================================
--- sfftobmp-3.1.3.orig/debian/control	2013-06-04 07:00:59.000000000 +0000
+++ sfftobmp-3.1.3/debian/control	2014-06-04 19:56:51.000000000 +0000
@@ -2,7 +2,7 @@
 Section: graphics
 Priority: optional
 Maintainer: Olly Betts <o...@survex.com>
-Build-Depends: debhelper (>= 9),
+Build-Depends: debhelper (>= 9), dh-autoreconf,
  libjpeg-dev, libtiff5-dev, libboost-filesystem-dev
 Standards-Version: 3.9.4
 Homepage: http://sfftools.sourceforge.net/
Index: sfftobmp-3.1.3/debian/rules
===================================================================
--- sfftobmp-3.1.3.orig/debian/rules	2013-06-04 07:25:04.000000000 +0000
+++ sfftobmp-3.1.3/debian/rules	2014-06-04 19:56:40.000000000 +0000
@@ -3,7 +3,7 @@
 export CPPFLAGS := $(shell dpkg-buildflags --get CPPFLAGS) -D_FILE_OFFSET_BITS=64
 
 %:
-	dh $@
+	dh $@ --with autoreconf
 
 override_dh_auto_configure:
 	dh_auto_configure

Reply via email to