Hi Gary! On 11/25/12 09:36, Gary V. Vaughan wrote: > You can always get a function call trace from any of my (recent) shell > scripts like this: > > debug_cmd='eval echo "${FUNCNAME[0]} $*" >&2' bash bootstrap
I tend to use debug_cmd="PS4='>BS-\$FUNCNAME> ' ; set -x" bash bootstrap On error exit, you can also now write backtrace functions in bash. See the "lbuild" script in the lustre file system for an example. :) I'm going to pilfer that and make it more generally useful. > Autoreconf doesn't always run libtoolize (among others) at the correct time, > so the bootstrap invocation of autoreconf is a little tricky... You also > need to be careful AUTOHEADER is not set in the environment (in the calling > shell or your bootstrap.conf, for example). > > What revision of bootstrap are you running? The one from the libposix stuff we did a little while ago... > Do you have a repo or tarball of your source package I can look at to try and > reproduce? [remote "origin"] fetch = +refs/heads/*:refs/remotes/origin/* url = ssh://git.sv.gnu.org/srv/git/complexity.git With the new bootstrap, I have new results. (The new bootstrap has not been pushed.) >BS-func_show_eval> eval '/usr/bin/autoreconf --install' >>BS-func_show_eval> /usr/bin/autoreconf --install configure.ac:37: installing './compile' configure.ac:11: installing './config.guess' configure.ac:11: installing './config.sub' configure.ac:23: installing './install-sh' configure.ac:23: installing './missing' Makefile.am: installing './COPYING' using GNU General Public License v3 file Makefile.am: Consider adding the COPYING file to the version control system Makefile.am: for your code, to avoid questions about which license your project uses doc/Makefile.am:42: installing 'doc/texinfo.tex' lib/Makefile.am:59: error: GL_GENERATE_ALLOCA_H does not appear in AM_CONDITIONAL lib/Makefile.am:91: error: GL_GENERATE_ERRNO_H does not appear in AM_CONDITIONAL lib/Makefile.am:133: error: GL_GENERATE_FLOAT_H does not appear in AM_CONDITIONAL lib/Makefile.am:301: error: GL_GENERATE_STDBOOL_H does not appear in AM_CONDITIONAL lib/Makefile.am:324: error: GL_GENERATE_STDDEF_H does not appear in AM_CONDITIONAL lib/Makefile.am:354: error: GL_GENERATE_STDINT_H does not appear in AM_CONDITIONAL lib/Makefile.am: installing './depcomp' autoreconf: automake failed with exit status: 1