[prev in list] [next in list] [prev in thread] [next in thread] 

List:       kde-frameworks-devel
Subject:    Re: CMake error compiling kde-runtime
From:       Shivam Makkar <amourphious1992 () gmail ! com>
Date:       2014-02-23 14:04:41
Message-ID: CAHoB20pAF4-7npVey3MP4j7SwVpyTX5ZhnXzPS8VMGiLBsfAqQ () mail ! gmail ! com
[Download RAW message or body]

[Attachment #2 (multipart/alternative)]


On Sun, Feb 23, 2014 at 3:58 PM, David Faure <faure@kde.org> wrote:

> On Sunday 23 February 2014 11:05:16 David Gil Oliva wrote:
> > CMake Error at
> > /home/david/KF5/share/cmake-3.0/Modules/CMakeFindDependencyMacro.cmake:52
> > (find_package):
> >   Could not find a configuration file for package "KF5DesignerPlugin"
> that
> > is
> >   compatible with requested version "5.2".
>
> I just analyzed and reported this error on kde-buildsystem.
>
> For now, "git checkout v2.8.12.2" in your cmake git repo, or apply this
>
> diff --git a/kf5-frameworks-build-include b/kf5-frameworks-build-include
> index df4498a..c1cf637 100644
> --- a/kf5-frameworks-build-include
> +++ b/kf5-frameworks-build-include
> @@ -13,6 +13,8 @@
>
>  module cmake-git
>      repository git://cmake.org/cmake.git
> +    # Workaround for broken find_dependency in cmake master right now
> +    tag v2.8.12.2
>  end module
>
>  module libdbusmenu-qt
>


or you can apply the attached patch ( thank to alex )
I ran  into the same problem


> --
> David Faure, faure@kde.org, http://www.davidfaure.fr
> Working on KDE, in particular KDE Frameworks 5
>
> _______________________________________________
> Kde-frameworks-devel mailing list
> Kde-frameworks-devel@kde.org
> https://mail.kde.org/mailman/listinfo/kde-frameworks-devel
>



-- 
Regards
Shivam Makkar
amourphious.appspot.com

[Attachment #5 (text/html)]

<div dir="ltr"><br><div class="gmail_extra"><br><br><div class="gmail_quote">On Sun, Feb 23, 2014 at 3:58 \
PM, David Faure <span dir="ltr">&lt;<a href="mailto:faure@kde.org" \
target="_blank">faure@kde.org</a>&gt;</span> wrote:<br> <blockquote class="gmail_quote" style="margin:0 0 \
0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div class="">On Sunday 23 February 2014 11:05:16 \
David Gil Oliva wrote:<br> &gt; CMake Error at<br>
&gt; /home/david/KF5/share/cmake-3.0/Modules/CMakeFindDependencyMacro.cmake:52<br>
&gt; (find_package):<br>
&gt;   Could not find a configuration file for package &quot;KF5DesignerPlugin&quot; that<br>
&gt; is<br>
&gt;   compatible with requested version &quot;5.2&quot;.<br>
<br>
</div>I just analyzed and reported this error on kde-buildsystem.<br>
<br>
For now, &quot;git checkout v2.8.12.2&quot; in your cmake git repo, or apply this<br>
<br>
diff --git a/kf5-frameworks-build-include b/kf5-frameworks-build-include<br>
index df4498a..c1cf637 100644<br>
--- a/kf5-frameworks-build-include<br>
+++ b/kf5-frameworks-build-include<br>
@@ -13,6 +13,8 @@<br>
<br>
 module cmake-git<br>
     repository git://<a href="http://cmake.org/cmake.git" target="_blank">cmake.org/cmake.git</a><br>
+    # Workaround for broken find_dependency in cmake master right now<br>
+    tag v2.8.12.2<br>
 end module<br>
<br>
 module libdbusmenu-qt<br></blockquote><div><br></div><div><br></div><div>or you can apply the attached \
patch ( thank to alex )<br>I ran  into the same problem<br></div><div><br></div><blockquote \
class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">

<span class="HOEnZb"><font color="#888888"><br>
--<br>
David Faure, <a href="mailto:faure@kde.org">faure@kde.org</a>, <a href="http://www.davidfaure.fr" \
target="_blank">http://www.davidfaure.fr</a><br> Working on KDE, in particular KDE Frameworks 5<br>
<br>
_______________________________________________<br>
Kde-frameworks-devel mailing list<br>
<a href="mailto:Kde-frameworks-devel@kde.org">Kde-frameworks-devel@kde.org</a><br>
<a href="https://mail.kde.org/mailman/listinfo/kde-frameworks-devel" \
target="_blank">https://mail.kde.org/mailman/listinfo/kde-frameworks-devel</a><br> \
</font></span></blockquote></div><br><br clear="all"><div><br></div>-- <br><div dir="ltr"><div>Regards \
</div><div>Shivam Makkar</div><div><a href="http://amourphious.appspot.com/" \
target="_blank">amourphious.appspot.com</a><br> </div><div><br></div><img \
src="http://amourphious.appspot.com/image?img_id=ag1zfmFtb3VycGhpb3Vzcg0LEgVJbWFnZRjxnwUM"><br><div><br></div></div>
 </div></div>

--047d7b4726c630b36904f3132bf5--


["0001-Fix-settings-of-the-version-variable-of-find_depende.patch" (text/x-patch)]

From d9da7a712d331e647d94fc12162e2c4df29ca7eb Mon Sep 17 00:00:00 2001
From: Alex Merry <kde@randomguy3.me.uk>
Date: Sat, 22 Feb 2014 13:35:14 +0000
Subject: [PATCH] Fix settings of the version variable of find_dependency macro

It should be reset before use, as this is a macro, and the test should
be against ARGV1, not its value.
---
 Modules/CMakeFindDependencyMacro.cmake | 3 ++-
 1 file changed, 2 insertions(+), 1 deletion(-)

diff --git a/Modules/CMakeFindDependencyMacro.cmake b/Modules/CMakeFindDependencyMacro.cmake
index 0f1f56d..6f7dbe8 100644
--- a/Modules/CMakeFindDependencyMacro.cmake
+++ b/Modules/CMakeFindDependencyMacro.cmake
@@ -29,7 +29,8 @@
 
 macro(find_dependency dep)
   if (NOT ${dep}_FOUND)
-    if (${ARGV1})
+    set(version)
+    if (ARGV1)
       set(version ${ARGV1})
     endif()
     set(exact_arg)
-- 
1.9.0



_______________________________________________
Kde-frameworks-devel mailing list
Kde-frameworks-devel@kde.org
https://mail.kde.org/mailman/listinfo/kde-frameworks-devel


[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic