Bug#1075077: hypre: ftbfs with GCC-14

Matthias Klose doko at debian.org
Wed Jul 3 13:30:25 BST 2024


Package: src:hypre
Version: 2.29.0-2
Severity: important
Tags: sid trixie
User: debian-gcc at lists.debian.org
Usertags: ftbfs-gcc-14

[This bug is targeted to the upcoming trixie 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-14/g++-14, but succeeds to build with gcc-13/g++-13. The
severity of this report will be raised before the trixie release.

The full build log can be found at:
http://qa-logs.debian.net/2024/07/01/hypre_2.29.0-2_unstable_gccexp.log
The last lines of the build log are at the end of this report.

To build with GCC 14, either set CC=gcc-14 CXX=g++-14 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-14/porting_to.html

[...]
 3150 |       comm_handle = hypre_ParCSRCommHandleCreate (2, comm_pkg, x_ext_data, buf_data);
      |                     ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
schwarz.c:3014:16: note: ‘buf_data’ was declared here
 3014 |    HYPRE_Real *buf_data;
      |                ^~~~~~~~
schwarz.c: In function ‘hypre_ParAMGCreateDomainDof’:
schwarz.c:3686:49: warning: ‘a_ext_i’ may be used uninitialized [-Wmaybe-uninitialized]
 3686 |             for (j = a_ext_i[i_dof]; j < a_ext_i[i_dof + 1]; j++)
      |                                                 ^
schwarz.c:3216:15: note: ‘a_ext_i’ was declared here
 3216 |    HYPRE_Int *a_ext_i;
      |               ^~~~~~~
schwarz.c:3688:19: warning: ‘a_ext_j’ may be used uninitialized [-Wmaybe-uninitialized]
 3688 |                jj = a_ext_j[j];
      |                ~~~^~~~~~~~~~~~
schwarz.c:3217:18: note: ‘a_ext_j’ was declared here
 3217 |    HYPRE_BigInt *a_ext_j;
      |                  ^~~~~~~
schwarz.c:3703:72: warning: ‘a_ext_data’ may be used uninitialized [-Wmaybe-uninitialized]
 3703 |                      AE[i_loc + j_loc * local_dof_counter] = a_ext_data[j];
      |                                                              ~~~~~~~~~~^~~
schwarz.c:3218:16: note: ‘a_ext_data’ was declared here
 3218 |    HYPRE_Real *a_ext_data;
      |                ^~~~~~~~~~
schwarz.c: In function ‘hypre_ParGenerateScale’:
schwarz.c:3797:22: warning: ‘scale_ext’ may be used uninitialized [-Wmaybe-uninitialized]
 3797 |             scale_ext[j_loc - num_variables] += 1.0;
      |             ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~
schwarz.c:3762:16: note: ‘scale_ext’ was declared here
 3762 |    HYPRE_Real *scale_ext;
      |                ^~~~~~~~~
schwarz.c:3763:16: warning: ‘scale_int’ may be used uninitialized [-Wmaybe-uninitialized]
 3763 |    HYPRE_Real *scale_int;
      |                ^~~~~~~~~
schwarz.c: In function ‘hypre_ParGenerateHybridScale’:
schwarz.c:3990:42: warning: ‘send_map_starts’ may be used uninitialized [-Wmaybe-uninitialized]
 3990 |       for (j = start; j < send_map_starts[i + 1]; j++)
      |                           ~~~~~~~~~~~~~~~^~~~~~~
schwarz.c:3859:15: note: ‘send_map_starts’ was declared here
 3859 |    HYPRE_Int *send_map_starts;
      |               ^~~~~~~~~~~~~~~
schwarz.c:3992:30: warning: ‘send_map_elmts’ may be used uninitialized [-Wmaybe-uninitialized]
 3992 |          scale[send_map_elmts[j]] += scale_int[index++];
      |                ~~~~~~~~~~~~~~^~~
schwarz.c:3860:15: note: ‘send_map_elmts’ was declared here
 3860 |    HYPRE_Int *send_map_elmts;
      |               ^~~~~~~~~~~~~~
schwarz.c:3897:20: warning: ‘index_ext’ may be used uninitialized [-Wmaybe-uninitialized]
 3897 |       index_ext[i] = -1;
      |       ~~~~~~~~~~~~~^~~~
schwarz.c:3861:15: note: ‘index_ext’ was declared here
 3861 |    HYPRE_Int *index_ext;
      |               ^~~~~~~~~
schwarz.c:3910:25: warning: ‘scale_ext’ may be used uninitialized [-Wmaybe-uninitialized]
 3910 |                scale_ext[j_loc] += 1.0;
      |                ~~~~~~~~~^~~~~~~
schwarz.c:3854:16: note: ‘scale_ext’ was declared here
 3854 |    HYPRE_Real *scale_ext;
      |                ^~~~~~~~~
schwarz.c:3855:16: warning: ‘scale_int’ may be used uninitialized [-Wmaybe-uninitialized]
 3855 |    HYPRE_Real *scale_int;
      |                ^~~~~~~~~
make[3]: Leaving directory '/<<PKGBUILDDIR>>/src64/parcsr_ls'
make[2]: *** [Makefile:90: all] Error 1
make[2]: Leaving directory '/<<PKGBUILDDIR>>/src64'
dh_auto_build: error: cd src64 && make -j8 returned exit code 2
make[1]: *** [debian/rules:153: override_dh_auto_build] Error 25
make[1]: Leaving directory '/<<PKGBUILDDIR>>'
make: *** [debian/rules:25: build] Error 2
dpkg-buildpackage: error: debian/rules build subprocess returned exit status 2



More information about the debian-science-maintainers mailing list