Bug 336495

Summary: kmymoney-4.6.5 fails to build
Product: [Applications] kmymoney Reporter: Rex Dieter <rdieter>
Component: generalAssignee: KMyMoney Devel Mailing List <kmymoney-devel>
Status: RESOLVED FIXED    
Severity: normal    
Priority: NOR    
Version: unspecified   
Target Milestone: ---   
Platform: unspecified   
OS: Linux   
Latest Commit: Version Fixed In: 4.6.6
Sentry Crash Report:

Description Rex Dieter 2014-06-20 13:43:35 UTC
Looks like a build failure introduced in commit:
https://projects.kde.org/projects/extragear/office/kmymoney/repository/revisions/83aa0cddba2f2a2aa415cc365d926171d00f0da2

I get,
...
Building CXX object kmymoney/converter/CMakeFiles/converter.dir/mymoneystatementreader.cpp.o
...
kmymoney/converter/mymoneystatementreader.cpp: In member function ‘void MyMoneyStatementReader::processTransactionEntry(const MyMoneyStatement::Transaction&)’:
kmymoney/converter/mymoneystatementreader.cpp:1029:51: error: ‘statementTransactionUnderImport’ was not declared in this scope
         file->addVATSplit(t, m_account, category, statementTransactionUnderImport.m_amount);

references a variable that doesn't exist in the 4.6 branch.


Reproducible: Always
Comment 1 Rex Dieter 2014-06-20 13:44:40 UTC
marking confirmed
Comment 2 Alvaro Soliverez 2014-06-20 17:51:07 UTC
Reverted the offending split and cherry-picked the linking to gwenhywfar 4.6.

Please fetch latest 4.6 and build it to confirm it's fine now.
Comment 3 Rex Dieter 2014-06-20 17:59:23 UTC
confirmed mmm, mm good now, thanks!