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.000000000 +0000 +++ b/debian/changelog 2016-12-15 10:27:01.000000000 +0000 @@ -1,3 +1,9 @@ +openmpi (2.0.2~git.20161225-7) UNRELEASED; urgency=medium + + * Fix opal_fifo test. Closes: 848218. + + -- Thibaut Jean-Claude Paumard <thib...@plummer.debian.org> Thu, 15 Dec 2016 10:27:01 +0000 + 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.000000000 +0000 +++ b/debian/patches/opal_fifo.patch 2016-12-15 12:05:45.355062390 +0000 @@ -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 <thib...@debian.org> +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.000000000 +0000 +++ b/debian/patches/series 2016-12-15 10:25:38.000000000 +0000 @@ -5,3 +5,4 @@ build_hurd link-libfabric.patch pkgconfig-vars.patch +opal_fifo.patch