[OE-core] [PATCH 4/7] libevdev: Add dependency on libcheck

Khem Raj raj.khem at gmail.com
Tue Oct 17 16:24:15 UTC 2017


On Tue, Oct 17, 2017 at 5:41 AM, Burton, Ross <ross.burton at 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 at 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 at 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 at lists.openembedded.org
>> http://lists.openembedded.org/mailman/listinfo/openembedded-core
>
>



More information about the Openembedded-core mailing list