* [morty][PATCH] libevdev: add libcheck dependency
@ 2017-11-03 20:29 Andre McCurdy
2017-11-07 21:26 ` Andre McCurdy
0 siblings, 1 reply; 2+ messages in thread
From: Andre McCurdy @ 2017-11-03 20:29 UTC (permalink / raw)
To: openembedded-core
The libevdev configure script contains an unconditional check for
libcheck. If libcheck is found, libevdev unit tests will be built.
Without a dependency, the presence of libcheck in sysroot is non
deterministic (in morty and earlier) and builds can fail if libcheck
is available during do_configure but not during do_compile.
(In pyro and later, the libcheck dependency is not required to make
libevdev builds deterministic due to recipe specific sysroots).
Signed-off-by: Andre McCurdy <armccurdy@gmail.com>
---
meta/recipes-support/libevdev/libevdev_1.5.2.bb | 2 ++
1 file changed, 2 insertions(+)
diff --git a/meta/recipes-support/libevdev/libevdev_1.5.2.bb b/meta/recipes-support/libevdev/libevdev_1.5.2.bb
index c76e1d7..381d252 100644
--- a/meta/recipes-support/libevdev/libevdev_1.5.2.bb
+++ b/meta/recipes-support/libevdev/libevdev_1.5.2.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] = "96ad6edb5ce5c4428f1b183cc180ff8c"
--
1.9.1
^ permalink raw reply related [flat|nested] 2+ messages in thread
* Re: [morty][PATCH] libevdev: add libcheck dependency
2017-11-03 20:29 [morty][PATCH] libevdev: add libcheck dependency Andre McCurdy
@ 2017-11-07 21:26 ` Andre McCurdy
0 siblings, 0 replies; 2+ messages in thread
From: Andre McCurdy @ 2017-11-07 21:26 UTC (permalink / raw)
To: OE Core mailing list; +Cc: Armin Kuster
On Fri, Nov 3, 2017 at 1:29 PM, Andre McCurdy <armccurdy@gmail.com> wrote:
> The libevdev configure script contains an unconditional check for
> libcheck. If libcheck is found, libevdev unit tests will be built.
>
> Without a dependency, the presence of libcheck in sysroot is non
> deterministic (in morty and earlier) and builds can fail if libcheck
> is available during do_configure but not during do_compile.
>
> (In pyro and later, the libcheck dependency is not required to make
> libevdev builds deterministic due to recipe specific sysroots).
Ping. CCing Armin.
> Signed-off-by: Andre McCurdy <armccurdy@gmail.com>
> ---
> meta/recipes-support/libevdev/libevdev_1.5.2.bb | 2 ++
> 1 file changed, 2 insertions(+)
>
> diff --git a/meta/recipes-support/libevdev/libevdev_1.5.2.bb b/meta/recipes-support/libevdev/libevdev_1.5.2.bb
> index c76e1d7..381d252 100644
> --- a/meta/recipes-support/libevdev/libevdev_1.5.2.bb
> +++ b/meta/recipes-support/libevdev/libevdev_1.5.2.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] = "96ad6edb5ce5c4428f1b183cc180ff8c"
> --
> 1.9.1
>
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2017-11-07 21:26 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2017-11-03 20:29 [morty][PATCH] libevdev: add libcheck dependency Andre McCurdy
2017-11-07 21:26 ` Andre McCurdy
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.