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

Aleksander Morgado aleksander at aleksander.es
Wed Jul 21 12:55:36 UTC 2021


Hey,

> >
> > > > > 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).
> > > > >
> > > >
> > > > The introspection.m4 included in the sources is a bit outdated, the
> > > > attached patch syncs it with the newest one I have installed in my
> > > > system. I do see some fixes in the INTROSPECTION_MAKEFILE definition
> > > > in the patch, so these may be enough. Any chance you can give this
> > > > patch a try? You may need to force autoreconf as we're patching a m4
> > > > file-
> > >
> > > >>> libmbim 1.24.8 Patching
> > >
> > > Applying 0001-build-fix-introspection-setup-in-cross-builds.patch using patch:
> > > patching file m4/introspection.m4
> > > >>> libmbim 1.24.8 Updating config.sub and config.guess
> > > for file in config.guess config.sub; do for i in $(find
> > > /home/user/MyProjects/oss/br-test-v2/s2srv/build/libmbim-1.24.8 -name
> > > $file); do cp support/gnuconfig/$file $i; done; done
> > > >>> libmbim 1.24.8 Configuring
> > > >>> libmbim 1.24.8 Autoreconfiguring
> > > libtoolize: putting auxiliary files in '.'.
> > > libtoolize: copying file './ltmain.sh'
> > > libtoolize: putting macros in AC_CONFIG_MACRO_DIRS, 'm4'.
> > > libtoolize: copying file 'm4/libtool.m4'
> > > libtoolize: copying file 'm4/ltoptions.m4'
> > > libtoolize: copying file 'm4/ltsugar.m4'
> > > libtoolize: copying file 'm4/ltversion.m4'
> > > libtoolize: copying file 'm4/lt~obsolete.m4'
> > > configure.ac:65: error: Unexpanded AX_ macro found. Please install GNU
> > > autoconf-archive
> > >       If this token and others are legitimate, please use m4_pattern_allow.
> > >       See the Autoconf documentation.
> > > configure.ac:66: error: Unexpanded AX_ macro found. Please install GNU
> > > autoconf-archive
> > >
> >
> > Gah... forgot autoconf-archive is a prerequisite when autoreconf-ing.
>
> My BR has autoconf-archive installed. Why does it fail?
>
> > I don't have time myself to test it right now, but the steps to do
> > this properly would be to git clone the libmbim git repo, switch to
> > mbim-1-24 branch, apply the patch, "NOCONFIGURE=1 ./autogen.sh &&
> > ./configure --enable-gtk-doc && make && make distcheck". And once you
> > have the release tarball, use that in buildroot.
> >
> > I can probably play with that later today if you don't do it earlier :)
>
> It doesn't work :-( Though I see introspection.m4 file in
> output/build/libmbim/m4 folder after replacing the tarball, the result
> in Makefile is still the same.
>

I've opened this issue in GNOME bugzilla:
https://gitlab.gnome.org/GNOME/gobject-introspection/-/issues/391
I believe I know how to fix it, I'm giving it a try now.

-- 
Aleksander
https://aleksander.es


More information about the buildroot mailing list