Bug#984242: mpich: ftbfs with GCC-11

Matthias Klose doko at debian.org
Wed Mar 3 16:15:39 GMT 2021


Package: src:mpich
Version: 3.4.1-3
Severity: normal
Tags: sid bookworm
User: debian-gcc at lists.debian.org
Usertags: ftbfs-gcc-11

[This bug is not targeted to the upcoming bullseye release]

Please keep this issue open in the bug tracker for the package it
was filed for.  If a fix in another package is required, please
file a bug for the other package (or clone), and add a block in this
package. Please keep the issue open until the package can be built in
a follow-up test rebuild.

The package fails to build in a test rebuild on at least amd64 with
gcc-11/g++-11, but succeeds to build with gcc-10/g++-10. The
severity of this report will be raised before the bookworm release,
so nothing has to be done for the bullseye release.

The full build log can be found at:
http://people.debian.org/~doko/logs/20210228/filtered/gcc11/mpich_3.4.1-3_unstable_gcc11.log
The last lines of the build log are at the end of this report.

To build with GCC 11, either set CC=gcc-11 CXX=g++-11 explicitly,
or install the gcc, g++, gfortran, ... packages from experimental.

  apt-get -t=experimental install g++ 

Common build failures are new warnings resulting in build failures with
-Werror turned on, or new/dropped symbols in Debian symbols files.
For other C/C++ related build failures see the porting guide at
http://gcc.gnu.org/gcc-11/porting_to.html

GCC 11 defaults to the GNU++17 standard.  If your package installs
header files in /usr/include, please don't work around C++17 issues
by choosing a lower C++ standard for the package build, but fix these
issues to build with the C++17 standard.

[...]
## ------------------- ##
## File substitutions. ##
## ------------------- ##

cc_shlib_conf='src/env/cc_shlib.conf'
cxx_shlib_conf=''
f77_shlib_conf='src/env/f77_shlib.conf'
fc_shlib_conf=''

## ----------- ##
## confdefs.h. ##
## ----------- ##

/* confdefs.h */
#define PACKAGE_NAME "MPICH"
#define PACKAGE_TARNAME "mpich"
#define PACKAGE_VERSION "3.4.1"
#define PACKAGE_STRING "MPICH 3.4.1"
#define PACKAGE_BUGREPORT "discuss at mpich.org"
#define PACKAGE_URL "http://www.mpich.org/"
#define STDC_HEADERS 1
#define HAVE_SYS_TYPES_H 1
#define HAVE_SYS_STAT_H 1
#define HAVE_STDLIB_H 1
#define HAVE_STRING_H 1
#define HAVE_MEMORY_H 1
#define HAVE_STRINGS_H 1
#define HAVE_INTTYPES_H 1
#define HAVE_STDINT_H 1
#define HAVE_UNISTD_H 1
#define __EXTENSIONS__ 1
#define _ALL_SOURCE 1
#define _GNU_SOURCE 1
#define _POSIX_PTHREAD_SEMANTICS 1
#define _TANDEM_SOURCE 1
#define PACKAGE "mpich"
#define VERSION "3.4.1"
#define HAVE_DLFCN_H 1
#define LT_OBJDIR ".libs/"
#define NEEDS_STRICT_ALIGNMENT 1
#define HAVE_ERROR_CHECKING MPID_ERROR_LEVEL_ALL
#define MPICH_ERROR_MSG_LEVEL MPICH_ERROR_MSG__ALL
#define HAVE_TAG_ERROR_BITS 1
#define HAVE_PRAGMA_WEAK 1
#define HAVE_WEAK_ATTRIBUTE 1
#define USE_WEAK_SYMBOLS 1
#define HAVE_MULTIPLE_PRAGMA_WEAK 1
#define HAVE_VISIBILITY 1
#define MPICH_THREAD_LEVEL MPI_THREAD_MULTIPLE
#define MPICH_IS_THREADED 1
#define MPICH_THREAD_GRANULARITY MPICH_THREAD_GRANULARITY__GLOBAL
#define MPICH_THREAD_REFCOUNT MPICH_REFCOUNT__NONE
#define HAVE_ROMIO 1
#define HAVE__FUNC__ /**/
#define HAVE__FUNCTION__ /**/
#define ENABLE_PVAR_NEM 0
#define ENABLE_PVAR_RECVQ 0
#define ENABLE_PVAR_RMA 0
#define ENABLE_PVAR_DIMS 0
#define HAVE_LONG_LONG 1
#define STDCALL 
#define F77_NAME_LOWER_USCORE 1
#define HAVE_MPI_F_INIT_WORKS_WITH_C 1

configure: exit 1
dh_auto_configure: error: ./configure --build=x86_64-linux-gnu --prefix=/usr --includedir=\${prefix}/include --mandir=\${prefix}/share/man --infodir=\${prefix}/share/info --sysconfdir=/etc --localstatedir=/var --disable-option-checking --disable-silent-rules --libdir=\${prefix}/lib/x86_64-linux-gnu --runstatedir=/run --disable-maintainer-mode --disable-dependency-tracking --with-libfabric=/usr --with-device=ch3 --with-pm=hydra --with-slurm=/usr --with-hwloc-prefix=/usr --with-wrapper-dl-type=none --enable-shared --without-yaksa --prefix=/usr --enable-fortran=all --disable-rpath --disable-wrapper-rpath --sysconfdir=/etc/mpich --libdir=/usr/lib/x86_64-linux-gnu --includedir=/usr/include/x86_64-linux-gnu/mpich --docdir=/usr/share/doc/mpich CPPFLAGS= CFLAGS= CXXFLAGS= "FFLAGS=-O2 -ffile-prefix-map=/<<PKGBUILDDIR>>=. -fstack-protector-strong  " "FCFLAGS=-O2 -ffile-prefix-map=/<<PKGBUILDDIR>>=. -fstack-protector-strong  " BASH_SHELL=/bin/bash returned exit code 1
make[1]: *** [debian/rules:103: override_dh_auto_configure] Error 25
make[1]: Leaving directory '/<<PKGBUILDDIR>>'
make: *** [debian/rules:90: build] Error 2
dpkg-buildpackage: error: debian/rules build subprocess returned exit status 2



More information about the debian-science-maintainers mailing list