[kde-freebsd] 7 errors in kf5-knewstuff

brunomaximom at openmailbox.org brunomaximom at openmailbox.org
Thu Sep 10 04:11:26 UTC 2015


/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



More information about the kde-freebsd mailing list