All of lore.kernel.org
 help / color / mirror / Atom feed
* Bison fails to build
@ 2011-06-29  0:09 Peter Chubb
  2011-10-17  8:42 ` Kai
  0 siblings, 1 reply; 2+ messages in thread
From: Peter Chubb @ 2011-06-29  0:09 UTC (permalink / raw)
  To: openembedded-devel

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



^ permalink raw reply	[flat|nested] 2+ messages in thread

* Re: Bison fails to build
  2011-06-29  0:09 Bison fails to build Peter Chubb
@ 2011-10-17  8:42 ` Kai
  0 siblings, 0 replies; 2+ messages in thread
From: Kai @ 2011-10-17  8:42 UTC (permalink / raw)
  To: openembedded-devel

Peter Chubb <peter.chubb <at> nicta.com.au> writes:

 /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 



I got the same issue when I rebuilt console-image from scratch today. So far,
has anybody resolved this issue.

Thanks,

Kai




^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2011-10-17 13:00 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2011-06-29  0:09 Bison fails to build Peter Chubb
2011-10-17  8:42 ` Kai

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.