Build failed in Jenkins: kdelibs_frameworks_qt5 #1806

Daniele E. Domenichelli daniele.domenichelli at gmail.com
Mon Dec 2 12:58:29 UTC 2013


On 02/12/13 08:23, Stephen Kelly wrote:
> David Faure wrote:
>> Looks like a bug in cmake_next, leading to infinite recursion and
>> therefore a crash.
> 
> Yep. For once, not caused by me :).
> 
> Bisect points to 
> 
> commit bf203c8f8e4a6ad4f642b2653f8abca563484889
> Author: Daniele E. Domenichelli <daniele.domenichelli at iit.it>
> Date:   Thu Nov 14 11:42:35 2013 +0100
> 
>     CMakeParseArguments: Add workaround for compatibility with CMake <= 
> 2.8.12
> 
> Daniele, could you have a look?

Weird...

The "cmake_parse_arguments" macro calls the "_cmake_parse_arguments"
function , but instead the "cmake_parse_arguments" macro (without the
underscore) is called again, and that causes the infinite loop.
Renaming "_cmake_parse_arguments" to "_cmake_parse_arguments_real" fixes
it...

Even weirder, it happens only for kde frameworks, I couldn't reproduce
anywhere else, and all the unit tests pass:


http://open.cdash.org/testSummary.php?project=1&name=RunCMake.CMakeParseArguments&date=2013-12-02


Do you have any idea why this happens? I can just rename the function in
order to fix it, but this looks like a bug in cmake, not in the module.


Cheers,
 Daniele


More information about the Kde-buildsystem mailing list