Package: src:qt6-base
Version: 6.7.2+dfsg-6
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/qt6-base_6.7.2+dfsg-6_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

[...]
/usr/bin/ld: qcalendar.cpp.o (symbol from plugin): in function 
`QCalendarBackend::monthsInYear(int) const':
(.text+0x0): multiple definition of `QtPrivate::IsFloatType_v<_Float16>'; 
src/tools/cmake_automoc_parser/CMakeFiles/cmake_automoc_parser.dir/main.cpp.o 
(symbol from plugin):(.text+0x0): first defined here
/usr/bin/ld: qdatetime.cpp.o (symbol from plugin): in function 
`QDate::QDate(int, int, int)':
(.text+0x0): multiple definition of `QtPrivate::IsFloatType_v<_Float16>'; 
src/tools/cmake_automoc_parser/CMakeFiles/cmake_automoc_parser.dir/main.cpp.o 
(symbol from plugin):(.text+0x0): first defined here
/usr/bin/ld: qgregoriancalendar.cpp.o (symbol from plugin): in function 
`QGregorianCalendar::leapTest(int)':
(.text+0x0): multiple definition of `QtPrivate::IsFloatType_v<_Float16>'; 
src/tools/cmake_automoc_parser/CMakeFiles/cmake_automoc_parser.dir/main.cpp.o 
(symbol from plugin):(.text+0x0): first defined here
/usr/bin/ld: qlocaltime.cpp.o (symbol from plugin): in function 
`QLocalTime::utcToLocal(long long)':
(.text+0x0): multiple definition of `QtPrivate::IsFloatType_v<_Float16>'; 
src/tools/cmake_automoc_parser/CMakeFiles/cmake_automoc_parser.dir/main.cpp.o 
(symbol from plugin):(.text+0x0): first defined here
/usr/bin/ld: qromancalendar.cpp.o (symbol from plugin): in function 
`QRomanCalendar::minimumDaysInMonth() const':
(.text+0x0): multiple definition of `QtPrivate::IsFloatType_v<_Float16>'; 
src/tools/cmake_automoc_parser/CMakeFiles/cmake_automoc_parser.dir/main.cpp.o 
(symbol from plugin):(.text+0x0): first defined here
/usr/bin/ld: qtimezone.cpp.o (symbol from plugin): in function 
`QTimeZone::Data::Data()':
(.text+0x0): multiple definition of `QtPrivate::IsFloatType_v<_Float16>'; 
src/tools/cmake_automoc_parser/CMakeFiles/cmake_automoc_parser.dir/main.cpp.o 
(symbol from plugin):(.text+0x0): first defined here
/usr/bin/ld: qarraydata.cpp.o (symbol from plugin): in function 
`qCalculateBlockSize(long long, long long, long long)':
(.text+0x0): multiple definition of `QtPrivate::IsFloatType_v<_Float16>'; 
src/tools/cmake_automoc_parser/CMakeFiles/cmake_automoc_parser.dir/main.cpp.o 
(symbol from plugin):(.text+0x0): first defined here
/usr/bin/ld: qcommandlineparser.cpp.o (symbol from plugin): in function 
`QCommandLineParser::QCommandLineParser()':
(.text+0x0): multiple definition of `QtPrivate::IsFloatType_v<_Float16>'; 
src/tools/cmake_automoc_parser/CMakeFiles/cmake_automoc_parser.dir/main.cpp.o 
(symbol from plugin):(.text+0x0): first defined here
/usr/bin/ld: qcryptographichash.cpp.o (symbol from plugin): in function 
`QCryptographicHash::QCryptographicHash(QCryptographicHash::Algorithm)':
(.text+0x0): multiple definition of `QtPrivate::IsFloatType_v<_Float16>'; 
src/tools/cmake_automoc_parser/CMakeFiles/cmake_automoc_parser.dir/main.cpp.o 
(symbol from plugin):(.text+0x0): first defined here
/usr/bin/ld: qhash.cpp.o (symbol from plugin): in function `qHashBits(void 
const*, unsigned long, unsigned long)':
(.text+0x0): multiple definition of `QtPrivate::IsFloatType_v<_Float16>'; 
src/tools/cmake_automoc_parser/CMakeFiles/cmake_automoc_parser.dir/main.cpp.o 
(symbol from plugin):(.text+0x0): first defined here
/usr/bin/ld: qringbuffer.cpp.o (symbol from plugin): in function 
`QRingBuffer::readPointerAtPosition(long long, long long&) const':
(.text+0x0): multiple definition of `QtPrivate::IsFloatType_v<_Float16>'; 
src/tools/cmake_automoc_parser/CMakeFiles/cmake_automoc_parser.dir/main.cpp.o 
(symbol from plugin):(.text+0x0): first defined here
/usr/bin/ld: qfilesystemengine_unix.cpp.o (symbol from plugin): in function 
`QFileSystemMetaData::fillFromStatBuf(stat64 const&)':
(.text+0x0): multiple definition of `QtPrivate::IsFloatType_v<_Float16>'; 
src/tools/cmake_automoc_parser/CMakeFiles/cmake_automoc_parser.dir/main.cpp.o 
(symbol from plugin):(.text+0x0): first defined here
/usr/bin/ld: qfilesystemiterator_unix.cpp.o (symbol from plugin): in function 
`QFileSystemIterator::QFileSystemIterator(QFileSystemEntry const&, 
QFlags<QDir::Filter>, QList<QString> const&, 
QFlags<QDirIterator::IteratorFlag>)':
(.text+0x0): multiple definition of `QtPrivate::IsFloatType_v<_Float16>'; 
src/tools/cmake_automoc_parser/CMakeFiles/cmake_automoc_parser.dir/main.cpp.o 
(symbol from plugin):(.text+0x0): first defined here
/usr/bin/ld: qfsfileengine_unix.cpp.o (symbol from plugin): in function 
`QFSFileEnginePrivate::nativeClose()':
(.text+0x0): multiple definition of `QtPrivate::IsFloatType_v<_Float16>'; 
src/tools/cmake_automoc_parser/CMakeFiles/cmake_automoc_parser.dir/main.cpp.o 
(symbol from plugin):(.text+0x0): first defined here
/usr/bin/ld: qcore_unix.cpp.o (symbol from plugin): in function 
`qt_ignore_sigpipe()':
(.text+0x0): multiple definition of `QtPrivate::IsFloatType_v<_Float16>'; 
src/tools/cmake_automoc_parser/CMakeFiles/cmake_automoc_parser.dir/main.cpp.o 
(symbol from plugin):(.text+0x0): first defined here
/usr/bin/ld: qendian.cpp.o (symbol from plugin): in function `void* 
qbswap<2>(void const*, long long, void*)':
(.text+0x0): multiple definition of `QtPrivate::IsFloatType_v<_Float16>'; 
src/tools/cmake_automoc_parser/CMakeFiles/cmake_automoc_parser.dir/main.cpp.o 
(symbol from plugin):(.text+0x0): first defined here
/usr/bin/ld: qfloat16.cpp.o (symbol from plugin): in function 
`qfloat16::fpClassify() const':
(.text+0x0): multiple definition of `QtPrivate::IsFloatType_v<_Float16>'; 
src/tools/cmake_automoc_parser/CMakeFiles/cmake_automoc_parser.dir/main.cpp.o 
(symbol from plugin):(.text+0x0): first defined here
/usr/bin/ld: qlogging.cpp.o (symbol from plugin): in function 
`QtPrivate::shouldLogToStderr()':
(.text+0x0): multiple definition of `QtPrivate::IsFloatType_v<_Float16>'; 
src/tools/cmake_automoc_parser/CMakeFiles/cmake_automoc_parser.dir/main.cpp.o 
(symbol from plugin):(.text+0x0): first defined here
/usr/bin/ld: qnumeric.cpp.o (symbol from plugin): in function `qIsInf(double)':
(.text+0x0): multiple definition of `QtPrivate::IsFloatType_v<_Float16>'; 
src/tools/cmake_automoc_parser/CMakeFiles/cmake_automoc_parser.dir/main.cpp.o 
(symbol from plugin):(.text+0x0): first defined here
/usr/bin/ld: qrandom.cpp.o (symbol from plugin): in function 
`QRandomGenerator64::system()':
(.text+0x0): multiple definition of `QtPrivate::IsFloatType_v<_Float16>'; 
src/tools/cmake_automoc_parser/CMakeFiles/cmake_automoc_parser.dir/main.cpp.o 
(symbol from plugin):(.text+0x0): first defined here
/usr/bin/ld: qtenvironmentvariables.cpp.o (symbol from plugin): in function 
`qgetenv(char const*)':
(.text+0x0): multiple definition of `QtPrivate::IsFloatType_v<_Float16>'; 
src/tools/cmake_automoc_parser/CMakeFiles/cmake_automoc_parser.dir/main.cpp.o 
(symbol from plugin):(.text+0x0): first defined here
/usr/bin/ld: qabstractfileengine.cpp.o (symbol from plugin): in function 
`QAbstractFileEngine::open(QFlags<QIODeviceBase::OpenModeFlag>, 
std::optional<QFlags<QFileDevice::Permission> >)':
(.text+0x0): multiple definition of `QtPrivate::IsFloatType_v<_Float16>'; 
src/tools/cmake_automoc_parser/CMakeFiles/cmake_automoc_parser.dir/main.cpp.o 
(symbol from plugin):(.text+0x0): first defined here
/usr/bin/ld: qbuffer.cpp.o (symbol from plugin): in function `QBuffer::size() 
const':
(.text+0x0): multiple definition of `QtPrivate::IsFloatType_v<_Float16>'; 
src/tools/cmake_automoc_parser/CMakeFiles/cmake_automoc_parser.dir/main.cpp.o 
(symbol from plugin):(.text+0x0): first defined here
/usr/bin/ld: qdebug.cpp.o (symbol from plugin): in function 
`QDebug::putUcs4(unsigned int)':
(.text+0x0): multiple definition of `QtPrivate::IsFloatType_v<_Float16>'; 
src/tools/cmake_automoc_parser/CMakeFiles/cmake_automoc_parser.dir/main.cpp.o 
(symbol from plugin):(.text+0x0): first defined here
/usr/bin/ld: qstandardpaths.cpp.o (symbol from plugin): in function 
`QStandardPaths::setTestModeEnabled(bool)':
(.text+0x0): multiple definition of `QtPrivate::IsFloatType_v<_Float16>'; 
src/tools/cmake_automoc_parser/CMakeFiles/cmake_automoc_parser.dir/main.cpp.o 
(symbol from plugin):(.text+0x0): first defined here
/usr/bin/ld: qcborvalue.cpp.o (symbol from plugin): in function 
`QCborValue::tag(QCborTag) const':
(.text+0x0): multiple definition of `QtPrivate::IsFloatType_v<_Float16>'; 
src/tools/cmake_automoc_parser/CMakeFiles/cmake_automoc_parser.dir/main.cpp.o 
(symbol from plugin):(.text+0x0): first defined here
/usr/bin/ld: qstandardpaths_unix.cpp.o (symbol from plugin): in function 
`QStandardPaths::writableLocation(QStandardPaths::StandardLocation)':
(.text+0x0): multiple definition of `QtPrivate::IsFloatType_v<_Float16>'; 
src/tools/cmake_automoc_parser/CMakeFiles/cmake_automoc_parser.dir/main.cpp.o 
(symbol from plugin):(.text+0x0): first defined here
/usr/bin/ld: qglobal.cpp.o (symbol from plugin): in function 
`qt_int_sqrt(unsigned int)':
(.text+0x0): multiple definition of `QtPrivate::IsFloatType_v<_Float16>'; 
src/tools/cmake_automoc_parser/CMakeFiles/cmake_automoc_parser.dir/main.cpp.o 
(symbol from plugin):(.text+0x0): first defined here
/usr/bin/ld: qloggingcategory.cpp.o (symbol from plugin): in function 
`QLoggingCategory::init(char const*, QtMsgType)':
(.text+0x0): multiple definition of `QtPrivate::IsFloatType_v<_Float16>'; 
src/tools/cmake_automoc_parser/CMakeFiles/cmake_automoc_parser.dir/main.cpp.o 
(symbol from plugin):(.text+0x0): first defined here
/usr/bin/ld: qloggingregistry.cpp.o (symbol from plugin): in function 
`QLoggingRule::QLoggingRule()':
(.text+0x0): multiple definition of `QtPrivate::IsFloatType_v<_Float16>'; 
src/tools/cmake_automoc_parser/CMakeFiles/cmake_automoc_parser.dir/main.cpp.o 
(symbol from plugin):(.text+0x0): first defined here
/usr/bin/ld: qcborstreamwriter.cpp.o (symbol from plugin): in function 
`QCborStreamWriter::QCborStreamWriter(QIODevice*)':
(.text+0x0): multiple definition of `QtPrivate::IsFloatType_v<_Float16>'; 
src/tools/cmake_automoc_parser/CMakeFiles/cmake_automoc_parser.dir/main.cpp.o 
(symbol from plugin):(.text+0x0): first defined here
collect2: error: ld returned 1 exit status
[124/468] /usr/bin/c++ -DQT_BOOTSTRAPPED -DQT_DISABLE_DEPRECATED_UP_TO=0x050000 
-DQT_EXPLICIT_QFILE_CONSTRUCTION_FROM_PATH -DQT_LEAN_HEADERS=1 -DQT_MOC 
-DQT_NO_AS_CONST -DQT_NO_CAST_FROM_ASCII -DQT_NO_CAST_FROM_BYTEARRAY 
-DQT_NO_CAST_TO_ASCII -DQT_NO_DEBUG -DQT_NO_EXCEPTIONS -DQT_NO_FOREACH 
-DQT_NO_JAVA_STYLE_ITERATORS -DQT_NO_NARROWING_CONVERSIONS_IN_CONNECT 
-DQT_NO_QEXCHANGE -DQT_NO_QPAIR -DQT_USE_QSTRINGBUILDER -DQT_VERSION_MAJOR=6 
-DQT_VERSION_MINOR=7 -DQT_VERSION_PATCH=2 -DQT_VERSION_STR=\"6.7.2\" 
-DQT_WARN_DEPRECATED_UP_TO=0x070000 -D_LARGEFILE64_SOURCE -D_LARGEFILE_SOURCE 
-I/build/reproducible-path/qt6-base-6.7.2+dfsg/src/tools/moc 
-I/build/reproducible-path/qt6-base-6.7.2+dfsg/obj-x86_64-linux-gnu/src/tools/moc
 
-I/build/reproducible-path/qt6-base-6.7.2+dfsg/src/tools/moc/../../3rdparty/tinycbor/src
 -I/build/reproducible-path/qt6-base-6.7.2+dfsg/src/tools/moc/../shared 
-I/build/reproducible-path/qt6-base-6.7.2+dfsg/mkspecs/linux-g++ 
-I/build/reproducible-path/qt6-base-6.7.2+df
 sg/obj-x86_64-linux-gnu/include 
-I/build/reproducible-path/qt6-base-6.7.2+dfsg/obj-x86_64-linux-gnu/src/corelib/Core_autogen/include
 
-I/build/reproducible-path/qt6-base-6.7.2+dfsg/obj-x86_64-linux-gnu/include/QtCore
 -I/build/reproducible-path/qt6-base-6.7.2+dfsg/src/corelib 
-I/build/reproducible-path/qt6-base-6.7.2+dfsg/obj-x86_64-linux-gnu/src/corelib 
-I/build/reproducible-path/qt6-base-6.7.2+dfsg/obj-x86_64-linux-gnu/src/corelib/global
 
-I/build/reproducible-path/qt6-base-6.7.2+dfsg/obj-x86_64-linux-gnu/src/corelib/kernel
 
-I/build/reproducible-path/qt6-base-6.7.2+dfsg/src/corelib/../3rdparty/tinycbor/src
 
-I/build/reproducible-path/qt6-base-6.7.2+dfsg/obj-x86_64-linux-gnu/include/QtCore/6.7.2
 
-I/build/reproducible-path/qt6-base-6.7.2+dfsg/obj-x86_64-linux-gnu/include/QtCore/6.7.2/QtCore
 -I/build/reproducible-path/qt6-base-6.7.2+dfsg/src/corelib/../3rdparty/forkfd 
-I/usr/include/double-conversion -I/usr/include/glib-2.0 
-I/usr/lib/x86_64-linux-gnu/glib-2.0/include -I/build/reproducib
 le-path/qt6-base-6.7.2+dfsg/src/tools/bootstrap/../../corelib/global -g -O2 
-ffile-prefix-map=/build/reproducible-path/qt6-base-6.7.2+dfsg=. -flto=auto 
-ffat-lto-objects -fstack-protector-strong -fstack-clash-protection -Wformat 
-Werror=format-security -fcf-protection -Wdate-time -D_FORTIFY_SOURCE=2 
-std=c++17 -fPIE -fvisibility=hidden -fvisibility-inlines-hidden -Wall -Wextra 
-fno-exceptions -Wsuggest-override -fcf-protection=full -ffunction-sections 
-fdata-sections -mshstk -MD -MT src/tools/moc/CMakeFiles/moc.dir/moc.cpp.o -MF 
src/tools/moc/CMakeFiles/moc.dir/moc.cpp.o.d -o 
src/tools/moc/CMakeFiles/moc.dir/moc.cpp.o -c 
/build/reproducible-path/qt6-base-6.7.2+dfsg/src/tools/moc/moc.cpp
ninja: build stopped: subcommand failed.
dh_auto_build: error: cd obj-x86_64-linux-gnu && LC_ALL=C.UTF-8 ninja -j8 -v 
docs returned exit code 1
make[1]: *** [debian/rules:115: override_dh_auto_build-indep] Error 25
make[1]: Leaving directory '/build/reproducible-path/qt6-base-6.7.2+dfsg'
make: *** [debian/rules:31: binary] Error 2
dpkg-buildpackage: error: debian/rules binary subprocess returned exit status 2

Reply via email to