Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 457532 - app-office/akonadi-server-1.9.0: moc fails to parse boost headers (BOOST_JOIN undefined)
Summary: app-office/akonadi-server-1.9.0: moc fails to parse boost headers (BOOST_JOIN...
Status: RESOLVED DUPLICATE of bug 454080
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: New packages (show other bugs)
Hardware: All Linux
: Normal normal
Assignee: Gentoo Linux bug wranglers
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2013-02-14 14:26 UTC by cJ
Modified: 2013-02-14 20:58 UTC (History)
0 users

See Also:
Package list:
Runtime testing required: ---


Attachments
akonadi-1.9.0-fix-moc-preproc.patch (akonadi-fix-boost.patch,344 bytes, patch)
2013-02-14 20:41 UTC, cJ
Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description cJ 2013-02-14 14:26:22 UTC
This is a Qt bug that is closed upstream... with Qt5:
https://bugreports.qt-project.org/browse/QTBUG-22829

Solution (workaround) consists in patching akonadi-1.9.0/shared/akapplication.h, wrapping the boost include with:
#ifndef Q_MOC_RUN
#endif

Most of kde fails to build if akonadi-server is not working.


Reproducible: Always

Steps to Reproduce:
1. install latest boost
2. install qt-4.8.4*
3. install akonadi-server
Comment 1 cJ 2013-02-14 20:41:59 UTC
Created attachment 338902 [details, diff]
akonadi-1.9.0-fix-moc-preproc.patch
Comment 2 Chris Reffett (RETIRED) gentoo-dev Security 2013-02-14 20:58:26 UTC

*** This bug has been marked as a duplicate of bug 454080 ***