[kde-freebsd] 7 errors in kf5-knewstuff
T.C.Berner
tcberner at gmail.com
Thu Sep 10 10:34:55 UTC 2015
Hi,
Did you deinstall attica, as mentioned in point 3) of the README?
[You can reinstall it from plasma5 branch]
The error message you get is kde4's atticas headers being picked up,
instead of
kf5-atticas.
mfg Tobias
2015-09-10 6:11 GMT+02:00 <brunomaximom at openmailbox.org>:
> /usr/ports/devel/kf5-knewstuff/work/knewstuff-5.13.0/src/attica/atticaprovider.cpp:259:9:
> error: member function 'hasPrice' not viable: 'this' argument has type
> 'const Attica::DownloadDescription', but function is not marked const
> if (desc.hasPrice()) {
> ^~~~
> /usr/local/include/attica/downloaddescription.h:58:10: note: 'hasPrice'
> declared here
> bool hasPrice();
> ^
> /usr/ports/devel/kf5-knewstuff/work/knewstuff-5.13.0/src/attica/atticaprovider.cpp:446:21:
> error: member function 'name' not viable: 'this' argument has type 'const
> Attica::DownloadDescription', but function is not marked const
> info.name = desc.name();
> ^~~~
> /usr/local/include/attica/downloaddescription.h:60:13: note: 'name'
> declared here
> QString name();
> ^
> /usr/ports/devel/kf5-knewstuff/work/knewstuff-5.13.0/src/attica/atticaprovider.cpp:447:28:
> error: member function 'priceAmount' not viable: 'this' argument has type
> 'const Attica::DownloadDescription', but function is not marked const
> info.priceAmount = desc.priceAmount();
> ^~~~
> /usr/local/include/attica/downloaddescription.h:64:13: note: 'priceAmount'
> declared here
> QString priceAmount();
> ^
> /usr/ports/devel/kf5-knewstuff/work/knewstuff-5.13.0/src/attica/atticaprovider.cpp:448:33:
> error: member function 'distributionType' not viable: 'this' argument has
> type 'const Attica::DownloadDescription', but function is not marked const
> info.distributionType = desc.distributionType();
> ^~~~
> /usr/local/include/attica/downloaddescription.h:62:13: note:
> 'distributionType' declared here
> QString distributionType();
> ^
> /usr/ports/devel/kf5-knewstuff/work/knewstuff-5.13.0/src/attica/atticaprovider.cpp:449:32:
> error: member function 'link' not viable: 'this' argument has type 'const
> Attica::DownloadDescription', but function is not marked const
> info.descriptionLink = desc.link();
> ^~~~
> /usr/local/include/attica/downloaddescription.h:61:13: note: 'link'
> declared here
> QString link();
> ^
> /usr/ports/devel/kf5-knewstuff/work/knewstuff-5.13.0/src/attica/atticaprovider.cpp:450:19:
> error: member function 'id' not viable: 'this' argument has type 'const
> Attica::DownloadDescription', but function is not marked const
> info.id = desc.id();
> ^~~~
> /usr/local/include/attica/downloaddescription.h:55:9: note: 'id' declared
> here
> int id();
> ^
> /usr/ports/devel/kf5-knewstuff/work/knewstuff-5.13.0/src/attica/atticaprovider.cpp:451:35:
> error: member function 'type' not viable: 'this' argument has type 'const
> Attica::DownloadDescription', but function is not marked const
> info.isDownloadtypeLink = desc.type() ==
> Attica::DownloadDescription::LinkDownload;
> ^~~~
> /usr/local/include/attica/downloaddescription.h:56:39: note: 'type'
> declared here
> Attica::DownloadDescription::Type type();
> ^
> 7 errors generated.
> --- src/CMakeFiles/KF5NewStuff.dir/attica/atticaprovider.cpp.o ---
> *** [src/CMakeFiles/KF5NewStuff.dir/attica/atticaprovider.cpp.o] Error
> code 1
>
> make[11]: stopped in /usr/ports/devel/kf5-knewstuff/work/.build
> [ 79%] Building CXX object
> src/CMakeFiles/KF5NewStuff.dir/ui/itemsviewbasedelegate.cpp.o
> 1 error
>
> _______________________________________________
> kde-freebsd mailing list
> kde-freebsd at kde.org
> https://mail.kde.org/mailman/listinfo/kde-freebsd
> See also http://freebsd.kde.org/ for latest information
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.kde.org/pipermail/kde-freebsd/attachments/20150910/c006da1a/attachment.html>
More information about the kde-freebsd
mailing list