Package: src:kdsoap-ws-discovery-client
Version: 0.4.0-2
Severity: important
Tags: sid forky
User: [email protected]
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/kdsoap-ws-discovery-client_0.4.0-2_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

[...]
   33 | constexpr typename std::add_const<T>::type &qAsConst(T &t) noexcept { 
return t; }
      |                                             ^~~~~~~~
/build/reproducible-path/kdsoap-ws-discovery-client-0.4.0/obj-x86_64-linux-gnu/src/wsdl_wsdd-discovery-1.cpp:
 In member function ‘void WSDiscovery200901::TNS__ScopesType::deserialize(const 
KDSoapValue&)’:
/build/reproducible-path/kdsoap-ws-discovery-client-0.4.0/obj-x86_64-linux-gnu/src/wsdl_wsdd-discovery-1.cpp:1655:43:
 warning: ‘constexpr typename std::add_const<_Tp>::type& qAsConst(T&) [with T = 
const QList<KDSoapValue>; typename std::add_const<_Tp>::type = const 
QList<KDSoapValue>]’ is deprecated: Use std::as_const() instead. 
[-Wdeprecated-declarations]
 1655 |     for (const KDSoapValue& val : qAsConst(attribs)) {
      |                                   ~~~~~~~~^~~~~~~~~
/usr/include/x86_64-linux-gnu/qt6/QtCore/qttypetraits.h:33:45: note: declared 
here
   33 | constexpr typename std::add_const<T>::type &qAsConst(T &t) noexcept { 
return t; }
      |                                             ^~~~~~~~
/build/reproducible-path/kdsoap-ws-discovery-client-0.4.0/obj-x86_64-linux-gnu/src/wsdl_wsdd-discovery-1.cpp:
 In member function ‘void 
WSDiscovery200901::WSA__EndpointReferenceType::deserialize(const KDSoapValue&)’:
/build/reproducible-path/kdsoap-ws-discovery-client-0.4.0/obj-x86_64-linux-gnu/src/wsdl_wsdd-discovery-1.cpp:1929:43:
 warning: ‘constexpr typename std::add_const<_Tp>::type& qAsConst(T&) [with T = 
const KDSoapValueList; typename std::add_const<_Tp>::type = const 
KDSoapValueList]’ is deprecated: Use std::as_const() instead. 
[-Wdeprecated-declarations]
 1929 |     for (const KDSoapValue& val : qAsConst(args)) {
      |                                   ~~~~~~~~^~~~~~
/usr/include/x86_64-linux-gnu/qt6/QtCore/qttypetraits.h:33:45: note: declared 
here
   33 | constexpr typename std::add_const<T>::type &qAsConst(T &t) noexcept { 
return t; }
      |                                             ^~~~~~~~
/build/reproducible-path/kdsoap-ws-discovery-client-0.4.0/obj-x86_64-linux-gnu/src/wsdl_wsdd-discovery-1.cpp:1948:43:
 warning: ‘constexpr typename std::add_const<_Tp>::type& qAsConst(T&) [with T = 
const QList<KDSoapValue>; typename std::add_const<_Tp>::type = const 
QList<KDSoapValue>]’ is deprecated: Use std::as_const() instead. 
[-Wdeprecated-declarations]
 1948 |     for (const KDSoapValue& val : qAsConst(attribs)) {
      |                                   ~~~~~~~~^~~~~~~~~
/usr/include/x86_64-linux-gnu/qt6/QtCore/qttypetraits.h:33:45: note: declared 
here
   33 | constexpr typename std::add_const<T>::type &qAsConst(T &t) noexcept { 
return t; }
      |                                             ^~~~~~~~
/build/reproducible-path/kdsoap-ws-discovery-client-0.4.0/obj-x86_64-linux-gnu/src/wsdl_wsdd-discovery-1.cpp:
 In member function ‘void 
WSDiscovery200901::WSA__MetadataType::deserialize(const KDSoapValue&)’:
/build/reproducible-path/kdsoap-ws-discovery-client-0.4.0/obj-x86_64-linux-gnu/src/wsdl_wsdd-discovery-1.cpp:2052:43:
 warning: ‘constexpr typename std::add_const<_Tp>::type& qAsConst(T&) [with T = 
const KDSoapValueList; typename std::add_const<_Tp>::type = const 
KDSoapValueList]’ is deprecated: Use std::as_const() instead. 
[-Wdeprecated-declarations]
 2052 |     for (const KDSoapValue& val : qAsConst(args)) {
      |                                   ~~~~~~~~^~~~~~
/usr/include/x86_64-linux-gnu/qt6/QtCore/qttypetraits.h:33:45: note: declared 
here
   33 | constexpr typename std::add_const<T>::type &qAsConst(T &t) noexcept { 
return t; }
      |                                             ^~~~~~~~
/build/reproducible-path/kdsoap-ws-discovery-client-0.4.0/obj-x86_64-linux-gnu/src/wsdl_wsdd-discovery-1.cpp:2060:43:
 warning: ‘constexpr typename std::add_const<_Tp>::type& qAsConst(T&) [with T = 
const QList<KDSoapValue>; typename std::add_const<_Tp>::type = const 
QList<KDSoapValue>]’ is deprecated: Use std::as_const() instead. 
[-Wdeprecated-declarations]
 2060 |     for (const KDSoapValue& val : qAsConst(attribs)) {
      |                                   ~~~~~~~~^~~~~~~~~
/usr/include/x86_64-linux-gnu/qt6/QtCore/qttypetraits.h:33:45: note: declared 
here
   33 | constexpr typename std::add_const<T>::type &qAsConst(T &t) noexcept { 
return t; }
      |                                             ^~~~~~~~
/build/reproducible-path/kdsoap-ws-discovery-client-0.4.0/obj-x86_64-linux-gnu/src/wsdl_wsdd-discovery-1.cpp:
 In member function ‘void 
WSDiscovery200901::WSA__ReferenceParametersType::deserialize(const 
KDSoapValue&)’:
/build/reproducible-path/kdsoap-ws-discovery-client-0.4.0/obj-x86_64-linux-gnu/src/wsdl_wsdd-discovery-1.cpp:2164:43:
 warning: ‘constexpr typename std::add_const<_Tp>::type& qAsConst(T&) [with T = 
const KDSoapValueList; typename std::add_const<_Tp>::type = const 
KDSoapValueList]’ is deprecated: Use std::as_const() instead. 
[-Wdeprecated-declarations]
 2164 |     for (const KDSoapValue& val : qAsConst(args)) {
      |                                   ~~~~~~~~^~~~~~
/usr/include/x86_64-linux-gnu/qt6/QtCore/qttypetraits.h:33:45: note: declared 
here
   33 | constexpr typename std::add_const<T>::type &qAsConst(T &t) noexcept { 
return t; }
      |                                             ^~~~~~~~
/build/reproducible-path/kdsoap-ws-discovery-client-0.4.0/obj-x86_64-linux-gnu/src/wsdl_wsdd-discovery-1.cpp:2172:43:
 warning: ‘constexpr typename std::add_const<_Tp>::type& qAsConst(T&) [with T = 
const QList<KDSoapValue>; typename std::add_const<_Tp>::type = const 
QList<KDSoapValue>]’ is deprecated: Use std::as_const() instead. 
[-Wdeprecated-declarations]
 2172 |     for (const KDSoapValue& val : qAsConst(attribs)) {
      |                                   ~~~~~~~~^~~~~~~~~
/usr/include/x86_64-linux-gnu/qt6/QtCore/qttypetraits.h:33:45: note: declared 
here
   33 | constexpr typename std::add_const<T>::type &qAsConst(T &t) noexcept { 
return t; }
      |                                             ^~~~~~~~
[ 68%] Building CXX object 
src/CMakeFiles/KDSoapWSDiscoveryClient.dir/moc_wsdl_ws-discovery.cpp.o
cd 
/build/reproducible-path/kdsoap-ws-discovery-client-0.4.0/obj-x86_64-linux-gnu/src
 && /usr/bin/c++ -DKDSoapWSDiscoveryClient_EXPORTS -DQT_CORE_LIB 
-DQT_NETWORK_LIB -DQT_NO_DEBUG -DQT_NO_SIGNALS_SLOTS_KEYWORDS -D_GNU_SOURCE 
-D_LARGEFILE64_SOURCE 
-I/build/reproducible-path/kdsoap-ws-discovery-client-0.4.0/obj-x86_64-linux-gnu/src
 -I/build/reproducible-path/kdsoap-ws-discovery-client-0.4.0/src 
-I/build/reproducible-path/kdsoap-ws-discovery-client-0.4.0/obj-x86_64-linux-gnu/src/KDSoapWSDiscoveryClient_autogen/include
 -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/KDSoapClient-Qt6 -isystem 
/usr/include/x86_64-linux-gnu/qt6/QtNetwork -g -O2 
-ffile-prefix-map=/build/reproducible-path/kdsoap-ws-discovery-client-0.4.0=. 
-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 -fPIC 
-fvisibility=hidden -fvisibility-inlines-hidden -MD -MT 
src/CMakeFiles/KDSoapWSDiscoveryClient.dir/moc_wsdl_ws-discovery.cpp.o -MF 
CMakeFiles/KDSoapWSDiscoveryClient.dir/moc_wsdl_ws-discovery.cpp.o.d -o 
CMakeFiles/KDSoapWSDiscoveryClient.dir/moc_wsdl_ws-discovery.cpp.o -c 
/build/reproducible-path/kdsoap-ws-discovery-client-0.4.0/obj-x86_64-linux-gnu/src/moc_wsdl_ws-discovery.cpp
[ 72%] Linking CXX shared library ../bin/libKDSoapWSDiscoveryClient.so
cd 
/build/reproducible-path/kdsoap-ws-discovery-client-0.4.0/obj-x86_64-linux-gnu/src
 && /usr/bin/cmake -E cmake_link_script 
CMakeFiles/KDSoapWSDiscoveryClient.dir/link.txt --verbose=1
/usr/bin/ld: 
CMakeFiles/KDSoapWSDiscoveryClient.dir/wsdiscoveryclient.cpp.o:(.rodata+0x0): 
multiple definition of `QtPrivate::IsFloatType_v<_Float16>'; 
CMakeFiles/KDSoapWSDiscoveryClient.dir/KDSoapWSDiscoveryClient_autogen/mocs_compilation.cpp.o:(.rodata+0x6cc):
 first defined here
/usr/bin/ld: 
CMakeFiles/KDSoapWSDiscoveryClient.dir/wsdiscoveryprobejob.cpp.o:(.rodata+0x0): 
multiple definition of `QtPrivate::IsFloatType_v<_Float16>'; 
CMakeFiles/KDSoapWSDiscoveryClient.dir/KDSoapWSDiscoveryClient_autogen/mocs_compilation.cpp.o:(.rodata+0x6cc):
 first defined here
/usr/bin/ld: 
CMakeFiles/KDSoapWSDiscoveryClient.dir/wsdiscoverytargetservice.cpp.o:(.rodata+0x0):
 multiple definition of `QtPrivate::IsFloatType_v<_Float16>'; 
CMakeFiles/KDSoapWSDiscoveryClient.dir/KDSoapWSDiscoveryClient_autogen/mocs_compilation.cpp.o:(.rodata+0x6cc):
 first defined here
/usr/bin/ld: 
CMakeFiles/KDSoapWSDiscoveryClient.dir/wsdiscoveryserviceaggregator.cpp.o:(.rodata+0x0):
 multiple definition of `QtPrivate::IsFloatType_v<_Float16>'; 
CMakeFiles/KDSoapWSDiscoveryClient.dir/KDSoapWSDiscoveryClient_autogen/mocs_compilation.cpp.o:(.rodata+0x6cc):
 first defined here
/usr/bin/ld: 
CMakeFiles/KDSoapWSDiscoveryClient.dir/loggingcategory.cpp.o:(.rodata+0x0): 
multiple definition of `QtPrivate::IsFloatType_v<_Float16>'; 
CMakeFiles/KDSoapWSDiscoveryClient.dir/KDSoapWSDiscoveryClient_autogen/mocs_compilation.cpp.o:(.rodata+0x6cc):
 first defined here
/usr/bin/ld: 
CMakeFiles/KDSoapWSDiscoveryClient.dir/wsdl_wsdd-discovery-1.cpp.o:(.rodata+0x0):
 multiple definition of `QtPrivate::IsFloatType_v<_Float16>'; 
CMakeFiles/KDSoapWSDiscoveryClient.dir/KDSoapWSDiscoveryClient_autogen/mocs_compilation.cpp.o:(.rodata+0x6cc):
 first defined here
/usr/bin/ld: 
CMakeFiles/KDSoapWSDiscoveryClient.dir/wsdl_ws-discovery.cpp.o:(.rodata+0x0): 
multiple definition of `QtPrivate::IsFloatType_v<_Float16>'; 
CMakeFiles/KDSoapWSDiscoveryClient.dir/KDSoapWSDiscoveryClient_autogen/mocs_compilation.cpp.o:(.rodata+0x6cc):
 first defined here
collect2: error: ld returned 1 exit status
/usr/bin/c++ -fPIC -g -O2 
-ffile-prefix-map=/build/reproducible-path/kdsoap-ws-discovery-client-0.4.0=. 
-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,--no-undefined 
-Wl,--fatal-warnings -Wl,--enable-new-dtags -Wl,-z,relro -Wl,-z,now -shared 
-Wl,-soname,libKDSoapWSDiscoveryClient.so.0 -o 
../bin/libKDSoapWSDiscoveryClient.so.0.4.0 
CMakeFiles/KDSoapWSDiscoveryClient.dir/KDSoapWSDiscoveryClient_autogen/mocs_compilation.cpp.o
 CMakeFiles/KDSoapWSDiscoveryClient.dir/wsdiscoveryclient.cpp.o 
CMakeFiles/KDSoapWSDiscoveryClient.dir/wsdiscoveryprobejob.cpp.o 
CMakeFiles/KDSoapWSDiscoveryClient.dir/wsdiscoverytargetservice.cpp.o 
CMakeFiles/KDSoapWSDiscoveryClient.dir/wsdiscoveryserviceaggregator.cpp.o 
CMakeFiles/KDSoapWSDiscoveryClient.dir/loggingcategory.cpp.o 
"CMakeFiles/KDSoapWSDiscoveryClient.dir/wsdl_wsdd-discovery-1.cpp.o" 
"CMakeFiles/KDSoapWSDiscoveryClient.dir/moc_wsdl_wsdd-discovery-1.cpp.o" 
"CMakeFiles/KDSoapWSDiscoveryClient.dir/wsdl_ws-discovery.cpp.o" 
"CMakeFiles/KDSoapWSDiscoveryClient.dir/moc_wsdl_ws-discovery.cpp.o"  
/usr/lib/x86_64-linux-gnu/libkdsoap-qt6.so.2.2.0 
/usr/lib/x86_64-linux-gnu/libQt6Network.so.6.7.2 
/usr/lib/x86_64-linux-gnu/libQt6Core.so.6.7.2
make[3]: *** [src/CMakeFiles/KDSoapWSDiscoveryClient.dir/build.make:285: 
bin/libKDSoapWSDiscoveryClient.so.0.4.0] Error 1
make[3]: Leaving directory 
'/build/reproducible-path/kdsoap-ws-discovery-client-0.4.0/obj-x86_64-linux-gnu'
make[2]: *** [CMakeFiles/Makefile2:278: 
src/CMakeFiles/KDSoapWSDiscoveryClient.dir/all] Error 2
make[2]: Leaving directory 
'/build/reproducible-path/kdsoap-ws-discovery-client-0.4.0/obj-x86_64-linux-gnu'
make[1]: *** [Makefile:139: all] Error 2
make[1]: Leaving directory 
'/build/reproducible-path/kdsoap-ws-discovery-client-0.4.0/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:6: binary] Error 25
dpkg-buildpackage: error: debian/rules binary subprocess returned exit status 2

_______________________________________________
pkg-kde-extras mailing list
[email protected]
https://alioth-lists.debian.net/cgi-bin/mailman/listinfo/pkg-kde-extras

Reply via email to