[4/7] libevdev: Add dependency on libcheck

Message ID 20171014154858.35123-4-raj.khem@gmail.com
State New
Headers show
Series
  • [1/7] go-dep: Upgrade to 0.3.1
Related show

Commit Message

Khem Raj Oct. 14, 2017, 3:48 p.m.
Fixes failures like

test-main.o ../../libevdev-1.5.2/test/test-main.c
| ../../libevdev-1.5.2/test/test-main.c:24:19: fatal error: check.h: No such file or directory
|  #include <check.h>
|                    ^
| compilation terminated.
| make[2]: *** [test-main.o] Error 1

Change-Id: I73fce0532b91fe410d509ae55ff471ad2ea5d929
Signed-off-by: Khem Raj <raj.khem@gmail.com>

---
 meta/recipes-support/libevdev/libevdev_1.5.7.bb | 2 ++
 1 file changed, 2 insertions(+)

-- 
2.14.2

-- 
_______________________________________________
Openembedded-core mailing list
Openembedded-core@lists.openembedded.org
http://lists.openembedded.org/mailman/listinfo/openembedded-core

Comments

Ross Burton Oct. 17, 2017, 12:41 p.m. | #1
Curious how you hit this with master.  For me:

checking for check >= 0.9.9... no
configure: WARNING: check not found - skipping building unit tests

The configure script uses pkg-config so shouldn't be picking up host
binaries.  Can you dig a little?

Ross

On 14 October 2017 at 16:48, Khem Raj <raj.khem@gmail.com> wrote:

> Fixes failures like

>

> test-main.o ../../libevdev-1.5.2/test/test-main.c

> | ../../libevdev-1.5.2/test/test-main.c:24:19: fatal error: check.h: No

> such file or directory

> |  #include <check.h>

> |                    ^

> | compilation terminated.

> | make[2]: *** [test-main.o] Error 1

>

> Change-Id: I73fce0532b91fe410d509ae55ff471ad2ea5d929

> Signed-off-by: Khem Raj <raj.khem@gmail.com>

> ---

>  meta/recipes-support/libevdev/libevdev_1.5.7.bb | 2 ++

>  1 file changed, 2 insertions(+)

>

> diff --git a/meta/recipes-support/libevdev/libevdev_1.5.7.bb

> b/meta/recipes-support/libevdev/libevdev_1.5.7.bb

> index f740da206e..4b54971b1c 100644

> --- a/meta/recipes-support/libevdev/libevdev_1.5.7.bb

> +++ b/meta/recipes-support/libevdev/libevdev_1.5.7.bb

> @@ -6,6 +6,8 @@ LICENSE = "MIT-X"

>  LIC_FILES_CHKSUM = "file://COPYING;md5=75aae0d38feea6fda97ca381cb9132eb \

>                      file://libevdev/libevdev.h;endline=21;md5=

> 7ff4f0b5113252c2f1a828e0bbad98d1"

>

> +DEPENDS += "libcheck"

> +

>  SRC_URI = "http://www.freedesktop.org/software/libevdev/${BP}.tar.xz"

>

>  SRC_URI[md5sum] = "4f1cfaee8d75ea3fbbfeb99a98730952"

> --

> 2.14.2

>

> --

> _______________________________________________

> Openembedded-core mailing list

> Openembedded-core@lists.openembedded.org

> http://lists.openembedded.org/mailman/listinfo/openembedded-core

>
<div dir="ltr">Curious how you hit this with master.  For me:<div><br></div><div><div>checking for check &gt;= 0.9.9... no</div><div>configure: WARNING: check not found - skipping building unit tests</div></div><div><br></div><div>The configure script uses pkg-config so shouldn&#39;t be picking up host binaries.  Can you dig a little?</div><div><br></div><div>Ross</div></div><div class="gmail_extra"><br><div class="gmail_quote">On 14 October 2017 at 16:48, Khem Raj <span dir="ltr">&lt;<a href="mailto:raj.khem@gmail.com" target="_blank">raj.khem@gmail.com</a>&gt;</span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">Fixes failures like<br>
<br>
test-main.o ../../libevdev-1.5.2/test/<wbr>test-main.c<br>
| ../../libevdev-1.5.2/test/<wbr>test-main.c:24:19: fatal error: check.h: No such file or directory<br>
|  #include &lt;check.h&gt;<br>
|                    ^<br>
| compilation terminated.<br>
| make[2]: *** [test-main.o] Error 1<br>
<br>
Change-Id: I73fce0532b91fe410d509ae55ff47<wbr>1ad2ea5d929<br>
Signed-off-by: Khem Raj &lt;<a href="mailto:raj.khem@gmail.com">raj.khem@gmail.com</a>&gt;<br>

---<br>
 meta/recipes-support/libevdev/<a href="http://libevdev_1.5.7.bb" rel="noreferrer" target="_blank"><wbr>libevdev_1.5.7.bb</a> | 2 ++<br>
 1 file changed, 2 insertions(+)<br>
<br>
diff --git a/meta/recipes-support/<wbr>libevdev/<a href="http://libevdev_1.5.7.bb" rel="noreferrer" target="_blank">libevdev_1.5.7.bb</a> b/meta/recipes-support/<wbr>libevdev/<a href="http://libevdev_1.5.7.bb" rel="noreferrer" target="_blank">libevdev_1.5.7.bb</a><br>
index f740da206e..4b54971b1c 100644<br>
--- a/meta/recipes-support/<wbr>libevdev/<a href="http://libevdev_1.5.7.bb" rel="noreferrer" target="_blank">libevdev_1.5.7.bb</a><br>
+++ b/meta/recipes-support/<wbr>libevdev/<a href="http://libevdev_1.5.7.bb" rel="noreferrer" target="_blank">libevdev_1.5.7.bb</a><br>
@@ -6,6 +6,8 @@ LICENSE = &quot;MIT-X&quot;<br>
 LIC_FILES_CHKSUM = &quot;file://COPYING;md5=<wbr>75aae0d38feea6fda97ca381cb9132<wbr>eb \<br>
                     file://libevdev/libevdev.h;<wbr>endline=21;md5=<wbr>7ff4f0b5113252c2f1a828e0bbad98<wbr>d1&quot;<br>
<br>
+DEPENDS += &quot;libcheck&quot;<br>
+<br>
 SRC_URI = &quot;<a href="http://www.freedesktop.org/software/libevdev/${BP}.tar.xz" rel="noreferrer" target="_blank">http://www.freedesktop.org/<wbr>software/libevdev/${BP}.tar.xz</a><wbr>&quot;<br>
<br>
 SRC_URI[md5sum] = &quot;<wbr>4f1cfaee8d75ea3fbbfeb99a987309<wbr>52&quot;<br>
<span class="HOEnZb"><font color="#888888">--<br>
2.14.2<br>
<br>
--<br>
______________________________<wbr>_________________<br>
Openembedded-core mailing list<br>
<a href="mailto:Openembedded-core@lists.openembedded.org">Openembedded-core@lists.<wbr>openembedded.org</a><br>
<a href="http://lists.openembedded.org/mailman/listinfo/openembedded-core" rel="noreferrer" target="_blank">http://lists.openembedded.org/<wbr>mailman/listinfo/openembedded-<wbr>core</a><br>
</font></span></blockquote></div><br></div>
-- 
_______________________________________________
Openembedded-core mailing list
Openembedded-core@lists.openembedded.org
http://lists.openembedded.org/mailman/listinfo/openembedded-core
Khem Raj Oct. 17, 2017, 4:24 p.m. | #2
On Tue, Oct 17, 2017 at 5:41 AM, Burton, Ross <ross.burton@intel.com> wrote:
> Curious how you hit this with master.  For me:

>

> checking for check >= 0.9.9... no

> configure: WARNING: check not found - skipping building unit tests

>

> The configure script uses pkg-config so shouldn't be picking up host

> binaries.  Can you dig a little?

>


do you have ptests on

> Ross

>

> On 14 October 2017 at 16:48, Khem Raj <raj.khem@gmail.com> wrote:

>>

>> Fixes failures like

>>

>> test-main.o ../../libevdev-1.5.2/test/test-main.c

>> | ../../libevdev-1.5.2/test/test-main.c:24:19: fatal error: check.h: No

>> such file or directory

>> |  #include <check.h>

>> |                    ^

>> | compilation terminated.

>> | make[2]: *** [test-main.o] Error 1

>>

>> Change-Id: I73fce0532b91fe410d509ae55ff471ad2ea5d929

>> Signed-off-by: Khem Raj <raj.khem@gmail.com>

>> ---

>>  meta/recipes-support/libevdev/libevdev_1.5.7.bb | 2 ++

>>  1 file changed, 2 insertions(+)

>>

>> diff --git a/meta/recipes-support/libevdev/libevdev_1.5.7.bb

>> b/meta/recipes-support/libevdev/libevdev_1.5.7.bb

>> index f740da206e..4b54971b1c 100644

>> --- a/meta/recipes-support/libevdev/libevdev_1.5.7.bb

>> +++ b/meta/recipes-support/libevdev/libevdev_1.5.7.bb

>> @@ -6,6 +6,8 @@ LICENSE = "MIT-X"

>>  LIC_FILES_CHKSUM = "file://COPYING;md5=75aae0d38feea6fda97ca381cb9132eb \

>>

>> file://libevdev/libevdev.h;endline=21;md5=7ff4f0b5113252c2f1a828e0bbad98d1"

>>

>> +DEPENDS += "libcheck"

>> +

>>  SRC_URI = "http://www.freedesktop.org/software/libevdev/${BP}.tar.xz"

>>

>>  SRC_URI[md5sum] = "4f1cfaee8d75ea3fbbfeb99a98730952"

>> --

>> 2.14.2

>>

>> --

>> _______________________________________________

>> Openembedded-core mailing list

>> Openembedded-core@lists.openembedded.org

>> http://lists.openembedded.org/mailman/listinfo/openembedded-core

>

>

-- 
_______________________________________________
Openembedded-core mailing list
Openembedded-core@lists.openembedded.org
http://lists.openembedded.org/mailman/listinfo/openembedded-core
Ross Burton Oct. 17, 2017, 4:25 p.m. | #3
On 17 October 2017 at 17:24, Khem Raj <raj.khem@gmail.com> wrote:

> On Tue, Oct 17, 2017 at 5:41 AM, Burton, Ross <ross.burton@intel.com>

> wrote:

> > Curious how you hit this with master.  For me:

> >

> > checking for check >= 0.9.9... no

> > configure: WARNING: check not found - skipping building unit tests

> >

> > The configure script uses pkg-config so shouldn't be picking up host

> > binaries.  Can you dig a little?

>

> do you have ptests on



Yes but libevdev doesn't have any.

Ross
<div dir="ltr">On 17 October 2017 at 17:24, Khem Raj <span dir="ltr">&lt;<a href="mailto:raj.khem@gmail.com" target="_blank">raj.khem@gmail.com</a>&gt;</span> wrote:<br><div class="gmail_extra"><div class="gmail_quote"><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><span class="">On Tue, Oct 17, 2017 at 5:41 AM, Burton, Ross &lt;<a href="mailto:ross.burton@intel.com">ross.burton@intel.com</a>&gt; wrote:<br>
&gt; Curious how you hit this with master.  For me:<br>
&gt;<br>
&gt; checking for check &gt;= 0.9.9... no<br>
&gt; configure: WARNING: check not found - skipping building unit tests<br>
&gt;<br>
&gt; The configure script uses pkg-config so shouldn&#39;t be picking up host<br>
&gt; binaries.  Can you dig a little?<br><br>
</span>do you have ptests on</blockquote><div><br></div><div>Yes but libevdev doesn&#39;t have any.</div><div><br></div><div>Ross</div></div></div></div>
-- 
_______________________________________________
Openembedded-core mailing list
Openembedded-core@lists.openembedded.org
http://lists.openembedded.org/mailman/listinfo/openembedded-core
Khem Raj Oct. 17, 2017, 4:29 p.m. | #4
On Tue, Oct 17, 2017 at 9:25 AM, Burton, Ross <ross.burton@intel.com> wrote:
> On 17 October 2017 at 17:24, Khem Raj <raj.khem@gmail.com> wrote:

>>

>> On Tue, Oct 17, 2017 at 5:41 AM, Burton, Ross <ross.burton@intel.com>

>> wrote:

>> > Curious how you hit this with master.  For me:

>> >

>> > checking for check >= 0.9.9... no

>> > configure: WARNING: check not found - skipping building unit tests

>> >

>> > The configure script uses pkg-config so shouldn't be picking up host

>> > binaries.  Can you dig a little?

>>

>> do you have ptests on

>

>

> Yes but libevdev doesn't have any.


and I am using new pkgconf

>

> Ross

-- 
_______________________________________________
Openembedded-core mailing list
Openembedded-core@lists.openembedded.org
http://lists.openembedded.org/mailman/listinfo/openembedded-core
Otavio Salvador Oct. 17, 2017, 4:32 p.m. | #5
On Tue, Oct 17, 2017 at 2:29 PM, Khem Raj <raj.khem@gmail.com> wrote:
> On Tue, Oct 17, 2017 at 9:25 AM, Burton, Ross <ross.burton@intel.com> wrote:

>> On 17 October 2017 at 17:24, Khem Raj <raj.khem@gmail.com> wrote:

>>>

>>> On Tue, Oct 17, 2017 at 5:41 AM, Burton, Ross <ross.burton@intel.com>

>>> wrote:

>>> > Curious how you hit this with master.  For me:

>>> >

>>> > checking for check >= 0.9.9... no

>>> > configure: WARNING: check not found - skipping building unit tests

>>> >

>>> > The configure script uses pkg-config so shouldn't be picking up host

>>> > binaries.  Can you dig a little?

>>>

>>> do you have ptests on

>>

>>

>> Yes but libevdev doesn't have any.

>

> and I am using new pkgconf


pkgconf is broken on master as far as I know.

-- 
Otavio Salvador                             O.S. Systems
http://www.ossystems.com.br        http://code.ossystems.com.br
Mobile: +55 (53) 9981-7854            Mobile: +1 (347) 903-9750
-- 
_______________________________________________
Openembedded-core mailing list
Openembedded-core@lists.openembedded.org
http://lists.openembedded.org/mailman/listinfo/openembedded-core
Ross Burton Oct. 17, 2017, 4:32 p.m. | #6
On 17 October 2017 at 17:29, Khem Raj <raj.khem@gmail.com> wrote:

> On Tue, Oct 17, 2017 at 9:25 AM, Burton, Ross <ross.burton@intel.com>

> wrote:

> > On 17 October 2017 at 17:24, Khem Raj <raj.khem@gmail.com> wrote:

> >>

> >> On Tue, Oct 17, 2017 at 5:41 AM, Burton, Ross <ross.burton@intel.com>

> >> wrote:

> >> > Curious how you hit this with master.  For me:

> >> >

> >> > checking for check >= 0.9.9... no

> >> > configure: WARNING: check not found - skipping building unit tests

> >> >

> >> > The configure script uses pkg-config so shouldn't be picking up host

> >> > binaries.  Can you dig a little?

> >>

> >> do you have ptests on

> >

> >

> > Yes but libevdev doesn't have any.

>

> and I am using new pkgconf

>


Ah, let's see if that breaks it.  Do you have libcheck installed on your
host?

Ross
<div dir="ltr">On 17 October 2017 at 17:29, Khem Raj <span dir="ltr">&lt;<a href="mailto:raj.khem@gmail.com" target="_blank">raj.khem@gmail.com</a>&gt;</span> wrote:<br><div class="gmail_extra"><div class="gmail_quote"><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><span class="">On Tue, Oct 17, 2017 at 9:25 AM, Burton, Ross &lt;<a href="mailto:ross.burton@intel.com">ross.burton@intel.com</a>&gt; wrote:<br>
&gt; On 17 October 2017 at 17:24, Khem Raj &lt;<a href="mailto:raj.khem@gmail.com">raj.khem@gmail.com</a>&gt; wrote:<br>
&gt;&gt;<br>
&gt;&gt; On Tue, Oct 17, 2017 at 5:41 AM, Burton, Ross &lt;<a href="mailto:ross.burton@intel.com">ross.burton@intel.com</a>&gt;<br>
&gt;&gt; wrote:<br>
&gt;&gt; &gt; Curious how you hit this with master.  For me:<br>
&gt;&gt; &gt;<br>
&gt;&gt; &gt; checking for check &gt;= 0.9.9... no<br>
&gt;&gt; &gt; configure: WARNING: check not found - skipping building unit tests<br>
&gt;&gt; &gt;<br>
&gt;&gt; &gt; The configure script uses pkg-config so shouldn&#39;t be picking up host<br>
&gt;&gt; &gt; binaries.  Can you dig a little?<br>
&gt;&gt;<br>
&gt;&gt; do you have ptests on<br>
&gt;<br>
&gt;<br>
&gt; Yes but libevdev doesn&#39;t have any.<br>
<br>
</span>and I am using new pkgconf<br></blockquote><div><br></div><div>Ah, let&#39;s see if that breaks it.  Do you have libcheck installed on your host?</div><div><br></div><div>Ross </div></div></div></div>
-- 
_______________________________________________
Openembedded-core mailing list
Openembedded-core@lists.openembedded.org
http://lists.openembedded.org/mailman/listinfo/openembedded-core
Ross Burton Oct. 17, 2017, 4:34 p.m. | #7
On 17 October 2017 at 17:32, Otavio Salvador <
otavio.salvador@ossystems.com.br> wrote:

> > and I am using new pkgconf

>

> pkgconf is broken on master as far as I know.

>


It breaks with the wayland sysroot patches, but that's the only known
breakage and they're not in master.

Ross
<div dir="ltr">On 17 October 2017 at 17:32, Otavio Salvador <span dir="ltr">&lt;<a href="mailto:otavio.salvador@ossystems.com.br" target="_blank">otavio.salvador@ossystems.com.br</a>&gt;</span> wrote:<br><div class="gmail_extra"><div class="gmail_quote"><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><span class="">&gt; and I am using new pkgconf<br>
<br>
</span>pkgconf is broken on master as far as I know.<br></blockquote><div><br></div><div>It breaks with the wayland sysroot patches, but that&#39;s the only known breakage and they&#39;re not in master.</div><div><br></div><div>Ross </div></div></div></div>
-- 
_______________________________________________
Openembedded-core mailing list
Openembedded-core@lists.openembedded.org
http://lists.openembedded.org/mailman/listinfo/openembedded-core
Ross Burton Oct. 17, 2017, 4:46 p.m. | #8
I can't replicate with pkgconf and with check installed on the host.  Can
you actually replicate this?

Ross

On 17 October 2017 at 17:32, Burton, Ross <ross.burton@intel.com> wrote:

> On 17 October 2017 at 17:29, Khem Raj <raj.khem@gmail.com> wrote:

>

>> On Tue, Oct 17, 2017 at 9:25 AM, Burton, Ross <ross.burton@intel.com>

>> wrote:

>> > On 17 October 2017 at 17:24, Khem Raj <raj.khem@gmail.com> wrote:

>> >>

>> >> On Tue, Oct 17, 2017 at 5:41 AM, Burton, Ross <ross.burton@intel.com>

>> >> wrote:

>> >> > Curious how you hit this with master.  For me:

>> >> >

>> >> > checking for check >= 0.9.9... no

>> >> > configure: WARNING: check not found - skipping building unit tests

>> >> >

>> >> > The configure script uses pkg-config so shouldn't be picking up host

>> >> > binaries.  Can you dig a little?

>> >>

>> >> do you have ptests on

>> >

>> >

>> > Yes but libevdev doesn't have any.

>>

>> and I am using new pkgconf

>>

>

> Ah, let's see if that breaks it.  Do you have libcheck installed on your

> host?

>

> Ross

>
<div dir="ltr">I can&#39;t replicate with pkgconf and with check installed on the host.  Can you actually replicate this?<div><br></div><div>Ross</div></div><div class="gmail_extra"><br><div class="gmail_quote">On 17 October 2017 at 17:32, Burton, Ross <span dir="ltr">&lt;<a href="mailto:ross.burton@intel.com" target="_blank">ross.burton@intel.com</a>&gt;</span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div dir="ltr"><span class="">On 17 October 2017 at 17:29, Khem Raj <span dir="ltr">&lt;<a href="mailto:raj.khem@gmail.com" target="_blank">raj.khem@gmail.com</a>&gt;</span> wrote:<br></span><div class="gmail_extra"><div class="gmail_quote"><span class=""><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><span>On Tue, Oct 17, 2017 at 9:25 AM, Burton, Ross &lt;<a href="mailto:ross.burton@intel.com" target="_blank">ross.burton@intel.com</a>&gt; wrote:<br>
&gt; On 17 October 2017 at 17:24, Khem Raj &lt;<a href="mailto:raj.khem@gmail.com" target="_blank">raj.khem@gmail.com</a>&gt; wrote:<br>
&gt;&gt;<br>
&gt;&gt; On Tue, Oct 17, 2017 at 5:41 AM, Burton, Ross &lt;<a href="mailto:ross.burton@intel.com" target="_blank">ross.burton@intel.com</a>&gt;<br>
&gt;&gt; wrote:<br>
&gt;&gt; &gt; Curious how you hit this with master.  For me:<br>
&gt;&gt; &gt;<br>
&gt;&gt; &gt; checking for check &gt;= 0.9.9... no<br>
&gt;&gt; &gt; configure: WARNING: check not found - skipping building unit tests<br>
&gt;&gt; &gt;<br>
&gt;&gt; &gt; The configure script uses pkg-config so shouldn&#39;t be picking up host<br>
&gt;&gt; &gt; binaries.  Can you dig a little?<br>
&gt;&gt;<br>
&gt;&gt; do you have ptests on<br>
&gt;<br>
&gt;<br>
&gt; Yes but libevdev doesn&#39;t have any.<br>
<br>
</span>and I am using new pkgconf<br></blockquote><div><br></div></span><div>Ah, let&#39;s see if that breaks it.  Do you have libcheck installed on your host?</div><span class="HOEnZb"><font color="#888888"><div><br></div><div>Ross </div></font></span></div></div></div>
</blockquote></div><br></div>
-- 
_______________________________________________
Openembedded-core mailing list
Openembedded-core@lists.openembedded.org
http://lists.openembedded.org/mailman/listinfo/openembedded-core
Khem Raj Oct. 17, 2017, 7:18 p.m. | #9
On Tue, Oct 17, 2017 at 9:46 AM, Burton, Ross <ross.burton@intel.com> wrote:
> I can't replicate with pkgconf and with check installed on the host.  Can

> you actually replicate this?

>

> Ross

>

> On 17 October 2017 at 17:32, Burton, Ross <ross.burton@intel.com> wrote:

>>

>> On 17 October 2017 at 17:29, Khem Raj <raj.khem@gmail.com> wrote:

>>>

>>> On Tue, Oct 17, 2017 at 9:25 AM, Burton, Ross <ross.burton@intel.com>

>>> wrote:

>>> > On 17 October 2017 at 17:24, Khem Raj <raj.khem@gmail.com> wrote:

>>> >>

>>> >> On Tue, Oct 17, 2017 at 5:41 AM, Burton, Ross <ross.burton@intel.com>

>>> >> wrote:

>>> >> > Curious how you hit this with master.  For me:

>>> >> >

>>> >> > checking for check >= 0.9.9... no

>>> >> > configure: WARNING: check not found - skipping building unit tests

>>> >> >

>>> >> > The configure script uses pkg-config so shouldn't be picking up host

>>> >> > binaries.  Can you dig a little?

>>> >>

>>> >> do you have ptests on

>>> >

>>> >

>>> > Yes but libevdev doesn't have any.

>>>

>>> and I am using new pkgconf

>>

>>

>> Ah, let's see if that breaks it.  Do you have libcheck installed on your

>> host?


No I dont, but now, I am unable to reproduce it in configurations I
had. It failed in
one of world builds and logs are overwritten so no way to look back.

I will revert this locally and wait until it happens again.
-- 
_______________________________________________
Openembedded-core mailing list
Openembedded-core@lists.openembedded.org
http://lists.openembedded.org/mailman/listinfo/openembedded-core

Patch

diff --git a/meta/recipes-support/libevdev/libevdev_1.5.7.bb b/meta/recipes-support/libevdev/libevdev_1.5.7.bb
index f740da206e..4b54971b1c 100644
--- a/meta/recipes-support/libevdev/libevdev_1.5.7.bb
+++ b/meta/recipes-support/libevdev/libevdev_1.5.7.bb
@@ -6,6 +6,8 @@  LICENSE = "MIT-X"
 LIC_FILES_CHKSUM = "file://COPYING;md5=75aae0d38feea6fda97ca381cb9132eb \
                     file://libevdev/libevdev.h;endline=21;md5=7ff4f0b5113252c2f1a828e0bbad98d1"
 
+DEPENDS += "libcheck"
+
 SRC_URI = "http://www.freedesktop.org/software/libevdev/${BP}.tar.xz"
 
 SRC_URI[md5sum] = "4f1cfaee8d75ea3fbbfeb99a98730952"