Package: src:kf6-kwallet
Version: 6.10.0-1
Severity: important
Tags: sid forky
User: debian-...@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/kf6-kwallet_6.10.0-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

[...]
cd 
/build/reproducible-path/kf6-kwallet-6.10.0/obj-x86_64-linux-gnu/src/runtime/kwalletd/backend
 && /usr/bin/c++ -DBOOST_NO_EXCEPTIONS -DHAVE_GPGMEPP -DKCOREADDONS_LIB 
-DKF6WalletBackend_EXPORTS -DKF_DEPRECATED_WARNINGS_SINCE=0x70000 
-DKF_DISABLE_DEPRECATED_BEFORE_AND_AT=0x60800 -DQT_CORE_LIB -DQT_DBUS_LIB 
-DQT_DEPRECATED_WARNINGS_SINCE=0x70000 -DQT_DISABLE_DEPRECATED_BEFORE=0x60800 
-DQT_GUI_LIB -DQT_NO_CAST_FROM_BYTEARRAY -DQT_NO_CAST_TO_ASCII -DQT_NO_DEBUG 
-DQT_NO_FOREACH -DQT_NO_KEYWORDS -DQT_NO_NARROWING_CONVERSIONS_IN_CONNECT 
-DQT_NO_URL_CAST_FROM_STRING -DQT_STRICT_ITERATORS -DQT_USE_QSTRINGBUILDER 
-DQT_WIDGETS_LIB -DTRANSLATION_DOMAIN=\"kwalletd6\" -D_GNU_SOURCE 
-D_LARGEFILE64_SOURCE 
-I/build/reproducible-path/kf6-kwallet-6.10.0/obj-x86_64-linux-gnu/src/runtime/kwalletd/backend
 -I/build/reproducible-path/kf6-kwallet-6.10.0/src/runtime/kwalletd/backend 
-I/build/reproducible-path/kf6-kwallet-6.10.0/obj-x86_64-linux-gnu/src/runtime/kwalletd/backend/KF6WalletBackend_autogen/includ
 e 
-I/build/reproducible-path/kf6-kwallet-6.10.0/obj-x86_64-linux-gnu/src/runtime/kwalletd
 
-I/build/reproducible-path/kf6-kwallet-6.10.0/src/runtime/kwalletd/backend/../../../api/KWallet
 
-I/build/reproducible-path/kf6-kwallet-6.10.0/obj-x86_64-linux-gnu/src/runtime/kwalletd/backend/../../../api/KWallet
 -isystem /usr/include/x86_64-linux-gnu/qt6/QtWidgets -isystem 
/usr/include/x86_64-linux-gnu/qt6 -isystem 
/usr/include/x86_64-linux-gnu/qt6/QtCore -isystem 
/usr/lib/x86_64-linux-gnu/qt6/mkspecs/linux-g++ -isystem 
/usr/include/x86_64-linux-gnu/qt6/QtGui -isystem 
/usr/include/KF6/KWidgetsAddons -isystem /usr/include/KF6/KCoreAddons -isystem 
/usr/include/KF6/KNotifications -isystem 
/usr/include/x86_64-linux-gnu/qt6/QtDBus -isystem /usr/include/KF6/KI18n 
-isystem /usr/include/Qca-qt6/QtCrypto -isystem /usr/include/gpgme++ -g -O2 
-ffile-prefix-map=/build/reproducible-path/kf6-kwallet-6.10.0=. -flto=auto 
-ffat-lto-objects -fstack-protector-strong -fstack-clash-protection -Wformat 
-Werror=form
 at-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 
-Werror=undef -Wvla -Wdate-time -Wsuggest-override -Wlogical-op -pedantic 
-Wzero-as-null-pointer-constant -Wmissing-include-dirs -std=c++20 -fPIC 
-fvisibility=hidden -fvisibility-inlines-hidden -MD -MT 
src/runtime/kwalletd/backend/CMakeFiles/KF6WalletBackend.dir/kwalletbackend_debug.cpp.o
 -MF CMakeFiles/KF6WalletBackend.dir/kwalletbackend_debug.cpp.o.d -o 
CMakeFiles/KF6WalletBackend.dir/kwalletbackend_debug.cpp.o -c 
/build/reproducible-path/kf6-kwallet-6.10.0/obj-x86_64-linux-gnu/src/runtime/kwalletd/backend/kwalletbackend_debug.cpp
[ 11%] Building CXX object 
src/api/KWallet/CMakeFiles/KF6Wallet.dir/kwallet_api_debug.cpp.o
cd 
/build/reproducible-path/kf6-kwallet-6.10.0/obj-x86_64-linux-gnu/src/api/KWallet
 && /usr/bin/c++ -DKF6Wallet_EXPORTS -DKF_DEPRECATED_WARNINGS_SINCE=0x70000 
-DKF_DISABLE_DEPRECATED_BEFORE_AND_AT=0x60800 
-DKWALLET_DEPRECATED_WARNINGS_SINCE=0x0 
-DKWALLET_DISABLE_DEPRECATED_BEFORE_AND_AT=0x0 -DQT_CORE_LIB -DQT_DBUS_LIB 
-DQT_DEPRECATED_WARNINGS_SINCE=0x70000 -DQT_DISABLE_DEPRECATED_BEFORE=0x60800 
-DQT_GUI_LIB -DQT_NO_CAST_FROM_ASCII -DQT_NO_CAST_FROM_BYTEARRAY 
-DQT_NO_CAST_TO_ASCII -DQT_NO_DEBUG -DQT_NO_FOREACH -DQT_NO_KEYWORDS 
-DQT_NO_NARROWING_CONVERSIONS_IN_CONNECT -DQT_NO_URL_CAST_FROM_STRING 
-DQT_STRICT_ITERATORS -DQT_USE_QSTRINGBUILDER -DQT_WIDGETS_LIB 
-DTRANSLATION_DOMAIN=\"kwalletd6\" -D_GNU_SOURCE -D_LARGEFILE64_SOURCE 
-I/build/reproducible-path/kf6-kwallet-6.10.0/obj-x86_64-linux-gnu/src/api/KWallet
 -I/build/reproducible-path/kf6-kwallet-6.10.0/src/api/KWallet 
-I/build/reproducible-path/kf6-kwallet-6.10.0/obj-x86_64-linux-gnu/src/api/KWallet/KF6Wallet_autogen/include
 -isystem
  /usr/include/x86_64-linux-gnu/qt6/QtGui -isystem 
/usr/include/x86_64-linux-gnu/qt6 -isystem 
/usr/include/x86_64-linux-gnu/qt6/QtCore -isystem 
/usr/lib/x86_64-linux-gnu/qt6/mkspecs/linux-g++ -isystem 
/usr/include/x86_64-linux-gnu/qt6/QtDBus -isystem 
/usr/include/x86_64-linux-gnu/qt6/QtWidgets -isystem /usr/include/KF6/KConfig 
-isystem /usr/include/KF6/KConfigCore -g -O2 
-ffile-prefix-map=/build/reproducible-path/kf6-kwallet-6.10.0=. -flto=auto 
-ffat-lto-objects -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 
-Werror=undef -Wvla -Wdate-time -Wsuggest-override -Wlogical-op -pedantic 
-Wzero-as-null-pointer-constant -Wmissing-include-dirs -std=c++20 -fPIC 
-fvisibility=hidden -fvisibility-inlin
 es-hidden -MD -MT 
src/api/KWallet/CMakeFiles/KF6Wallet.dir/kwallet_api_debug.cpp.o -MF 
CMakeFiles/KF6Wallet.dir/kwallet_api_debug.cpp.o.d -o 
CMakeFiles/KF6Wallet.dir/kwallet_api_debug.cpp.o -c 
/build/reproducible-path/kf6-kwallet-6.10.0/obj-x86_64-linux-gnu/src/api/KWallet/kwallet_api_debug.cpp
/build/reproducible-path/kf6-kwallet-6.10.0/src/runtime/kwalletd/backend/cbc.cc:
 In member function ‘CipherBlockChain::encrypt(void*, int)’:
/build/reproducible-path/kf6-kwallet-6.10.0/src/runtime/kwalletd/backend/cbc.cc:105:16:
 warning: ‘rc’ may be used uninitialized [-Wmaybe-uninitialized]
  105 |         return rc;
      |                ^~
/build/reproducible-path/kf6-kwallet-6.10.0/src/runtime/kwalletd/backend/cbc.cc:77:13:
 note: ‘rc’ was declared here
   77 |         int rc;
      |             ^~
In file included from /usr/include/KF6/KI18n/KLocalizedString:1,
                 from 
/build/reproducible-path/kf6-kwallet-6.10.0/src/runtime/kwalletd/backend/backendpersisthandler.cpp:11:
/build/reproducible-path/kf6-kwallet-6.10.0/src/runtime/kwalletd/backend/backendpersisthandler.cpp:
 In member function ‘virtual int 
KWallet::GpgPersistHandler::write(KWallet::Backend*, QSaveFile&, QByteArray&, 
WId)’:
/build/reproducible-path/kf6-kwallet-6.10.0/src/runtime/kwalletd/backend/backendpersisthandler.cpp:560:56:
 warning: ‘const char* GpgME::Error::asString() const’ is deprecated 
[-Wdeprecated-declarations]
  560 |                                    res.error().asString()));
      |                                    ~~~~~~~~~~~~~~~~~~~~^~
In file included from /usr/include/gpgme++/context.h:29,
                 from 
/build/reproducible-path/kf6-kwallet-6.10.0/src/runtime/kwalletd/backend/backendpersisthandler.cpp:19:
/usr/include/gpgme++/error.h:53:36: note: declared here
   53 |     GPGMEPP_DEPRECATED const char *asString() const;
      |                                    ^~~~~~~~
/build/reproducible-path/kf6-kwallet-6.10.0/src/runtime/kwalletd/backend/backendpersisthandler.cpp:
 In member function ‘virtual int 
KWallet::GpgPersistHandler::read(KWallet::Backend*, QFile&, WId)’:
/build/reproducible-path/kf6-kwallet-6.10.0/src/runtime/kwalletd/backend/backendpersisthandler.cpp:627:92:
 warning: ‘const char* GpgME::Error::asString() const’ is deprecated 
[-Wdeprecated-declarations]
  627 |         qCDebug(KWALLETBACKEND_LOG) << "Error decrypting message: " << 
res.error().asString() << ", code " << res.error().code() << ", source "
      |                                                                        
~~~~~~~~~~~~~~~~~~~~^~
/usr/include/gpgme++/error.h:53:36: note: declared here
   53 |     GPGMEPP_DEPRECATED const char *asString() const;
      |                                    ^~~~~~~~
/build/reproducible-path/kf6-kwallet-6.10.0/src/runtime/kwalletd/backend/backendpersisthandler.cpp:637:72:
 warning: ‘const char* GpgME::Error::asString() const’ is deprecated 
[-Wdeprecated-declarations]
  637 |                                                    
res.error().asString()),
      |                                                    
~~~~~~~~~~~~~~~~~~~~^~
/usr/include/gpgme++/error.h:53:36: note: declared here
   53 |     GPGMEPP_DEPRECATED const char *asString() const;
      |                                    ^~~~~~~~
[ 12%] Linking CXX shared library ../../../../bin/libKF6WalletBackend.so
cd 
/build/reproducible-path/kf6-kwallet-6.10.0/obj-x86_64-linux-gnu/src/runtime/kwalletd/backend
 && /usr/bin/cmake -E cmake_link_script 
CMakeFiles/KF6WalletBackend.dir/link.txt --verbose=1
/usr/bin/ld: CMakeFiles/KF6WalletBackend.dir/kwalletentry.cc.o (symbol from 
plugin): in function `KWallet::Entry::Entry()':
(.text+0x0): multiple definition of `QtPrivate::IsFloatType_v<_Float16>'; 
CMakeFiles/KF6WalletBackend.dir/cbc.cc.o (symbol from plugin):(.text+0x0): 
first defined here
/usr/bin/ld: CMakeFiles/KF6WalletBackend.dir/kwalletbackend.cc.o (symbol from 
plugin): in function 
`KWallet::Backend::setCipherType(KWallet::BackendCipherType)':
(.text+0x0): multiple definition of `QtPrivate::IsFloatType_v<_Float16>'; 
CMakeFiles/KF6WalletBackend.dir/cbc.cc.o (symbol from plugin):(.text+0x0): 
first defined here
/usr/bin/ld: CMakeFiles/KF6WalletBackend.dir/backendpersisthandler.cpp.o 
(symbol from plugin): in function 
`KWallet::BackendPersistHandler::getPersistHandler(KWallet::BackendCipherType)':
(.text+0x0): multiple definition of `QtPrivate::IsFloatType_v<_Float16>'; 
CMakeFiles/KF6WalletBackend.dir/cbc.cc.o (symbol from plugin):(.text+0x0): 
first defined here
/usr/bin/ld: CMakeFiles/KF6WalletBackend.dir/kwalletbackend_debug.cpp.o (symbol 
from plugin): in function `KWALLETBACKEND_LOG()':
(.text+0x0): multiple definition of `QtPrivate::IsFloatType_v<_Float16>'; 
CMakeFiles/KF6WalletBackend.dir/cbc.cc.o (symbol from plugin):(.text+0x0): 
first defined here
./src/runtime/kwalletd/backend/cbc.cc: In member function ‘encrypt’:
./src/runtime/kwalletd/backend/cbc.cc:105:16: warning: ‘rc’ may be used 
uninitialized [-Wmaybe-uninitialized]
./src/runtime/kwalletd/backend/cbc.cc:77:13: note: ‘rc’ was declared here
collect2: error: ld returned 1 exit status
/usr/bin/c++ -fPIC -g -O2 
-ffile-prefix-map=/build/reproducible-path/kf6-kwallet-6.10.0=. -flto=auto 
-ffat-lto-objects -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 
-Werror=undef -Wvla -Wdate-time -Wsuggest-override -Wlogical-op -pedantic 
-Wzero-as-null-pointer-constant -Wmissing-include-dirs -Wl,--no-undefined 
-Wl,--fatal-warnings -Wl,--enable-new-dtags -flto=auto -ffat-lto-objects 
-Wl,-z,relro -Wl,-z,now -shared -Wl,-soname,libKF6WalletBackend.so.6 -o 
../../../../bin/libKF6WalletBackend.so.6.10.0 
CMakeFiles/KF6WalletBackend.dir/KF6WalletBackend_autogen/mocs_compilation.cpp.o 
CMakeFiles/KF6WalletBackend.dir/blockcipher.cc.o 
CMakeFiles/KF6WalletBackend.dir/blowfish.cc.o CMakeFiles/KF6Wall
 etBackend.dir/cbc.cc.o CMakeFiles/KF6WalletBackend.dir/sha1.cc.o 
CMakeFiles/KF6WalletBackend.dir/kwalletentry.cc.o 
CMakeFiles/KF6WalletBackend.dir/kwalletbackend.cc.o 
CMakeFiles/KF6WalletBackend.dir/backendpersisthandler.cpp.o 
CMakeFiles/KF6WalletBackend.dir/kwalletbackend_debug.cpp.o  
/usr/lib/x86_64-linux-gnu/libKF6WidgetsAddons.so.6.10.0 
/usr/lib/x86_64-linux-gnu/libKF6CoreAddons.so.6.10.0 
/usr/lib/x86_64-linux-gnu/libKF6Notifications.so.6.10.0 
/usr/lib/x86_64-linux-gnu/libKF6I18n.so.6.10.0 
/usr/lib/x86_64-linux-gnu/libgcrypt.so 
/usr/lib/x86_64-linux-gnu/libqca-qt6.so.2.3.9 
/usr/lib/x86_64-linux-gnu/libgpgmepp.so 
/usr/lib/x86_64-linux-gnu/libQt6Widgets.so.6.7.2 
/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/libQt6DBus.so.6.7.2 
/usr/lib/x86_64-linux-gnu/libQt6Core.so.6.7.2 -lpthread 
/usr/lib/x86_64-linux-gnu/libgpgme.so -L/usr/lib/x86_64-linux-gnu -lassuan
make[3]: *** 
[src/runtime/kwalletd/backend/CMakeFiles/KF6WalletBackend.dir/build.make:241: 
bin/libKF6WalletBackend.so.6.10.0] Error 1
make[3]: Leaving directory 
'/build/reproducible-path/kf6-kwallet-6.10.0/obj-x86_64-linux-gnu'
make[2]: *** [CMakeFiles/Makefile2:1322: 
src/runtime/kwalletd/backend/CMakeFiles/KF6WalletBackend.dir/all] Error 2
make[2]: *** Waiting for unfinished jobs....
[ 13%] Linking CXX shared library ../../../bin/libKF6Wallet.so
cd 
/build/reproducible-path/kf6-kwallet-6.10.0/obj-x86_64-linux-gnu/src/api/KWallet
 && /usr/bin/cmake -E cmake_link_script CMakeFiles/KF6Wallet.dir/link.txt 
--verbose=1
/usr/bin/ld: CMakeFiles/KF6Wallet.dir/kwallet_interface.cpp.o (symbol from 
plugin): in function `OrgKdeKWalletInterface::staticMetaObject':
(.text+0x0): multiple definition of `QtPrivate::IsFloatType_v<_Float16>'; 
CMakeFiles/KF6Wallet.dir/kwallet.cpp.o (symbol from plugin):(.text+0x0): first 
defined here
/usr/bin/ld: CMakeFiles/KF6Wallet.dir/kwallet_api_debug.cpp.o (symbol from 
plugin): in function `KWALLET_API_LOG()':
(.text+0x0): multiple definition of `QtPrivate::IsFloatType_v<_Float16>'; 
CMakeFiles/KF6Wallet.dir/kwallet.cpp.o (symbol from plugin):(.text+0x0): first 
defined here
collect2: error: ld returned 1 exit status
/usr/bin/c++ -fPIC -g -O2 
-ffile-prefix-map=/build/reproducible-path/kf6-kwallet-6.10.0=. -flto=auto 
-ffat-lto-objects -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 
-Werror=undef -Wvla -Wdate-time -Wsuggest-override -Wlogical-op -pedantic 
-Wzero-as-null-pointer-constant -Wmissing-include-dirs -Wl,--no-undefined 
-Wl,--fatal-warnings -Wl,--enable-new-dtags -flto=auto -ffat-lto-objects 
-Wl,-z,relro -Wl,-z,now -shared -Wl,-soname,libKF6Wallet.so.6 -o 
../../../bin/libKF6Wallet.so.6.10.0 
CMakeFiles/KF6Wallet.dir/KF6Wallet_autogen/mocs_compilation.cpp.o 
CMakeFiles/KF6Wallet.dir/kwallet.cpp.o 
CMakeFiles/KF6Wallet.dir/kwallet_interface.cpp.o 
CMakeFiles/KF6Wallet.dir/kwallet_api_debug.cpp.o  /usr/l
 ib/x86_64-linux-gnu/libQt6Widgets.so.6.7.2 
/usr/lib/x86_64-linux-gnu/libKF6ConfigCore.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/libQt6DBus.so.6.7.2 
/usr/lib/x86_64-linux-gnu/libQt6Core.so.6.7.2
make[3]: *** [src/api/KWallet/CMakeFiles/KF6Wallet.dir/build.make:172: 
bin/libKF6Wallet.so.6.10.0] Error 1
make[3]: Leaving directory 
'/build/reproducible-path/kf6-kwallet-6.10.0/obj-x86_64-linux-gnu'
make[2]: *** [CMakeFiles/Makefile2:933: 
src/api/KWallet/CMakeFiles/KF6Wallet.dir/all] Error 2
make[2]: Leaving directory 
'/build/reproducible-path/kf6-kwallet-6.10.0/obj-x86_64-linux-gnu'
make[1]: *** [Makefile:149: all] Error 2
make[1]: Leaving directory 
'/build/reproducible-path/kf6-kwallet-6.10.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:7: binary] Error 25
dpkg-buildpackage: error: debian/rules binary subprocess returned exit status 2

Reply via email to