[Buildroot] [PATCH] modem-manager: depend on host-libglib2

Aleksander Morgado aleksander at aleksander.es
Sun Jun 16 11:40:31 UTC 2019


> On Sun, Jun 16 2019, Aleksander Morgado wrote:
> > The build requires the gdbus-codegen tool from glib2, which isn't
> > installed in target.
> >
> > Signed-off-by: Aleksander Morgado <aleksander at aleksander.es>
> > ---
> >
> > Hey,
> >
> > I'm getting build failures like this one reported via email:
> > http://autobuild.buildroot.net/results/5d3e6449887b4cdbfbc0ddc672fa374896cfb102/build-end.log
> >
> > Not truly sure if this is the correct fix for the issue, but it looks like it could be?
> >
> > What I don't know is why gdbus-codegen isn't found, but glib-mkenums (also provided by glib2) doesn't have the same problem.
> >
> > Cheers!
> >
> > ---
> >  package/modem-manager/modem-manager.mk | 2 +-
> >  1 file changed, 1 insertion(+), 1 deletion(-)
> >
> > diff --git a/package/modem-manager/modem-manager.mk b/package/modem-manager/modem-manager.mk
> > index aa27dc9ce5..41e37bd655 100644
> > --- a/package/modem-manager/modem-manager.mk
> > +++ b/package/modem-manager/modem-manager.mk
> > @@ -9,7 +9,7 @@ MODEM_MANAGER_SOURCE = ModemManager-$(MODEM_MANAGER_VERSION).tar.xz
> >  MODEM_MANAGER_SITE = http://www.freedesktop.org/software/ModemManager
> >  MODEM_MANAGER_LICENSE = GPL-2.0+ (programs, plugins), LGPL-2.0+ (libmm-glib)
> >  MODEM_MANAGER_LICENSE_FILES = COPYING COPYING.LIB
> > -MODEM_MANAGER_DEPENDENCIES = host-pkgconf host-intltool libglib2
> > +MODEM_MANAGER_DEPENDENCIES = host-pkgconf host-intltool host-libglib2 libglib2
>
> libglib2 depends on host-libglib2 already. So technically this doesn't
> change anything.
>
> Have you verified that the build failure is fixed with your patch
> applied?
>

See, I wasn't getting the build failure locally anyway myself... so
this was kind of a blind attempt of fixing this, which looks like it's
totally wrong :D

I got pointed to this not-yet-commited patch, which explains my issue
and why only gdbus-codegen (provided by gio) was failing and not
glib-mkenums (provided by glib):
https://patchwork.ozlabs.org/patch/1115572/

The MM build failure will definitely go away once that patch is
merged, sorry for the noise!

-- 
Aleksander
https://aleksander.es


More information about the buildroot mailing list