Bug#848218: openmpi FTBFS on ppc64el

2016-12-15 Thread Thibaut Paumard
Control: tags -1 +patch

Le 15/12/2016 à 11:31, Thibaut Paumard a écrit :
> Currently building with this on the porterbox, I will provide the patch
> if it works.

attached
diff -urN a/debian/changelog b/debian/changelog
--- a/debian/changelog	2016-12-13 07:10:17.0 +
+++ b/debian/changelog	2016-12-15 10:27:01.0 +
@@ -1,3 +1,9 @@
+openmpi (2.0.2~git.20161225-7) UNRELEASED; urgency=medium
+
+  * Fix opal_fifo test. Closes: 848218.
+
+ -- Thibaut Jean-Claude Paumard   Thu, 15 Dec 2016 10:27:01 +
+
 openmpi (2.0.2~git.20161225-6) unstable; urgency=medium
 
   * More hurd fixes: man pages for oshrun need to be conditional.
diff -urN a/debian/patches/opal_fifo.patch b/debian/patches/opal_fifo.patch
--- a/debian/patches/opal_fifo.patch	1970-01-01 00:00:00.0 +
+++ b/debian/patches/opal_fifo.patch	2016-12-15 12:05:45.355062390 +
@@ -0,0 +1,23 @@
+Description: fix test-suite to build on ppc64el
+ Test suite hangs on ppc64el. This is due to a bug in test/class/opal_fifo.c.
+ thread_test() must end with pthread_exit(NULL), not return NULL.
+Author: Thibaut Paumard 
+Origin: Vendor
+Bug-Debian: https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=848218
+Forwarded: no
+Last-Update: 2016-12-15
+---
+This patch header follows DEP-3: http://dep.debian.net/deps/dep3/
+Index: openmpi-2.0.2~git.20161225/test/class/opal_fifo.c
+===
+--- openmpi-2.0.2~git.20161225.orig/test/class/opal_fifo.c
 openmpi-2.0.2~git.20161225/test/class/opal_fifo.c
+@@ -62,7 +62,7 @@ static void *thread_test (void *arg) {
+ printf ("Atomics thread finished. Time: %d s %d us %d nsec/poppush\n", (int) total.tv_sec,
+ (int)total.tv_usec, (int)(timing / 1e-9));
+ 
+-return NULL;
++pthread_exit(NULL);
+ }
+ 
+ static void *thread_test_exhaust (void *arg) {
diff -urN a/debian/patches/series b/debian/patches/series
--- a/debian/patches/series	2016-12-13 07:10:17.0 +
+++ b/debian/patches/series	2016-12-15 10:25:38.0 +
@@ -5,3 +5,4 @@
 build_hurd
 link-libfabric.patch
 pkgconfig-vars.patch
+opal_fifo.patch


Bug#848218: openmpi FTBFS on ppc64el

2016-12-15 Thread Thibaut Paumard
Nailed it:

thread_test() in test/class/opal_fifo.c must end with pthread_exit(NULL)
instead of return NULL.

Currently building with this on the porterbox, I will provide the patch
if it works.

Regards, Thibaut.

Le 15/12/2016 à 10:32, Thibaut Paumard a écrit :
> Hi,
> 
> I confirm that the package build fine if the tests are deactivated, but
> I can't check whether it is usable as I can't install the resutling
> packages in the chroot on the porterbox.
> 
> Kind regards, Thibaut.
> 
> Le 15/12/2016 à 09:54, Thibaut Paumard a écrit :
>> Source: openmpi
>> Version: 2.0.2~git.20161225-6
>> Severity: serious
>> Justification: fails to build from source (but built successfully in the
>> past)
>>
>> Dear maintainers,
>>
>> openmpi fails to build on ppc64el (a release architecture).
>>
>> The build fails in the test suite. See:
>> https://buildd.debian.org/status/fetch.php?pkg=openmpi=ppc64el=2.0.2%7Egit.20161225-6=1481633280
>>
>> Naturally this bug prevents dependent packages from building, and hence
>> from migrating to stretch.
>>
>> With the soft freeze due on Jan. 5th, fixing this is a rather pressing
>> matter.
>>
>> Regards, Thibaut.
>>
> 


-- 
* Dr Thibaut Paumard   | LESIA/CNRS - Table équatoriale (bât. 5)   *
* Tel: +33 1 45 07 78 60   | Observatoire de Paris - Section de Meudon *
* Fax: +33 1 45 07 79 17   | 5, Place Jules Janssen*
* thibaut.paum...@obspm.fr | 92195 MEUDON CEDEX (France)   *



smime.p7s
Description: Signature cryptographique S/MIME


Bug#848218: openmpi FTBFS on ppc64el

2016-12-15 Thread Thibaut Paumard
Hi,

I confirm that the package build fine if the tests are deactivated, but
I can't check whether it is usable as I can't install the resutling
packages in the chroot on the porterbox.

Kind regards, Thibaut.

Le 15/12/2016 à 09:54, Thibaut Paumard a écrit :
> Source: openmpi
> Version: 2.0.2~git.20161225-6
> Severity: serious
> Justification: fails to build from source (but built successfully in the
> past)
> 
> Dear maintainers,
> 
> openmpi fails to build on ppc64el (a release architecture).
> 
> The build fails in the test suite. See:
> https://buildd.debian.org/status/fetch.php?pkg=openmpi=ppc64el=2.0.2%7Egit.20161225-6=1481633280
> 
> Naturally this bug prevents dependent packages from building, and hence
> from migrating to stretch.
> 
> With the soft freeze due on Jan. 5th, fixing this is a rather pressing
> matter.
> 
> Regards, Thibaut.
> 



Bug#848218: openmpi FTBFS on ppc64el

2016-12-15 Thread Thibaut Paumard
Source: openmpi
Version: 2.0.2~git.20161225-6
Severity: serious
Justification: fails to build from source (but built successfully in the
past)

Dear maintainers,

openmpi fails to build on ppc64el (a release architecture).

The build fails in the test suite. See:
https://buildd.debian.org/status/fetch.php?pkg=openmpi=ppc64el=2.0.2%7Egit.20161225-6=1481633280

Naturally this bug prevents dependent packages from building, and hence
from migrating to stretch.

With the soft freeze due on Jan. 5th, fixing this is a rather pressing
matter.

Regards, Thibaut.