[Buildroot] [PATCH] package/libmbim: bump to version 1.24.8

Yegor Yefremov yegorslists at googlemail.com
Tue Jul 20 23:35:40 UTC 2021


On Tue, Jul 20, 2021 at 12:39 PM Yegor Yefremov
<yegorslists at googlemail.com> wrote:
>
> On Tue, Jul 20, 2021 at 11:22 AM Aleksander Morgado
> <aleksander at aleksander.es> wrote:
> >
> > On Tue, Jul 20, 2021 at 11:15 AM Yegor Yefremov
> > <yegorslists at googlemail.com> wrote:
> > >
> > > On Tue, Jul 20, 2021 at 11:07 AM Aleksander Morgado
> > > <aleksander at aleksander.es> wrote:
> > > >
> > > > > >> I still experience this error [1]. Any ideas?
> > > > > >>
> > > > > >> I have also applied libgudev patches as their build was failing.
> > > > > >>
> > > > > >> [1] http://autobuild.buildroot.net/results/f8a81aad0e262a567a2b31712575472ae92e5518/build-end.log
> > > > > >>
> > > > > >
> > > > > > My eyes are failing, I'm not sure which is the issue that triggers the build error. Is it the -Winline issues? The build should go on in that case, as we don't have -Werror. Not really sure.
> > > > >
> > > > > If I rerun "make", it ends as follows:
> > > > >
> > > > > /usr/bin/make  all-recursive
> > > > > Making all in .
> > > > > Making all in build-aux
> > > > > Making all in templates
> > > > > make[5]: Nothing to be done for 'all'.
> > > > > Making all in mbim-codegen
> > > > > make[5]: Nothing to be done for 'all'.
> > > > > Making all in .
> > > > > make[5]: Nothing to be done for 'all-am'.
> > > > > Making all in data
> > > > > Making all in .
> > > > > make[5]: Nothing to be done for 'all-am'.
> > > > > Making all in pkg-config
> > > > > make[5]: Nothing to be done for 'all'.
> > > > > Making all in src
> > > > > Making all in common
> > > > > Making all in .
> > > > > make[6]: Nothing to be done for 'all-am'.
> > > > > Making all in test
> > > > > make[6]: Nothing to be done for 'all'.
> > > > > Making all in libmbim-glib
> > > > > Making all in generated
> > > > > /usr/bin/make  all-am
> > > > > make[7]: Nothing to be done for 'all-am'.
> > > > > Making all in .
> > > > > make[6]: *** No rule to make target 'Mbim-1.0.typelib', needed by
> > > > > 'all-am'.  Stop.
> > > > > Makefile:802: recipe for target 'all-recursive' failed
> > > > > make[5]: *** [all-recursive] Error 1
> > > > > Makefile:399: recipe for target 'all-recursive' failed
> > > > > make[4]: *** [all-recursive] Error 1
> > > > > Makefile:456: recipe for target 'all-recursive' failed
> > > > > make[3]: *** [all-recursive] Error 1
> > > > > Makefile:388: recipe for target 'all' failed
> > > > > make[2]: *** [all] Error 2
> > > > >
> > > > > The problem seems to be: No rule to make target 'Mbim-1.0.typelib',
> > > > > needed by 'all-am'.
> > > > >
> > > >
> > > > That looks like a problem in the gobject-introspection setup in that
> > > > build. The configure check detects the introspection support:
> > > > ....
> > > > checking for gobject-introspection... yes
> > > > ....
> > > > But then it fails to create the typelib.
> > > >
> > > > Is there any way to manually play with that build?
> > >
> > > I can try to create a minimal config that reproduces this issue.
> > >
> > > Or what tests would you want me to do with my ARM build?
> >
> > We should inspect the generated Makefile, and see whether it contains
> > the gobject introspection bits or not. The Makefile.am in libmbim-glib
> > defines the .gir and .typelib targets, but then we include
> > $(INTROSPECTION_MAKEFILE). In my local PC build, I can see the
> > following in the generated Makefile:
> > INTROSPECTION_MAKEFILE =
> > /usr/share/gobject-introspection-1.0/Makefile.introspection
> >
> > What does the Makefile say in this build, and if there's a path given,
> > does it contain the correct path to the Makefile.introspection file?
>
> INTROSPECTION_MAKEFILE =
> /usr/share/gobject-introspection-1.0/Makefile.introspection
>
> hm.. it doesn't show the BR's location but the location of my host.
> This doesn't look right.
>
> INTROSPECTION_LIBS shows BR location, but INTROSPECTION_GIRDIR = /share/gir-1.0

INTROSPECTION_MAKEFILE is the problem. If I replace the path to the
path inside my BR, everything is working (the same issue is with
Qmi-1.0.typelib).

My Linux host doesn't have
/usr/share/gobject-introspection-1.0/Makefile.introspection. Can it be
that your host does and that's why you don't experience this issue?

Regards,
Yegor


More information about the buildroot mailing list