Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 401259 - x11-misc/lightdm-1.0.6-r3[qt4] fails with Qt 4.8.0
Summary: x11-misc/lightdm-1.0.6-r3[qt4] fails with Qt 4.8.0
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal normal (vote)
Assignee: Markos Chandras (RETIRED)
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2012-01-29 06:43 UTC by Ben de Groot
Modified: 2012-01-29 10:08 UTC (History)
0 users

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


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Ben de Groot 2012-01-29 06:43:30 UTC
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):
Comment 1 Franz Trischberger 2012-01-29 08:35:46 UTC
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.
Comment 2 Markos Chandras (RETIRED) gentoo-dev 2012-01-29 10:08:46 UTC
Fixed in -r4. Thanks a lot