[oe] Bison fails to build

Peter Chubb peter.chubb at nicta.com.au
Wed Jun 29 00:09:30 UTC 2011


Hi,
  I'm building for collie, and start with  a clean tmp directory.
  I type
    bitbake minimal-image
  and get this error, which looks as if there's a missing dependency
  on at least the aclocal parts of glibc:

/usr/src/oe/tmp-zaurus/work/x86_64-linux/bison-native-2.4.3-r9.0/bison-2.4.3/m4/
glib.m4:8: warning: underquoted definition of AM_PATH_GLIB
configure.ac:128: warning: gl_GLIBC21 is m4_require'd but not m4_defun'd
/usr/src/oe/tmp-zaurus/work/x86_64-linux/bison-native-2.4.3-r9.0/bison-2.4.3/m4/
localcharset.m4:7: gl_LOCALCHARSET is expanded from...
/usr/src/oe/tmp-zaurus/work/x86_64-linux/bison-native-2.4.3-r9.0/bison-2.4.3/m4/
gnulib-comp.m4:153: gl_INIT is expanded from...
configure.ac:128: the top level
autoreconf: configure.ac: tracing
configure.ac:128: warning: gl_GLIBC21 is m4_require'd but not m4_defun'd
aclocal.m4:6788: gl_LOCALCHARSET is expanded from...
aclocal.m4:3203: gl_INIT is expanded from...
configure.ac:128: the top level
configure.ac:128: warning: AC_RUN_IFELSE called without default to allow cross c
ompiling
../../lib/autoconf/general.m4:2716: AC_RUN_IFELSE is expanded from...
../../lib/m4sugar/m4sh.m4:598: AS_IF is expanded from...
../../lib/autoconf/general.m4:1999: AC_CACHE_VAL is expanded from...
../../lib/autoconf/general.m4:2020: AC_CACHE_CHECK is expanded from...
aclocal.m4:8839: gl_POSIX_SPAWN_WORKS is expanded from...
aclocal.m4:8768: gl_POSIX_SPAWN_BODY is expanded from...
aclocal.m4:8763: gl_POSIX_SPAWN is expanded from...
autoreconf: configure.ac: not using Libtool
autoreconf: running: /usr/src/oe/tmp-zaurus/sysroots/x86_64-linux/usr/bin/autoconf --include=/usr/src/oe/tmp-zaurus/work/x86_64-linux/bison-native-2.4.3-r9.0/bison-2.4.3/data/ --include=/usr/src/oe/tmp-zaurus/work/x86_64-linux/bison-native-2.4.3-r9.0/bison-2.4.3/m4/ --include=/usr/src/oe/tmp-zaurus/work/x86_64-linux/bison-native-2.4.3-r9.0/bison-2.4.3/tests/ --include=/usr/src/oe/tmp-zaurus/sysroots/x86_64-linux/usr/share/aclocal-1.11 --include=/usr/src/oe/tmp-zaurus/sysroots/x86_64-linux/usr/share/aclocal --force --warnings=cross
configure.ac:128: warning: gl_GLIBC21 is m4_require'd but not m4_defun'd
aclocal.m4:6788: gl_LOCALCHARSET is expanded from...
aclocal.m4:3203: gl_INIT is expanded from...
configure.ac:128: the top level
configure.ac:128: warning: AC_RUN_IFELSE called without default to allow cross compiling
../../lib/autoconf/general.m4:2716: AC_RUN_IFELSE is expanded from...
../../lib/m4sugar/m4sh.m4:598: AS_IF is expanded from...
../../lib/autoconf/general.m4:1999: AC_CACHE_VAL is expanded from...
../../lib/autoconf/general.m4:2020: AC_CACHE_CHECK is expanded from...
aclocal.m4:8839: gl_POSIX_SPAWN_WORKS is expanded from...
aclocal.m4:8768: gl_POSIX_SPAWN_BODY is expanded from...
aclocal.m4:8763: gl_POSIERROR: Function 'do_configure' failed (see /usr/src/oe/tmp-zaurus/work/x86_64-linux/bison-native-2.4.3-r9.0/temp/log.do_configure.8271 for further information)
X_SPAWN is expanded from...
configure:9788: error: possibly undefined macro: gl_GLIBC21
      If this token and others are legitimate, please use m4_pattern_allow.
      See the Autoconf documentation.
autoreconf: /usr/src/oe/tmp-zaurus/sysroots/x86_64-linux/usr/bin/autoconf failed with exit status: 1
+ oefatal 'autoreconf execution failed.'

In the host system's /usr/share/aclocal gl_GLIBC21 is defined in glibc21.m4
which is generated by gettext.  Should bison-native depend on
gettext-native instead of inheriting it?
--
Dr Peter Chubb  http://www.gelato.unsw.edu.au  peterc AT gelato.unsw.edu.au
http://www.ertos.nicta.com.au           ERTOS within National ICT Australia




More information about the Openembedded-devel mailing list