[Resolved] Re: Issue building MM 1.14 on Ubuntu 18.04

Aleksander Morgado aleksander at aleksander.es
Tue Jul 7 08:33:50 UTC 2020


Hey Amol,

> After commenting PKG_FIXUP:=autoreconf, I'm getting below error:
>
> CDPATH="${ZSH_VERSION+.}:" && cd . && /bin/bash /home/alad/openwrt/build_dir/target-arm_cortex-a9+vfpv3_musl_eabi/ModemManager-1.14.0/missing aclocal-1.16 -I m4
> /home/alad/openwrt/build_dir/target-arm_cortex-a9+vfpv3_musl_eabi/ModemManager-1.14.0/missing: line 81: aclocal-1.16: command not found
>
> OpenWrt "master" has automake version 1.15.1.
>
> Any suggestion?
>

That may be due to these lines that modify configure.ac, which force
an autoreconf either way even if AUTORECONF=1 not given:

    $(SED) 's|^\(GLIB_MKENUMS\)=.*|\1=$(STAGING_DIR_HOSTPKG)/bin/glib-mkenums|'
\
        $(PKG_BUILD_DIR)/configure.ac
    $(SED) 's|^\(GDBUS_CODEGEN\)=.*|\1=$(STAGING_DIR_HOSTPKG)/bin/gdbus-codegen|'
\
        $(PKG_BUILD_DIR)/configure.ac

Why are those lines in the Makefile? This looks like a hack to
workaround some build system error. Are we not using the correct
glib-mkenums or gdbus-codegen from staging if those lines are removed?

Both libmbim and libqmi also use glib-mkenums, and they don't have those lines.

-- 
Aleksander
https://aleksander.es


More information about the ModemManager-devel mailing list