run_ag> /home/abuild/rpmbuild/BUILD/autogen-5.15/agen5/autogen -L/home/abuild/rpmbuild/BUILD/autogen-5.15/autoopts/tpl -L/home/abuild/rpmbuild/BUILD/autogen-5.15/autoopts/tpl --trace=every '--trace-out=>>getopt-aglog-opts-4684.log' -bgetopt-bn getopt.def
AutoGen aborting on signal 15 (Terminated) in state EMITTING
https://bugzilla.novell.com/show_bug.cgi?id=731523
https://bugzilla.novell.com/show_bug.cgi?id=731523#c11
--- Comment #11 from Bruce Korb 2012-05-02 16:59:38 UTC ---
OK. Now I just need the getopt-aglog-opts-4684.log file. It looks like the
embedded script tripped on something and committed parricide. Oddly, though,
there is no corresponding message in the type script.
processing template
/home/abuild/rpmbuild/BUILD/autogen-5.15/autoopts/tpl/usage.tlib
on line 182
for function EXPR (12)
At least now I know it is line 182 in usage.tlib.
That is the invocation of a short shell script.
The getopt-aglog-opts-4684.log file file is going to contain something
like this:
* * * * LOG ENTRY 20 * * * *
cd /old-home/bkorb/ag/ag/autoopts/test/testdir
{
# redirect stdout for safty's sake
inc_list="-I${PWD} -I/usr/local/include"
cfg_ldflags="-lm -ldl"
cfg_cflags=${CFLAGS}
exe=${tmp_dir}/test_getopt
test -z "${top_builddir}" && ldflags='' || \
ldflags=`exec 2>/dev/null
find ${top_builddir}/autoopts -name libopts.a | head -1`
test -f "${ldflags}" || {
ldflags='/usr/local/lib64/libopts.a'
test -f "${ldflags}" || die "Cannot locate libopts.a"
}
ldflags="$ldflags ${cfg_ldflags}"
test -d "${top_builddir}" && \
inc_list="-I${top_builddir} -I${top_builddir}/autoopts ${inc_list}"
test -d "${top_srcdir}" && \
inc_list="-I${top_srcdir}/autoopts ${inc_list}"
inc_list="-I${tmp_dir} ${inc_list}"
while :
do
h='config.h'
test -f "$h" && break
hdr=$h
h=`basename "${hdr}"`
test -f "$h" && break
g=$h
d=`pwd`
while :
do
d=`dirname $d`
test "X$d" = X/ && die "cannot locate config.h"
h="$d/$g"
test -f "$h" && break
h="$d/$hdr"
test -f "$h" && break
done
break
done
cp "${h}" ${exe}-config.h
flags="-DTEST_TEST_GETOPT_OPTS=1 ${inc_list} ${cfg_cflags}"
cd ${tmp_dir}
${AGexe} -Toptions.tpl test_getopt.def || \
die "Cannot gen test_getopt"
cd -
${CC:-cc} ${flags} -g -o TMPexe$$ ${exe}.c ${ldflags} || \
die cannot compile ${exe}.c
mv -f TMPexe$$ ${exe}
} 1>&2
${exe} --give-me-short-usage 2>&1 | sed -e '/: illegal option /d' || \
die "cannot obtain ${exe} help in ${tmp_dir}"
followed by the "set -x" command trace showing what the shell is doing.
Any of the invocations of "die" will kill autogen.
--
Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are on the CC list for the bug.