[OE-core] Dependency loops when enabling ptest with Ångström
ChenQi
Qi.Chen at windriver.com
Thu Sep 6 07:15:50 UTC 2018
On 09/06/2018 02:52 PM, Steffen Sledz wrote:
> After some hours of analysis I could identify the following commit in meta-angstrom introducing the loops.
>
> -------------------> snip <----------------------
> commit c94ca0759c34e637b725f648a1925e007bbe60e9 (HEAD -> work, m/angstrom-v2017.12-rocko, github/angstrom-v2017.12-rocko)
> Author: Koen Kooi <koen.kooi at linaro.org>
> Date: Sat Jul 7 09:23:11 2018 +0200
>
> systemd bbappend: enable importd
>
> Signed-off-by: Koen Kooi <koen.kooi at linaro.org>
> -------------------> snap <----------------------
>
> This one adds
>
> DEPENDS += "glib-2.0"
>
> to recipes-core/systemd/systemd_%.bbappend. :(
>
> However, I am not sufficiently involved in the subject matter to propose a solution.
>
> Koen?
>
Hi Steffen,
I tried to find your repo but failed. The meta-angstrom layer in
meta-opembedded's layer index does not have this commit.
Anyway, I checked the current codes of systemd. glib is only used for tests.
$ grep -r HAVE_GLIB src/
src/libsystemd/sd-bus/test-bus-marshal.c:#if HAVE_GLIB
src/libsystemd/sd-bus/test-bus-marshal.c:#if HAVE_GLIB
src/libsystemd/sd-bus/test-bus-gvariant.c:#if HAVE_GLIB
src/libsystemd/sd-bus/test-bus-gvariant.c:#if HAVE_GLIB
src/libsystemd/sd-bus/test-bus-gvariant.c:#if HAVE_GLIB
Also, the meson_options.txt states:
option('glib', type : 'combo', choices : ['auto', 'true', 'false'],
description : 'libglib support (for tests only)')
So I guess you can just remove such dependency.
Best Regards,
Chen Qi
More information about the Openembedded-core
mailing list