glib-mkenums error for ublox plugin

Aleksander Morgado aleksander at
Wed Feb 15 08:49:05 UTC 2017


>> The issue is really related to the ublox subdir not existing before
>> calling glib-mkenums. In my setup, the directory is created before
>> glib-mkenums runs, though. What build tools are you using? i.e. which
>> automake version?
> automake is version 1.15
> Possibly to do with parallel build threads?

Well, I do parallel builds all the time; and we also do VPATH builds
regularly (see e.g. This doesn't mean
there's some bug in the build setup, there probably is.

For some reason the ublox subdir mkdir step isn't being added in the
Makefile, and that is required before glib_mkenums runs. Can you send
me the built plugins/Makefile file?

Worst case, we just add a custom mkdir step in those enums generation rules.

This issue doesn't happen on other glib-mkenums steps because in all
other cases the enums aren't generated in a subdir.

> If it helps, initial output from the build is
> automake (GNU automake) 1.15
> Copyright (C) 2014 Free Software Foundation, Inc.
> License GPLv2+: GNU GPL version 2 or later <>
> This is free software: you are free to change and redistribute it.
> There is NO WARRANTY, to the extent permitted by law.
> Written by Tom Tromey <tromey at>
>        and Alexandre Duret-Lutz <adl at>.
> AUTOV is 1
> NOTE: Executing intltoolize --copy --force --automake
> NOTE: Executing ACLOCAL="aclocal --system-acdir=/home/colin/100051/fsl-community-bsp/build_sysv/tmp/work/cortexa9hf-vfp-neon-poky-linux-gnueabi/modemmanager/1.8-r0/build/aclocal-copy/" autoreconf --verbose --install --force --exclude=autopoint -I /home/colin/100051-karo/fsl-community-bsp/build_sysv/tmp/work/cortexa9hf-vfp-neon-poky-linux-gnueabi/modemmanager/1.8-r0/git/m4/
> autoreconf: Entering directory `.'
> autoreconf: running: aclocal --system-acdir=/home/colin/100051/fsl-community-bsp/build_sysv/tmp/work/cortexa9hf-vfp-neon-poky-linux-gnueabi/modemmanager/1.8-r0/build/aclocal-copy/ -I /home/colin/100051/fsl-community-bsp/build_sysv/tmp/work/cortexa9hf-vfp-neon-poky-linux-gnueabi/modemmanager/1.8-r0/git/m4/ -I /home/colin/100051/fsl-community-bsp/build_sysv/tmp/work/cortexa9hf-vfp-neon-poky-linux-gnueabi/modemmanager/1.8-r0/git/m4/ --force -I m4
> autoreconf: tracing
> autoreconf: running: libtoolize --copy --force
> libtoolize: putting auxiliary files in '.'.
> libtoolize: copying file './'
> 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'
> autoreconf: running: /home/colin/100051/fsl-community-bsp/build_sysv/tmp/sysroots/x86_64-linux/usr/bin/autoconf --include=/home/colin/100051/fsl-community-bsp/build_sysv/tmp/work/cortexa9hf-vfp-neon-poky-linux-gnueabi/modemmanager/1.8-r0/git/m4/ --force
> autoreconf: running: /home/colin/100051/fsl-community-bsp/build_sysv/tmp/sysroots/x86_64-linux/usr/bin/autoheader --include=/home/colin/100051/fsl-community-bsp/build_sysv/tmp/work/cortexa9hf-vfp-neon-poky-linux-gnueabi/modemmanager/1.8-r0/git/m4/ --force
> autoreconf: running: automake --add-missing --copy --force-missing
> installing './compile'
> installing './config.guess'
> installing './config.sub'
> installing './install-sh'
> installing './missing'
> installing './INSTALL'
> cli/ installing './depcomp'
> autoreconf: running: gnu-configize
> autoreconf: Leaving directory `.'
> NOTE: Running /home/colin/100051/fsl-community-bsp/build_sysv/tmp/work/cortexa9hf-vfp-neon-poky-linux-gnueabi/modemmanager/1.8-r0/git/configure  --build=x86_64-linux                --host=arm-poky-linux-gnueabi                   --target=arm-poky-linux-gnueabi                 --prefix=/usr                   --exec_prefix=/usr              --bindir=/usr/bin               --sbindir=/usr/sbin             --libexecdir=/usr/lib/modemmanager              --datadir=/usr/share            --sysconfdir=/etc               --sharedstatedir=/com                   --localstatedir=/var            --libdir=/usr/lib               --includedir=/usr/include               --oldincludedir=/usr/include            --infodir=/usr/share/info               --mandir=/usr/share/man                 --disable-silent-rules                  --disable-dependency-tracking                   --with-libtool-sysroot=/home/colin/100051/fsl-community-bsp/build_sysv/tmp/sysroots/wg2xx-tx6s  --without-mbim  --without-qmi  --without-polkit --enable-nls  --disable-gtk-doc   --disable-gtk-doc-html   --disable-gtk-doc-pdf

All looks good here I think.

> (By the way - the configure summary is reporting "ModemManager 1.7.0"?)

That is normal. The version in git master is 1.7.x; the next stable
major release will be 1.8.0.


More information about the ModemManager-devel mailing list