Bug#984346: spfft: ftbfs with GCC-11

Matthias Klose doko at debian.org
Wed Mar 3 16:17:32 GMT 2021


Package: src:spfft
Version: 0.9.13-1
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/spfft_0.9.13-1_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.

[...]
/usr/bin/cmake -S/<<PKGBUILDDIR>> -B/<<PKGBUILDDIR>>/obj-x86_64-linux-gnu --check-build-system CMakeFiles/Makefile.cmake 0
/usr/bin/cmake -E cmake_progress_start /<<PKGBUILDDIR>>/obj-x86_64-linux-gnu/CMakeFiles /<<PKGBUILDDIR>>/obj-x86_64-linux-gnu//CMakeFiles/progress.marks
make  -f CMakeFiles/Makefile2 all
make[2]: Entering directory '/<<PKGBUILDDIR>>/obj-x86_64-linux-gnu'
make  -f src/CMakeFiles/spfft.dir/build.make src/CMakeFiles/spfft.dir/depend
make[3]: Entering directory '/<<PKGBUILDDIR>>/obj-x86_64-linux-gnu'
cd /<<PKGBUILDDIR>>/obj-x86_64-linux-gnu && /usr/bin/cmake -E cmake_depends "Unix Makefiles" /<<PKGBUILDDIR>> /<<PKGBUILDDIR>>/src /<<PKGBUILDDIR>>/obj-x86_64-linux-gnu /<<PKGBUILDDIR>>/obj-x86_64-linux-gnu/src /<<PKGBUILDDIR>>/obj-x86_64-linux-gnu/src/CMakeFiles/spfft.dir/DependInfo.cmake --color=
Dependee "/<<PKGBUILDDIR>>/obj-x86_64-linux-gnu/src/CMakeFiles/spfft.dir/DependInfo.cmake" is newer than depender "/<<PKGBUILDDIR>>/obj-x86_64-linux-gnu/src/CMakeFiles/spfft.dir/depend.internal".
Dependee "/<<PKGBUILDDIR>>/obj-x86_64-linux-gnu/src/CMakeFiles/CMakeDirectoryInformation.cmake" is newer than depender "/<<PKGBUILDDIR>>/obj-x86_64-linux-gnu/src/CMakeFiles/spfft.dir/depend.internal".
Scanning dependencies of target spfft
make[3]: Leaving directory '/<<PKGBUILDDIR>>/obj-x86_64-linux-gnu'
make  -f src/CMakeFiles/spfft.dir/build.make src/CMakeFiles/spfft.dir/build
make[3]: Entering directory '/<<PKGBUILDDIR>>/obj-x86_64-linux-gnu'
[  6%] Building CXX object src/CMakeFiles/spfft.dir/memory/aligned_allocation.cpp.o
[ 13%] Building CXX object src/CMakeFiles/spfft.dir/timing/rt_graph.cpp.o
[ 20%] Building CXX object src/CMakeFiles/spfft.dir/timing/timing.cpp.o
cd /<<PKGBUILDDIR>>/obj-x86_64-linux-gnu/src && /usr/bin/c++ -Dspfft_EXPORTS -I/<<PKGBUILDDIR>>/ext -I/<<PKGBUILDDIR>>/include -I/<<PKGBUILDDIR>>/src -I/<<PKGBUILDDIR>>/obj-x86_64-linux-gnu -isystem /usr/lib/x86_64-linux-gnu/openmpi/include/openmpi -isystem /usr/lib/x86_64-linux-gnu/openmpi/include -g -O2 -ffile-prefix-map=/<<PKGBUILDDIR>>=. -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -fPIC -fvisibility=hidden -fvisibility-inlines-hidden -pthread -fopenmp -std=gnu++11 -o CMakeFiles/spfft.dir/memory/aligned_allocation.cpp.o -c /<<PKGBUILDDIR>>/src/memory/aligned_allocation.cpp
cd /<<PKGBUILDDIR>>/obj-x86_64-linux-gnu/src && /usr/bin/c++ -Dspfft_EXPORTS -I/<<PKGBUILDDIR>>/ext -I/<<PKGBUILDDIR>>/include -I/<<PKGBUILDDIR>>/src -I/<<PKGBUILDDIR>>/obj-x86_64-linux-gnu -isystem /usr/lib/x86_64-linux-gnu/openmpi/include/openmpi -isystem /usr/lib/x86_64-linux-gnu/openmpi/include -g -O2 -ffile-prefix-map=/<<PKGBUILDDIR>>=. -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -fPIC -fvisibility=hidden -fvisibility-inlines-hidden -pthread -fopenmp -std=gnu++11 -o CMakeFiles/spfft.dir/timing/rt_graph.cpp.o -c /<<PKGBUILDDIR>>/src/timing/rt_graph.cpp
cd /<<PKGBUILDDIR>>/obj-x86_64-linux-gnu/src && /usr/bin/c++ -Dspfft_EXPORTS -I/<<PKGBUILDDIR>>/ext -I/<<PKGBUILDDIR>>/include -I/<<PKGBUILDDIR>>/src -I/<<PKGBUILDDIR>>/obj-x86_64-linux-gnu -isystem /usr/lib/x86_64-linux-gnu/openmpi/include/openmpi -isystem /usr/lib/x86_64-linux-gnu/openmpi/include -g -O2 -ffile-prefix-map=/<<PKGBUILDDIR>>=. -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -fPIC -fvisibility=hidden -fvisibility-inlines-hidden -pthread -fopenmp -std=gnu++11 -o CMakeFiles/spfft.dir/timing/timing.cpp.o -c /<<PKGBUILDDIR>>/src/timing/timing.cpp
[ 26%] Building CXX object src/CMakeFiles/spfft.dir/parameters/parameters.cpp.o
cd /<<PKGBUILDDIR>>/obj-x86_64-linux-gnu/src && /usr/bin/c++ -Dspfft_EXPORTS -I/<<PKGBUILDDIR>>/ext -I/<<PKGBUILDDIR>>/include -I/<<PKGBUILDDIR>>/src -I/<<PKGBUILDDIR>>/obj-x86_64-linux-gnu -isystem /usr/lib/x86_64-linux-gnu/openmpi/include/openmpi -isystem /usr/lib/x86_64-linux-gnu/openmpi/include -g -O2 -ffile-prefix-map=/<<PKGBUILDDIR>>=. -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -fPIC -fvisibility=hidden -fvisibility-inlines-hidden -pthread -fopenmp -std=gnu++11 -o CMakeFiles/spfft.dir/parameters/parameters.cpp.o -c /<<PKGBUILDDIR>>/src/parameters/parameters.cpp
[ 33%] Building CXX object src/CMakeFiles/spfft.dir/execution/execution_host.cpp.o
cd /<<PKGBUILDDIR>>/obj-x86_64-linux-gnu/src && /usr/bin/c++ -Dspfft_EXPORTS -I/<<PKGBUILDDIR>>/ext -I/<<PKGBUILDDIR>>/include -I/<<PKGBUILDDIR>>/src -I/<<PKGBUILDDIR>>/obj-x86_64-linux-gnu -isystem /usr/lib/x86_64-linux-gnu/openmpi/include/openmpi -isystem /usr/lib/x86_64-linux-gnu/openmpi/include -g -O2 -ffile-prefix-map=/<<PKGBUILDDIR>>=. -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -fPIC -fvisibility=hidden -fvisibility-inlines-hidden -pthread -fopenmp -std=gnu++11 -o CMakeFiles/spfft.dir/execution/execution_host.cpp.o -c /<<PKGBUILDDIR>>/src/execution/execution_host.cpp
[ 40%] Building CXX object src/CMakeFiles/spfft.dir/spfft/transform.cpp.o
cd /<<PKGBUILDDIR>>/obj-x86_64-linux-gnu/src && /usr/bin/c++ -Dspfft_EXPORTS -I/<<PKGBUILDDIR>>/ext -I/<<PKGBUILDDIR>>/include -I/<<PKGBUILDDIR>>/src -I/<<PKGBUILDDIR>>/obj-x86_64-linux-gnu -isystem /usr/lib/x86_64-linux-gnu/openmpi/include/openmpi -isystem /usr/lib/x86_64-linux-gnu/openmpi/include -g -O2 -ffile-prefix-map=/<<PKGBUILDDIR>>=. -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -fPIC -fvisibility=hidden -fvisibility-inlines-hidden -pthread -fopenmp -std=gnu++11 -o CMakeFiles/spfft.dir/spfft/transform.cpp.o -c /<<PKGBUILDDIR>>/src/spfft/transform.cpp
[ 46%] Building CXX object src/CMakeFiles/spfft.dir/spfft/transform_internal.cpp.o
cd /<<PKGBUILDDIR>>/obj-x86_64-linux-gnu/src && /usr/bin/c++ -Dspfft_EXPORTS -I/<<PKGBUILDDIR>>/ext -I/<<PKGBUILDDIR>>/include -I/<<PKGBUILDDIR>>/src -I/<<PKGBUILDDIR>>/obj-x86_64-linux-gnu -isystem /usr/lib/x86_64-linux-gnu/openmpi/include/openmpi -isystem /usr/lib/x86_64-linux-gnu/openmpi/include -g -O2 -ffile-prefix-map=/<<PKGBUILDDIR>>=. -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -fPIC -fvisibility=hidden -fvisibility-inlines-hidden -pthread -fopenmp -std=gnu++11 -o CMakeFiles/spfft.dir/spfft/transform_internal.cpp.o -c /<<PKGBUILDDIR>>/src/spfft/transform_internal.cpp
[ 53%] Building CXX object src/CMakeFiles/spfft.dir/spfft/multi_transform.cpp.o
cd /<<PKGBUILDDIR>>/obj-x86_64-linux-gnu/src && /usr/bin/c++ -Dspfft_EXPORTS -I/<<PKGBUILDDIR>>/ext -I/<<PKGBUILDDIR>>/include -I/<<PKGBUILDDIR>>/src -I/<<PKGBUILDDIR>>/obj-x86_64-linux-gnu -isystem /usr/lib/x86_64-linux-gnu/openmpi/include/openmpi -isystem /usr/lib/x86_64-linux-gnu/openmpi/include -g -O2 -ffile-prefix-map=/<<PKGBUILDDIR>>=. -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -fPIC -fvisibility=hidden -fvisibility-inlines-hidden -pthread -fopenmp -std=gnu++11 -o CMakeFiles/spfft.dir/spfft/multi_transform.cpp.o -c /<<PKGBUILDDIR>>/src/spfft/multi_transform.cpp
[ 60%] Building CXX object src/CMakeFiles/spfft.dir/spfft/grid.cpp.o
cd /<<PKGBUILDDIR>>/obj-x86_64-linux-gnu/src && /usr/bin/c++ -Dspfft_EXPORTS -I/<<PKGBUILDDIR>>/ext -I/<<PKGBUILDDIR>>/include -I/<<PKGBUILDDIR>>/src -I/<<PKGBUILDDIR>>/obj-x86_64-linux-gnu -isystem /usr/lib/x86_64-linux-gnu/openmpi/include/openmpi -isystem /usr/lib/x86_64-linux-gnu/openmpi/include -g -O2 -ffile-prefix-map=/<<PKGBUILDDIR>>=. -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -fPIC -fvisibility=hidden -fvisibility-inlines-hidden -pthread -fopenmp -std=gnu++11 -o CMakeFiles/spfft.dir/spfft/grid.cpp.o -c /<<PKGBUILDDIR>>/src/spfft/grid.cpp
[ 66%] Building CXX object src/CMakeFiles/spfft.dir/spfft/grid_internal.cpp.o
cd /<<PKGBUILDDIR>>/obj-x86_64-linux-gnu/src && /usr/bin/c++ -Dspfft_EXPORTS -I/<<PKGBUILDDIR>>/ext -I/<<PKGBUILDDIR>>/include -I/<<PKGBUILDDIR>>/src -I/<<PKGBUILDDIR>>/obj-x86_64-linux-gnu -isystem /usr/lib/x86_64-linux-gnu/openmpi/include/openmpi -isystem /usr/lib/x86_64-linux-gnu/openmpi/include -g -O2 -ffile-prefix-map=/<<PKGBUILDDIR>>=. -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -fPIC -fvisibility=hidden -fvisibility-inlines-hidden -pthread -fopenmp -std=gnu++11 -o CMakeFiles/spfft.dir/spfft/grid_internal.cpp.o -c /<<PKGBUILDDIR>>/src/spfft/grid_internal.cpp
/<<PKGBUILDDIR>>/src/spfft/grid_internal.cpp: In constructor ‘spfft::GridInternal<T>::GridInternal(int, int, int, int, int, SpfftProcessingUnitType, int, MPI_Comm, SpfftExchangeType)’:
/<<PKGBUILDDIR>>/src/spfft/grid_internal.cpp:124:12: error: ‘numeric_limits’ is not a member of ‘std’
  124 |       std::numeric_limits<int>::max()) {
      |            ^~~~~~~~~~~~~~
/<<PKGBUILDDIR>>/src/spfft/grid_internal.cpp:124:27: error: expected primary-expression before ‘int’
  124 |       std::numeric_limits<int>::max()) {
      |                           ^~~
/<<PKGBUILDDIR>>/src/spfft/grid_internal.cpp:124:27: error: expected ‘)’ before ‘int’
  124 |       std::numeric_limits<int>::max()) {
      |                           ^~~
      |                           )
/<<PKGBUILDDIR>>/src/spfft/grid_internal.cpp:122:6: note: to match this ‘(’
  122 |   if (static_cast<long long int>(maxDimX) * static_cast<long long int>(maxDimY) *
      |      ^
/<<PKGBUILDDIR>>/src/spfft/grid_internal.cpp:128:12: error: ‘numeric_limits’ is not a member of ‘std’
  128 |       std::numeric_limits<int>::max()) {
      |            ^~~~~~~~~~~~~~
/<<PKGBUILDDIR>>/src/spfft/grid_internal.cpp:128:27: error: expected primary-expression before ‘int’
  128 |       std::numeric_limits<int>::max()) {
      |                           ^~~
/<<PKGBUILDDIR>>/src/spfft/grid_internal.cpp:128:27: error: expected ‘)’ before ‘int’
  128 |       std::numeric_limits<int>::max()) {
      |                           ^~~
      |                           )
/<<PKGBUILDDIR>>/src/spfft/grid_internal.cpp:127:6: note: to match this ‘(’
  127 |   if (static_cast<long long int>(maxNumLocalZSticks) * static_cast<long long int>(maxDimZ) >
      |      ^
make[3]: *** [src/CMakeFiles/spfft.dir/build.make:202: src/CMakeFiles/spfft.dir/spfft/grid_internal.cpp.o] Error 1
make[3]: *** Waiting for unfinished jobs....
make[3]: Leaving directory '/<<PKGBUILDDIR>>/obj-x86_64-linux-gnu'
make[2]: *** [CMakeFiles/Makefile2:116: src/CMakeFiles/spfft.dir/all] Error 2
make[2]: Leaving directory '/<<PKGBUILDDIR>>/obj-x86_64-linux-gnu'
make[1]: *** [Makefile:152: all] Error 2
make[1]: Leaving directory '/<<PKGBUILDDIR>>/obj-x86_64-linux-gnu'
dh_auto_build: error: cd obj-x86_64-linux-gnu && make -j4 "INSTALL=install --strip-program=true" VERBOSE=1 returned exit code 2
make: *** [debian/rules:4: binary] Error 25
dpkg-buildpackage: error: debian/rules binary subprocess returned exit status 2



More information about the debian-science-maintainers mailing list