Package: src:scotch Version: 7.0.4-2 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/scotch_7.0.4-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 [...] make[4]: 'libscotchmetisv5.a' is up to date. make[4]: Leaving directory '/<<PKGBUILDDIR>>/src/libscotchmetis' cp -a metis.h metisf.h ../../include cp -a libscotchmetisv3.a libscotchmetisv5.a libscotchmetisv3*.so libscotchmetisv5*.so ../../lib make[3]: Leaving directory '/<<PKGBUILDDIR>>/src/libscotchmetis' (cd libscotch ; make VERSION=7 RELEASE=0 PATCHLEVEL=4 ptscotch && make ptinstall) make[3]: Entering directory '/<<PKGBUILDDIR>>/src/libscotch' make \ CC="mpicc" \ CCD="mpicc" \ scotch.h \ scotchf.h \ libscotch.a \ libscotcherr.a \ libscotcherrexit.a make[4]: Entering directory '/<<PKGBUILDDIR>>/src/libscotch' make[4]: 'scotch.h' is up to date. make[4]: 'scotchf.h' is up to date. make[4]: 'libscotch.a' is up to date. make[4]: 'libscotcherr.a' is up to date. make[4]: 'libscotcherrexit.a' is up to date. make[4]: Leaving directory '/<<PKGBUILDDIR>>/src/libscotch' make \ CC="mpicc" \ CFLAGS="-g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/<<PKGBUILDDIR>>/src/libscotch=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -O3 -fPIC -I. -Drestrict=__restrict -DCOMMON_FILE_COMPRESS_GZ -DCOMMON_FILE_COMPRESS_BZ2 -DCOMMON_FILE_COMPRESS_LZMA -DSCOTCH_PTHREAD -DCOMMON_PTHREAD -DSCOTCH_PTHREAD_NUMBER=2 -DCOMMON_PTHREAD_FILE -DSCOTCH_PTHREAD_MPI -DCOMMON_RANDOM_FIXED_SEED -DSCOTCH_RENAME -DSCOTCH_RENAME_PARSER -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/<<PKGBUILDDIR>>=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -DCOMMON_PTHREAD_AFFINITY_LINUX -DLONG -DSCOTCH_PTSCOTCH" \ CCDFLAGS="-g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/<<PKGBUILDDIR>>/src/libscotch=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -O3 -fPIC -I. -Drestrict=__restrict -DCOMMON_FILE_COMPRESS_GZ -DCOMMON_FILE_COMPRESS_BZ2 -DCOMMON_FILE_COMPRESS_LZMA -DSCOTCH_PTHREAD -DCOMMON_PTHREAD -DSCOTCH_PTHREAD_NUMBER=2 -DCOMMON_PTHREAD_FILE -DSCOTCH_PTHREAD_MPI -DCOMMON_RANDOM_FIXED_SEED -DSCOTCH_RENAME -DSCOTCH_RENAME_PARSER -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/<<PKGBUILDDIR>>=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -DCOMMON_PTHREAD_AFFINITY_LINUX -DLONG -DSCOTCH_PTSCOTCH" \ ptscotch.h \ ptscotchf.h \ libptscotch.a \ libptscotcherr.a \ libptscotcherrexit.a make[4]: Entering directory '/<<PKGBUILDDIR>>/src/libscotch' mpicc -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/<<PKGBUILDDIR>>/src/libscotch=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -O3 -fPIC -I. -Drestrict=__restrict -DCOMMON_FILE_COMPRESS_GZ -DCOMMON_FILE_COMPRESS_BZ2 -DCOMMON_FILE_COMPRESS_LZMA -DSCOTCH_PTHREAD -DCOMMON_PTHREAD -DSCOTCH_PTHREAD_NUMBER=2 -DCOMMON_PTHREAD_FILE -DSCOTCH_PTHREAD_MPI -DCOMMON_RANDOM_FIXED_SEED -DSCOTCH_RENAME -DSCOTCH_RENAME_PARSER -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/<<PKGBUILDDIR>>=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -DCOMMON_PTHREAD_AFFINITY_LINUX -DLONG -DSCOTCH_PTSCOTCH -DSCOTCH_VERSION_NUM=7 -DSCOTCH_RELEASE_NUM=0 -DSCOTCH_PATCHLEVEL_NUM=4 dummysizes.c -o ptdummysizes -Wl,-z,relro -pthread -lz -lbz2 -llzma -lm -lrt -Wl,-z,relro ./ptdummysizes "-s" library_pt.h ptscotch.h ./ptdummysizes "-s" library_pt_f.h ptscotchf.h mpicc -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/<<PKGBUILDDIR>>/src/libscotch=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -O3 -fPIC -I. -Drestrict=__restrict -DCOMMON_FILE_COMPRESS_GZ -DCOMMON_FILE_COMPRESS_BZ2 -DCOMMON_FILE_COMPRESS_LZMA -DSCOTCH_PTHREAD -DCOMMON_PTHREAD -DSCOTCH_PTHREAD_NUMBER=2 -DCOMMON_PTHREAD_FILE -DSCOTCH_PTHREAD_MPI -DCOMMON_RANDOM_FIXED_SEED -DSCOTCH_RENAME -DSCOTCH_RENAME_PARSER -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/<<PKGBUILDDIR>>=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -DCOMMON_PTHREAD_AFFINITY_LINUX -DLONG -DSCOTCH_PTSCOTCH -c bdgraph.c -o bdgraph.o -DSCOTCH_VERSION_NUM=7 -DSCOTCH_RELEASE_NUM=0 -DSCOTCH_PATCHLEVEL_NUM=4 mpicc -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/<<PKGBUILDDIR>>/src/libscotch=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -O3 -fPIC -I. -Drestrict=__restrict -DCOMMON_FILE_COMPRESS_GZ -DCOMMON_FILE_COMPRESS_BZ2 -DCOMMON_FILE_COMPRESS_LZMA -DSCOTCH_PTHREAD -DCOMMON_PTHREAD -DSCOTCH_PTHREAD_NUMBER=2 -DCOMMON_PTHREAD_FILE -DSCOTCH_PTHREAD_MPI -DCOMMON_RANDOM_FIXED_SEED -DSCOTCH_RENAME -DSCOTCH_RENAME_PARSER -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/<<PKGBUILDDIR>>=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -DCOMMON_PTHREAD_AFFINITY_LINUX -DLONG -DSCOTCH_PTSCOTCH -c bdgraph_bipart_bd.c -o bdgraph_bipart_bd.o -DSCOTCH_VERSION_NUM=7 -DSCOTCH_RELEASE_NUM=0 -DSCOTCH_PATCHLEVEL_NUM=4 mpicc -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/<<PKGBUILDDIR>>/src/libscotch=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -O3 -fPIC -I. -Drestrict=__restrict -DCOMMON_FILE_COMPRESS_GZ -DCOMMON_FILE_COMPRESS_BZ2 -DCOMMON_FILE_COMPRESS_LZMA -DSCOTCH_PTHREAD -DCOMMON_PTHREAD -DSCOTCH_PTHREAD_NUMBER=2 -DCOMMON_PTHREAD_FILE -DSCOTCH_PTHREAD_MPI -DCOMMON_RANDOM_FIXED_SEED -DSCOTCH_RENAME -DSCOTCH_RENAME_PARSER -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/<<PKGBUILDDIR>>=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -DCOMMON_PTHREAD_AFFINITY_LINUX -DLONG -DSCOTCH_PTSCOTCH -c bdgraph_bipart_df.c -o bdgraph_bipart_df.o -DSCOTCH_VERSION_NUM=7 -DSCOTCH_RELEASE_NUM=0 -DSCOTCH_PATCHLEVEL_NUM=4 mpicc -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/<<PKGBUILDDIR>>/src/libscotch=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -O3 -fPIC -I. -Drestrict=__restrict -DCOMMON_FILE_COMPRESS_GZ -DCOMMON_FILE_COMPRESS_BZ2 -DCOMMON_FILE_COMPRESS_LZMA -DSCOTCH_PTHREAD -DCOMMON_PTHREAD -DSCOTCH_PTHREAD_NUMBER=2 -DCOMMON_PTHREAD_FILE -DSCOTCH_PTHREAD_MPI -DCOMMON_RANDOM_FIXED_SEED -DSCOTCH_RENAME -DSCOTCH_RENAME_PARSER -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/<<PKGBUILDDIR>>=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -DCOMMON_PTHREAD_AFFINITY_LINUX -DLONG -DSCOTCH_PTSCOTCH -c bdgraph_bipart_ex.c -o bdgraph_bipart_ex.o -DSCOTCH_VERSION_NUM=7 -DSCOTCH_RELEASE_NUM=0 -DSCOTCH_PATCHLEVEL_NUM=4 mpicc -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/<<PKGBUILDDIR>>/src/libscotch=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -O3 -fPIC -I. -Drestrict=__restrict -DCOMMON_FILE_COMPRESS_GZ -DCOMMON_FILE_COMPRESS_BZ2 -DCOMMON_FILE_COMPRESS_LZMA -DSCOTCH_PTHREAD -DCOMMON_PTHREAD -DSCOTCH_PTHREAD_NUMBER=2 -DCOMMON_PTHREAD_FILE -DSCOTCH_PTHREAD_MPI -DCOMMON_RANDOM_FIXED_SEED -DSCOTCH_RENAME -DSCOTCH_RENAME_PARSER -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/<<PKGBUILDDIR>>=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -DCOMMON_PTHREAD_AFFINITY_LINUX -DLONG -DSCOTCH_PTSCOTCH -c bdgraph_bipart_ml.c -o bdgraph_bipart_ml.o -DSCOTCH_VERSION_NUM=7 -DSCOTCH_RELEASE_NUM=0 -DSCOTCH_PATCHLEVEL_NUM=4 mpicc -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/<<PKGBUILDDIR>>/src/libscotch=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -O3 -fPIC -I. -Drestrict=__restrict -DCOMMON_FILE_COMPRESS_GZ -DCOMMON_FILE_COMPRESS_BZ2 -DCOMMON_FILE_COMPRESS_LZMA -DSCOTCH_PTHREAD -DCOMMON_PTHREAD -DSCOTCH_PTHREAD_NUMBER=2 -DCOMMON_PTHREAD_FILE -DSCOTCH_PTHREAD_MPI -DCOMMON_RANDOM_FIXED_SEED -DSCOTCH_RENAME -DSCOTCH_RENAME_PARSER -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/<<PKGBUILDDIR>>=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -DCOMMON_PTHREAD_AFFINITY_LINUX -DLONG -DSCOTCH_PTSCOTCH -c bdgraph_bipart_sq.c -o bdgraph_bipart_sq.o -DSCOTCH_VERSION_NUM=7 -DSCOTCH_RELEASE_NUM=0 -DSCOTCH_PATCHLEVEL_NUM=4 bdgraph_bipart_sq.c: In function ‘_SCOTCHbdgraphBipartSq’: bdgraph_bipart_sq.c:242:48: error: passing argument 2 of ‘MPI_Scatterv’ from incompatible pointer type [-Wincompatible-pointer-types] 242 | if (commScatterv (cgrfdat.parttax, dgrfptr->s.proccnttab, dgrfptr->s.procdsptab, GRAPHPART_MPI, /* No base for sending as procdsptab holds based values */ | ~~~~~~~~~~^~~~~~~~~~~ | | | Gnum * {aka long int *} In file included from common.h:138, from bdgraph_bipart_sq.c:63: /usr/lib/x86_64-linux-gnu/openmpi/include/mpi.h:1799:64: note: expected ‘const int *’ but argument is of type ‘Gnum *’ {aka ‘long int *’} 1799 | OMPI_DECLSPEC int MPI_Scatterv(const void *sendbuf, const int sendcounts[], const int displs[], | ~~~~~~~~~~^~~~~~~~~~~~ bdgraph_bipart_sq.c:242:71: error: passing argument 3 of ‘MPI_Scatterv’ from incompatible pointer type [-Wincompatible-pointer-types] 242 | if (commScatterv (cgrfdat.parttax, dgrfptr->s.proccnttab, dgrfptr->s.procdsptab, GRAPHPART_MPI, /* No base for sending as procdsptab holds based values */ | ~~~~~~~~~~^~~~~~~~~~~ | | | Gnum * {aka long int *} /usr/lib/x86_64-linux-gnu/openmpi/include/mpi.h:1799:88: note: expected ‘const int *’ but argument is of type ‘Gnum *’ {aka ‘long int *’} 1799 | OMPI_DECLSPEC int MPI_Scatterv(const void *sendbuf, const int sendcounts[], const int displs[], | ~~~~~~~~~~^~~~~~~~ make[4]: *** [Makefile:50: bdgraph_bipart_sq.o] Error 1 make[4]: Leaving directory '/<<PKGBUILDDIR>>/src/libscotch' make[3]: *** [Makefile:72: ptscotch] Error 2 make[3]: Leaving directory '/<<PKGBUILDDIR>>/src/libscotch' make[2]: *** [Makefile:104: libptscotch] Error 2 make[2]: Leaving directory '/<<PKGBUILDDIR>>/src' make[1]: *** [debian/rules:89: override_dh_auto_build] Error 2 make[1]: Leaving directory '/<<PKGBUILDDIR>>' make: *** [debian/rules:82: 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
