Bug#733085: blocking the ppc64el architecture bootstrap""

2014-11-04 Thread Paulo Flabiano Smorigo
Dear maintainer,

I attached an updated patch that can be applied with the debian source.

Same approach as before, just added autoreconf. Tested and it's fine.

-- 
Paulo Flabiano Smorigo
IBM Linux Technology Center
diff --git a/debian/control b/debian/control
index fcf95a4..3670f12 100644
--- a/debian/control
+++ b/debian/control
@@ -2,7 +2,7 @@ Source: elk
 Section: devel
 Priority: optional
 Maintainer: Sam Hocevar 
-Build-Depends: debhelper (>= 8.0), groff, libelfg0-dev, libx11-dev, 
libxext-dev, libxmu-dev, libxt-dev, libice-dev, libsm-dev, libmotif-dev, 
libgdbm-dev, libxaw7-dev
+Build-Depends: debhelper (>= 8.0), groff, libelfg0-dev, libx11-dev, 
libxext-dev, libxmu-dev, libxt-dev, libice-dev, libsm-dev, libmotif-dev, 
libgdbm-dev, libxaw7-dev, dh-autoreconf
 Standards-Version: 3.9.2
 
 Package: elk
diff --git a/debian/rules b/debian/rules
index 7bf3985..73715aa 100755
--- a/debian/rules
+++ b/debian/rules
@@ -6,6 +6,7 @@
 configure: configure-stamp
 configure-stamp:
dh_testdir
+   dh_autoreconf
./configure --prefix=/usr --mandir=/usr/share/man
touch configure-stamp
 
@@ -20,6 +21,7 @@ clean:
dh_testroot
rm -f build-stamp configure-stamp
[ ! -f Makefile ] || $(MAKE) -i distclean
+   dh_autoreconf_clean
dh_clean
 
 install: build


Bug#756525: black-box: update config.{sub, guess} to fix FTBFS for ppc64el port"

2014-10-30 Thread Paulo Flabiano Smorigo
Dear Maintainer,

Can you please consider the patch from Ravi in order to build this
package for all archs?

Currently, black-box is failing to build for ppc64el and arm64:
https://buildd.debian.org/status/package.php?p=black-box&suite=sid

Thanks in advance!
-- 
Paulo Flabiano Smorigo
IBM Linux Technology Center


-- 
To UNSUBSCRIBE, email to debian-bugs-dist-requ...@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org



Bug#733085: blocking the ppc64el architecture bootstrap"

2014-10-28 Thread Paulo Flabiano Smorigo
On Mon, 25 Aug 2014 05:27:48 +0200 Aurelien Jarno  wrote:
> Dear maintainer,
> 
> The ppc64el architecture has been added to the Debian archive. Your
> package elk fails to build as reported in bug #733085 and
> the build log is available on [1].
> 
> It would be very nice if you can upload a fixed version of this package.
> Don't hesitate to ask questions if you need help to fix this bug. If
> you lack time for that, I can also proceed with an NMU.
> 
> Thanks,
> Aurelien
> 
> [1] https://buildd.debian.org/status/logs.php?pkg=elk&arch=ppc64el
> 
> -- 
> Aurelien Jarno  GPG: 4096R/1DDD8C9B
> aurel...@aurel32.net http://www.aurel32.net
> 
> 

Dear maintainer,

elk is successfully built for all arch except arm64 and ppc64el:
https://buildd.debian.org/status/package.php?p=elk

Can you please take a look in this patch in order to enable elk package
for all archs? :)

Thanks in advance!
-- 
Paulo Flabiano Smorigo
IBM Linux Technology Center


-- 
To UNSUBSCRIBE, email to debian-bugs-dist-requ...@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org



Bug#758747: silly: autoreconf to update config.{sub, guess} and aclocal.m4 to fix FTBFS for new arches"

2014-10-28 Thread Paulo Flabiano Smorigo
On Tue, 28 Oct 2014 03:33:07 + Wookey  wrote:
> Package: src:silly
> Followup-For: Bug #758747
> 
> silly is also FTBFS on arm64:
> https://buildd.debian.org/status/fetch.php?pkg=silly&arch=arm64&ver=0.1.0-3&stamp=1408660002
> 
> I have updated this patch a little to not need automake1.11 or the
> NEWS & README creation just to keep autofoo happy. It tests fine on
> arm64 and is almost certainly fine on ppc64el too.
> 
> The package could use some more updating of configure.ac to modern
> macros to remove warnings and future-proof, but the packages come out
> correctly so it'll do as it is.
> 
> As this bug has been around for a couple of months and the freeze
> approaches fast I have NMUed this to delayed/4. Hope that's OK.

Dear maintainer,

silly is still failing to build both for ppc64el and arm64 as shown in:
https://buildd.debian.org/status/package.php?p=silly&suite=sid

please consider this patch in order to be able to build
silly in all architectures.

Thanks in advance,
--
Paulo Flabiano Smorigo
IBM Linux Technology Center


-- 
To UNSUBSCRIBE, email to debian-bugs-dist-requ...@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org



Bug#765753: ploop: Add casts in order to build for ppc64el

2014-10-17 Thread Paulo Flabiano Smorigo
Package: src:ploop
Version: 1.12.1-1
Severity: normal
Tags: patch
User: debian-powe...@lists.debian.org
Usertags: ppc64el

Dear Maintainer,

ploop is not building for ppc64el [1] because of some casting problems [2].
Using the attached patch I managed to build it for ppc64el.

[1] https://wiki.debian.org/ppc64el
[2] https://buildd.debian.org/status/package.php?p=ploop&suite=sid

Thanks,

-- 
Paulo Flabiano Smorigo
IBM Linux Technology Center
diff --git a/lib/balloon.c b/lib/balloon.c
index a392bdd..6110c9e 100644
--- a/lib/balloon.c
+++ b/lib/balloon.c
@@ -860,7 +860,7 @@ static int ploop_trim(const char *mount_point, __u64 
minlen_b, __u64 cluster)
range.minlen = MAX(MAX_DISCARD_CLU * cluster, minlen_b);
 
for (; range.minlen >= minlen_b; range.minlen /= 2) {
-   ploop_log(1, "Call FITRIM, for minlen=%lld", range.minlen);
+   ploop_log(1, "Call FITRIM, for minlen=%lld", (unsigned long 
long)range.minlen);
ret = ioctl(fd, FITRIM, &range);
if (ret < 0) {
if (trim_stop)
@@ -894,7 +894,8 @@ static int blk_discard(int fd, __u32 cluster, __u64 start, 
__u64 len)
if (start % S2B(cluster) && len > range[1])
range[1] -= start % S2B(cluster);
 
-   ploop_log(1, "Call BLKDISCARD start=%llu length=%llu ", 
range[0], range[1]);
+   ploop_log(1, "Call BLKDISCARD start=%llu length=%llu ",
+   (unsigned long long)range[0], (unsigned long 
long)range[1]);
ret = ioctl_device(fd, BLKDISCARD, range);
if (ret)
return ret;
@@ -918,9 +919,11 @@ static int __ploop_discard(struct ploop_disk_images_data 
*di, int fd,
 
if (blk_discard_range != NULL)
ploop_log(0, "Discard %s start=%llu length=%llu",
-   device, blk_discard_range[0], 
blk_discard_range[1]);
+   device, (unsigned long 
long)blk_discard_range[0],
+   (unsigned long long)blk_discard_range[1]);
else
-   ploop_log(3, "Trying to find free extents bigger than %llu 
bytes", minlen_b);
+   ploop_log(3, "Trying to find free extents bigger than %llu 
bytes",
+   (unsigned long long)minlen_b);
 
if (ploop_lock_di(di))
return SYSEXIT_LOCK;
diff --git a/lib/balloon_util.c b/lib/balloon_util.c
index 798792b..88a921d 100644
--- a/lib/balloon_util.c
+++ b/lib/balloon_util.c
@@ -273,14 +273,14 @@ static int fiemap_extent_process(__u32 clu, __u32 len, 
__u32 *rmap, __u32 rlen,
ploop_err(0,
"Image corrupted: L2[%u] == %u 
(max=%llu)",
clu + j - l2_slot, delta->l2[j],
-   (rlen - 1) * B2S(cluster));
+   (long long unsigned)(rlen - 1) * 
B2S(cluster));
return(SYSEXIT_PLOOPFMT);
}
if (ridx < delta->l1_size) {
ploop_err(0,
"Image corrupted: L2[%u] == %u 
(min=%llu)",
clu + j - l2_slot, delta->l2[j],
-   delta->l1_size * B2S(cluster));
+   (long long unsigned)delta->l1_size * 
B2S(cluster));
return(SYSEXIT_PLOOPFMT);
}
 
@@ -538,14 +538,14 @@ static int range_build_rmap(__u32 iblk_start, __u32 
iblk_end,
ploop_err(0,
"Image corrupted: L2[%u] == %u (max=%llu) (2)",
clu, delta->l2[l2_slot],
-   (rlen - 1) * B2S(cluster));
+   (long long unsigned)(rlen - 1) * B2S(cluster));
return SYSEXIT_PLOOPFMT;
}
if (ridx && ridx < delta->l1_size) {
ploop_err(0,
"Image corrupted: L2[%u] == %u (min=%llu) (2)",
clu, delta->l2[l2_slot],
-   delta->l1_size * B2S(cluster));
+   (long long unsigned)delta->l1_size * 
B2S(cluster));
return SYSEXIT_PLOOPFMT;
}
 
diff --git a/lib/check.c b/lib/check.c
index fd986bf..f433fd9 100644
--- a/lib/check.c
+++ b/lib/check.c
@@ -316,7 +316,8 @@ static int check_and_repair_sparse(const char *image, int 
*fd, __u64 cluster, in
ploop_err(0, "Delta file %s contains 

Bug#760395: binutils: add powerpc target for ppc64el

2014-09-03 Thread Paulo Flabiano Smorigo
Package: src:binutils
Version: 2.24.51.20140818
Severity: normal
Tags: patch
User: debian-powe...@lists.debian.org
Usertags: ppc64el

Dear Maintainer,

This patch adds a target for ppc64el necessary for some projects in
order to cross compile in 32-bit BE.

Thanks,

-- 
Paulo Flabiano Smorigo
IBM Linux Technology Center
diff --git a/debian/rules b/debian/rules
index ab84d1c..d793083 100755
--- a/debian/rules
+++ b/debian/rules
@@ -272,6 +272,9 @@ endif
 ifeq ($(DEB_TARGET_ARCH),ppc64)
CONFARGS += --enable-targets=powerpc-linux-gnu
 endif
+ifeq ($(DEB_TARGET_ARCH),ppc64el)
+   CONFARGS += --enable-targets=powerpc-linux-gnu
+endif
 ifeq ($(DEB_TARGET_ARCH),s390)
CONFARGS += --enable-targets=s390x-linux-gnu
 endif


Bug#710501: avinfo build with BISON=NONE

2014-09-02 Thread Paulo Flabiano Smorigo
Hi,

https://buildd.debian.org/status/package.php?p=avinfo&suite=sid

I'm enabling some packages for ppc64el [1] and build avinfo with a small
change in config.mk. I don't know if this is the correct way to fix this
issue but it works. :)

Can we go with this fix in order to fix this package?

[1] https://wiki.debian.org/ppc64el

-- 
Paulo Flabiano Smorigo
IBM Linux Technology Center
diff -Nru avinfo-1.0.a15+20090102/config.mk avinfo-1.0.a15+20090102/config.mk
--- avinfo-1.0.a15+20090102/config.mk   2014-09-02 19:52:20.0 +
+++ avinfo-1.0.a15+20090102/config.mk   2014-09-02 19:52:20.0 +
@@ -8,8 +8,8 @@
 
 CC=gcc
 #CFLAGS=-O2 -Wall
-BISON=bison
-#BISON=NONE
+#BISON=bison
+BISON=NONE
 
 # - Installation options --


Bug#751792: perftest: enable build on ppc64el

2014-09-02 Thread Paulo Flabiano Smorigo
Dear Maintainer,

We still need this patch in order to build perftest on ppc64el.

It would be very nice if you can upload a fixed version of this
package.

Thanks!
-- 
Paulo Flabiano Smorigo
IBM Linux Technology Center


-- 
To UNSUBSCRIBE, email to debian-bugs-dist-requ...@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org



Bug#760201: (steghide_0.5.1-9/avr32): FTBFS: Outdated config.{sub,guess}

2014-09-01 Thread Paulo Flabiano Smorigo
Source: steghide
Followup-For: Bug #535842
User: debian-powe...@lists.debian.org
Usertags: ppc64el
User: debian-de...@lists.debian.org
Usertags: autoreconf
X-Debbugs-Cc: bren...@br.ibm.com, pfsmor...@gmail.com

Dear Maintainer,

I did the autoreconf patch following the instructions given by Breno.

Thanks,
Paulo Flabiano Smorigo
pfsmor...@linux.vnet.ibm.com

-- System Information:
Debian Release: jessie/sid
  APT prefers unstable
  APT policy: (500, 'unstable')
Architecture: ppc64el (ppc64le)

Kernel: Linux 3.13-1-powerpc64le (SMP w/16 CPU cores)
Locale: LANG=C, LC_CTYPE=C (charmap=ANSI_X3.4-1968)
Shell: /bin/sh linked to /bin/dash
diff -Nru steghide-0.5.1/debian/changelog steghide-0.5.1/debian/changelog
--- steghide-0.5.1/debian/changelog	2014-09-01 20:04:30.0 +
+++ steghide-0.5.1/debian/changelog	2014-09-01 20:04:31.0 +
@@ -1,3 +1,9 @@
+steghide (0.5.1-9ppc64el1) UNRELEASED; urgency=medium
+
+  * autoreconf to enable new architectures.
+
+ -- Paulo Flabiano Smorigo   Mon, 01 Sep 2014 19:02:23 +
+
 steghide (0.5.1-9) unstable; urgency=low
 
   * Applied patch from Cyril Brulebois 
-Build-Depends: debhelper (>= 4.0.0), libmcrypt-dev, libmhash-dev, zlib1g-dev, libtool, libjpeg-dev
+Build-Depends: debhelper (>= 4.0.0), libmcrypt-dev, libmhash-dev, zlib1g-dev, libtool, libjpeg-dev, dh-autoreconf
 Standards-Version: 3.7.2
 
 Package: steghide
diff -Nru steghide-0.5.1/debian/rules steghide-0.5.1/debian/rules
--- steghide-0.5.1/debian/rules	2014-09-01 20:04:30.0 +
+++ steghide-0.5.1/debian/rules	2014-09-01 20:04:31.0 +
@@ -8,6 +8,7 @@
 configure: configure-stamp
 configure-stamp:
 	dh_testdir
+	dh_autoreconf
 	./configure --prefix=/usr --mandir=\$${prefix}/share/man --infodir=\$${prefix}/share/info
 	touch configure-stamp
 
@@ -20,6 +21,7 @@
 clean:
 	dh_testdir
 	dh_testroot
+	dh_autoreconf_clean
 	rm -f build-stamp configure-stamp
 	-rm config.status config.cache config.log
 


Bug#707409: is blocking ppc64el architecture bootstrap

2014-08-28 Thread Paulo Flabiano Smorigo
Dear maintainer,

The ppc64el architecture has been added to the Debian archive. Your
package libdbusmenu fails to build because of the same problem as
reported in #707409 and #709690.

I test Andreas Cadhalpun changes and worked fine in ppc64el. It would be
very nice if you can upload a fixed version of this package.

Thanks,
--
Paulo Flabiano Smorigo
IBM Linux Technology Center


-- 
To UNSUBSCRIBE, email to debian-bugs-dist-requ...@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org



Bug#709690: Bug#707409 is blocking some packages in ppc64el architecture

2014-08-28 Thread Paulo Flabiano Smorigo
Dear maintainer,

The ppc64el architecture has been added to the Debian archive. Your
package libdbusmenu fails to build because of the same problem as
reported in #707409 and #709690.

I test Andreas Cadhalpun changes and worked fine in ppc64el. It would be
very nice if you can upload a fixed version of this package.

Thanks,
--
Paulo Flabiano Smorigo
IBM Linux Technology Center


-- 
To UNSUBSCRIBE, email to debian-bugs-dist-requ...@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org



Bug#759505: postgis: add support for ppc64el architecture

2014-08-27 Thread Paulo Flabiano Smorigo
Source: postgis
Severity: normal
Tags: patch
User: debian-powe...@lists.debian.org
Usertags: ppc64el

Dear Maintainer,

I would like to add support for this package on the ppc64el architecture.
I created a patch that adds initial support for it.  I hope it covers all the
basic architecture dependent stuff.  Let me know if you need something else.

Thank you,
Paulo

-- System Information:
Debian Release: jessie/sid
  APT prefers unstable
  APT policy: (500, 'unstable')
Architecture: ppc64el (ppc64le)

Kernel: Linux 3.13-1-powerpc64le (SMP w/16 CPU cores)
Locale: LANG=C, LC_CTYPE=C (charmap=ANSI_X3.4-1968)
Shell: /bin/sh linked to /bin/dash
diff -Nru postgis-2.1.3+dfsg/debian/changelog postgis-2.1.3+dfsg/debian/changelog
--- postgis-2.1.3+dfsg/debian/changelog	2014-08-14 13:33:43.0 +
+++ postgis-2.1.3+dfsg/debian/changelog	2014-08-27 19:39:29.0 +
@@ -1,3 +1,10 @@
+postgis (2.1.3+dfsg-4ppc64el1) UNRELEASED; urgency=medium
+
+  * add -lm for liblwgeom to avoid linkage problem.
+  * enable ppc64el.
+
+ -- Paulo Flabiano Smorigo   Wed, 27 Aug 2014 19:38:55 +
+
 postgis (2.1.3+dfsg-4) unstable; urgency=low
 
   [ Bas Couwenberg ]
diff -Nru postgis-2.1.3+dfsg/debian/patches/add_lm_for_liblwgeom.patch postgis-2.1.3+dfsg/debian/patches/add_lm_for_liblwgeom.patch
--- postgis-2.1.3+dfsg/debian/patches/add_lm_for_liblwgeom.patch	1970-01-01 00:00:00.0 +
+++ postgis-2.1.3+dfsg/debian/patches/add_lm_for_liblwgeom.patch	2014-08-27 19:39:53.0 +
@@ -0,0 +1,19 @@
+commit 51cb683439e273261667b19df059522f47e76a25
+Author: Paulo Flabiano Smorigo 
+Date:   Wed Aug 27 14:57:15 2014 -0300
+
+add -lm
+
+Index: postgis-2.1.3+dfsg/liblwgeom/Makefile.in
+===
+--- postgis-2.1.3+dfsg.orig/liblwgeom/Makefile.in
 postgis-2.1.3+dfsg/liblwgeom/Makefile.in
+@@ -13,7 +13,7 @@
+ CC = @CC@
+ CPPFLAGS = @CPPFLAGS@
+ CFLAGS = @CFLAGS@ @PICFLAGS@ @WARNFLAGS@ @GEOS_CPPFLAGS@ @PROJ_CPPFLAGS@ @JSON_CPPFLAGS@
+-LDFLAGS = @LDFLAGS@ @GEOS_LDFLAGS@ -lgeos_c @PROJ_LDFLAGS@ -lproj @JSON_LDFLAGS@
++LDFLAGS = @LDFLAGS@ @GEOS_LDFLAGS@ -lgeos_c -lm @PROJ_LDFLAGS@ -lproj @JSON_LDFLAGS@
+ NUMERICFLAGS = @NUMERICFLAGS@
+ top_builddir = @top_builddir@
+ prefix = @prefix@
diff -Nru postgis-2.1.3+dfsg/debian/patches/enable_ppc64el.patch postgis-2.1.3+dfsg/debian/patches/enable_ppc64el.patch
--- postgis-2.1.3+dfsg/debian/patches/enable_ppc64el.patch	1970-01-01 00:00:00.0 +
+++ postgis-2.1.3+dfsg/debian/patches/enable_ppc64el.patch	2014-08-27 19:40:11.0 +
@@ -0,0 +1,20 @@
+commit d9821dae5f7960b78ed60d264d56c55a092cf4e1
+Author: Paulo Flabiano Smorigo 
+Date:   Wed Aug 27 14:36:38 2014 -0300
+
+elf64lppc
+
+Index: postgis-2.1.3+dfsg/macros/libtool.m4
+===
+--- postgis-2.1.3+dfsg.orig/macros/libtool.m4
 postgis-2.1.3+dfsg/macros/libtool.m4
+@@ -1352,6 +1352,9 @@ s390*-*linux*|s390*-*tpf*|sparc*-*linux*
+ 	  x86_64-*linux*)
+ 	LD="${LD-ld} -m elf_x86_64"
+ 	;;
++	  powerpc64le-*)
++	LD="${LD-ld} -m elf64lppc"
++		;;
+ 	  ppc*-*linux*|powerpc*-*linux*)
+ 	LD="${LD-ld} -m elf64ppc"
+ 	;;
diff -Nru postgis-2.1.3+dfsg/debian/patches/series postgis-2.1.3+dfsg/debian/patches/series
--- postgis-2.1.3+dfsg/debian/patches/series	2014-08-14 11:33:17.0 +
+++ postgis-2.1.3+dfsg/debian/patches/series	2014-08-27 19:39:59.0 +
@@ -8,3 +8,5 @@
 de-translation
 use-json-c
 postgres-9.4-fixes.patch
+add_lm_for_liblwgeom.patch
+enable_ppc64el.patch


Bug#757527: libpreludedb: run dh-autoreconf to update config.{sub, guess} and {libtool, aclocal}.m4

2014-08-08 Thread Paulo Flabiano Smorigo
Source: libpreludedb
Followup-For: Bug #744617
User: debian-powe...@lists.debian.org
Usertags: ppc64el
User: debian-de...@lists.debian.org
Usertags: autoreconf
X-Debbugs-Cc: bren...@br.ibm.com, pfsmor...@gmail.com

Dear Maintainer,

Following Matthias Klose  suggestion, here is a patch that
fix this bug.

Thanks in advance,
Paulo

-- System Information:
Debian Release: jessie/sid
  APT prefers unstable
  APT policy: (500, 'unstable')
Architecture: ppc64el (ppc64le)

Kernel: Linux 3.13-1-powerpc64le (SMP w/16 CPU cores)
Locale: LANG=C, LC_CTYPE=C (charmap=ANSI_X3.4-1968)
Shell: /bin/sh linked to /bin/dash
diff -Nru libpreludedb-1.0.0/debian/changelog libpreludedb-1.0.0/debian/changelog
--- libpreludedb-1.0.0/debian/changelog	2014-08-08 14:50:30.0 +
+++ libpreludedb-1.0.0/debian/changelog	2014-08-08 14:50:30.0 +
@@ -1,3 +1,11 @@
+libpreludedb (1.0.0-2.3) UNRELEASED; urgency=medium
+
+  * Non-maintainer upload.
+  * Add dh-autoreconf to fix FTBFS on ppc64el. Suggested by Matthias
+Klose (Closes: #744617).
+
+ -- Paulo Flabiano Smorigo   Fri, 08 Aug 2014 14:30:18 +
+
 libpreludedb (1.0.0-2.2) unstable; urgency=medium
 
   * Non-maintainer upload.
diff -Nru libpreludedb-1.0.0/debian/control libpreludedb-1.0.0/debian/control
--- libpreludedb-1.0.0/debian/control	2014-08-08 14:50:30.0 +
+++ libpreludedb-1.0.0/debian/control	2014-08-08 14:50:30.0 +
@@ -11,7 +11,8 @@
 libgnutls-dev(>= 1.2.9),
 libperl-dev,
 swig,
-python-all-dev (>= 2.6.6-3)
+python-all-dev (>= 2.6.6-3),
+	dh-autoreconf
 Standards-Version: 3.8.4
 
 Package: libpreludedb-dev
diff -Nru libpreludedb-1.0.0/debian/rules libpreludedb-1.0.0/debian/rules
--- libpreludedb-1.0.0/debian/rules	2014-08-08 14:50:30.0 +
+++ libpreludedb-1.0.0/debian/rules	2014-08-08 14:50:30.0 +
@@ -16,6 +16,7 @@
 configure: configure-stamp
 configure-stamp:
 	dh_testdir
+	dh_autoreconf
 	./configure --prefix=/usr --mandir=\$${prefix}/share/man --enable-gtk-doc=no --localstatedir=/var --sysconfdir=/etc --with-perl-installdirs=vendor
 	touch configure-stamp
 
@@ -41,6 +42,7 @@
 	rm -rf bindings/python/build
 	rm -f bindings/perl/PreludeDB.c
 	rm -f debian/libpreludedb-perl.install
+	dh_autoreconf_clean
 	dh_clean
 
 install: install-core $(PYVERS:%=install-python%)


Bug#755030: libibmad: add support for ppc64el binaries

2014-07-16 Thread Paulo Flabiano Smorigo
Source: libibmad
Severity: normal
Tags: patch
User: debian-powe...@lists.debian.org
Usertags: ppc64el

Dear Maintainer,

We are working to enable this package on Debian ppc64el. This patch
just add ppc64el as a valid binary platform.

The patched was tested and the build is fine in the new arch.

Thanks in advance!
Paulo


-- System Information:
Debian Release: jessie/sid
  APT prefers unstable
  APT policy: (500, 'unstable')
Architecture: ppc64el (ppc64le)

Kernel: Linux 3.13.0 (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
diff -Nru libibmad-1.3.11/debian/changelog libibmad-1.3.11/debian/changelog
--- libibmad-1.3.11/debian/changelog	2014-07-03 07:31:39.0 +
+++ libibmad-1.3.11/debian/changelog	2014-07-17 00:35:59.0 +
@@ -1,3 +1,9 @@
+libibmad (1.3.11-2.1) UNRELEASED; urgency=medium
+
+  * Add ppc64el architecture.
+
+ -- Paulo Flabiano Smorigo   Thu, 17 Jul 2014 00:35:45 +
+
 libibmad (1.3.11-2) unstable; urgency=medium
 
   * Upload to unstable.
diff -Nru libibmad-1.3.11/debian/control libibmad-1.3.11/debian/control
--- libibmad-1.3.11/debian/control	2014-07-03 07:21:50.0 +
+++ libibmad-1.3.11/debian/control	2014-07-17 00:36:26.0 +
@@ -11,7 +11,7 @@
 
 Package: libibmad-dev
 Section: libdevel
-Architecture: i386 ia64 amd64 powerpc
+Architecture: i386 ia64 amd64 powerpc ppc64el
 Depends: libibmad5 (= ${binary:Version}), ${misc:Depends}
 Description: Development files for libibmad
  libibmad provides low layer Infiniband functions for use by the
@@ -24,7 +24,7 @@
  needed for compiling.
 
 Package: libibmad5
-Architecture: i386 ia64 amd64 powerpc
+Architecture: i386 ia64 amd64 powerpc ppc64el
 Pre-Depends: ${misc:Pre-Depends}
 Depends: ${shlibs:Depends}, ${misc:Depends}
 Description: Infiniband Management Datagram (MAD) library


Bug#754132: libmcrypt: add autoreconf during the build to enable new architectures

2014-07-07 Thread Paulo Flabiano Smorigo
Package: libmcrypt
Severity: normal
Tags: patch
User: debian-powe...@lists.debian.org
Usertags: ppc64el

Dear Maintainer,

This is a simple patch that enables the build this package to call
autoreconf scripts. With this change, the package could be built on
the new ppc64el architecture. This patch follows the instructions at:
https://wiki.debian.org/qa.debian.org/FTBFS#A2014-01-21_using_dh-autoreconf_during_the_build

Thanks,
Paulo


-- System Information:
Debian Release: jessie/sid
  APT prefers unstable
  APT policy: (500, 'unstable')
Architecture: ppc64el (ppc64le)

Kernel: Linux 3.13.0 (SMP w/4 CPU cores)
Locale: LANG=C, LC_CTYPE=C (charmap=ANSI_X3.4-1968)
Shell: /bin/sh linked to /bin/dash
>From a844052193b29e0c726d9d145e586d42ba3a9707 Mon Sep 17 00:00:00 2001
From: Paulo Flabiano Smorigo 
Date: Mon, 7 Jul 2014 20:30:43 +
Subject: [PATCH] add autoreconf

---
 debian/rules | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/debian/rules b/debian/rules
index b2cf9ac..a9409e6 100755
--- a/debian/rules
+++ b/debian/rules
@@ -1,7 +1,7 @@
 #!/usr/bin/make -f
 
 %:
-	dh "$@"
+	dh "$@" --with autoreconf
 
 # Upstream bug: halfly ./configure finished directory tar.gz'd up as orig.tar.gz
 override_dh_auto_clean:
-- 
1.9.rc1



Bug#754126: libbsd: add autoreconf during the build to enable new architectures

2014-07-07 Thread Paulo Flabiano Smorigo
Package: libbsd
Severity: normal
Tags: patch
User: debian-powe...@lists.debian.org
Usertags: ppc64el

Dear Maintainer,

This is a simple patch that enables the build this package to call
autoreconf scripts. With this change, the package could be built on
the new ppc64el architecture. This patch follows the instructions at:
https://wiki.debian.org/qa.debian.org/FTBFS#A2014-01-21_using_dh-autoreconf_during_the_build

Thanks,
Paulo

-- System Information:
Debian Release: jessie/sid
  APT prefers unstable
  APT policy: (500, 'unstable')
Architecture: ppc64el (ppc64le)

Kernel: Linux 3.13.0 (SMP w/4 CPU cores)
Locale: LANG=C, LC_CTYPE=C (charmap=ANSI_X3.4-1968)
Shell: /bin/sh linked to /bin/dash
>From 55eb1b4ca25ae53dadaa573f150902928c0022f0 Mon Sep 17 00:00:00 2001
From: Paulo Flabiano Smorigo 
Date: Mon, 7 Jul 2014 19:08:05 +
Subject: [PATCH] add autoreconf

---
 debian/rules | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/debian/rules b/debian/rules
index 3e0d68f..13c0a0a 100755
--- a/debian/rules
+++ b/debian/rules
@@ -24,6 +24,7 @@ libdev := libbsd-dev
 
 config.status: configure
 	dh_testdir
+	dh_autoreconf
 
 	./configure \
 		CPPFLAGS="$(CPPFLAGS)" \
@@ -57,6 +58,7 @@ clean:
 
 	[ ! -f Makefile ] || $(MAKE) distclean
 
+	dh_autoreconf_clean
 	dh_clean
 
 install-arch: check-arch
-- 
1.9.rc1



Bug#753600: gupnp: add autoreconf during the build to enable new architectures

2014-07-03 Thread Paulo Flabiano Smorigo
Package: gupnp
Severity: normal
Tags: patch
User: debian-powe...@lists.debian.org
Usertags: autoreconf

Dear Maintainer,

This is a simple patch that enables the build this package to call
autoreconf scripts. With this change, the package could be built on
the new ppc64el architecture. This patch follows the instructions at:
https://wiki.debian.org/qa.debian.org/FTBFS#A2014-01-21_using_dh-autoreconf_during_the_build

Thanks,
Paulo

-- System Information:
Debian Release: jessie/sid
  APT prefers unstable
  APT policy: (500, 'unstable')
Architecture: ppc64el (ppc64le)

Kernel: Linux 3.13.0 (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
--- debian/rules-original	2014-05-27 15:20:00.59803 +
+++ debian/rules	2014-05-27 15:20:00.60802 +
@@ -3,6 +3,7 @@
 include /usr/share/cdbs/1/rules/debhelper.mk
 include /usr/share/cdbs/1/class/autotools.mk
 include /usr/share/cdbs/1/rules/utils.mk
+include /usr/share/cdbs/1/rules/autoreconf.mk
 
 export DEB_LDFLAGS_MAINT_APPEND += -Wl,--as-needed
 


Bug#753599: gssdp: add autoreconf during the build to enable new architectures

2014-07-03 Thread Paulo Flabiano Smorigo
Package: gssdp
Severity: normal
Tags: patch
User: debian-powe...@lists.debian.org
Usertags: autoreconf

Dear Maintainer,

This is a simple patch that enables the build this package to call
autoreconf scripts. With this change, the package could be built on
the new ppc64el architecture. This patch follows the instructions at:
https://wiki.debian.org/qa.debian.org/FTBFS#A2014-01-21_using_dh-autoreconf_during_the_build

Thanks,
Paulo


-- System Information:
Debian Release: jessie/sid
  APT prefers unstable
  APT policy: (500, 'unstable')
Architecture: ppc64el (ppc64le)

Kernel: Linux 3.13.0 (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
--- debian/rules-original	2014-05-27 15:07:02.04800 +
+++ debian/rules	2014-05-27 15:07:02.05800 +
@@ -3,6 +3,7 @@
 include /usr/share/cdbs/1/rules/debhelper.mk
 include /usr/share/cdbs/1/class/autotools.mk
 include /usr/share/cdbs/1/rules/utils.mk
+include /usr/share/cdbs/1/rules/autoreconf.mk
 
 export DEB_LDFLAGS_MAINT_APPEND += -Wl,--as-needed
 


Bug#753598: gsasl: add autoreconf during the build to enable new architectures

2014-07-03 Thread Paulo Flabiano Smorigo
Package: gsasl
Severity: normal
Tags: patch

Dear Maintainer,

This is a simple patch that enables the build this package to call
autoreconf scripts. With this change, the package could be built on
the new ppc64el architecture. This patch follows the instructions at:
https://wiki.debian.org/qa.debian.org/FTBFS#A2014-01-21_using_dh-autoreconf_during_the_build

Thanks,
Paulo


-- System Information:
Debian Release: jessie/sid
  APT prefers unstable
  APT policy: (500, 'unstable')
Architecture: ppc64el (ppc64le)

Kernel: Linux 3.13.0 (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
--- debian/rules-original	2014-05-27 14:08:37.73801 +
+++ debian/rules	2014-05-27 14:08:37.74801 +
@@ -2,6 +2,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_DH_STRIP_ARGS = --dbg-package=gsasl-dbg
 DEB_MAKE_CHECK_TARGET = check


Bug#748365: util-linux: missing ppc64le condition cause problem when install powerpc-utils

2014-05-16 Thread Paulo Flabiano Smorigo
Package: util-linux
Version: 2.20.1-5.6
Severity: normal
Tags: patch
Usertags: ppc64el

Dear Maintainer,

Now that we have a new arch called ppc64el, we need to add it to the
condition in debian/rules in order to avoid conflict with powerpc-utils.

Currently without this patch if we install powerpc-utils in a ppc64el
system, this will happens:

The following NEW packages will be installed:
  powerpc-utils
  0 upgraded, 1 newly installed, 0 to remove and 1492 not upgraded.
  Need to get 0 B/33.8 kB of archives.
  After this operation, 121 kB of additional disk space will be used.
  (Reading database ... 321350 files and directories currently
  installed.)
  Preparing to unpack .../powerpc-utils_1.1.3-24_ppc64el.deb ...
  Unpacking powerpc-utils (1.1.3-24) ...
  dpkg: error processing archive
  /var/cache/apt/archives/powerpc-utils_1.1.3-24_ppc64el.deb (--unpack):
   trying to overwrite '/usr/share/man/man8/clock.8.gz', which is also
   in package util-linux 2.20.1-5.

The attached patch solve the issue.

-- System Information:
Debian Release: jessie/sid
  APT prefers unstable
  APT policy: (500, 'unstable')
Architecture: ppc64el (ppc64le)

Kernel: Linux 3.13.0 (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

Versions of packages util-linux depends on:
ii  debconf [debconf-2.0]  1.5.52
ii  dpkg   1.17.6
ii  initscripts2.88dsf-45
ii  install-info   5.2.0.dfsg.1-2
ii  libblkid1  2.20.1-5.6
ii  libc6  2.18-0experimental1+updates.and.carlos.hack1
ii  libncursesw5   5.9+20140118-1
ii  libselinux12.2.2-1
ii  libslang2  2.2.4-16
ii  libtinfo5  5.9+20140118-1
ii  libuuid1   2.20.1-5.6
ii  lsb-base   4.1+Debian12
ii  tzdata 2013i-1
ii  zlib1g 1:1.2.8.dfsg-1

util-linux recommends no packages.

Versions of packages util-linux suggests:
pn  dosfstools  
ii  kbd 1.15.5-1
pn  util-linux-locales  

-- Configuration Files:
/etc/init.d/hwclock.sh changed [not included]

-- debconf information excluded
diff --git a/debian/rules b/debian/rules
index 86f4452..f134319 100755
--- a/debian/rules
+++ b/debian/rules
@@ -158,7 +158,7 @@ endif
 	fi
 ifeq ($(DEB_HOST_ARCH_OS),linux)
 	install -m 644 debian/mount.fstab debian/mount/usr/share/doc/mount/examples/fstab
-ifeq ($(arch),$(findstring $(arch),powerpc ppc64))
+ifeq ($(arch),$(findstring $(arch),powerpc ppc64 ppc64el))
 	mv -f debian/util-linux/sbin/fdisk debian/util-linux/sbin/ddisk
 	mv -f debian/util-linux/usr/share/man/man8/fdisk.8 debian/util-linux/usr/share/man/man8/ddisk.8
 else