Bug#1117349: kpimtextedit: FTBFS: /<<PKGBUILDDIR>>/src/grantleebuilder/markupdirector.cpp:548:40: error: ambiguous overload for 'operator=' (operand types are 'QBrush' and '<brace-enclosed initializer list>')
Package: src:kpimtextedit
Version: 24.12.3-1
Severity: serious
Tags: ftbfs forky sid
Dear maintainer:
During a rebuild of all packages in unstable, this package failed to build.
Below you will find the last part of the build log (probably the most
relevant part, but not necessarily). If required, the full build log
is available here:
https://people.debian.org/~sanvila/build-logs/202510/
About the archive rebuild: The build was made on virtual machines from AWS,
using sbuild and a reduced chroot with only build-essential packages.
If you cannot reproduce the bug please contact me privately, as I
am willing to provide ssh access to a virtual machine where the bug is
fully reproducible.
If this is really a bug in one of the build-depends, please use
reassign and add an affects on src:kpimtextedit, so that this is still
visible in the BTS web page for this package.
Thanks.
--------------------------------------------------------------------------------
[...]
[ 15%] Building CXX object src/CMakeFiles/KPim6TextEdit.dir/grantleebuilder/plaintextmarkupbuilder.cpp.o
cd /<<PKGBUILDDIR>>/obj-x86_64-linux-gnu/src && /usr/bin/c++ [too-long-redacted] lder/plaintextmarkupbuilder.cpp
[ 16%] Building CXX object src/CMakeFiles/KPim6TextEdit.dir/grantleebuilder/markupdirector.cpp.o
cd /<<PKGBUILDDIR>>/obj-x86_64-linux-gnu/src && /usr/bin/c++ [too-long-redacted] ntleebuilder/markupdirector.cpp
/<<PKGBUILDDIR>>/src/grantleebuilder/markupdirector.cpp: In member function â??virtual void KPIMTextEdit::MarkupDirector::processClosingElements(const QTextBlock::iterator&)â??:
/<<PKGBUILDDIR>>/src/grantleebuilder/markupdirector.cpp:548:40: error: ambiguous overload for â??operator=â?? (operand types are â??QBrushâ?? and â??<brace-enclosed initializer list>â??)
548 | d->m_openBackground = {};
| ^
/<<PKGBUILDDIR>>/src/grantleebuilder/markupdirector.cpp:548:40: note: there are 5 candidates
In file included from /usr/include/x86_64-linux-gnu/qt6/QtGui/qtextformat.h:7,
from /usr/include/x86_64-linux-gnu/qt6/QtGui/QTextListFormat:1,
from /<<PKGBUILDDIR>>/src/grantleebuilder/abstractmarkupbuilder.h:13,
from /<<PKGBUILDDIR>>/src/grantleebuilder/markupdirector.h:9,
from /<<PKGBUILDDIR>>/src/grantleebuilder/markupdirector.cpp:8:
/usr/include/x86_64-linux-gnu/qt6/QtGui/qbrush.h:46:13: note: candidate 1: â??QBrush& QBrush::operator=(const QBrush&)â??
46 | QBrush &operator=(const QBrush &brush);
| ^~~~~~~~
In file included from /usr/include/x86_64-linux-gnu/qt6/QtCore/qtdeprecationmarkers.h:8,
from /usr/include/x86_64-linux-gnu/qt6/QtCore/qtcoreexports.h:9,
from /usr/include/x86_64-linux-gnu/qt6/QtCore/qtcoreglobal.h:14,
from /usr/include/x86_64-linux-gnu/qt6/QtCore/qglobal.h:24,
from /usr/include/x86_64-linux-gnu/qt6/QtCore/qchar.h:7,
from /usr/include/x86_64-linux-gnu/qt6/QtCore/qstring.h:15,
from /usr/include/x86_64-linux-gnu/qt6/QtCore/QString:1,
from /<<PKGBUILDDIR>>/src/grantleebuilder/abstractmarkupbuilder.h:12:
/usr/include/x86_64-linux-gnu/qt6/QtGui/qbrush.h:47:5: note: candidate 2: â??QBrush& QBrush::operator=(QBrush&&)â??
47 | QT_MOVE_ASSIGNMENT_OPERATOR_IMPL_VIA_PURE_SWAP(QBrush)
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/usr/include/x86_64-linux-gnu/qt6/QtGui/qbrush.h:51:13: note: candidate 3: â??QBrush& QBrush::operator=(Qt::BrushStyle)â??
51 | QBrush &operator=(Qt::BrushStyle style);
| ^~~~~~~~
/usr/include/x86_64-linux-gnu/qt6/QtGui/qbrush.h:52:13: note: candidate 4: â??QBrush& QBrush::operator=(QColor)â??
52 | QBrush &operator=(QColor color);
| ^~~~~~~~
/usr/include/x86_64-linux-gnu/qt6/QtGui/qbrush.h:53:13: note: candidate 5: â??QBrush& QBrush::operator=(Qt::GlobalColor)â??
53 | QBrush &operator=(Qt::GlobalColor color) { return operator=(QColor(color)); }
| ^~~~~~~~
/<<PKGBUILDDIR>>/src/grantleebuilder/markupdirector.cpp:553:40: error: ambiguous overload for â??operator=â?? (operand types are â??QBrushâ?? and â??<brace-enclosed initializer list>â??)
553 | d->m_openForeground = {};
| ^
/<<PKGBUILDDIR>>/src/grantleebuilder/markupdirector.cpp:553:40: note: there are 5 candidates
/usr/include/x86_64-linux-gnu/qt6/QtGui/qbrush.h:46:13: note: candidate 1: â??QBrush& QBrush::operator=(const QBrush&)â??
46 | QBrush &operator=(const QBrush &brush);
| ^~~~~~~~
/usr/include/x86_64-linux-gnu/qt6/QtGui/qbrush.h:47:5: note: candidate 2: â??QBrush& QBrush::operator=(QBrush&&)â??
47 | QT_MOVE_ASSIGNMENT_OPERATOR_IMPL_VIA_PURE_SWAP(QBrush)
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/usr/include/x86_64-linux-gnu/qt6/QtGui/qbrush.h:51:13: note: candidate 3: â??QBrush& QBrush::operator=(Qt::BrushStyle)â??
51 | QBrush &operator=(Qt::BrushStyle style);
| ^~~~~~~~
/usr/include/x86_64-linux-gnu/qt6/QtGui/qbrush.h:52:13: note: candidate 4: â??QBrush& QBrush::operator=(QColor)â??
52 | QBrush &operator=(QColor color);
| ^~~~~~~~
/usr/include/x86_64-linux-gnu/qt6/QtGui/qbrush.h:53:13: note: candidate 5: â??QBrush& QBrush::operator=(Qt::GlobalColor)â??
53 | QBrush &operator=(Qt::GlobalColor color) { return operator=(QColor(color)); }
| ^~~~~~~~
[ 17%] Building CXX object src/CMakeFiles/KPim6TextEdit.dir/grantleebuilder/texthtmlbuilder.cpp.o
cd /<<PKGBUILDDIR>>/obj-x86_64-linux-gnu/src && /usr/bin/c++ [too-long-redacted] tleebuilder/texthtmlbuilder.cpp
make[3]: *** [src/CMakeFiles/KPim6TextEdit.dir/build.make:256: src/CMakeFiles/KPim6TextEdit.dir/grantleebuilder/markupdirector.cpp.o] Error 1
make[3]: *** Waiting for unfinished jobs....
make[3]: Leaving directory '/<<PKGBUILDDIR>>/obj-x86_64-linux-gnu'
make[2]: *** [CMakeFiles/Makefile2:610: src/CMakeFiles/KPim6TextEdit.dir/all] Error 2
make[2]: Leaving directory '/<<PKGBUILDDIR>>/obj-x86_64-linux-gnu'
make[1]: *** [Makefile:149: all] Error 2
make[1]: Leaving directory '/<<PKGBUILDDIR>>/obj-x86_64-linux-gnu'
dh_auto_build: error: cd obj-x86_64-linux-gnu && make -j2 INSTALL="install --strip-program=true" VERBOSE=1 returned exit code 2
make: *** [debian/rules:15: binary] Error 25
dpkg-buildpackage: error: debian/rules binary subprocess returned exit status 2
--------------------------------------------------------------------------------
Reply to: