CXX liblightdm_qt_1_la-greeter_moc.lo greeter_moc.cpp:14:2: error: #error "This file was generated using the moc from 4.7.4. It" greeter_moc.cpp:15:2: error: #error "cannot be used with the include files from this version of Qt." greeter_moc.cpp:16:2: error: #error "(The moc has changed too much.)" make[2]: *** [liblightdm_qt_1_la-greeter_moc.lo] Error 1 make[2]: *** Waiting for unfinished jobs.... make[1]: *** [all-recursive] Error 1 make: *** [all] Error 2 * ERROR: x11-misc/lightdm-1.0.6-r3 failed (compile phase):
They seem to bundle the files generated from moc... add this to the end of src_prepare einfo "removing bundled mocs" cd "${S}"/liblightdm-qt rm *moc.cpp cd "${S}"/greeters/qt rm *moc.cpp cd "${S}"/tests/src rm *moc.cpp to remove all bundled mocs. Built fine after that.
Fixed in -r4. Thanks a lot