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 <[email protected]> 
Sent: Tuesday, 7 July 2020 2:04 PM
To: Amol Lad <[email protected]>
Cc: Nick <[email protected]>; ModemManager (development) 
<[email protected]>
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
_______________________________________________
ModemManager-devel mailing list
[email protected]
https://lists.freedesktop.org/mailman/listinfo/modemmanager-devel

Reply via email to