Bug#1096589: esys-particle: ftbfs with GCC-15
Matthias Klose
doko at debian.org
Mon Feb 17 17:12:01 GMT 2025
Package: src:esys-particle
Version: 2.3.5+dfsg2-8
Severity: important
Tags: sid forky
User: debian-gcc at lists.debian.org
Usertags: ftbfs-gcc-15
[This bug is NOT 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-15/g++-15, but succeeds to build with gcc-14/g++-14. The
severity of this report will be raised before the forky release.
The full build log can be found at:
http://qa-logs.debian.net/2025/02/16/amd64exp/esys-particle_2.3.5+dfsg2-8_unstable_gccexp.log.gz
The last lines of the build log are at the end of this report.
To build with GCC 15, either set CC=gcc-15 CXX=g++-15 explicitly,
or install the gcc, g++, gfortran, ... packages from experimental.
apt-get -t=experimental install g++
GCC 15 now defaults to the C23/C++23 standards, exposing many FTBFS.
Other 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-15/porting_to.html
[...]
Making all in ExtractGrains
make[4]: Entering directory '/build/reproducible-path/esys-particle-2.3.5+dfsg2/Tools/ExtractGrains'
mpicxx -DHAVE_CONFIG_H -I. -I../.. "-I../.." -I/usr/include -I../../Foundation -Wdate-time -D_FORTIFY_SOURCE=2 -Wall -g -O2 -ffile-prefix-map=/build/reproducible-path/esys-particle-2.3.5+dfsg2=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -std=c++14 -c -o main.o main.cpp
mpicxx -DHAVE_CONFIG_H -I. -I../.. "-I../.." -I/usr/include -I../../Foundation -Wdate-time -D_FORTIFY_SOURCE=2 -Wall -g -O2 -ffile-prefix-map=/build/reproducible-path/esys-particle-2.3.5+dfsg2=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -std=c++14 -c -o graph.o graph.cpp
mpicxx -DHAVE_CONFIG_H -I. -I../.. "-I../.." -I/usr/include -I../../Foundation -Wdate-time -D_FORTIFY_SOURCE=2 -Wall -g -O2 -ffile-prefix-map=/build/reproducible-path/esys-particle-2.3.5+dfsg2=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -std=c++14 -c -o readSnap.o readSnap.cpp
mpicxx -DHAVE_CONFIG_H -I. -I../.. "-I../.." -I/usr/include -I../../Foundation -Wdate-time -D_FORTIFY_SOURCE=2 -Wall -g -O2 -ffile-prefix-map=/build/reproducible-path/esys-particle-2.3.5+dfsg2=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -std=c++14 -c -o probdist.o probdist.cpp
mpicxx -DHAVE_CONFIG_H -I. -I../.. "-I../.." -I/usr/include -I../../Foundation -Wdate-time -D_FORTIFY_SOURCE=2 -Wall -g -O2 -ffile-prefix-map=/build/reproducible-path/esys-particle-2.3.5+dfsg2=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -std=c++14 -c -o Frac.o Frac.cpp
mpicxx -DHAVE_CONFIG_H -I. -I../.. "-I../.." -I/usr/include -I../../Foundation -Wdate-time -D_FORTIFY_SOURCE=2 -Wall -g -O2 -ffile-prefix-map=/build/reproducible-path/esys-particle-2.3.5+dfsg2=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -std=c++14 -c -o Triangle2d.o Triangle2d.cpp
/bin/bash ../../libtool --tag=CXX --mode=link mpicxx -Wall -g -O2 -ffile-prefix-map=/build/reproducible-path/esys-particle-2.3.5+dfsg2=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -std=c++14 -release 2.3.4 -lboost_system -Wl,-z,relro -Wl,-z,now -o grainextract main.o graph.o readSnap.o probdist.o Frac.o Triangle2d.o ../../Foundation/libFoundation.la -lpython3.13 -lmpi
libtool: warning: '-release' is ignored for programs
libtool: link: mpicxx -Wall -g -O2 -ffile-prefix-map=/build/reproducible-path/esys-particle-2.3.5+dfsg2=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -std=c++14 -Wl,-z -Wl,relro -Wl,-z -Wl,now -o .libs/grainextract main.o graph.o readSnap.o probdist.o Frac.o Triangle2d.o -lboost_system ../../Foundation/.libs/libFoundation.so -lpython3.13 -lmpi
make[4]: Leaving directory '/build/reproducible-path/esys-particle-2.3.5+dfsg2/Tools/ExtractGrains'
Making all in dump2vtk
make[4]: Entering directory '/build/reproducible-path/esys-particle-2.3.5+dfsg2/Tools/dump2vtk'
mpicxx -DHAVE_CONFIG_H -I. -I../.. "-I../.." -I/usr/include -I../../Foundation -I../../Geometry -Wdate-time -D_FORTIFY_SOURCE=2 -Wall -g -O2 -ffile-prefix-map=/build/reproducible-path/esys-particle-2.3.5+dfsg2=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -std=c++14 -c -o main.o main.cpp
mpicxx -DHAVE_CONFIG_H -I. -I../.. "-I../.." -I/usr/include -I../../Foundation -I../../Geometry -Wdate-time -D_FORTIFY_SOURCE=2 -Wall -g -O2 -ffile-prefix-map=/build/reproducible-path/esys-particle-2.3.5+dfsg2=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -std=c++14 -c -o frame_vtk.o frame_vtk.cpp
frame_vtk.cpp: In function ‘void do_single_frame_sliced_vtk_r(const std::string&, const std::string&, int, bool, const std::string&, double, double)’:
frame_vtk.cpp:1125:8: warning: unused variable ‘hasMeshBondedInteractions’ [-Wunused-variable]
1125 | bool hasMeshBondedInteractions=false;
| ^~~~~~~~~~~~~~~~~~~~~~~~~
/bin/bash ../../libtool --tag=CXX --mode=link mpicxx -Wall -g -O2 -ffile-prefix-map=/build/reproducible-path/esys-particle-2.3.5+dfsg2=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -std=c++14 -release 2.3.4 -lboost_system -Wl,-z,relro -Wl,-z,now -o dump2vtk main.o frame_vtk.o ../../Foundation/libFoundation.la ../../Geometry/libGgGeometry.la ../../Parallel/libParallel.la -lboost_filesystem -lpython3.13 -lmpi
libtool: warning: '-release' is ignored for programs
libtool: link: mpicxx -Wall -g -O2 -ffile-prefix-map=/build/reproducible-path/esys-particle-2.3.5+dfsg2=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -std=c++14 -Wl,-z -Wl,relro -Wl,-z -Wl,now -o .libs/dump2vtk main.o frame_vtk.o -lboost_system ../../Foundation/.libs/libFoundation.so ../../Geometry/.libs/libGgGeometry.so ../../Parallel/.libs/libParallel.so -lboost_filesystem -lpython3.13 -lmpi
make[4]: Leaving directory '/build/reproducible-path/esys-particle-2.3.5+dfsg2/Tools/dump2vtk'
Making all in ExtractFractures
make[4]: Entering directory '/build/reproducible-path/esys-particle-2.3.5+dfsg2/Tools/ExtractFractures'
mpicxx -DHAVE_CONFIG_H -I. -I../.. "-I../.." -I/usr/include -I../../Foundation -I../../Geometry -Wdate-time -D_FORTIFY_SOURCE=2 -Wall -g -O2 -ffile-prefix-map=/build/reproducible-path/esys-particle-2.3.5+dfsg2=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -std=c++14 -c -o fracframe.o fracframe.cpp
mpicxx -DHAVE_CONFIG_H -I. -I../.. "-I../.." -I/usr/include -I../../Foundation -I../../Geometry -Wdate-time -D_FORTIFY_SOURCE=2 -Wall -g -O2 -ffile-prefix-map=/build/reproducible-path/esys-particle-2.3.5+dfsg2=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -std=c++14 -c -o fracwriter.o fracwriter.cpp
mpicxx -DHAVE_CONFIG_H -I. -I../.. "-I../.." -I/usr/include -I../../Foundation -I../../Geometry -Wdate-time -D_FORTIFY_SOURCE=2 -Wall -g -O2 -ffile-prefix-map=/build/reproducible-path/esys-particle-2.3.5+dfsg2=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -std=c++14 -c -o FitPlane.o FitPlane.cpp
mpicxx -DHAVE_CONFIG_H -I. -I../.. "-I../.." -I/usr/include -I../../Foundation -I../../Geometry -Wdate-time -D_FORTIFY_SOURCE=2 -Wall -g -O2 -ffile-prefix-map=/build/reproducible-path/esys-particle-2.3.5+dfsg2=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -std=c++14 -c -o frac_dist.o frac_dist.cpp
mpicxx -DHAVE_CONFIG_H -I. -I../.. "-I../.." -I/usr/include -I../../Foundation -I../../Geometry -Wdate-time -D_FORTIFY_SOURCE=2 -Wall -g -O2 -ffile-prefix-map=/build/reproducible-path/esys-particle-2.3.5+dfsg2=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -std=c++14 -c -o main.o main.cpp
main.cpp: In function ‘int main(int, char**)’:
main.cpp:54:7: warning: variable ‘t0_frame’ set but not used [-Wunused-but-set-variable]
54 | int t0_frame=0;
| ^~~~~~~~
In file included from /usr/include/c++/15/set:64,
from fracframe.h:19,
from fracframe.cpp:13:
/usr/include/c++/15/bits/stl_tree.h: In instantiation of ‘std::_Rb_tree<_Key, _Val, _KeyOfValue, _Compare, _Alloc>::_Base_ptr std::_Rb_tree<_Key, _Val, _KeyOfValue, _Compare, _Alloc>::_M_lower_bound(_Base_ptr, _Base_ptr, const _Key&) const [with _Key = FracFrame::bdata; _Val = FracFrame::bdata; _KeyOfValue = std::_Identity<FracFrame::bdata>; _Compare = FracFrame::cmp; _Alloc = std::allocator<FracFrame::bdata>; _Base_ptr = std::__rb_tree::_Node_traits<FracFrame::bdata, FracFrame::bdata*>::_Node_base*]’:
/usr/include/c++/15/bits/stl_tree.h:3150:20: required from ‘std::_Rb_tree<_Key, _Val, _KeyOfValue, _Compare, _Alloc>::iterator std::_Rb_tree<_Key, _Val, _KeyOfValue, _Compare, _Alloc>::find(const _Key&) [with _Key = FracFrame::bdata; _Val = FracFrame::bdata; _KeyOfValue = std::_Identity<FracFrame::bdata>; _Compare = FracFrame::cmp; _Alloc = std::allocator<FracFrame::bdata>; iterator = std::_Rb_tree<FracFrame::bdata, FracFrame::bdata, std::_Identity<FracFrame::bdata>, FracFrame::cmp, std::allocator<FracFrame::bdata> >::iterator]’
3150 | iterator __j(_M_lower_bound(_M_begin(), _M_end(), __k));
| ^~~~~~~~~~~~~~
/usr/include/c++/15/bits/stl_set.h:797:25: required from ‘std::set<_Key, _Compare, _Alloc>::iterator std::set<_Key, _Compare, _Alloc>::find(const key_type&) [with _Key = FracFrame::bdata; _Compare = FracFrame::cmp; _Alloc = std::allocator<FracFrame::bdata>; iterator = std::_Rb_tree<FracFrame::bdata, FracFrame::bdata, std::_Identity<FracFrame::bdata>, FracFrame::cmp, std::allocator<FracFrame::bdata> >::const_iterator; key_type = FracFrame::bdata]’
797 | { return _M_t.find(__x); }
| ~~~~~~~~~^~~~~
fracframe.cpp:475:25: required from here
475 | if((F2.m_bonds).find(*iter)==(F2.m_bonds).end()){
| ~~~~~~~~~~~~~~~~~^~~~~~~
/usr/include/c++/15/bits/stl_tree.h:2604:36: error: no match for call to ‘(const FracFrame::cmp) (const FracFrame::bdata&, const FracFrame::bdata&)’
2604 | if (!_M_impl._M_key_compare(_S_key(__x), __k))
| ~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~
fracframe.h:44:9: note: there is 1 candidate
44 | class cmp
| ^~~
fracframe.cpp:36:6: note: candidate 1: ‘bool FracFrame::cmp::operator()(const FracFrame::bdata&, const FracFrame::bdata&)’ (near match)
36 | bool FracFrame::cmp::operator()(const bdata& b1,const bdata& b2)
| ^~~~~~~~~
fracframe.cpp:36:6: note: passing ‘const FracFrame::cmp*’ as ‘this’ argument discards qualifiers
make[4]: *** [Makefile:509: fracframe.o] Error 1
make[4]: *** Waiting for unfinished jobs....
make[4]: Leaving directory '/build/reproducible-path/esys-particle-2.3.5+dfsg2/Tools/ExtractFractures'
make[3]: *** [Makefile:424: all-recursive] Error 1
make[3]: Leaving directory '/build/reproducible-path/esys-particle-2.3.5+dfsg2/Tools'
make[2]: *** [Makefile:469: all-recursive] Error 1
make[2]: Leaving directory '/build/reproducible-path/esys-particle-2.3.5+dfsg2'
make[1]: *** [Makefile:400: all] Error 2
make[1]: Leaving directory '/build/reproducible-path/esys-particle-2.3.5+dfsg2'
dh_auto_build: error: make -j8 returned exit code 2
make: *** [debian/rules:15: binary] Error 25
dpkg-buildpackage: error: debian/rules binary subprocess returned exit status 2
More information about the debian-science-maintainers
mailing list