kmix failure in cmake
esken at kde.org
Mon Sep 7 21:35:26 UTC 2015
the last KMix change related to automoc was the reviewboard change
https://git.reviewboard.kde.org/r/122159/ . Just wanted to note this. It
should really not be the cause, as it merely removes the #include
"something,moc" lines. Also I successfully compiled and tested the KDE4
and KF5 versions.
Am 07.09.2015 um 23:17 schrieb Alex Merry:
> On 2015-09-07 14:12, Jonathan Riddell wrote:
>> On Fri, Sep 04, 2015 at 11:58:40AM -0500, Rex Dieter wrote:
>>> On 09/04/2015 11:52 AM, Jonathan Riddell wrote:
>>> >Anyone know what this failure when running kmix is about?
>>> >kmix hasn't changed, this was previously a cmake warning, now it's an
>>> >error and cmake return non-0 exit code. Some policy must have changed
>>> >somewhere but I'm not sure what
>>> >CMake Error at /usr/lib/automoc4/Automoc4Config.cmake:248
>>> > The dependency target "kmix_automoc" of target "kmix" does not
>>> >Call Stack (most recent call first):
>>> > /usr/share/kde4/apps/cmake/modules/KDE4Macros.cmake:1036
>>> > /usr/share/kde4/apps/cmake/modules/KDE4Macros.cmake:843
>>> > CMakeLists.txt:230 (kde4_add_kdeinit_executable)
>>> I hit the same error in a different module recently (kde-baseapps?),
>>> discovered it only happens when building with cmake option:
>>> Same for you here?
>> No, I have no problems with kde-baseapps and turning off tests doesn't
>> change kde-baseapps or help kmix compile.
>> I got kmix to compile by turning the cmake policy cmake_policy (SET
>> CMP0046 OLD)
>> kmix sets this policy to new but I've no idea why this wouldn't be a
>> problem until now, I guess something in kde4 cmake stuff changed (kmix
>> hasn't changed). Any ideas Alex?
> I don't have time to look at this right now, I'm afraid, but David
> Faure has been changing policies in kdelibs4 CMake code at Stephen
> Kelly's behest.
More information about the release-team