Bug 473861 - Mailcommon 23.08.0-1 will not compile
Summary: Mailcommon 23.08.0-1 will not compile
Status: RESOLVED FIXED
Alias: None
Product: kdepim
Classification: Applications
Component: general (show other bugs)
Version: unspecified
Platform: Other Linux
: NOR grave
Target Milestone: ---
Assignee: kdepim bugs
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2023-08-28 15:51 UTC by voncloft
Modified: 2023-08-31 16:08 UTC (History)
2 users (show)

See Also:
Latest Commit:
Version Fixed In:
Sentry Crash Report:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description voncloft 2023-08-28 15:51:54 UTC
SUMMARY
***
When compiling mailcommon 23.08.0 the following error occurs:

/var/cache/scratchpkg/work/mailcommon/src/mailcommon-23.08.0/src/filter/filteractions/filteractionaddtoaddressbook.cpp: In member function 'virtual MailCommon::FilterAction::ReturnCode MailCommon::FilterActionAddToAddressBook::process(MailCommon::ItemContext&, bool) const':
/var/cache/scratchpkg/work/mailcommon/src/mailcommon-23.08.0/src/filter/filteractions/filteractionaddtoaddressbook.cpp:93:24: error: 'ContactEditor' does not name a type
   93 |         auto job = new ContactEditor::AddContactJob(contact, Akonadi::Collection(mCollectionId));

***

This causes problems for akonadi-import and other akonadi programs.


STEPS TO REPRODUCE
1.  Try to compile mailcommon
2. get error
3. 

OBSERVED RESULT


EXPECTED RESULT
to compilelo

SOFTWARE/OS VERSIONS
Windows: 
macOS: 
Linux/KDE Plasma:  5.27.7
(available in About System)
KDE Plasma Version:  5.27.7
KDE Frameworks Version:  5.109.0
Qt Version: 5.15.2

ADDITIONAL INFORMATION
Comment 1 Rik Mills 2023-08-28 17:27:18 UTC
Built ok on Ubuntu: https://launchpad.net/ubuntu/+source/libkf5mailcommon/4:23.08.0-0ubuntu1
Comment 2 voncloft 2023-08-31 16:08:30 UTC
Don't know what I did but it installed now