Package: src:libaccounts-qt
Version: 1.17-4
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/libaccounts-qt_1.17-4_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

[...]
  432 |     Type type() const
      |          ^~~~
/build/reproducible-path/libaccounts-qt-1.17/Accounts/account.cpp:691:41: 
warning: ‘QVariant::Type QVariant::type() const’ is deprecated: Use typeId() or 
metaType(). [-Wdeprecated-declarations]
  691 |         if (value.type() != variant.type()) {
      |                             ~~~~~~~~~~~~^~
/usr/include/x86_64-linux-gnu/qt6/QtCore/qvariant.h:432:10: note: declared here
  432 |     Type type() const
      |          ^~~~
/build/reproducible-path/libaccounts-qt-1.17/Accounts/account.cpp:692:44: 
warning: ‘QVariant::Type QVariant::type() const’ is deprecated: Use typeId() or 
metaType(). [-Wdeprecated-declarations]
  692 |             if (!variant.convert(value.type())) source = NONE;
      |                                  ~~~~~~~~~~^~
/usr/include/x86_64-linux-gnu/qt6/QtCore/qvariant.h:432:10: note: declared here
  432 |     Type type() const
      |          ^~~~
/build/reproducible-path/libaccounts-qt-1.17/Accounts/account.cpp:692:33: 
warning: ‘bool QVariant::convert(int)’ is deprecated [-Wdeprecated-declarations]
  692 |             if (!variant.convert(value.type())) source = NONE;
      |                  ~~~~~~~~~~~~~~~^~~~~~~~~~~~~~
/usr/include/x86_64-linux-gnu/qt6/QtCore/qvariant.h:356:10: note: declared here
  356 |     bool convert(int targetTypeId)
      |          ^~~~~~~
/build/reproducible-path/libaccounts-qt-1.17/Accounts/account.cpp: In member 
function ‘uint Accounts::Account::credentialsId()’:
/build/reproducible-path/libaccounts-qt-1.17/Accounts/account.cpp:938:31: 
warning: ‘QVariant::QVariant(Type)’ is deprecated: Use the constructor taking a 
QMetaType instead. [-Wdeprecated-declarations]
  938 |     QVariant val(QVariant::Int);
      |                               ^
/usr/include/x86_64-linux-gnu/qt6/QtCore/qvariant.h:428:14: note: declared here
  428 |     explicit QVariant(Type type)
      |              ^~~~~~~~
g++ -c -pipe -fno-exceptions -fvisibility=hidden -g -O2 
-ffile-prefix-map=/build/reproducible-path/libaccounts-qt-1.17=. 
-fstack-protector-strong -fstack-clash-protection -Wformat 
-Werror=format-security -fcf-protection -Wdate-time -D_FORTIFY_SOURCE=2 
-pthread -pthread -pthread -Wall -Wextra -D_REENTRANT -fPIC 
-DBUILDING_ACCOUNTS_QT -DQT_NO_CAST_TO_ASCII -DQT_NO_CAST_FROM_ASCII 
-DQT_NO_KEYWORDS -DQT_NO_DEBUG -DQT_XML_LIB -DQT_CORE_LIB 
-I/build/reproducible-path/libaccounts-qt-1.17/Accounts -I. 
-I/build/reproducible-path/libaccounts-qt-1.17 -I/usr/include/glib-2.0 
-I/usr/lib/x86_64-linux-gnu/glib-2.0/include -I/usr/include/sysprof-6 
-I/usr/include/libaccounts-glib -I/usr/include/libmount -I/usr/include/blkid 
-I/usr/include/gio-unix-2.0 -I/usr/include/libxml2 
-I/usr/include/x86_64-linux-gnu/qt6 -I/usr/include/x86_64-linux-gnu/qt6/QtXml 
-I/usr/include/x86_64-linux-gnu/qt6/QtCore -I.moc 
-I/usr/lib/x86_64-linux-gnu/qt6/mkspecs/linux-g++ -o .obj/service-type.o 
/build/reproducible-path/liba
 ccounts-qt-1.17/Accounts/service-type.cpp
g++ -c -pipe -fno-exceptions -fvisibility=hidden -g -O2 
-ffile-prefix-map=/build/reproducible-path/libaccounts-qt-1.17=. 
-fstack-protector-strong -fstack-clash-protection -Wformat 
-Werror=format-security -fcf-protection -Wdate-time -D_FORTIFY_SOURCE=2 
-pthread -pthread -pthread -Wall -Wextra -D_REENTRANT -fPIC 
-DBUILDING_ACCOUNTS_QT -DQT_NO_CAST_TO_ASCII -DQT_NO_CAST_FROM_ASCII 
-DQT_NO_KEYWORDS -DQT_NO_DEBUG -DQT_XML_LIB -DQT_CORE_LIB 
-I/build/reproducible-path/libaccounts-qt-1.17/Accounts -I. 
-I/build/reproducible-path/libaccounts-qt-1.17 -I/usr/include/glib-2.0 
-I/usr/lib/x86_64-linux-gnu/glib-2.0/include -I/usr/include/sysprof-6 
-I/usr/include/libaccounts-glib -I/usr/include/libmount -I/usr/include/blkid 
-I/usr/include/gio-unix-2.0 -I/usr/include/libxml2 
-I/usr/include/x86_64-linux-gnu/qt6 -I/usr/include/x86_64-linux-gnu/qt6/QtXml 
-I/usr/include/x86_64-linux-gnu/qt6/QtCore -I.moc 
-I/usr/lib/x86_64-linux-gnu/qt6/mkspecs/linux-g++ -o .obj/utils.o 
/build/reproducible-path/libaccounts
 -qt-1.17/Accounts/utils.cpp
g++ -pipe -fno-exceptions -fvisibility=hidden -g -O2 
-ffile-prefix-map=/build/reproducible-path/libaccounts-qt-1.17=. 
-fstack-protector-strong -fstack-clash-protection -Wformat 
-Werror=format-security -fcf-protection -Wdate-time -D_FORTIFY_SOURCE=2 
-pthread -pthread -pthread -Wall -Wextra -dM -E -o .moc/moc_predefs.h 
/usr/lib/x86_64-linux-gnu/qt6/mkspecs/features/data/dummy.cpp
/usr/lib/qt6/libexec/moc -DBUILDING_ACCOUNTS_QT -DQT_NO_CAST_TO_ASCII 
-DQT_NO_CAST_FROM_ASCII -DQT_NO_KEYWORDS -DQT_NO_DEBUG -DQT_XML_LIB 
-DQT_CORE_LIB --include 
/build/reproducible-path/libaccounts-qt-1.17/build-qt6/Accounts/.moc/moc_predefs.h
 -I/usr/lib/x86_64-linux-gnu/qt6/mkspecs/linux-g++ 
-I/build/reproducible-path/libaccounts-qt-1.17/Accounts 
-I/build/reproducible-path/libaccounts-qt-1.17 -I/usr/include/glib-2.0 
-I/usr/lib/x86_64-linux-gnu/glib-2.0/include -I/usr/include/sysprof-6 
-I/usr/include/libaccounts-glib -I/usr/include/libmount -I/usr/include/blkid 
-I/usr/include/gio-unix-2.0 -I/usr/include/libxml2 
-I/usr/include/x86_64-linux-gnu/qt6 -I/usr/include/x86_64-linux-gnu/qt6/QtXml 
-I/usr/include/x86_64-linux-gnu/qt6/QtCore -I. -I/usr/include/c++/15 
-I/usr/include/x86_64-linux-gnu/c++/15 -I/usr/include/c++/15/backward 
-I/usr/lib/gcc/x86_64-linux-gnu/15/include -I/usr/local/include 
-I/usr/include/x86_64-linux-gnu -I/usr/include 
/build/reproducible-path/libaccounts-qt-1.17/Accou
 nts/manager.h -o .moc/moc_manager.cpp
/usr/lib/qt6/libexec/moc -DBUILDING_ACCOUNTS_QT -DQT_NO_CAST_TO_ASCII 
-DQT_NO_CAST_FROM_ASCII -DQT_NO_KEYWORDS -DQT_NO_DEBUG -DQT_XML_LIB 
-DQT_CORE_LIB --include 
/build/reproducible-path/libaccounts-qt-1.17/build-qt6/Accounts/.moc/moc_predefs.h
 -I/usr/lib/x86_64-linux-gnu/qt6/mkspecs/linux-g++ 
-I/build/reproducible-path/libaccounts-qt-1.17/Accounts 
-I/build/reproducible-path/libaccounts-qt-1.17 -I/usr/include/glib-2.0 
-I/usr/lib/x86_64-linux-gnu/glib-2.0/include -I/usr/include/sysprof-6 
-I/usr/include/libaccounts-glib -I/usr/include/libmount -I/usr/include/blkid 
-I/usr/include/gio-unix-2.0 -I/usr/include/libxml2 
-I/usr/include/x86_64-linux-gnu/qt6 -I/usr/include/x86_64-linux-gnu/qt6/QtXml 
-I/usr/include/x86_64-linux-gnu/qt6/QtCore -I. -I/usr/include/c++/15 
-I/usr/include/x86_64-linux-gnu/c++/15 -I/usr/include/c++/15/backward 
-I/usr/lib/gcc/x86_64-linux-gnu/15/include -I/usr/local/include 
-I/usr/include/x86_64-linux-gnu -I/usr/include 
/build/reproducible-path/libaccounts-qt-1.17/Accou
 nts/account.h -o .moc/moc_account.cpp
/usr/lib/qt6/libexec/moc -DBUILDING_ACCOUNTS_QT -DQT_NO_CAST_TO_ASCII 
-DQT_NO_CAST_FROM_ASCII -DQT_NO_KEYWORDS -DQT_NO_DEBUG -DQT_XML_LIB 
-DQT_CORE_LIB --include 
/build/reproducible-path/libaccounts-qt-1.17/build-qt6/Accounts/.moc/moc_predefs.h
 -I/usr/lib/x86_64-linux-gnu/qt6/mkspecs/linux-g++ 
-I/build/reproducible-path/libaccounts-qt-1.17/Accounts 
-I/build/reproducible-path/libaccounts-qt-1.17 -I/usr/include/glib-2.0 
-I/usr/lib/x86_64-linux-gnu/glib-2.0/include -I/usr/include/sysprof-6 
-I/usr/include/libaccounts-glib -I/usr/include/libmount -I/usr/include/blkid 
-I/usr/include/gio-unix-2.0 -I/usr/include/libxml2 
-I/usr/include/x86_64-linux-gnu/qt6 -I/usr/include/x86_64-linux-gnu/qt6/QtXml 
-I/usr/include/x86_64-linux-gnu/qt6/QtCore -I. -I/usr/include/c++/15 
-I/usr/include/x86_64-linux-gnu/c++/15 -I/usr/include/c++/15/backward 
-I/usr/lib/gcc/x86_64-linux-gnu/15/include -I/usr/local/include 
-I/usr/include/x86_64-linux-gnu -I/usr/include 
/build/reproducible-path/libaccounts-qt-1.17/Accou
 nts/account-service.h -o .moc/moc_account-service.cpp
g++ -c -pipe -fno-exceptions -fvisibility=hidden -g -O2 
-ffile-prefix-map=/build/reproducible-path/libaccounts-qt-1.17=. 
-fstack-protector-strong -fstack-clash-protection -Wformat 
-Werror=format-security -fcf-protection -Wdate-time -D_FORTIFY_SOURCE=2 
-pthread -pthread -pthread -Wall -Wextra -D_REENTRANT -fPIC 
-DBUILDING_ACCOUNTS_QT -DQT_NO_CAST_TO_ASCII -DQT_NO_CAST_FROM_ASCII 
-DQT_NO_KEYWORDS -DQT_NO_DEBUG -DQT_XML_LIB -DQT_CORE_LIB 
-I/build/reproducible-path/libaccounts-qt-1.17/Accounts -I. 
-I/build/reproducible-path/libaccounts-qt-1.17 -I/usr/include/glib-2.0 
-I/usr/lib/x86_64-linux-gnu/glib-2.0/include -I/usr/include/sysprof-6 
-I/usr/include/libaccounts-glib -I/usr/include/libmount -I/usr/include/blkid 
-I/usr/include/gio-unix-2.0 -I/usr/include/libxml2 
-I/usr/include/x86_64-linux-gnu/qt6 -I/usr/include/x86_64-linux-gnu/qt6/QtXml 
-I/usr/include/x86_64-linux-gnu/qt6/QtCore -I.moc 
-I/usr/lib/x86_64-linux-gnu/qt6/mkspecs/linux-g++ -o .obj/moc_manager.o 
.moc/moc_manager.cpp
g++ -c -pipe -fno-exceptions -fvisibility=hidden -g -O2 
-ffile-prefix-map=/build/reproducible-path/libaccounts-qt-1.17=. 
-fstack-protector-strong -fstack-clash-protection -Wformat 
-Werror=format-security -fcf-protection -Wdate-time -D_FORTIFY_SOURCE=2 
-pthread -pthread -pthread -Wall -Wextra -D_REENTRANT -fPIC 
-DBUILDING_ACCOUNTS_QT -DQT_NO_CAST_TO_ASCII -DQT_NO_CAST_FROM_ASCII 
-DQT_NO_KEYWORDS -DQT_NO_DEBUG -DQT_XML_LIB -DQT_CORE_LIB 
-I/build/reproducible-path/libaccounts-qt-1.17/Accounts -I. 
-I/build/reproducible-path/libaccounts-qt-1.17 -I/usr/include/glib-2.0 
-I/usr/lib/x86_64-linux-gnu/glib-2.0/include -I/usr/include/sysprof-6 
-I/usr/include/libaccounts-glib -I/usr/include/libmount -I/usr/include/blkid 
-I/usr/include/gio-unix-2.0 -I/usr/include/libxml2 
-I/usr/include/x86_64-linux-gnu/qt6 -I/usr/include/x86_64-linux-gnu/qt6/QtXml 
-I/usr/include/x86_64-linux-gnu/qt6/QtCore -I.moc 
-I/usr/lib/x86_64-linux-gnu/qt6/mkspecs/linux-g++ -o .obj/moc_account.o 
.moc/moc_account.cpp
g++ -c -pipe -fno-exceptions -fvisibility=hidden -g -O2 
-ffile-prefix-map=/build/reproducible-path/libaccounts-qt-1.17=. 
-fstack-protector-strong -fstack-clash-protection -Wformat 
-Werror=format-security -fcf-protection -Wdate-time -D_FORTIFY_SOURCE=2 
-pthread -pthread -pthread -Wall -Wextra -D_REENTRANT -fPIC 
-DBUILDING_ACCOUNTS_QT -DQT_NO_CAST_TO_ASCII -DQT_NO_CAST_FROM_ASCII 
-DQT_NO_KEYWORDS -DQT_NO_DEBUG -DQT_XML_LIB -DQT_CORE_LIB 
-I/build/reproducible-path/libaccounts-qt-1.17/Accounts -I. 
-I/build/reproducible-path/libaccounts-qt-1.17 -I/usr/include/glib-2.0 
-I/usr/lib/x86_64-linux-gnu/glib-2.0/include -I/usr/include/sysprof-6 
-I/usr/include/libaccounts-glib -I/usr/include/libmount -I/usr/include/blkid 
-I/usr/include/gio-unix-2.0 -I/usr/include/libxml2 
-I/usr/include/x86_64-linux-gnu/qt6 -I/usr/include/x86_64-linux-gnu/qt6/QtXml 
-I/usr/include/x86_64-linux-gnu/qt6/QtCore -I.moc 
-I/usr/lib/x86_64-linux-gnu/qt6/mkspecs/linux-g++ -o .obj/moc_account-service.o 
.moc/moc_account-servi
 ce.cpp
/build/reproducible-path/libaccounts-qt-1.17/Accounts/utils.cpp: In function 
‘GVariant* Accounts::qVariantToGVariant(const QVariant&)’:
/build/reproducible-path/libaccounts-qt-1.17/Accounts/utils.cpp:122:25: 
warning: ‘QVariant::Type QVariant::type() const’ is deprecated: Use typeId() or 
metaType(). [-Wdeprecated-declarations]
  122 |     switch (variant.type())
      |             ~~~~~~~~~~~~^~
In file included from /usr/include/x86_64-linux-gnu/qt6/QtCore/QVariant:1,
                 from 
/build/reproducible-path/libaccounts-qt-1.17/Accounts/utils.h:27,
                 from 
/build/reproducible-path/libaccounts-qt-1.17/Accounts/utils.cpp:25:
/usr/include/x86_64-linux-gnu/qt6/QtCore/qvariant.h:432:10: note: declared here
  432 |     Type type() const
      |          ^~~~
rm -f libaccounts-qt6.so.1.5.0 libaccounts-qt6.so libaccounts-qt6.so.1 
libaccounts-qt6.so.1.5
g++ -Wl,-z,relro -Wl,-z,now -shared -Wl,-soname,libaccounts-qt6.so.1 -o 
libaccounts-qt6.so.1.5.0 .obj/manager.o .obj/account.o .obj/account-service.o 
.obj/application.o .obj/auth-data.o .obj/error.o .obj/provider.o .obj/service.o 
.obj/service-type.o .obj/utils.o .obj/moc_manager.o .obj/moc_account.o 
.obj/moc_account-service.o  -laccounts-glib -lgio-2.0 -lgobject-2.0 -lglib-2.0 
/usr/lib/x86_64-linux-gnu/libQt6Xml.so /usr/lib/x86_64-linux-gnu/libQt6Core.so 
-lpthread    
/usr/bin/ld: .obj/account.o:(.rodata+0x2): multiple definition of 
`QtPrivate::IsFloatType_v<_Float16>'; .obj/manager.o:(.rodata+0x0): first 
defined here
/usr/bin/ld: .obj/account-service.o:(.rodata+0x2): multiple definition of 
`QtPrivate::IsFloatType_v<_Float16>'; .obj/manager.o:(.rodata+0x0): first 
defined here
/usr/bin/ld: .obj/application.o:(.rodata+0x0): multiple definition of 
`QtPrivate::IsFloatType_v<_Float16>'; .obj/manager.o:(.rodata+0x0): first 
defined here
/usr/bin/ld: .obj/auth-data.o:(.rodata+0x0): multiple definition of 
`QtPrivate::IsFloatType_v<_Float16>'; .obj/manager.o:(.rodata+0x0): first 
defined here
/usr/bin/ld: .obj/error.o:(.rodata+0x14): multiple definition of 
`QtPrivate::IsFloatType_v<_Float16>'; .obj/manager.o:(.rodata+0x0): first 
defined here
/usr/bin/ld: .obj/provider.o:(.rodata+0x0): multiple definition of 
`QtPrivate::IsFloatType_v<_Float16>'; .obj/manager.o:(.rodata+0x0): first 
defined here
/usr/bin/ld: .obj/service.o:(.rodata+0x0): multiple definition of 
`QtPrivate::IsFloatType_v<_Float16>'; .obj/manager.o:(.rodata+0x0): first 
defined here
/usr/bin/ld: .obj/service-type.o:(.rodata+0x0): multiple definition of 
`QtPrivate::IsFloatType_v<_Float16>'; .obj/manager.o:(.rodata+0x0): first 
defined here
/usr/bin/ld: .obj/utils.o:(.rodata+0x90): multiple definition of 
`QtPrivate::IsFloatType_v<_Float16>'; .obj/manager.o:(.rodata+0x0): first 
defined here
/usr/bin/ld: .obj/moc_manager.o:(.rodata+0x184): multiple definition of 
`QtPrivate::IsFloatType_v<_Float16>'; .obj/manager.o:(.rodata+0x0): first 
defined here
/usr/bin/ld: .obj/moc_account.o:(.rodata+0x2b0): multiple definition of 
`QtPrivate::IsFloatType_v<_Float16>'; .obj/manager.o:(.rodata+0x0): first 
defined here
/usr/bin/ld: .obj/moc_account-service.o:(.rodata+0xdc): multiple definition of 
`QtPrivate::IsFloatType_v<_Float16>'; .obj/manager.o:(.rodata+0x0): first 
defined here
collect2: error: ld returned 1 exit status
make[3]: *** [Makefile:132: libaccounts-qt6.so.1.5.0] Error 1
make[3]: Leaving directory 
'/build/reproducible-path/libaccounts-qt-1.17/build-qt6/Accounts'
make[2]: *** [Makefile:48: sub-Accounts-make_first-ordered] Error 2
make[2]: Leaving directory 
'/build/reproducible-path/libaccounts-qt-1.17/build-qt6'
dh_auto_build: error: cd build-qt6 && make -j8 returned exit code 2
make[1]: *** [debian/rules:19: override_dh_auto_build] Error 25
make[1]: Leaving directory '/build/reproducible-path/libaccounts-qt-1.17'
make: *** [debian/rules:11: binary] Error 2
dpkg-buildpackage: error: debian/rules binary subprocess returned exit status 2

Reply via email to