Bug#952104: yorick: FTBFS: mpi.h:322:57: error: expected expression before ‘_Static_assert’

Lucas Nussbaum lucas at debian.org
Sun Feb 23 08:04:22 GMT 2020


Source: yorick
Version: 2.2.04+dfsg1-10
Severity: serious
Justification: FTBFS on amd64
Tags: buster sid
Usertags: ftbfs-20200222 ftbfs-buster

Hi,

During a rebuild of all packages in sid, your package failed to build
on amd64.

Relevant part (hopefully):
> make[1]: Entering directory '/<<PKGBUILDDIR>>/mpy.openmpi'
> /usr/bin/mpicc.openmpi -g -O2 -fdebug-prefix-map=/<<PKGBUILDDIR>>=. -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2   -I. -I/<<PKGBUILDDIR>>/mpy.openmpi/../relocate/include -Wdate-time -D_FORTIFY_SOURCE=2  -c -o mpy.o mpy.c
> In file included from mpy.c:11:
> mpy.c: In function ‘mpy_initialize’:
> /usr/lib/x86_64-linux-gnu/openmpi/include/mpi.h:322:57: error: expected expression before ‘_Static_assert’
>   322 | #define THIS_SYMBOL_WAS_REMOVED_IN_MPI30(func, newfunc) _Static_assert(0, #func " was removed in MPI-3.0.  Use " #newfunc " instead.")
>       |                                                         ^~~~~~~~~~~~~~
> /usr/lib/x86_64-linux-gnu/openmpi/include/mpi.h:2845:34: note: in expansion of macro ‘THIS_SYMBOL_WAS_REMOVED_IN_MPI30’
>  2845 | #define MPI_Errhandler_set(...)  THIS_SYMBOL_WAS_REMOVED_IN_MPI30(MPI_Errhandler_set, MPI_Comm_set_errhandler)
>       |                                  ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
> mpy.c:169:12: note: in expansion of macro ‘MPI_Errhandler_set’
>   169 |         || MPI_Errhandler_set(mpy_world, MPI_ERRORS_RETURN) != MPI_SUCCESS) {
>       |            ^~~~~~~~~~~~~~~~~~
> make[1]: *** [<builtin>: mpy.o] Error 1

The full build log is available from:
   http://qa-logs.debian.net/2020/02/22/yorick_2.2.04+dfsg1-10_unstable.log

A list of current common problems and possible solutions is available at
http://wiki.debian.org/qa.debian.org/FTBFS . You're welcome to contribute!

About the archive rebuild: The rebuild was done on EC2 VM instances from
Amazon Web Services, using a clean, minimal and up-to-date chroot. Every
failed build was retried once to eliminate random failures.



More information about the debian-science-maintainers mailing list