Bug#975128: pentobi: FTBFS: AnalyzeGameModel.cpp:111:29: error: could not convert =?UTF-8?Q?=E2=80=98{?=((AnalyzeGameModel*)this), ((AnalyzeGameModel*)this) ->AnalyzeGameModel::m_elements}’ from ‘<brace-enclosed initializer list>’ to ‘QQmlListProperty<AnalyzeGameElement>’

Lucas Nussbaum lucas at debian.org
Thu Nov 19 09:36:26 GMT 2020


Source: pentobi
Version: 17.3-1
Severity: serious
Justification: FTBFS on amd64
Tags: bullseye sid ftbfs
Usertags: ftbfs-20201119 ftbfs-bullseye

Hi,

During a rebuild of all packages in sid, your package failed to build
on amd64.

Relevant part (hopefully):
> /usr/bin/c++ -g -O2 -fdebug-prefix-map=/<<PKGBUILDDIR>>=. -fstack-protector-strong -Wformat -Werror=format-security -O3 -Wdate-time -D_FORTIFY_SOURCE=2 -Wl,-z,relro -Wl,-z,now -Wl,--as-needed -rdynamic CMakeFiles/test_libpentobi_mcts.dir/SearchTest.cpp.o -o test_libpentobi_mcts  ../../libboardgame_test/libboardgame_test_main.a ../libpentobi_mcts.a ../../libboardgame_test/libboardgame_test.a ../../libpentobi_base/libpentobi_base.a ../../libboardgame_base/libboardgame_base.a -lpthread 
> /<<PKGBUILDDIR>>/pentobi/AnalyzeGameModel.cpp: In member function ‘QQmlListProperty<AnalyzeGameElement> AnalyzeGameModel::elements()’:
> /<<PKGBUILDDIR>>/pentobi/AnalyzeGameModel.cpp:111:29: error: could not convert ‘{((AnalyzeGameModel*)this), ((AnalyzeGameModel*)this)->AnalyzeGameModel::m_elements}’ from ‘<brace-enclosed initializer list>’ to ‘QQmlListProperty<AnalyzeGameElement>’
>   111 |     return {this, m_elements};
>       |                             ^
>       |                             |
>       |                             <brace-enclosed initializer list>
> make[3]: Leaving directory '/<<PKGBUILDDIR>>/obj-x86_64-linux-gnu'
> [ 96%] Built target test_libpentobi_mcts
> [ 96%] Building CXX object pentobi/CMakeFiles/pentobi.dir/ImageProvider.cpp.o
> cd /<<PKGBUILDDIR>>/obj-x86_64-linux-gnu/pentobi && /usr/bin/c++ -DPENTOBI_HELP_DIR=\"/usr/share/help\" -DQT_CONCURRENT_LIB -DQT_CORE_LIB -DQT_DEPRECATED_WARNINGS -DQT_DISABLE_DEPRECATED_BEFORE=0x051200 -DQT_GUI_LIB -DQT_NETWORK_LIB -DQT_NO_DEBUG -DQT_NO_NARROWING_CONVERSIONS_IN_CONNECT -DQT_QMLMODELS_LIB -DQT_QML_LIB -DQT_QUICKCONTROLS2_LIB -DQT_QUICK_LIB -DQT_SVG_LIB -DQT_WEBVIEW_LIB -DQT_WIDGETS_LIB -DVERSION=\"17.3\" -I/<<PKGBUILDDIR>>/obj-x86_64-linux-gnu/pentobi/pentobi_autogen/include -I/<<PKGBUILDDIR>>/libpentobi_base/.. -I/<<PKGBUILDDIR>>/libboardgame_base/.. -I/<<PKGBUILDDIR>>/libpentobi_mcts/.. -I/<<PKGBUILDDIR>>/libboardgame_mcts/.. -isystem /usr/include/x86_64-linux-gnu/qt5 -isystem /usr/include/x86_64-linux-gnu/qt5/QtGui -isystem /usr/include/x86_64-linux-gnu/qt5/QtCore -isystem /usr/lib/x86_64-linux-gnu/qt5/mkspecs/linux-g++ -isystem /usr/include/x86_64-linux-gnu/qt5/QtConcurrent -isystem /usr/include/x86_64-linux-gnu/qt5/QtQml -isystem /usr/include/x86_64-linux-gnu/qt5/QtNetwork -isystem /usr/include/x86_64-linux-gnu/qt5/QtQuickControls2 -isystem /usr/include/x86_64-linux-gnu/qt5/QtQuick -isystem /usr/include/x86_64-linux-gnu/qt5/QtQmlModels -isystem /usr/include/x86_64-linux-gnu/qt5/QtSvg -isystem /usr/include/x86_64-linux-gnu/qt5/QtWidgets -isystem /usr/include/x86_64-linux-gnu/qt5/QtWebView -g -O2 -fdebug-prefix-map=/<<PKGBUILDDIR>>=. -fstack-protector-strong -Wformat -Werror=format-security -O3 -Wdate-time -D_FORTIFY_SOURCE=2 -ffast-math -Wall -Wextra -fPIC -std=gnu++17 -o CMakeFiles/pentobi.dir/ImageProvider.cpp.o -c /<<PKGBUILDDIR>>/pentobi/ImageProvider.cpp
> make[3]: *** [pentobi/CMakeFiles/pentobi.dir/build.make:363: pentobi/CMakeFiles/pentobi.dir/AnalyzeGameModel.cpp.o] Error 1

The full build log is available from:
   http://qa-logs.debian.net/2020/11/19/pentobi_17.3-1_unstable.log

A list of current common problems and possible solutions is available at
http://wiki.debian.org/qa.debian.org/FTBFS . You're welcome to contribute!

About the archive rebuild: The rebuild was done on EC2 VM instances from
Amazon Web Services, using a clean, minimal and up-to-date chroot. Every
failed build was retried once to eliminate random failures.



More information about the Pkg-games-devel mailing list