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

Amol Lad Amol.Lad at 4rf.com
Tue Jul 7 08:44:26 UTC 2020


I commented those two lines (and also PKG_FIXUP:=autoreconf) and build is successful.

I'm not sure why those lines are there. Maybe, Nick will have some idea.

Amol

-----Original Message-----
From: Aleksander Morgado <aleksander at aleksander.es> 
Sent: Tuesday, 7 July 2020 2:04 PM
To: Amol Lad <Amol.Lad at 4rf.com>
Cc: Nick <mips171 at icloud.com>; ModemManager (development) <modemmanager-devel at lists.freedesktop.org>
Subject: Re: [Resolved] Re: Issue building MM 1.14 on Ubuntu 18.04

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/Mode
> mManager-1.14.0/missing aclocal-1.16 -I m4
> /home/alad/openwrt/build_dir/target-arm_cortex-a9+vfpv3_musl_eabi/Mode
> mManager-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