--- Begin Message ---
Package: src:kcollectd
Version: 0.12.2-1
Severity: important
Tags: sid forky
User: debian-gcc@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/kcollectd_0.12.2-1_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
[...]
[ 84%] Building CXX object kcollectd/CMakeFiles/kcollectd.dir/timeaxis.cc.o
cd /build/reproducible-path/kcollectd-0.12.2/obj-x86_64-linux-gnu/kcollectd && /usr/bin/c++ -DBOOST_ATOMIC_DYN_LINK -DBOOST_ATOMIC_NO_LIB -DBOOST_FILESYSTEM_DYN_LINK -DBOOST_FILESYSTEM_NO_LIB -DBOOST_SYSTEM_DYN_LINK -DBOOST_SYSTEM_NO_LIB -DKCOREADDONS_LIB -DQT_CORE_LIB -DQT_DBUS_LIB -DQT_GUI_LIB -DQT_NO_DEBUG -DQT_WIDGETS_LIB -DQT_XML_LIB -D_GNU_SOURCE -D_LARGEFILE64_SOURCE -I/build/reproducible-path/kcollectd-0.12.2/obj-x86_64-linux-gnu/kcollectd -I/build/reproducible-path/kcollectd-0.12.2/kcollectd -I/build/reproducible-path/kcollectd-0.12.2/obj-x86_64-linux-gnu/kcollectd/kcollectd_autogen/include -I/build/reproducible-path/kcollectd-0.12.2 -I/build/reproducible-path/kcollectd-0.12.2/obj-x86_64-linux-gnu -isystem /usr/include/KF6/KCoreAddons -isystem /usr/include/x86_64-linux-gnu/qt6/QtCore -isystem /usr/include/x86_64-linux-gnu/qt6 -isystem /usr/lib/x86_64-linux-gnu/qt6/mkspecs/linux-g++ -isystem /usr/include/KF6/KXmlGui -isystem /usr/include/x86_64-linux-gnu/qt6/QtXml -isystem /u
sr/include/x86_64-linux-gnu/qt6/QtWidgets -isystem /usr/include/x86_64-linux-gnu/qt6/QtGui -isystem /usr/include/KF6/KConfig -isystem /usr/include/KF6/KConfigCore -isystem /usr/include/KF6/KConfigWidgets -isystem /usr/include/KF6/KWidgetsAddons -isystem /usr/include/KF6/KConfigGui -isystem /usr/include/KF6/KColorScheme -isystem /usr/include/x86_64-linux-gnu/qt6/QtDBus -isystem /usr/include/KF6/KIconThemes -isystem /usr/include/KF6/KI18n -g -O2 -ffile-prefix-map=/build/reproducible-path/kcollectd-0.12.2=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -Wdate-time -D_FORTIFY_SOURCE=2 -fno-operator-names -fno-exceptions -Wall -Wextra -Wcast-align -Wchar-subscripts -Wformat-security -Wno-long-long -Wpointer-arith -Wundef -Wnon-virtual-dtor -Woverloaded-virtual -Werror=return-type -Werror=init-self -Wvla -Wdate-time -Wsuggest-override -Wlogical-op -std=gnu++17 -fvisibility=hidden -fvisibility-inlines-hidden -Wall -g -fexceptions -MD -
MT kcollectd/CMakeFiles/kcollectd.dir/timeaxis.cc.o -MF CMakeFiles/kcollectd.dir/timeaxis.cc.o.d -o CMakeFiles/kcollectd.dir/timeaxis.cc.o -c /build/reproducible-path/kcollectd-0.12.2/kcollectd/timeaxis.cc
cd /build/reproducible-path/kcollectd-0.12.2/obj-x86_64-linux-gnu/kcollectd && /usr/bin/c++ -DBOOST_ATOMIC_DYN_LINK -DBOOST_ATOMIC_NO_LIB -DBOOST_FILESYSTEM_DYN_LINK -DBOOST_FILESYSTEM_NO_LIB -DBOOST_SYSTEM_DYN_LINK -DBOOST_SYSTEM_NO_LIB -DKCOREADDONS_LIB -DQT_CORE_LIB -DQT_DBUS_LIB -DQT_GUI_LIB -DQT_NO_DEBUG -DQT_WIDGETS_LIB -DQT_XML_LIB -D_GNU_SOURCE -D_LARGEFILE64_SOURCE -I/build/reproducible-path/kcollectd-0.12.2/obj-x86_64-linux-gnu/kcollectd -I/build/reproducible-path/kcollectd-0.12.2/kcollectd -I/build/reproducible-path/kcollectd-0.12.2/obj-x86_64-linux-gnu/kcollectd/kcollectd_autogen/include -I/build/reproducible-path/kcollectd-0.12.2 -I/build/reproducible-path/kcollectd-0.12.2/obj-x86_64-linux-gnu -isystem /usr/include/KF6/KCoreAddons -isystem /usr/include/x86_64-linux-gnu/qt6/QtCore -isystem /usr/include/x86_64-linux-gnu/qt6 -isystem /usr/lib/x86_64-linux-gnu/qt6/mkspecs/linux-g++ -isystem /usr/include/KF6/KXmlGui -isystem /usr/include/x86_64-linux-gnu/qt6/QtXml -isystem /u
sr/include/x86_64-linux-gnu/qt6/QtWidgets -isystem /usr/include/x86_64-linux-gnu/qt6/QtGui -isystem /usr/include/KF6/KConfig -isystem /usr/include/KF6/KConfigCore -isystem /usr/include/KF6/KConfigWidgets -isystem /usr/include/KF6/KWidgetsAddons -isystem /usr/include/KF6/KConfigGui -isystem /usr/include/KF6/KColorScheme -isystem /usr/include/x86_64-linux-gnu/qt6/QtDBus -isystem /usr/include/KF6/KIconThemes -isystem /usr/include/KF6/KI18n -g -O2 -ffile-prefix-map=/build/reproducible-path/kcollectd-0.12.2=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -Wdate-time -D_FORTIFY_SOURCE=2 -fno-operator-names -fno-exceptions -Wall -Wextra -Wcast-align -Wchar-subscripts -Wformat-security -Wno-long-long -Wpointer-arith -Wundef -Wnon-virtual-dtor -Woverloaded-virtual -Werror=return-type -Werror=init-self -Wvla -Wdate-time -Wsuggest-override -Wlogical-op -std=gnu++17 -fvisibility=hidden -fvisibility-inlines-hidden -Wall -g -fexceptions -MD -
MT kcollectd/CMakeFiles/kcollectd.dir/rrd_interface.cc.o -MF CMakeFiles/kcollectd.dir/rrd_interface.cc.o.d -o CMakeFiles/kcollectd.dir/rrd_interface.cc.o -c /build/reproducible-path/kcollectd-0.12.2/kcollectd/rrd_interface.cc
In file included from /build/reproducible-path/kcollectd-0.12.2/kcollectd/graph.cc:37:
In copy constructor ‘GraphInfo::GraphInfo(const GraphInfo&)’,
inlined from ‘void std::__new_allocator<_Tp>::construct(_Up*, _Args&& ...) [with _Up = GraphInfo; _Args = {const GraphInfo&}; _Tp = GraphInfo]’ at /usr/include/c++/15/bits/new_allocator.h:191:4,
inlined from ‘static void std::allocator_traits<std::allocator<_Tp1> >::construct(allocator_type&, _Up*, _Args&& ...) [with _Up = GraphInfo; _Args = {const GraphInfo&}; _Tp = GraphInfo]’ at /usr/include/c++/15/bits/alloc_traits.h:674:17,
inlined from ‘void std::vector<_Tp, _Alloc>::push_back(const value_type&) [with _Tp = GraphInfo; _Alloc = std::allocator<GraphInfo>]’ at /usr/include/c++/15/bits/stl_vector.h:1420:30,
inlined from ‘GraphInfo& Graph::add()’ at /build/reproducible-path/kcollectd-0.12.2/kcollectd/graph.h:243:18:
/build/reproducible-path/kcollectd-0.12.2/kcollectd/graph.h:40:7: warning: ‘gi’ may be used uninitialized [-Wmaybe-uninitialized]
40 | class GraphInfo {
| ^~~~~~~~~
/build/reproducible-path/kcollectd-0.12.2/kcollectd/graph.h: In member function ‘GraphInfo& Graph::add()’:
/build/reproducible-path/kcollectd-0.12.2/kcollectd/graph.h:242:13: note: ‘gi’ declared here
242 | GraphInfo gi;
| ^~
In copy constructor ‘GraphInfo::GraphInfo(const GraphInfo&)’,
inlined from ‘void std::__new_allocator<_Tp>::construct(_Up*, _Args&& ...) [with _Up = GraphInfo; _Args = {const GraphInfo&}; _Tp = GraphInfo]’ at /usr/include/c++/15/bits/new_allocator.h:191:4,
inlined from ‘static void std::allocator_traits<std::allocator<_Tp1> >::construct(allocator_type&, _Up*, _Args&& ...) [with _Up = GraphInfo; _Args = {const GraphInfo&}; _Tp = GraphInfo]’ at /usr/include/c++/15/bits/alloc_traits.h:674:17,
inlined from ‘void std::vector<_Tp, _Alloc>::push_back(const value_type&) [with _Tp = GraphInfo; _Alloc = std::allocator<GraphInfo>]’ at /usr/include/c++/15/bits/stl_vector.h:1420:30,
inlined from ‘GraphInfo& Graph::add()’ at /build/reproducible-path/kcollectd-0.12.2/kcollectd/graph.h:243:18:
/build/reproducible-path/kcollectd-0.12.2/kcollectd/graph.h:40:7: warning: ‘gi.GraphInfo::legend_lines_’ may be used uninitialized [-Wmaybe-uninitialized]
40 | class GraphInfo {
| ^~~~~~~~~
/build/reproducible-path/kcollectd-0.12.2/kcollectd/graph.h: In member function ‘GraphInfo& Graph::add()’:
/build/reproducible-path/kcollectd-0.12.2/kcollectd/graph.h:242:13: note: ‘gi’ declared here
242 | GraphInfo gi;
| ^~
In copy constructor ‘GraphInfo::GraphInfo(const GraphInfo&)’,
inlined from ‘void std::__new_allocator<_Tp>::construct(_Up*, _Args&& ...) [with _Up = GraphInfo; _Args = {const GraphInfo&}; _Tp = GraphInfo]’ at /usr/include/c++/15/bits/new_allocator.h:191:4,
inlined from ‘static void std::allocator_traits<std::allocator<_Tp1> >::construct(allocator_type&, _Up*, _Args&& ...) [with _Up = GraphInfo; _Args = {const GraphInfo&}; _Tp = GraphInfo]’ at /usr/include/c++/15/bits/alloc_traits.h:674:17,
inlined from ‘void std::vector<_Tp, _Alloc>::push_back(const value_type&) [with _Tp = GraphInfo; _Alloc = std::allocator<GraphInfo>]’ at /usr/include/c++/15/bits/stl_vector.h:1420:30,
inlined from ‘GraphInfo& Graph::add()’ at /build/reproducible-path/kcollectd-0.12.2/kcollectd/graph.h:243:18,
inlined from ‘virtual void Graph::splitGraph()’ at /build/reproducible-path/kcollectd-0.12.2/kcollectd/graph.cc:764:6:
/build/reproducible-path/kcollectd-0.12.2/kcollectd/graph.h:40:7: warning: ‘gi’ may be used uninitialized [-Wmaybe-uninitialized]
40 | class GraphInfo {
| ^~~~~~~~~
/build/reproducible-path/kcollectd-0.12.2/kcollectd/graph.h: In member function ‘virtual void Graph::splitGraph()’:
/build/reproducible-path/kcollectd-0.12.2/kcollectd/graph.h:242:13: note: ‘gi’ declared here
242 | GraphInfo gi;
| ^~
In copy constructor ‘GraphInfo::GraphInfo(const GraphInfo&)’,
inlined from ‘void std::__new_allocator<_Tp>::construct(_Up*, _Args&& ...) [with _Up = GraphInfo; _Args = {const GraphInfo&}; _Tp = GraphInfo]’ at /usr/include/c++/15/bits/new_allocator.h:191:4,
inlined from ‘static void std::allocator_traits<std::allocator<_Tp1> >::construct(allocator_type&, _Up*, _Args&& ...) [with _Up = GraphInfo; _Args = {const GraphInfo&}; _Tp = GraphInfo]’ at /usr/include/c++/15/bits/alloc_traits.h:674:17,
inlined from ‘void std::vector<_Tp, _Alloc>::push_back(const value_type&) [with _Tp = GraphInfo; _Alloc = std::allocator<GraphInfo>]’ at /usr/include/c++/15/bits/stl_vector.h:1420:30,
inlined from ‘GraphInfo& Graph::add()’ at /build/reproducible-path/kcollectd-0.12.2/kcollectd/graph.h:243:18,
inlined from ‘virtual void Graph::splitGraph()’ at /build/reproducible-path/kcollectd-0.12.2/kcollectd/graph.cc:764:6:
/build/reproducible-path/kcollectd-0.12.2/kcollectd/graph.h:40:7: warning: ‘gi.GraphInfo::legend_lines_’ may be used uninitialized [-Wmaybe-uninitialized]
40 | class GraphInfo {
| ^~~~~~~~~
/build/reproducible-path/kcollectd-0.12.2/kcollectd/graph.h: In member function ‘virtual void Graph::splitGraph()’:
/build/reproducible-path/kcollectd-0.12.2/kcollectd/graph.h:242:13: note: ‘gi’ declared here
242 | GraphInfo gi;
| ^~
[ 92%] Linking CXX executable kcollectd
cd /build/reproducible-path/kcollectd-0.12.2/obj-x86_64-linux-gnu/kcollectd && /usr/bin/cmake -E cmake_link_script CMakeFiles/kcollectd.dir/link.txt --verbose=1
/usr/bin/ld: CMakeFiles/kcollectd.dir/graph.cc.o:(.rodata+0xc0): multiple definition of `QtPrivate::IsFloatType_v<_Float16>'; CMakeFiles/kcollectd.dir/kcollectd_autogen/mocs_compilation.cpp.o:(.rodata+0x498): first defined here
/usr/bin/ld: CMakeFiles/kcollectd.dir/gui.cc.o:(.rodata+0x0): multiple definition of `QtPrivate::IsFloatType_v<_Float16>'; CMakeFiles/kcollectd.dir/kcollectd_autogen/mocs_compilation.cpp.o:(.rodata+0x498): first defined here
/usr/bin/ld: CMakeFiles/kcollectd.dir/kcollectd.cc.o:(.rodata+0x0): multiple definition of `QtPrivate::IsFloatType_v<_Float16>'; CMakeFiles/kcollectd.dir/kcollectd_autogen/mocs_compilation.cpp.o:(.rodata+0x498): first defined here
collect2: error: ld returned 1 exit status
/usr/bin/c++ -g -O2 -ffile-prefix-map=/build/reproducible-path/kcollectd-0.12.2=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -Wdate-time -D_FORTIFY_SOURCE=2 -fno-operator-names -fno-exceptions -Wall -Wextra -Wcast-align -Wchar-subscripts -Wformat-security -Wno-long-long -Wpointer-arith -Wundef -Wnon-virtual-dtor -Woverloaded-virtual -Werror=return-type -Werror=init-self -Wvla -Wdate-time -Wsuggest-override -Wlogical-op -Wl,--enable-new-dtags -Wl,-z,relro -Wl,-z,now CMakeFiles/kcollectd.dir/kcollectd_autogen/mocs_compilation.cpp.o CMakeFiles/kcollectd.dir/graph.cc.o CMakeFiles/kcollectd.dir/gui.cc.o CMakeFiles/kcollectd.dir/kcollectd.cc.o CMakeFiles/kcollectd.dir/misc.cc.o CMakeFiles/kcollectd.dir/rrd_interface.cc.o CMakeFiles/kcollectd.dir/timeaxis.cc.o -o kcollectd /usr/lib/x86_64-linux-gnu/libKF6XmlGui.so.6.10.0 /usr/lib/x86_64-linux-gnu/libboost_filesystem.so.1.83.0 /usr/lib/x86_64-linux-gnu/libboost_system.so.1.83.0 -lrrd /
usr/lib/x86_64-linux-gnu/libQt6Xml.so.6.7.2 /usr/lib/x86_64-linux-gnu/libKF6ConfigWidgets.so.6.10.0 /usr/lib/x86_64-linux-gnu/libKF6CoreAddons.so.6.10.0 /usr/lib/x86_64-linux-gnu/libKF6WidgetsAddons.so.6.10.0 /usr/lib/x86_64-linux-gnu/libKF6IconThemes.so.6.10.0 /usr/lib/x86_64-linux-gnu/libKF6ColorScheme.so.6.10.0 /usr/lib/x86_64-linux-gnu/libKF6I18n.so.6.10.0 /usr/lib/x86_64-linux-gnu/libQt6Widgets.so.6.7.2 /usr/lib/x86_64-linux-gnu/libKF6ConfigGui.so.6.10.0 /usr/lib/x86_64-linux-gnu/libQt6Gui.so.6.7.2 /usr/lib/x86_64-linux-gnu/libGLX.so /usr/lib/x86_64-linux-gnu/libOpenGL.so /usr/lib/x86_64-linux-gnu/libKF6ConfigCore.so.6.10.0 /usr/lib/x86_64-linux-gnu/libQt6DBus.so.6.7.2 /usr/lib/x86_64-linux-gnu/libQt6Core.so.6.7.2 /usr/lib/x86_64-linux-gnu/libboost_atomic.so.1.83.0
make[3]: *** [kcollectd/CMakeFiles/kcollectd.dir/build.make:207: kcollectd/kcollectd] Error 1
make[3]: Leaving directory '/build/reproducible-path/kcollectd-0.12.2/obj-x86_64-linux-gnu'
make[2]: *** [CMakeFiles/Makefile2:841: kcollectd/CMakeFiles/kcollectd.dir/all] Error 2
make[2]: Leaving directory '/build/reproducible-path/kcollectd-0.12.2/obj-x86_64-linux-gnu'
make[1]: *** [Makefile:149: all] Error 2
make[1]: Leaving directory '/build/reproducible-path/kcollectd-0.12.2/obj-x86_64-linux-gnu'
dh_auto_build: error: cd obj-x86_64-linux-gnu && make -j8 "INSTALL=install --strip-program=true" VERBOSE=1 returned exit code 2
make: *** [debian/rules:7: binary] Error 25
dpkg-buildpackage: error: debian/rules binary subprocess returned exit status 2
--- End Message ---