Package: src:petsc Version: 3.20.6+dfsg1-1 Severity: important Tags: sid trixie User: [email protected] 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/petsc_3.20.6+dfsg1-1_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 [...] 144 | int SCOTCH_dgraphBuild (SCOTCH_Dgraph * const, const SCOTCH_Num, const SCOTCH_Num, const SCOTCH_Num, SCOTCH_Num * const, SCOTCH_Num * const, SCOTCH_Num * const, SCOTCH_Num * const, const SCOTCH_Num, const SCOTCH_Num, SCOTCH_Num * const, SCOTCH_Num * const, SCOTCH_Num * const); | ^~~~~~~~~~~~~~~~~~ /<<PKGBUILDDIR>>/src/mat/partition/impls/scotch/scotch.c:388:72: error: passing argument 4 of ‘SCOTCH_graphBuild’ from incompatible pointer type [-Wincompatible-pointer-types] 388 | PetscCallExternal(SCOTCH_graphBuild, &grafdat, 0, vertlocnbr, adj->i, adj->i + 1, veloloctab, NULL, edgelocnbr, adj->j, edloloctab); | ~~~^~~ | | | PetscInt * {aka long int *} /<<PKGBUILDDIR>>/include/petscerror.h:1770:44: note: in definition of macro ‘PetscCallExternal’ 1770 | int ierr_petsc_call_external_ = func(__VA_ARGS__); \ | ^~~~~~~~~~~ In file included from /usr/include/scotch/ptscotch.h:73: /usr/include/scotch/scotch.h:258:108: note: expected ‘const SCOTCH_Num * const’ {aka ‘const int * const’} but argument is of type ‘PetscInt *’ {aka ‘long int *’} 258 | int SCOTCH_graphBuild (SCOTCH_Graph * const, const SCOTCH_Num, const SCOTCH_Num, const SCOTCH_Num * const, const SCOTCH_Num * const, const SCOTCH_Num * const, const SCOTCH_Num * const, const SCOTCH_Num, const SCOTCH_Num * const, const SCOTCH_Num * const); | ^~~~~~~~~~~~~~~~~~~~~~~~ /<<PKGBUILDDIR>>/src/mat/partition/impls/scotch/scotch.c:388:84: error: passing argument 5 of ‘SCOTCH_graphBuild’ from incompatible pointer type [-Wincompatible-pointer-types] 388 | PetscCallExternal(SCOTCH_graphBuild, &grafdat, 0, vertlocnbr, adj->i, adj->i + 1, veloloctab, NULL, edgelocnbr, adj->j, edloloctab); | ~~~~~~~^~~ | | | PetscInt * {aka long int *} /<<PKGBUILDDIR>>/include/petscerror.h:1770:44: note: in definition of macro ‘PetscCallExternal’ 1770 | int ierr_petsc_call_external_ = func(__VA_ARGS__); \ | ^~~~~~~~~~~ /usr/include/scotch/scotch.h:258:134: note: expected ‘const SCOTCH_Num * const’ {aka ‘const int * const’} but argument is of type ‘PetscInt *’ {aka ‘long int *’} 258 | int SCOTCH_graphBuild (SCOTCH_Graph * const, const SCOTCH_Num, const SCOTCH_Num, const SCOTCH_Num * const, const SCOTCH_Num * const, const SCOTCH_Num * const, const SCOTCH_Num * const, const SCOTCH_Num, const SCOTCH_Num * const, const SCOTCH_Num * const); | ^~~~~~~~~~~~~~~~~~~~~~~~ /<<PKGBUILDDIR>>/src/mat/partition/impls/scotch/scotch.c:388:122: error: passing argument 9 of ‘SCOTCH_graphBuild’ from incompatible pointer type [-Wincompatible-pointer-types] 388 | PetscCallExternal(SCOTCH_graphBuild, &grafdat, 0, vertlocnbr, adj->i, adj->i + 1, veloloctab, NULL, edgelocnbr, adj->j, edloloctab); | ~~~^~~ | | | PetscInt * {aka long int *} /<<PKGBUILDDIR>>/include/petscerror.h:1770:44: note: in definition of macro ‘PetscCallExternal’ 1770 | int ierr_petsc_call_external_ = func(__VA_ARGS__); \ | ^~~~~~~~~~~ /usr/include/scotch/scotch.h:258:230: note: expected ‘const SCOTCH_Num * const’ {aka ‘const int * const’} but argument is of type ‘PetscInt *’ {aka ‘long int *’} 258 | int SCOTCH_graphBuild (SCOTCH_Graph * const, const SCOTCH_Num, const SCOTCH_Num, const SCOTCH_Num * const, const SCOTCH_Num * const, const SCOTCH_Num * const, const SCOTCH_Num * const, const SCOTCH_Num, const SCOTCH_Num * const, const SCOTCH_Num * const); | ^~~~~~~~~~~~~~~~~~~~~~~~ /<<PKGBUILDDIR>>/src/mat/partition/impls/scotch/scotch.c:418:52: error: passing argument 3 of ‘ISCreateGeneral’ from incompatible pointer type [-Wincompatible-pointer-types] 418 | PetscCall(ISCreateGeneral(pcomm, mat->rmap->n, locals, PETSC_OWN_POINTER, partitioning)); | ^~~~~~ | | | SCOTCH_Num * {aka int *} /<<PKGBUILDDIR>>/include/petscerror.h:465:28: note: in definition of macro ‘PetscCall’ 465 | ierr_petsc_call_q_ = __VA_ARGS__; \ | ^~~~~~~~~~~ In file included from /<<PKGBUILDDIR>>/include/petscvec.h:10: /<<PKGBUILDDIR>>/include/petscis.h:131:65: note: expected ‘const PetscInt *’ {aka ‘const long int *’} but argument is of type ‘SCOTCH_Num *’ {aka ‘int *’} 131 | PETSC_EXTERN PetscErrorCode ISCreateGeneral(MPI_Comm, PetscInt, const PetscInt[], PetscCopyMode, IS *); | ^~~~~~~~~~~~~~~~ gmake[5]: *** [gmakefile:197: x86_64-linux-gnu-real-debug-64/obj/src/mat/partition/impls/scotch/scotch.o] Error 1 gmake[5]: *** Waiting for unfinished jobs.... mpicc -c -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/<<PKGBUILDDIR>>=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -fPIC -I/<<PKGBUILDDIR>>/include -I/<<PKGBUILDDIR>>/x86_64-linux-gnu-real-debug-64/include -I/usr/include/hypre64m -I/usr/include/suitesparse -I/usr/include/trilinos -I/usr/include/scotch -I/usr/include/hdf5/openmpi -Wdate-time -D_FORTIFY_SOURCE=2 -MMD -MP /<<PKGBUILDDIR>>/src/mat/partition/impls/scotch/ftn-auto/scotchf.c -o x86_64-linux-gnu-real-debug-64/obj/src/mat/partition/impls/scotch/ftn-auto/scotchf.o mpicc -c -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/<<PKGBUILDDIR>>=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -fPIC -I/<<PKGBUILDDIR>>/include -I/<<PKGBUILDDIR>>/x86_64-linux-gnu-real-debug-64/include -I/usr/include/hypre64m -I/usr/include/suitesparse -I/usr/include/trilinos -I/usr/include/scotch -I/usr/include/hdf5/openmpi -Wdate-time -D_FORTIFY_SOURCE=2 -MMD -MP /<<PKGBUILDDIR>>/src/mat/partition/partition.c -o x86_64-linux-gnu-real-debug-64/obj/src/mat/partition/partition.o mpicc -c -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/<<PKGBUILDDIR>>=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -fPIC -I/<<PKGBUILDDIR>>/include -I/<<PKGBUILDDIR>>/x86_64-linux-gnu-real-debug-64/include -I/usr/include/hypre64m -I/usr/include/suitesparse -I/usr/include/trilinos -I/usr/include/scotch -I/usr/include/hdf5/openmpi -Wdate-time -D_FORTIFY_SOURCE=2 -MMD -MP /<<PKGBUILDDIR>>/src/mat/impls/aij/mpi/mpiptap.c -o x86_64-linux-gnu-real-debug-64/obj/src/mat/impls/aij/mpi/mpiptap.o mpicc -c -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/<<PKGBUILDDIR>>=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -fPIC -I/<<PKGBUILDDIR>>/include -I/<<PKGBUILDDIR>>/x86_64-linux-gnu-real-debug-64/include -I/usr/include/hypre64m -I/usr/include/suitesparse -I/usr/include/trilinos -I/usr/include/scotch -I/usr/include/hdf5/openmpi -Wdate-time -D_FORTIFY_SOURCE=2 -MMD -MP /<<PKGBUILDDIR>>/src/mat/impls/aij/mpi/mpimatmatmult.c -o x86_64-linux-gnu-real-debug-64/obj/src/mat/impls/aij/mpi/mpimatmatmult.o mpicc -c -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/<<PKGBUILDDIR>>=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -fPIC -I/<<PKGBUILDDIR>>/include -I/<<PKGBUILDDIR>>/x86_64-linux-gnu-real-debug-64/include -I/usr/include/hypre64m -I/usr/include/suitesparse -I/usr/include/trilinos -I/usr/include/scotch -I/usr/include/hdf5/openmpi -Wdate-time -D_FORTIFY_SOURCE=2 -MMD -MP /<<PKGBUILDDIR>>/src/mat/impls/aij/mpi/mpiov.c -o x86_64-linux-gnu-real-debug-64/obj/src/mat/impls/aij/mpi/mpiov.o mpicc -c -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/<<PKGBUILDDIR>>=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -fPIC -I/<<PKGBUILDDIR>>/include -I/<<PKGBUILDDIR>>/x86_64-linux-gnu-real-debug-64/include -I/usr/include/hypre64m -I/usr/include/suitesparse -I/usr/include/trilinos -I/usr/include/scotch -I/usr/include/hdf5/openmpi -Wdate-time -D_FORTIFY_SOURCE=2 -MMD -MP /<<PKGBUILDDIR>>/src/mat/impls/aij/mpi/mumps/mumps.c -o x86_64-linux-gnu-real-debug-64/obj/src/mat/impls/aij/mpi/mumps/mumps.o mpicc -c -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/<<PKGBUILDDIR>>=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -fPIC -I/<<PKGBUILDDIR>>/include -I/<<PKGBUILDDIR>>/x86_64-linux-gnu-real-debug-64/include -I/usr/include/hypre64m -I/usr/include/suitesparse -I/usr/include/trilinos -I/usr/include/scotch -I/usr/include/hdf5/openmpi -Wdate-time -D_FORTIFY_SOURCE=2 -MMD -MP /<<PKGBUILDDIR>>/src/mat/impls/aij/mpi/mpiaij.c -o x86_64-linux-gnu-real-debug-64/obj/src/mat/impls/aij/mpi/mpiaij.o gmake[4]: *** [/<<PKGBUILDDIR>>/lib/petsc/conf/rules.doc:28: libs] Error 2 **************************ERROR************************************* Error during compile, check x86_64-linux-gnu-real-debug-64/lib/petsc/conf/make.log Send it and x86_64-linux-gnu-real-debug-64/lib/petsc/conf/configure.log to [email protected] ******************************************************************** gmake[3]: *** [makefile:45: all] Error 1 make[2]: *** [GNUmakefile:9: all] Error 2 make[2]: Leaving directory '/<<PKGBUILDDIR>>' dh_auto_build: error: make -j8 V=1 PETSC_DIR=/<<BUILDDIR>>/petsc-3.20.6\+dfsg1 PETSC_ARCH=x86_64-linux-gnu-real-debug-64 CFLAGS= CXXFLAGS= FCFLAGS= FFLAGS= returned exit code 2 make[1]: *** [debian/rules:449: override_dh_auto_build] Error 25 make[1]: Leaving directory '/<<PKGBUILDDIR>>' make: *** [debian/rules:223: build] Error 2 dpkg-buildpackage: error: debian/rules build subprocess returned exit status 2 -- debian-science-maintainers mailing list [email protected] https://alioth-lists.debian.net/cgi-bin/mailman/listinfo/debian-science-maintainers
