Bug 340743

Summary: emerge failure on knewstuff
Product: kde-windows Reporter: Michael Gooch <goochmi>
Component: buildsystemAssignee: KDE-Windows <kde-windows>
Status: RESOLVED FIXED    
Severity: major CC: pedrogfrancisco, vonreth
Priority: NOR    
Version: unspecified   
Target Milestone: ---   
Platform: Other   
OS: Microsoft Windows   
Latest Commit: Version Fixed In:

Description Michael Gooch 2014-11-07 22:35:44 UTC
CMakeFiles\knewstuffauthortest.dir/objects.a(entryinternal.cpp.obj): In function `KNS3::EntryInternal::toEntry() const':
q:/knewstuff/src/core/entryinternal.cpp:576: undefined reference to `__imp__ZN4KNS35EntryC1Ev'

there are MANY error/warning reports like this:
q:\knewstuff\src\entry.cpp:80:15: warning: 'KNS3::Entry::Status KNS3::Entry::status() const' redeclared without dllimport attribute: previous dllimport ignored [-Wattributes]
 Entry::Status Entry::status() const
               ^
also, noted these error messages:

q:\knewstuff\src\attica\atticaprovider.cpp:289:65: warning: 'QString Attica::DownloadDescription::priceAmount()' is deprecated (declared at r:/include/KF5/Attica/attica/downloaddescription.h:74) [-Wdeprecated-declarations]
     if (content.downloadUrlDescription(pair.second).priceAmount() < item.balance()) {
                                                                 ^
In file included from q:\knewstuff\src\attica\atticaprovider.cpp:21:0:
q:\knewstuff\src\attica\atticaprovider.cpp:295:119: warning: 'QString Attica::DownloadDescription::priceAmount()' is deprecated (declared at r:/include/KF5/Attica/attica/downloaddescription.h:74) [-Wdeprecated-declarations]
                                              item.currency(), content.downloadUrlDescription(pair.second).priceAmount()
                                                                                                                       ^
q:\knewstuff\src\attica\atticaprovider.cpp:309:104: warning: 'QString Attica::DownloadDescription::priceAmount()' is deprecated (declared at r:/include/KF5/Attica/attica/downloaddescription.h:74) [-Wdeprecated-declarations]
                                          item.balance(), content.downloadUrlDescription(0).priceAmount()));




collect2.exe: error: ld returned 1 exit status
jom: R:\build\frameworks\knewstuff\work\mingw-w64-RelWithDebInfo-master\autotests\CMakeFiles\knewstuffauthortest.dir\build.make [bin\knewstuffauthortest.exe] Error 1
jom: R:\build\frameworks\knewstuff\work\mingw-w64-RelWithDebInfo-master\CMakeFiles\Makefile2 [autotests\CMakeFiles\knewstuffauthortest.dir\all] Error 2
jom: R:\build\frameworks\knewstuff\work\mingw-w64-RelWithDebInfo-master\Makefile [all] Error 2
emerge warning: while running make cmd: jom
emerge error: fatal error: package frameworks/knewstuff all failed

Reproducible: Always

Steps to Reproduce:
1. clone emerge
2. kdeenv.bat
3. emerge kdevelop

Actual Results:  
failure on frameworks knewstuff

Expected Results:  
build kdevelop successfully after building dependencies

it looks like a library that it needs isn't being linked ,and that there may be some errors in something related to dllimport functions
Comment 1 Hannah von Reth 2014-11-10 11:52:32 UTC
I think i fixed it five minutes ago
Comment 2 Pedro Francisco 2014-11-10 12:03:53 UTC
FIXED! Thank you :)
Please mark as fixed, I am unable to.