FS#63786 - [accounts-qml-module] fails to build in clean chroot

Attached to Project: Arch Linux
Opened by Erich Eckner (deepthought) - Monday, 16 September 2019, 12:15 GMT
Last edited by Antonio Rojas (arojas) - Monday, 16 September 2019, 15:38 GMT
Task Type Bug Report
Category Packages: Extra
Status Closed
Assigned To Antonio Rojas (arojas)
Architecture All
Severity Low
Priority Normal
Reported Version
Due in Version Undecided
Due Date Undecided
Percent Complete 100%
Votes 1
Private No

Details

Description:

extra-x86_64-build fails with errors similar to:

../../accounts-qml-module-VERSION_0.7-cfadea7ba8ba4011ae20d771696eb74deb87201e/src/account-service-model.cpp: In member function ‘void OnlineAccounts::AccountServiceModelPrivate::addServicesFromAccount(Accounts::Account*)’:
../../accounts-qml-module-VERSION_0.7-cfadea7ba8ba4011ae20d771696eb74deb87201e/src/account-service-model.cpp:186:67: error: ‘void qSort(RandomAccessIterator, RandomAccessIterator, LessThan) [with RandomAccessIterator = QList<Accounts::AccountService*>::iterator; LessThan = bool (*)(const Accounts::AccountService*, const Accounts::AccountService*)]’ is deprecated: Use std::sort [-Werror=deprecated-declarations]
186 | qSort(newModelItems.begin(), newModelItems.end(), sortFunction);
| ^

Additional info:
* package version(s)
accounts-qml-module 0.7-2 (git revision 78ff8c58d39b0367af96e11623e335a7c9ee898f)
* config and/or log files etc.
full log is attached

Steps to reproduce:
> git checkout 78ff8c58d39b0367af96e11623e335a7c9ee898f
> cd accounts-qml-module/repos/extra-x86_64
> extra-x86_64-build
This task depends upon

Closed by  Antonio Rojas (arojas)
Monday, 16 September 2019, 15:38 GMT
Reason for closing:  Fixed

Loading...