[yocto] Configure errors in my recipe

colin.helliwell at ln-systems.com colin.helliwell at ln-systems.com
Wed May 10 04:48:57 PDT 2017


I'm trying to put together a recipe for a package (NetworkManager-pptp), but
hitting some peculiar errors in the configure.
I'm building from tarball, and the recipe currently includes
inherit autotools-brokensep gettext
  and
DEPENDS = "intltool-native gettext-native"

I'm not sure what it means by "your autoconf macro directory", but I *can*
see the 'missing' files being put into
networkmanager-pptp/1.2-r0/NetworkManager-pptp-1.2.4/aclocal-copy/

Wondered if anyone can spot what I might be missing?  (Perhaps from
EXTRA_OECONF?)

The log is:

Log data follows:
| DEBUG: Executing python function sysroot_cleansstate
| DEBUG: Python function sysroot_cleansstate finished
| DEBUG: SITE files ['endian-little', 'bit-32', 'arm-common', 'arm-32',
'common-linux', 'common-glibc', 'arm-linux', 'arm-linux-gnueabi', 'common']
| DEBUG: Executing shell function autotools_preconfigure
| DEBUG: Shell function autotools_preconfigure finished
| DEBUG: Executing python function autotools_copy_aclocals
| DEBUG: SITE files ['endian-little', 'bit-32', 'arm-common', 'arm-32',
'common-linux', 'common-glibc', 'arm-linux', 'arm-linux-gnueabi', 'common']
| DEBUG: Python function autotools_copy_aclocals finished
| DEBUG: Executing shell function do_configure
| automake (GNU automake) 1.15
| Copyright (C) 2014 Free Software Foundation, Inc.
| License GPLv2+: GNU GPL version 2 or later
<http://gnu.org/licenses/gpl-2.0.html>
| 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 redhat.com>
|        and Alexandre Duret-Lutz <adl at gnu.org>.
| AUTOV is 1
| NOTE: Executing glib-gettextize --force --copy
| Copying file po/Makefile.in.in
|
| Please add the files
|   codeset.m4 gettext.m4 glibc21.m4 iconv.m4 isc-posix.m4 lcmessage.m4
|   progtest.m4
| from the
/home/colin/100051-trunk/fsl-community-bsp/build/tmp/sysroots/x86_64-linux/u
sr/share/aclocal directory to your autoconf macro directory
| or directly to your aclocal.m4 file.
| You will also need config.guess and config.sub, which you can get from
| ftp://ftp.gnu.org/pub/gnu/config/.
|
| NOTE: Executing intltoolize --copy --force --automake
| NOTE: Executing ACLOCAL="aclocal
--system-acdir=/home/colin/100051-trunk/fsl-community-bsp/build/tmp/work/cor
texa9hf-neon-poky-linux-gnueabi/networkmanager-pptp/1.2-r0/NetworkManager-pp
tp-1.2.4/aclocal-copy/" autoreconf --verbose --install --force
--exclude=autopoint -I
/home/colin/100051-trunk/fsl-community-bsp/build/tmp/work/cortexa9hf-neon-po
ky-linux-gnueabi/networkmanager-pptp/1.2-r0/NetworkManager-pptp-1.2.4/m4/
| autoreconf: Entering directory `.'
| autoreconf: configure.ac: not using Gettext
| autoreconf: running: aclocal
--system-acdir=/home/colin/100051-trunk/fsl-community-bsp/build/tmp/work/cor
texa9hf-neon-poky-linux-gnueabi/networkmanager-pptp/1.2-r0/NetworkManager-pp
tp-1.2.4/aclocal-copy/ -I
/home/colin/100051-trunk/fsl-community-bsp/build/tmp/work/cortexa9hf-neon-po
ky-linux-gnueabi/networkmanager-pptp/1.2-r0/NetworkManager-pptp-1.2.4/m4/ -I
/home/colin/100051-trunk/fsl-community-bsp/build/tmp/work/cortexa9hf-neon-po
ky-linux-gnueabi/networkmanager-pptp/1.2-r0/NetworkManager-pptp-1.2.4/m4/
--force -I m4
| configure.ac:88: warning: macro 'AM_GLIB_GNU_GETTEXT' not found in library
| autoreconf: configure.ac: tracing
| autoreconf: running: libtoolize --copy --force
| 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:88: warning: macro 'AM_GLIB_GNU_GETTEXT' not found in library
| autoreconf: running:
/home/colin/100051-trunk/fsl-community-bsp/build/tmp/sysroots/x86_64-linux/u
sr/bin/autoconf
--include=/home/colin/100051-trunk/fsl-community-bsp/build/tmp/work/cortexa9
hf-neon-poky-linux-gnueabi/networkmanager-pptp/1.2-r0/NetworkManager-pptp-1.
2.4/m4/ --force
| configure.ac:88: error: possibly undefined macro: AM_GLIB_GNU_GETTEXT
|       If this token and others are legitimate, please use
m4_pattern_allow.
|       See the Autoconf documentation.
| autoreconf:
/home/colin/100051-trunk/fsl-community-bsp/build/tmp/sysroots/x86_64-linux/u
sr/bin/autoconf failed with exit status: 1
| ERROR: autoreconf execution failed.
| ERROR: Function failed: do_configure (log file is located at
/home/colin/100051-trunk/fsl-community-bsp/build/tmp/work/cortexa9hf-neon-po
ky-linux-gnueabi/networkmanager-pptp/1.2-r0/temp/log.do_configure.3514)
ERROR: Task 5
(/home/colin/100051-trunk/fsl-community-bsp/../meta-ln/recipes-connectivity/
networkmanager-pptp/networkmanager-pptp_1.2.bb, do_configure) failed with
exit code '1'
NOTE: Tasks Summary: Attempted 436 tasks of which 434 didn't need to be
rerun and 1 failed.
No currently running tasks (436 of 444)

Summary: 1 task failed:
 
/home/colin/100051-trunk/fsl-community-bsp/../meta-ln/recipes-connectivity/n
etworkmanager-pptp/networkmanager-pptp_1.2.bb, do_configure
Summary: There was 1 WARNING message shown.
Summary: There were 2 ERROR messages shown, returning a non-zero exit code.







More information about the yocto mailing list