Bug#964634: veyon: FTBFS: AccessControlProvider.cpp:168:93: error: ‘class QStringList’ has no member named ‘toSet’

Lucas Nussbaum lucas at debian.org
Thu Jul 9 11:49:46 BST 2020


Source: veyon
Version: 4.3.1+repack1-2
Severity: serious
Justification: FTBFS on amd64
Tags: bullseye sid ftbfs
Usertags: ftbfs-20200709 ftbfs-bullseye

Hi,

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

Relevant part (hopefully):
> cd /<<PKGBUILDDIR>>/obj-x86_64-linux-gnu/core && /usr/bin/g++  -DBUILD_VEYON_CORE_LIBRARY -DQT_CONCURRENT_LIB -DQT_CORE_LIB -DQT_DEPRECATED_WARNINGS -DQT_DISABLE_DEPRECATED_BEFORE=0x051200 -DQT_GUI_LIB -DQT_NETWORK_LIB -DQT_NO_CAST_FROM_ASCII -DQT_NO_CAST_FROM_BYTEARRAY -DQT_NO_CAST_TO_ASCII -DQT_NO_DEBUG -DQT_WIDGETS_LIB -D_FORTIFY_SOURCE=2 -Dveyon_core_EXPORTS -I/<<PKGBUILDDIR>>/obj-x86_64-linux-gnu/core/veyon-core_autogen/include -I/<<PKGBUILDDIR>>/core/include -I/<<PKGBUILDDIR>>/obj-x86_64-linux-gnu/core/include -I/<<PKGBUILDDIR>>/3rdparty/libvncserver -I/<<PKGBUILDDIR>>/obj-x86_64-linux-gnu -I/<<PKGBUILDDIR>>/obj-x86_64-linux-gnu/core -I/<<PKGBUILDDIR>>/3rdparty/libvncserver/common -isystem /usr/include/Qca-qt5/QtCrypto -isystem /usr/include/x86_64-linux-gnu/qt5 -isystem /usr/include/x86_64-linux-gnu/qt5/QtConcurrent -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/QtGui -isystem /usr/include/x86_64-linux-gnu/qt5/QtNetwork -isystem /usr/include/x86_64-linux-gnu/qt5/QtWidgets  -g -O2 -fdebug-prefix-map=/<<PKGBUILDDIR>>=. -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -Wall -fno-exceptions -std=c++11 -fstack-protector-strong  -O2 -g -DNDEBUG -fPIC -fvisibility=hidden -fvisibility-inlines-hidden   -D'QT_TRANSLATIONS_DIR="/usr/share/qt5/translations"' -fPIC -std=gnu++11  -Winvalid-pch -include "/<<PKGBUILDDIR>>/obj-x86_64-linux-gnu/core/cotire/veyon-core_CXX_prefix.hxx"  -o CMakeFiles/veyon-core.dir/src/AccessControlProvider.cpp.o -c /<<PKGBUILDDIR>>/core/src/AccessControlProvider.cpp
> In file included from /<<PKGBUILDDIR>>/core/include/VeyonCore.h:35,
>                  from /<<PKGBUILDDIR>>/core/include/PluginInterface.h:29,
>                  from /<<PKGBUILDDIR>>/core/include/UserGroupsBackendInterface.h:27,
>                  from /<<PKGBUILDDIR>>/core/include/UserGroupsBackendManager.h:27,
>                  from /<<PKGBUILDDIR>>/core/src/AccessControlProvider.cpp:28:
> /<<PKGBUILDDIR>>/core/include/QtCompat.h:42: warning: "Q_DISABLE_MOVE" redefined
>    42 | #define Q_DISABLE_MOVE(Class) \
>       | 
> In file included from /usr/include/x86_64-linux-gnu/qt5/QtGui/qtguiglobal.h:43,
>                  from /usr/include/x86_64-linux-gnu/qt5/QtWidgets/qtwidgetsglobal.h:43,
>                  from /usr/include/x86_64-linux-gnu/qt5/QtWidgets/qapplication.h:43,
>                  from /usr/include/x86_64-linux-gnu/qt5/QtWidgets/QApplication:1,
>                  from /<<PKGBUILDDIR>>/core/include/Cotire.h:4,
>                  from /<<PKGBUILDDIR>>/obj-x86_64-linux-gnu/core/cotire/veyon-core_CXX_prefix.cxx:4,
>                  from /<<PKGBUILDDIR>>/obj-x86_64-linux-gnu/core/cotire/veyon-core_CXX_prefix.hxx:4:
> /usr/include/x86_64-linux-gnu/qt5/QtCore/qglobal.h:436: note: this is the location of the previous definition
>   436 | #define Q_DISABLE_MOVE(Class) \
>       | 
> /<<PKGBUILDDIR>>/core/src/AccessControlProvider.cpp: In member function ‘bool AccessControlProvider::processAuthorizedGroups(const QString&)’:
> /<<PKGBUILDDIR>>/core/src/AccessControlProvider.cpp:168:93: error: ‘class QStringList’ has no member named ‘toSet’
>   168 |  return intersects( m_userGroupsBackend->groupsOfUser( accessingUser, m_queryDomainGroups ).toSet(),
>       |                                                                                             ^~~~~
> /<<PKGBUILDDIR>>/core/src/AccessControlProvider.cpp:169:52: error: ‘class QStringList’ has no member named ‘toSet’
>   169 |         VeyonCore::config().authorizedUserGroups().toSet() );
>       |                                                    ^~~~~
> /<<PKGBUILDDIR>>/core/src/AccessControlProvider.cpp: In member function ‘bool AccessControlProvider::haveGroupsInCommon(const QString&, const QString&) const’:
> /<<PKGBUILDDIR>>/core/src/AccessControlProvider.cpp:265:35: error: ‘const class QStringList’ has no member named ‘toSet’
>   265 |  return intersects( userOneGroups.toSet(), userTwoGroups.toSet() );
>       |                                   ^~~~~
> /<<PKGBUILDDIR>>/core/src/AccessControlProvider.cpp:265:58: error: ‘const class QStringList’ has no member named ‘toSet’
>   265 |  return intersects( userOneGroups.toSet(), userTwoGroups.toSet() );
>       |                                                          ^~~~~
> make[3]: *** [core/CMakeFiles/veyon-core.dir/build.make:178: core/CMakeFiles/veyon-core.dir/src/AccessControlProvider.cpp.o] Error 1

The full build log is available from:
   http://qa-logs.debian.net/2020/07/09/veyon_4.3.1+repack1-2_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 Debian-edu-pkg-team mailing list