Hello! :-) Trying to bootstrap on FreeBSD 8.2-RELEASE fails with the
0.5.0-rc2 as given at:

http://openocd.git.sourceforge.net/git/gitweb.cgi?p=openocd/openocd;a=snapshot;h=d4cd6f032015552f00bf4b5a90f25f5f958e9d9e;sf=tgz

This should probably never happen with the "real" package as configure
scripts are already there and no need for bootstrapping..?

Best regards,
Tomek

%cd openocd-d4cd6f0
%ls
AUTHORS                 Makefile.am             README                  contrib 
                testing
AUTHORS.ChangeLog       NEWS                    README.Win32            doc     
                tools
BUGS                    NEWS-0.2.0              TODO                    
ecosflash               uncrustify.cfg
COPYING                 NEWS-0.3.0              bootstrap               
guess-rev.sh
ChangeLog               NEWS-0.4.0              common.mk               jimtcl
Doxyfile.in             NEWTAPS                 config_subdir.m4        src
HACKING                 PATCHES.txt             configure.in            tcl
%./bootstrap
+ aclocal
/usr/local/share/aclocal/smpeg.m4:13: warning: underquoted definition
of AM_PATH_SMPEG
/usr/local/share/aclocal/smpeg.m4:13:   run info '(automake)Extending aclocal'
/usr/local/share/aclocal/smpeg.m4:13:   or see
http://sources.redhat.com/automake/automake.html#Extending-aclocal
configure.in:28: warning: AC_LANG_CONFTEST: no AC_LANG_SOURCE call
detected in body
../../lib/autoconf/lang.m4:194: AC_LANG_CONFTEST is expanded from...
../../lib/autoconf/general.m4:2662: _AC_LINK_IFELSE is expanded from...
../../lib/autoconf/general.m4:2679: AC_LINK_IFELSE is expanded from...
/usr/local/share/aclocal/libtool.m4:1084: _LT_SYS_MODULE_PATH_AIX is
expanded from...
/usr/local/share/aclocal/libtool.m4:4207: _LT_LINKER_SHLIBS is expanded from...
/usr/local/share/aclocal/libtool.m4:5339: _LT_LANG_C_CONFIG is expanded from...
/usr/local/share/aclocal/libtool.m4:143: _LT_SETUP is expanded from...
/usr/local/share/aclocal/libtool.m4:69: LT_INIT is expanded from...
/usr/local/share/aclocal/libtool.m4:107: AC_PROG_LIBTOOL is expanded from...
configure.in:28: the top level
configure.in:28: warning: AC_LANG_CONFTEST: no AC_LANG_SOURCE call
detected in body
../../lib/autoconf/lang.m4:194: AC_LANG_CONFTEST is expanded from...
../../lib/autoconf/general.m4:2662: _AC_LINK_IFELSE is expanded from...
../../lib/autoconf/general.m4:2679: AC_LINK_IFELSE is expanded from...
/usr/local/share/aclocal/libtool.m4:4207: _LT_LINKER_SHLIBS is expanded from...
/usr/local/share/aclocal/libtool.m4:5339: _LT_LANG_C_CONFIG is expanded from...
/usr/local/share/aclocal/libtool.m4:143: _LT_SETUP is expanded from...
/usr/local/share/aclocal/libtool.m4:69: LT_INIT is expanded from...
/usr/local/share/aclocal/libtool.m4:107: AC_PROG_LIBTOOL is expanded from...
configure.in:28: the top level
+ libtoolize --automake --copy
+ autoconf
configure.in:28: warning: AC_LANG_CONFTEST: no AC_LANG_SOURCE call
detected in body
../../lib/autoconf/lang.m4:194: AC_LANG_CONFTEST is expanded from...
../../lib/autoconf/general.m4:2662: _AC_LINK_IFELSE is expanded from...
../../lib/autoconf/general.m4:2679: AC_LINK_IFELSE is expanded from...
aclocal.m4:1099: _LT_SYS_MODULE_PATH_AIX is expanded from...
aclocal.m4:4222: _LT_LINKER_SHLIBS is expanded from...
aclocal.m4:5354: _LT_LANG_C_CONFIG is expanded from...
aclocal.m4:164: _LT_SETUP is expanded from...
aclocal.m4:90: LT_INIT is expanded from...
aclocal.m4:128: AC_PROG_LIBTOOL is expanded from...
configure.in:28: the top level
configure.in:28: warning: AC_LANG_CONFTEST: no AC_LANG_SOURCE call
detected in body
../../lib/autoconf/lang.m4:194: AC_LANG_CONFTEST is expanded from...
../../lib/autoconf/general.m4:2662: _AC_LINK_IFELSE is expanded from...
../../lib/autoconf/general.m4:2679: AC_LINK_IFELSE is expanded from...
aclocal.m4:4222: _LT_LINKER_SHLIBS is expanded from...
aclocal.m4:5354: _LT_LANG_C_CONFIG is expanded from...
aclocal.m4:164: _LT_SETUP is expanded from...
aclocal.m4:90: LT_INIT is expanded from...
aclocal.m4:128: AC_PROG_LIBTOOL is expanded from...
configure.in:28: the top level
+ autoheader
configure.in:28: warning: AC_LANG_CONFTEST: no AC_LANG_SOURCE call
detected in body
../../lib/autoconf/lang.m4:194: AC_LANG_CONFTEST is expanded from...
../../lib/autoconf/general.m4:2662: _AC_LINK_IFELSE is expanded from...
../../lib/autoconf/general.m4:2679: AC_LINK_IFELSE is expanded from...
aclocal.m4:1099: _LT_SYS_MODULE_PATH_AIX is expanded from...
aclocal.m4:4222: _LT_LINKER_SHLIBS is expanded from...
aclocal.m4:5354: _LT_LANG_C_CONFIG is expanded from...
aclocal.m4:164: _LT_SETUP is expanded from...
aclocal.m4:90: LT_INIT is expanded from...
aclocal.m4:128: AC_PROG_LIBTOOL is expanded from...
configure.in:28: the top level
configure.in:28: warning: AC_LANG_CONFTEST: no AC_LANG_SOURCE call
detected in body
../../lib/autoconf/lang.m4:194: AC_LANG_CONFTEST is expanded from...
../../lib/autoconf/general.m4:2662: _AC_LINK_IFELSE is expanded from...
../../lib/autoconf/general.m4:2679: AC_LINK_IFELSE is expanded from...
aclocal.m4:4222: _LT_LINKER_SHLIBS is expanded from...
aclocal.m4:5354: _LT_LANG_C_CONFIG is expanded from...
aclocal.m4:164: _LT_SETUP is expanded from...
aclocal.m4:90: LT_INIT is expanded from...
aclocal.m4:128: AC_PROG_LIBTOOL is expanded from...
configure.in:28: the top level
+ automake --gnu --add-missing --copy
configure.in:28: warning: AC_LANG_CONFTEST: no AC_LANG_SOURCE call
detected in body
../../lib/autoconf/lang.m4:194: AC_LANG_CONFTEST is expanded from...
../../lib/autoconf/general.m4:2662: _AC_LINK_IFELSE is expanded from...
../../lib/autoconf/general.m4:2679: AC_LINK_IFELSE is expanded from...
aclocal.m4:1099: _LT_SYS_MODULE_PATH_AIX is expanded from...
aclocal.m4:4222: _LT_LINKER_SHLIBS is expanded from...
aclocal.m4:5354: _LT_LANG_C_CONFIG is expanded from...
aclocal.m4:164: _LT_SETUP is expanded from...
aclocal.m4:90: LT_INIT is expanded from...
aclocal.m4:128: AC_PROG_LIBTOOL is expanded from...
configure.in:28: the top level
configure.in:28: warning: AC_LANG_CONFTEST: no AC_LANG_SOURCE call
detected in body
../../lib/autoconf/lang.m4:194: AC_LANG_CONFTEST is expanded from...
../../lib/autoconf/general.m4:2662: _AC_LINK_IFELSE is expanded from...
../../lib/autoconf/general.m4:2679: AC_LINK_IFELSE is expanded from...
aclocal.m4:4222: _LT_LINKER_SHLIBS is expanded from...
aclocal.m4:5354: _LT_LANG_C_CONFIG is expanded from...
aclocal.m4:164: _LT_SETUP is expanded from...
aclocal.m4:90: LT_INIT is expanded from...
aclocal.m4:128: AC_PROG_LIBTOOL is expanded from...
configure.in:28: the top level
configure.in:20: installing `./compile'
configure.in:28: installing `./config.guess'
configure.in:28: installing `./config.sub'
configure.in:8: installing `./install-sh'
configure.in:8: installing `./missing'
doc/Makefile.am:1: installing `doc/mdate-sh'
doc/Makefile.am:1: installing `doc/texinfo.tex'
src/Makefile.am: installing `./depcomp'
Makefile.am: installing `./INSTALL'
Setting up submodules
fatal: Not a git repository (or any parent up to mount parent /usr)
Stopping at filesystem boundary (GIT_DISCOVERY_ACROSS_FILESYSTEM not set).

%cat bootstrap
#!/bin/sh
# Run the autotools bootstrap sequence to create the configure script

# Abort execution on error
set -e

if which libtoolize > /dev/null; then
    libtoolize="libtoolize"
elif which glibtoolize >/dev/null; then
    libtoolize="glibtoolize"
else
    echo "$0: Error: libtool is required" >&2
    exit 1
fi

if [ "$1" = "nosubmodule" ]; then
    SKIP_SUBMODULE=1
elif [ -n "$1" ]; then
    echo "$0: Illegal argument $1"
    echo "USAGE: $0 [nosubmodule]"
    exit 1
fi

# bootstrap the autotools
(
set -x
aclocal
${libtoolize} --automake --copy
autoconf
autoheader
automake --gnu --add-missing --copy
)

# AM_MAINTAINER_MODE requires --enable-maintainer-mode from everyone using
# current source snapshots (working from GIT, or some source snapshot, etc)
# otherwise the documentation will fail to build due to missing version.texi

if [ -n "$SKIP_SUBMODULE" ]; then
    echo "Skipping submodule setup"
else
    echo "Setting up submodules"
    git submodule init
    git submodule update
fi

echo "Bootstrap complete. Quick build instructions:"
echo "./configure --enable-maintainer-mode ...."



-- 
CeDeROM, SQ7MHZ, http://www.tomek.cedro.info
_______________________________________________
Openocd-development mailing list
Openocd-development@lists.berlios.de
https://lists.berlios.de/mailman/listinfo/openocd-development

Reply via email to