Package: libbsd
Version: 0.6.0
Severity: normal
Tags: patch

Dear Maintainer,

Currently libbsd FTBFS when compiled in new architectures that is not
supported on the outdated package config files.

I just created this patch that updates the config files before building,
removing some logic from the rules file, as suggested in:

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


-- 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: libbsd-0.6.0/debian/control
===================================================================
--- libbsd-0.6.0.orig/debian/control	2014-03-04 03:24:48.000000000 +0000
+++ libbsd-0.6.0/debian/control	2014-05-22 21:17:09.000000000 +0000
@@ -4,7 +4,7 @@
 Maintainer: Guillem Jover <[email protected]>
 Vcs-Browser: http://git.hadrons.org/?p=debian/pkgs/libbsd.git
 Vcs-Git: git://git.hadrons.org/git/debian/pkgs/libbsd.git
-Build-Depends: dpkg-dev (>= 1.15.7), debhelper (>= 9)
+Build-Depends: dpkg-dev (>= 1.15.7), debhelper (>= 9), dh-autoreconf
 Standards-Version: 3.9.5
 Homepage: http://libbsd.freedesktop.org/
 
Index: libbsd-0.6.0/debian/rules
===================================================================
--- libbsd-0.6.0.orig/debian/rules	2014-03-02 05:31:31.000000000 +0000
+++ libbsd-0.6.0/debian/rules	2014-05-22 21:16:56.000000000 +0000
@@ -24,6 +24,7 @@
 
 config.status: configure
 	dh_testdir
+	dh_autoreconf
 
 	./configure \
 		CPPFLAGS="$(CPPFLAGS)" \
@@ -54,6 +55,7 @@
 clean:
 	dh_testdir
 	dh_testroot
+	dh_autoreconf_clean
 
 	[ ! -f Makefile ] || $(MAKE) distclean
 

Reply via email to