6 Mar 2008 15:22
make_argv_ref_token: Assertion `!chain->next && chain->type == CHAIN_ARGV && !chain->u.u_a.skip_last' failed.
Andreas Schwab <schwab <at> suse.de>
2008-03-06 14:22:11 GMT
2008-03-06 14:22:11 GMT
m4 1.4.10b fails on the attached input when called via autoconf. m4 --nesting-limit=1024 --include=/usr/share/autoconf --debug=aflq --fatal-warning --debugfile=autom4te.cache/traces.0t --trace=AC_CANONICAL_BUILD --trace=AC_CANONICAL_HOST --trace=AC_CANONICAL_SYSTEM --trace=AC_CANONICAL_TARGET --trace=AC_CONFIG_AUX_DIR --trace=AC_CONFIG_FILES --trace=AC_CONFIG_HEADERS --trace=AC_CONFIG_LIBOBJ_DIR --trace=AC_CONFIG_LINKS --trace=AC_CONFIG_SUBDIRS --trace=AC_DEFINE_TRACE_LITERAL --trace=AC_FC_FREEFORM --trace=AC_FC_SRCEXT --trace=AC_INIT --trace=AC_LIBSOURCE --trace=AC_PROG_LIBTOOL --trace=AC_REQUIRE_AUX_FILE --trace=AC_SUBST --trace=AC_SUBST_TRACE --trace=AH_OUTPUT --trace=AM_AUTOMAKE_VERSION --trace=AM_CONDITIONAL --trace=AM_ENABLE_MULTILIB --trace=AM_GNU_GETTEXT --trace=AM_GNU_GETTEXT_INTL_SUBDIR --trace=AM_INIT_AUTOMAKE --trace=AM_MAINTAINER_MODE --trace=AM_PROG_CC_C_O --trace=AM_PROG_CXX_C_O --trace=AM_PROG_F77_C_O --trace=AM_PROG_FC_C_O --trace=LT_CONFIG_LTDL_DIR --trace=LT_INIT --trace=LT_SUPPORTED_TAG --trace=_AM_SUBST_NOTMAKE --trace =_LT_AC_TAGCONFIG --trace=_m4_warn --trace=include --trace=m4_include --trace=m4_pattern_allow --trace=m4_pattern_forbid --trace=m4_sinclude --trace=sinclude --reload-state=/usr/share/autoconf/autoconf/autoconf.m4f aclocal.m4 configure.in <at> %: <at> ! /bin/sh m4: macro.c:1324: make_argv_ref_token: Assertion `!chain->next && chain->type == CHAIN_ARGV && !chain->u.u_a.skip_last' failed. Aborted git bisect is pointing fingers at 10801988a863c045aa0dc06b56575f1cc52bc586 [Stage 17: pass argv through quoted strings.] Andreas. -- --(Continue reading)
dnl If possible, we use the builtin shift anyway, otherwise we use
dnl the ubercool definition I have tested so far with FreeBSD/GNU m4
ifdef([builtin],[builtin(define, phpshift, [builtin(shift, $ <at> )])],[
define([phpshift],[ifelse(index([$ <at> ],[,]),-1,,[substr([$ <at> ],incr(index([$ <at> ],
[,])))])])
])
dnl
[Why didn't they just use:
m4_define([phpshift], m4_defn([m4_shift]))
instead? It achieves the same goal, but more efficiently and with less quoting
errors]
Once I confirm my suspicions, I will add a test case so we don't regress in the
future.
RSS Feed