Package: ufraw
Version: 0.19.2-2
Severity: normal
Tags: patch
User: [email protected]
Usertags: ppc64el
User: [email protected]
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:
configure: WARNING: unrecognized options: --enable-maintainer-mode,
--with-exiv2
./config.guess: unable to guess system type
This script, last modified 2012-02-10, has failed to recognize
the operating system you are using. It is advised that you
download the most up to date version of the config scripts from
The full log could be found at
I created this patch that call autoreconf to updates the autotool files
during
the build, as suggest by the following wiki:
....
configure: error: cannot guess build type; you must specify one
make: *** [config-stamp] Error 1
dpkg-buildpackage: error: debian/rules build gave error exit status 2
This issue and the solution proposed here are reported at:
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: ufraw-0.19.2/debian/control
===================================================================
--- ufraw-0.19.2.orig/debian/control
+++ ufraw-0.19.2/debian/control
@@ -2,7 +2,7 @@ Source: ufraw
Section: graphics
Priority: optional
Maintainer: Hubert Chathi <[email protected]>
-Build-Depends: debhelper (>= 5), libgimp2.0-dev (>= 2.2), libjpeg8-dev | libjpeg-dev, liblcms-dev, libtiff5-dev | libtiff-dev, libexiv2-dev (>= 0.14), perl, libbz2-dev, zlib1g-dev, libgtkimageview-dev, liblensfun-dev (>= 0.2.5)
+Build-Depends: debhelper (>= 5), libgimp2.0-dev (>= 2.2), libjpeg8-dev | libjpeg-dev, liblcms-dev, libtiff5-dev | libtiff-dev, libexiv2-dev (>= 0.14), perl, libbz2-dev, zlib1g-dev, libgtkimageview-dev, liblensfun-dev (>= 0.2.5), dh-autoreconf
Standards-Version: 3.8.0
Package: ufraw
Index: ufraw-0.19.2/debian/rules
===================================================================
--- ufraw-0.19.2.orig/debian/rules
+++ ufraw-0.19.2/debian/rules
@@ -20,6 +20,7 @@ endif
clean:
dh_testdir
dh_testroot
+ dh_autoreconf_clean
rm -f build-stamp configure-stamp
#test -r /usr/share/misc/config.sub && \
@@ -52,6 +53,7 @@ clean:
config: config-stamp
config-stamp: configure
dh_testdir
+ dh_autoreconf
chmod +x configure
CFLAGS="$(CFLAGS)" CXXFLAGS="$(CFLAGS)" \
./configure --enable-maintainer-mode \