[Debian-med-packaging] Bug#951984: tree-puzzle: FTBFS: mpi.h:322:57: error: static assertion failed: "MPI_Address was removed in MPI-3.0. Use MPI_Get_address instead."

Alberto Garcia berto at igalia.com
Sun Apr 5 18:37:28 BST 2020


Control: tags -1 patch

On Sun, Feb 23, 2020 at 08:39:23AM +0100, Lucas Nussbaum wrote:

> >  2842 | #define MPI_Address(...)  THIS_SYMBOL_WAS_REMOVED_IN_MPI30(MPI_Address, MPI_Get_address)
> >  2850 | #define MPI_Type_struct(...)  THIS_SYMBOL_WAS_REMOVED_IN_MPI30(MPI_Type_struct, MPI_Type_create_struct)

So tree-puzzle uses two symbols from MPI-2.0 that have been deprecated
in MPI-3.0. Fortunately in both cases the only change is the name of
the symbol, and it's not necessary to do anything else.

See here for details:

   https://www.open-mpi.org/faq/?category=mpi-removed

The attached patch fixes the build. The latest upstream release
candidate still uses the old symbol btw.

Berto
-------------- next part --------------
A non-text attachment was scrubbed...
Name: fix-mpi3-build.patch
Type: text/x-diff
Size: 611 bytes
Desc: not available
URL: <http://alioth-lists.debian.net/pipermail/debian-med-packaging/attachments/20200405/2d7deb1b/attachment.patch>


More information about the Debian-med-packaging mailing list