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

Lucas Nussbaum lucas at debian.org
Sun Feb 23 07:48:54 GMT 2020


Source: hpcc
Version: 1.5.0-2
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[3]: Entering directory '/<<PKGBUILDDIR>>/hpl/lib/arch/build'
> mpicc -o ../../../src/auxil/HPL_dlacpy.o -c ../../../src/auxil/HPL_dlacpy.c  -DHPL_CALL_CBLAS -I../../../include -I../../../include/Debian   -fomit-frame-pointer -O3 -funroll-loops -W -Wall -g -O2 -fdebug-prefix-map=/<<PKGBUILDDIR>>/hpl/lib/arch/build=. -fstack-protector-strong -Wformat -Werror=format-security
> mpicc -o ../../../src/auxil/HPL_dlatcpy.o -c ../../../src/auxil/HPL_dlatcpy.c  -DHPL_CALL_CBLAS -I../../../include -I../../../include/Debian   -fomit-frame-pointer -O3 -funroll-loops -W -Wall -g -O2 -fdebug-prefix-map=/<<PKGBUILDDIR>>/hpl/lib/arch/build=. -fstack-protector-strong -Wformat -Werror=format-security
> mpicc -o ../../../src/auxil/HPL_fprintf.o -c ../../../src/auxil/HPL_fprintf.c  -DHPL_CALL_CBLAS -I../../../include -I../../../include/Debian   -fomit-frame-pointer -O3 -funroll-loops -W -Wall -g -O2 -fdebug-prefix-map=/<<PKGBUILDDIR>>/hpl/lib/arch/build=. -fstack-protector-strong -Wformat -Werror=format-security
> mpicc -o ../../../src/auxil/HPL_warn.o -c ../../../src/auxil/HPL_warn.c  -DHPL_CALL_CBLAS -I../../../include -I../../../include/Debian   -fomit-frame-pointer -O3 -funroll-loops -W -Wall -g -O2 -fdebug-prefix-map=/<<PKGBUILDDIR>>/hpl/lib/arch/build=. -fstack-protector-strong -Wformat -Werror=format-security
> mpicc -o ../../../src/auxil/HPL_abort.o -c ../../../src/auxil/HPL_abort.c  -DHPL_CALL_CBLAS -I../../../include -I../../../include/Debian   -fomit-frame-pointer -O3 -funroll-loops -W -Wall -g -O2 -fdebug-prefix-map=/<<PKGBUILDDIR>>/hpl/lib/arch/build=. -fstack-protector-strong -Wformat -Werror=format-security
> mpicc -o ../../../src/auxil/HPL_dlaprnt.o -c ../../../src/auxil/HPL_dlaprnt.c  -DHPL_CALL_CBLAS -I../../../include -I../../../include/Debian   -fomit-frame-pointer -O3 -funroll-loops -W -Wall -g -O2 -fdebug-prefix-map=/<<PKGBUILDDIR>>/hpl/lib/arch/build=. -fstack-protector-strong -Wformat -Werror=format-security
> mpicc -o ../../../src/auxil/HPL_dlange.o -c ../../../src/auxil/HPL_dlange.c  -DHPL_CALL_CBLAS -I../../../include -I../../../include/Debian   -fomit-frame-pointer -O3 -funroll-loops -W -Wall -g -O2 -fdebug-prefix-map=/<<PKGBUILDDIR>>/hpl/lib/arch/build=. -fstack-protector-strong -Wformat -Werror=format-security
> mpicc -o ../../../src/auxil/HPL_dlamch.o -c ../../../src/auxil/HPL_dlamch.c  -DHPL_CALL_CBLAS -I../../../include -I../../../include/Debian  
> mpicc -o ../../../src/blas/HPL_dcopy.o -c ../../../src/blas/HPL_dcopy.c  -DHPL_CALL_CBLAS -I../../../include -I../../../include/Debian   -fomit-frame-pointer -O3 -funroll-loops -W -Wall -g -O2 -fdebug-prefix-map=/<<PKGBUILDDIR>>/hpl/lib/arch/build=. -fstack-protector-strong -Wformat -Werror=format-security
> mpicc -o ../../../src/blas/HPL_daxpy.o -c ../../../src/blas/HPL_daxpy.c  -DHPL_CALL_CBLAS -I../../../include -I../../../include/Debian   -fomit-frame-pointer -O3 -funroll-loops -W -Wall -g -O2 -fdebug-prefix-map=/<<PKGBUILDDIR>>/hpl/lib/arch/build=. -fstack-protector-strong -Wformat -Werror=format-security
> mpicc -o ../../../src/blas/HPL_dscal.o -c ../../../src/blas/HPL_dscal.c  -DHPL_CALL_CBLAS -I../../../include -I../../../include/Debian   -fomit-frame-pointer -O3 -funroll-loops -W -Wall -g -O2 -fdebug-prefix-map=/<<PKGBUILDDIR>>/hpl/lib/arch/build=. -fstack-protector-strong -Wformat -Werror=format-security
> mpicc -o ../../../src/blas/HPL_idamax.o -c ../../../src/blas/HPL_idamax.c  -DHPL_CALL_CBLAS -I../../../include -I../../../include/Debian   -fomit-frame-pointer -O3 -funroll-loops -W -Wall -g -O2 -fdebug-prefix-map=/<<PKGBUILDDIR>>/hpl/lib/arch/build=. -fstack-protector-strong -Wformat -Werror=format-security
> mpicc -o ../../../src/blas/HPL_dgemv.o -c ../../../src/blas/HPL_dgemv.c  -DHPL_CALL_CBLAS -I../../../include -I../../../include/Debian   -fomit-frame-pointer -O3 -funroll-loops -W -Wall -g -O2 -fdebug-prefix-map=/<<PKGBUILDDIR>>/hpl/lib/arch/build=. -fstack-protector-strong -Wformat -Werror=format-security
> mpicc -o ../../../src/blas/HPL_dtrsv.o -c ../../../src/blas/HPL_dtrsv.c  -DHPL_CALL_CBLAS -I../../../include -I../../../include/Debian   -fomit-frame-pointer -O3 -funroll-loops -W -Wall -g -O2 -fdebug-prefix-map=/<<PKGBUILDDIR>>/hpl/lib/arch/build=. -fstack-protector-strong -Wformat -Werror=format-security
> mpicc -o ../../../src/blas/HPL_dger.o -c ../../../src/blas/HPL_dger.c  -DHPL_CALL_CBLAS -I../../../include -I../../../include/Debian   -fomit-frame-pointer -O3 -funroll-loops -W -Wall -g -O2 -fdebug-prefix-map=/<<PKGBUILDDIR>>/hpl/lib/arch/build=. -fstack-protector-strong -Wformat -Werror=format-security
> mpicc -o ../../../src/blas/HPL_dgemm.o -c ../../../src/blas/HPL_dgemm.c  -DHPL_CALL_CBLAS -I../../../include -I../../../include/Debian   -fomit-frame-pointer -O3 -funroll-loops -W -Wall -g -O2 -fdebug-prefix-map=/<<PKGBUILDDIR>>/hpl/lib/arch/build=. -fstack-protector-strong -Wformat -Werror=format-security
> mpicc -o ../../../src/blas/HPL_dtrsm.o -c ../../../src/blas/HPL_dtrsm.c  -DHPL_CALL_CBLAS -I../../../include -I../../../include/Debian   -fomit-frame-pointer -O3 -funroll-loops -W -Wall -g -O2 -fdebug-prefix-map=/<<PKGBUILDDIR>>/hpl/lib/arch/build=. -fstack-protector-strong -Wformat -Werror=format-security
> mpicc -o ../../../src/comm/HPL_1ring.o -c ../../../src/comm/HPL_1ring.c  -DHPL_CALL_CBLAS -I../../../include -I../../../include/Debian   -fomit-frame-pointer -O3 -funroll-loops -W -Wall -g -O2 -fdebug-prefix-map=/<<PKGBUILDDIR>>/hpl/lib/arch/build=. -fstack-protector-strong -Wformat -Werror=format-security
> mpicc -o ../../../src/comm/HPL_1rinM.o -c ../../../src/comm/HPL_1rinM.c  -DHPL_CALL_CBLAS -I../../../include -I../../../include/Debian   -fomit-frame-pointer -O3 -funroll-loops -W -Wall -g -O2 -fdebug-prefix-map=/<<PKGBUILDDIR>>/hpl/lib/arch/build=. -fstack-protector-strong -Wformat -Werror=format-security
> mpicc -o ../../../src/comm/HPL_2ring.o -c ../../../src/comm/HPL_2ring.c  -DHPL_CALL_CBLAS -I../../../include -I../../../include/Debian   -fomit-frame-pointer -O3 -funroll-loops -W -Wall -g -O2 -fdebug-prefix-map=/<<PKGBUILDDIR>>/hpl/lib/arch/build=. -fstack-protector-strong -Wformat -Werror=format-security
> mpicc -o ../../../src/comm/HPL_2rinM.o -c ../../../src/comm/HPL_2rinM.c  -DHPL_CALL_CBLAS -I../../../include -I../../../include/Debian   -fomit-frame-pointer -O3 -funroll-loops -W -Wall -g -O2 -fdebug-prefix-map=/<<PKGBUILDDIR>>/hpl/lib/arch/build=. -fstack-protector-strong -Wformat -Werror=format-security
> mpicc -o ../../../src/comm/HPL_blong.o -c ../../../src/comm/HPL_blong.c  -DHPL_CALL_CBLAS -I../../../include -I../../../include/Debian   -fomit-frame-pointer -O3 -funroll-loops -W -Wall -g -O2 -fdebug-prefix-map=/<<PKGBUILDDIR>>/hpl/lib/arch/build=. -fstack-protector-strong -Wformat -Werror=format-security
> mpicc -o ../../../src/comm/HPL_blonM.o -c ../../../src/comm/HPL_blonM.c  -DHPL_CALL_CBLAS -I../../../include -I../../../include/Debian   -fomit-frame-pointer -O3 -funroll-loops -W -Wall -g -O2 -fdebug-prefix-map=/<<PKGBUILDDIR>>/hpl/lib/arch/build=. -fstack-protector-strong -Wformat -Werror=format-security
> mpicc -o ../../../src/comm/HPL_packL.o -c ../../../src/comm/HPL_packL.c  -DHPL_CALL_CBLAS -I../../../include -I../../../include/Debian   -fomit-frame-pointer -O3 -funroll-loops -W -Wall -g -O2 -fdebug-prefix-map=/<<PKGBUILDDIR>>/hpl/lib/arch/build=. -fstack-protector-strong -Wformat -Werror=format-security
> mpicc -o ../../../src/comm/HPL_copyL.o -c ../../../src/comm/HPL_copyL.c  -DHPL_CALL_CBLAS -I../../../include -I../../../include/Debian   -fomit-frame-pointer -O3 -funroll-loops -W -Wall -g -O2 -fdebug-prefix-map=/<<PKGBUILDDIR>>/hpl/lib/arch/build=. -fstack-protector-strong -Wformat -Werror=format-security
> In file included from ../../../include/hpl_pmisc.h:54,
>                  from ../../../include/hpl.h:80,
>                  from ../../../src/comm/HPL_packL.c:50:
> ../../../src/comm/HPL_packL.c: In function ‘HPL_packL’:
> /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:2842:27: note: in expansion of macro ‘THIS_SYMBOL_WAS_REMOVED_IN_MPI30’
>  2842 | #define MPI_Address(...)  THIS_SYMBOL_WAS_REMOVED_IN_MPI30(MPI_Address, MPI_Get_address)
>       |                           ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
> ../../../src/comm/HPL_packL.c:172:22: note: in expansion of macro ‘MPI_Address’
>   172 |             ierr =   MPI_Address( bufs[nbufs], &disp[nbufs] );
>       |                      ^~~~~~~~~~~
> /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:2842:27: note: in expansion of macro ‘THIS_SYMBOL_WAS_REMOVED_IN_MPI30’
>  2842 | #define MPI_Address(...)  THIS_SYMBOL_WAS_REMOVED_IN_MPI30(MPI_Address, MPI_Get_address)
>       |                           ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
> ../../../src/comm/HPL_packL.c:186:25: note: in expansion of macro ‘MPI_Address’
>   186 |                ierr =   MPI_Address( bufs[nbufs], &disp[nbufs] );
>       |                         ^~~~~~~~~~~
> /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:2842:27: note: in expansion of macro ‘THIS_SYMBOL_WAS_REMOVED_IN_MPI30’
>  2842 | #define MPI_Address(...)  THIS_SYMBOL_WAS_REMOVED_IN_MPI30(MPI_Address, MPI_Get_address)
>       |                           ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
> ../../../src/comm/HPL_packL.c:200:22: note: in expansion of macro ‘MPI_Address’
>   200 |             ierr =   MPI_Address( bufs[nbufs], &disp[nbufs] );
>       |                      ^~~~~~~~~~~
> ../../../src/comm/HPL_packL.c:204:7: warning: this ‘for’ clause does not guard... [-Wmisleading-indentation]
>   204 |       for( i = 1; i < nbufs; i++ ) disp[i] -= disp[0]; disp[0] = 0;
>       |       ^~~
> ../../../src/comm/HPL_packL.c:204:56: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the ‘for’
>   204 |       for( i = 1; i < nbufs; i++ ) disp[i] -= disp[0]; disp[0] = 0;
>       |                                                        ^~~~
> In file included from ../../../include/hpl_pmisc.h:54,
>                  from ../../../include/hpl.h:80,
>                  from ../../../src/comm/HPL_packL.c:50:
> /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:2850:31: note: in expansion of macro ‘THIS_SYMBOL_WAS_REMOVED_IN_MPI30’
>  2850 | #define MPI_Type_struct(...)  THIS_SYMBOL_WAS_REMOVED_IN_MPI30(MPI_Type_struct, MPI_Type_create_struct)
>       |                               ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
> ../../../src/comm/HPL_packL.c:211:19: note: in expansion of macro ‘MPI_Type_struct’
>   211 |          ierr =   MPI_Type_struct( nbufs, blen, disp, type,
>       |                   ^~~~~~~~~~~~~~~
> make[3]: *** [Makefile.hpcc:130: ../../../src/comm/HPL_packL.o] Error 1

The full build log is available from:
   http://qa-logs.debian.net/2020/02/22/hpcc_1.5.0-2_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