GNOME Bugzilla – Bug 562206
gst-plugins-bad-0.10.9 refuses to configure under cross-compiler toolchain
Last modified: 2009-01-07 21:35:39 UTC
Please describe the problem: I tried baking a today's CVS checkout of bad using OpenEmbedded and it fails to configure. Steps to reproduce: 1. cvs -d:pserver:anoncvs@anoncvs.freedesktop.org/cvs/gstreamer co gst-plugins-bad 2. bitbake gst-plugins-bad Actual results: Dump of bitbake's log.do_configure file: automake (GNU automake) 1.9.3 Written by Tom Tromey <tromey@redhat.com>. Copyright 2004 Free Software Foundation, Inc. This is free software; see the source for copying conditions. There is NO warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. AUTOV is 1.9 NOTE: Executing autoreconf --verbose --install --force --exclude=autopoint -I /dream/8k/build/tmp/work/gst-plugins-bad-0.10.9-r0/gst-plugins-bad-0.10.9/common/m4 -I /dream/8k/build/tmp/work/gst-plugins-bad-0.10.9-r0/gst-plugins-bad-0.10.9/m4 -I /dream/8k/build/tmp/staging/mipsel-linux/share/aclocal-1.9 -I /dream/8k/build/tmp/staging/mipsel-linux/share/aclocal autoreconf: Entering directory `.' autoreconf: running: aclocal -I /dream/8k/build/tmp/work/gst-plugins-bad-0.10.9-r0/gst-plugins-bad-0.10.9/common/m4 -I /dream/8k/build/tmp/work/gst-plugins-bad-0.10.9-r0/gst-plugins-bad-0.10.9/m4 -I /dream/8k/build/tmp/staging/mipsel-linux/share/aclocal-1.9 -I /dream/8k/build/tmp/staging/mipsel-linux/share/aclocal --force -I m4 -I common/m4 /dream/8k/build/tmp/staging/mipsel-linux/share/aclocal/libpcap.m4:45: warning: underquoted definition of AC_LBL_C_INIT run info '(automake)Extending aclocal' or see http://sources.redhat.com/automake/automake.html#Extending-aclocal /dream/8k/build/tmp/staging/mipsel-linux/share/aclocal/libpcap.m4:172: warning: underquoted definition of AC_LBL_C_INLINE /dream/8k/build/tmp/staging/mipsel-linux/share/aclocal/libpcap.m4:228: warning: underquoted definition of AC_LBL_LIBPCAP /dream/8k/build/tmp/staging/mipsel-linux/share/aclocal/libpcap.m4:296: warning: underquoted definition of AC_LBL_TYPE_SIGNAL /dream/8k/build/tmp/staging/mipsel-linux/share/aclocal/libpcap.m4:326: warning: underquoted definition of AC_LBL_FIXINCLUDES /dream/8k/build/tmp/staging/mipsel-linux/share/aclocal/libpcap.m4:372: warning: underquoted definition of AC_LBL_LEX_AND_YACC /dream/8k/build/tmp/staging/mipsel-linux/share/aclocal/libpcap.m4:425: warning: underquoted definition of AC_LBL_UNION_WAIT /dream/8k/build/tmp/staging/mipsel-linux/share/aclocal/libpcap.m4:454: warning: underquoted definition of AC_LBL_SOCKADDR_SA_LEN /dream/8k/build/tmp/staging/mipsel-linux/share/aclocal/libpcap.m4:479: warning: underquoted definition of AC_LBL_SOCKADDR_STORAGE /dream/8k/build/tmp/staging/mipsel-linux/share/aclocal/libpcap.m4:512: warning: underquoted definition of AC_LBL_HP_PPA_INFO_T_DL_MODULE_ID_1 /dream/8k/build/tmp/staging/mipsel-linux/share/aclocal/libpcap.m4:538: warning: underquoted definition of AC_LBL_HAVE_RUN_PATH /dream/8k/build/tmp/staging/mipsel-linux/share/aclocal/libpcap.m4:564: warning: underquoted definition of AC_LBL_CHECK_TYPE /dream/8k/build/tmp/staging/mipsel-linux/share/aclocal/libpcap.m4:593: warning: underquoted definition of AC_LBL_UNALIGNED_ACCESS /dream/8k/build/tmp/staging/mipsel-linux/share/aclocal/libpcap.m4:698: warning: underquoted definition of AC_LBL_DEVEL /dream/8k/build/tmp/staging/mipsel-linux/share/aclocal/libpcap.m4:828: warning: underquoted definition of AC_LBL_LIBRARY_NET /dream/8k/build/tmp/staging/mipsel-linux/share/aclocal/libpcap.m4:851: warning: underquoted definition of AC_C___ATTRIBUTE__ /dream/8k/build/tmp/staging/mipsel-linux/share/aclocal/libpcap.m4:889: warning: underquoted definition of AC_LBL_TPACKET_STATS autoreconf: configure.ac: tracing configure.ac:137: warning: AC_RUN_IFELSE called without default to allow cross compiling autoconf/general.m4:2282: AC_RUN_IFELSE is expanded from... autoconf/general.m4:1800: AC_CACHE_VAL is expanded from... autoconf/general.m4:1809: AC_CACHE_CHECK is expanded from... autoconf/types.m4:445: AC_CHECK_SIZEOF is expanded from... aclocal.m4:10102: AX_CHECK_DATA_MODEL is expanded from... aclocal.m4:10715: AX_CREATE_STDINT_H is expanded from... configure.ac:137: the top level configure.ac:931: warning: AC_RUN_IFELSE called without default to allow cross compiling autoconf/general.m4:2290: AC_TRY_RUN is expanded from... autoconf/headers.m4:91: AC_CHECK_HEADER is expanded from... aclocal.m4:12137: PKG_CHECK_MODULES is expanded from... aclocal.m4:11614: AG_GST_CHECK_FEATURE is expanded from... configure.ac:931: the top level configure.ac:992: warning: AC_RUN_IFELSE called without default to allow cross compiling configure.ac:992: the top level autoreconf: running: libtoolize --copy --force /dream/8k/build/tmp/staging/mipsel-linux/share/aclocal/libpcap.m4:45: warning: underquoted definition of AC_LBL_C_INIT run info '(automake)Extending aclocal' or see http://sources.redhat.com/automake/automake.html#Extending-aclocal /dream/8k/build/tmp/staging/mipsel-linux/share/aclocal/libpcap.m4:172: warning: underquoted definition of AC_LBL_C_INLINE /dream/8k/build/tmp/staging/mipsel-linux/share/aclocal/libpcap.m4:228: warning: underquoted definition of AC_LBL_LIBPCAP /dream/8k/build/tmp/staging/mipsel-linux/share/aclocal/libpcap.m4:296: warning: underquoted definition of AC_LBL_TYPE_SIGNAL /dream/8k/build/tmp/staging/mipsel-linux/share/aclocal/libpcap.m4:326: warning: underquoted definition of AC_LBL_FIXINCLUDES /dream/8k/build/tmp/staging/mipsel-linux/share/aclocal/libpcap.m4:372: warning: underquoted definition of AC_LBL_LEX_AND_YACC /dream/8k/build/tmp/staging/mipsel-linux/share/aclocal/libpcap.m4:425: warning: underquoted definition of AC_LBL_UNION_WAIT /dream/8k/build/tmp/staging/mipsel-linux/share/aclocal/libpcap.m4:454: warning: underquoted definition of AC_LBL_SOCKADDR_SA_LEN /dream/8k/build/tmp/staging/mipsel-linux/share/aclocal/libpcap.m4:479: warning: underquoted definition of AC_LBL_SOCKADDR_STORAGE /dream/8k/build/tmp/staging/mipsel-linux/share/aclocal/libpcap.m4:512: warning: underquoted definition of AC_LBL_HP_PPA_INFO_T_DL_MODULE_ID_1 /dream/8k/build/tmp/staging/mipsel-linux/share/aclocal/libpcap.m4:538: warning: underquoted definition of AC_LBL_HAVE_RUN_PATH /dream/8k/build/tmp/staging/mipsel-linux/share/aclocal/libpcap.m4:564: warning: underquoted definition of AC_LBL_CHECK_TYPE /dream/8k/build/tmp/staging/mipsel-linux/share/aclocal/libpcap.m4:593: warning: underquoted definition of AC_LBL_UNALIGNED_ACCESS /dream/8k/build/tmp/staging/mipsel-linux/share/aclocal/libpcap.m4:698: warning: underquoted definition of AC_LBL_DEVEL /dream/8k/build/tmp/staging/mipsel-linux/share/aclocal/libpcap.m4:828: warning: underquoted definition of AC_LBL_LIBRARY_NET /dream/8k/build/tmp/staging/mipsel-linux/share/aclocal/libpcap.m4:851: warning: underquoted definition of AC_C___ATTRIBUTE__ /dream/8k/build/tmp/staging/mipsel-linux/share/aclocal/libpcap.m4:889: warning: underquoted definition of AC_LBL_TPACKET_STATS autoreconf: running: /dream/8k/build/tmp/staging/x86_64-linux/bin/autoconf --include=/dream/8k/build/tmp/work/gst-plugins-bad-0.10.9-r0/gst-plugins-bad-0.10.9/common/m4 --include=/dream/8k/build/tmp/work/gst-plugins-bad-0.10.9-r0/gst-plugins-bad-0.10.9/m4 --include=/dream/8k/build/tmp/staging/mipsel-linux/share/aclocal-1.9 --include=/dream/8k/build/tmp/staging/mipsel-linux/share/aclocal --force --warnings=cross configure.ac:137: warning: AC_RUN_IFELSE called without default to allow cross compiling autoconf/general.m4:2282: AC_RUN_IFELSE is expanded from... autoconf/general.m4:1800: AC_CACHE_VAL is expanded from... autoconf/general.m4:1809: AC_CACHE_CHECK is expanded from... autoconf/types.m4:445: AC_CHECK_SIZEOF is expanded from... aclocal.m4:10102: AX_CHECK_DATA_MODEL is expanded from... aclocal.m4:10715: AX_CREATE_STDINT_H is expanded from... configure.ac:137: the top level configure.ac:931: warning: AC_RUN_IFELSE called without default to allow cross compiling autoconf/general.m4:2290: AC_TRY_RUN is expanded from... autoconf/headers.m4:91: AC_CHECK_HEADER is expanded from... aclocal.m4:12137: PKG_CHECK_MODULES is expanded from... aclocal.m4:11614: AG_GST_CHECK_FEATURE is expanded from... configure.ac:931: the top level configure.ac:992: warning: AC_RUN_IFELSE called without default to allow cross compiling configure.ac:992: the top level configure:25297: error: possibly undefined macro: AC_PROG_SED If this token and others are legitimate, please use m4_pattern_allow. See the Autoconf documentation. autoreconf: /dream/8k/build/tmp/staging/x86_64-linux/bin/autoconf failed with exit status: 1 FATAL: autoreconf execution failed. Expected results: i expect it to crosscompile Does this happen every time? yes unfortunately Other information:
this hack fixed it for me: diff -Naur gst-plugins-base-0.10.19-org/common/m4/gtk-doc.m4 gst-plugins-base-0.10.19/common/m4/gtk-doc.m4 --- gst-plugins-base-0.10.19-org/common/m4/gtk-doc.m4 2008-03-11 00:29:18.000000000 +0100 +++ gst-plugins-base-0.10.19/common/m4/gtk-doc.m4 2008-04-18 18:10:47.000000000 +0200 @@ -30,7 +30,7 @@ have_gtk_doc=yes fi if test -z "$SED"; then - AC_PROG_SED + AC_CHECK_PROG(SED, sed) fi dnl do we want to do a version check?
Which autoconf version do you have? I think this needs 2.60. But AC_CHECK_PROG(9 might be a good replacement too.
autoconf (GNU Autoconf) 2.63
Hmm, that means something wrong with your aclocal. I have AC_PROG_SED in /usr/share/autoconf/autoconf/programs.m4.
I build a dm7025 tree with gst-plugins-bad 0.10.9 the other day. I don't think this is a bug in gst-plugins-bad. If that's true, I don't think it's a blocker for the release - which is due in 3 weeks.
ack! works fine for another colleague here too
Thanks, closing then.