+ rcs_revision='$Revision: 1.34 $' ++ set - '$Revision:' 1.34 '$' + rcs_version=1.34 ++ echo /usr/bin/texi2dvi ++ sed -e 's!.*/!!' + program=texi2dvi + version='texi2dvi (GNU Texinfo 4.8) 1.34 Copyright (C) 2004 Free Software Foundation, Inc. There is NO warranty. You may redistribute this software under the terms of the GNU General Public License. For more information about these matters, see the files named COPYING.' + usage='Usage: texi2dvi [OPTION]... FILE... Run each Texinfo or LaTeX FILE through TeX in turn until all cross-references are resolved, building all indices. The directory containing each FILE is searched for included files. The suffix of FILE is used to determine its language (LaTeX or Texinfo). Makeinfo is used to perform Texinfo macro expansion before running TeX when needed. Operation modes: -b, --batch no interaction -c, --clean remove all auxiliary files -D, --debug turn on shell debugging (set -x) -h, --help display this help and exit successfully -o, --output=OFILE leave output in OFILE (implies --clean); Only one input FILE may be specified in this case -q, --quiet no output unless errors (implies --batch) -s, --silent same as --quiet -v, --version display version information and exit successfully -V, --verbose report on what is done TeX tuning: -@ use @input instead of \input; for preloaded Texinfo -e, -E, --expand force macro expansion using makeinfo -I DIR search DIR for Texinfo files -l, --language=LANG specify the LANG of FILE (LaTeX or Texinfo) -p, --pdf use pdftex or pdflatex for processing -r, --recode call recode before TeX to translate input characters -t, --command=CMD insert CMD in copy of input file or --texinfo=CMD multiple values accumulate The values of the BIBTEX, LATEX (or PDFLATEX), MAKEINDEX, MAKEINFO, TEX (or PDFTEX), TEXINDEX, and THUMBPDF environment variables are used to run those commands, if they are set. Any CMD strings are added after @setfilename for Texinfo input, in the first line for LaTeX input. Email bug reports to , general questions and discussion to . Texinfo home page: http://www.gnu.org/software/texinfo/' + batch=false + clean= + debug= + escape='\' + expand= + miincludes= + oformat=dvi + oname= + quiet= + recode=false + set_language= + textra= + textra_cmd= + tmpdir=/tmp/t2d3056 + txincludes= + txiprereq=19990129 + verbose=false ++ pwd + orig_pwd=/home/ralf/am/build/tests/testSubDir/txinfo18-1.0/_build + path_sep=: + CDPATH=: + : egrep + tex_envvars='BIBINPUTS BSTINPUTS INDEXSTYLE TEXINPUTS' + for var in '$tex_envvars' + eval 'BIBINPUTS_orig=$BIBINPUTS' ++ BIBINPUTS_orig= + export BIBINPUTS + for var in '$tex_envvars' + eval 'BSTINPUTS_orig=$BSTINPUTS' ++ BSTINPUTS_orig= + export BSTINPUTS + for var in '$tex_envvars' + eval 'INDEXSTYLE_orig=$INDEXSTYLE' ++ INDEXSTYLE_orig= + export INDEXSTYLE + for var in '$tex_envvars' + eval 'TEXINPUTS_orig=$TEXINPUTS' ++ TEXINPUTS_orig= + export TEXINPUTS + arg_sep=3056--3056 + set dummy --pdf --batch ../main.texi 3056--3056 + shift + test x--pdf '!=' x3056--3056 + case "$1" in + case "$1" in + oformat=pdf + shift + test x--batch '!=' x3056--3056 + case "$1" in + case "$1" in + batch=true + shift + test x../main.texi '!=' x3056--3056 + case "$1" in + case "$1" in + set dummy ../main.texi 3056--3056 ../main.texi + shift + shift + test x3056--3056 '!=' x3056--3056 + shift + case $# in + findprog tex + /usr/bin/which tex + return 0 + : + test -z '' + findprog etex + /usr/bin/which etex + return 0 + TEX=etex + test -z '' + findprog pdfetex + /usr/bin/which pdfetex + return 0 + PDFTEX=pdfetex + test -z '' + trap 'cd / && rm -rf /tmp/t2d3056' 0 1 2 15 + umask 077 + mkdir /tmp/t2d3056 + utildir=/tmp/t2d3056/utils + mkdir /tmp/t2d3056/utils + comment_iftex_sed=/tmp/t2d3056/utils/comment.sed + cat + uncomment_iftex_sed=/tmp/t2d3056/utils/uncomment.sed + cat + test '' = t + exec + test '' = t + exec + for command_line_filename in '${1+"$@"}' + false 'Processing ../main.texi ...' + echo ../main.texi + egrep '^(/|[A-z]:/)' + command_line_filename=./../main.texi + test '!' -r ./../main.texi ++ echo ./../main.texi ++ sed 's!/[^/]*$!!;s!^$!.!' + filename_dir=./.. ++ cd ./.. ++ pwd + filename_dir=/home/ralf/am/build/tests/testSubDir/txinfo18-1.0 ++ basename ./../main.texi + filename_ext=main.texi ++ echo main.texi ++ sed 's/\.[^.]*$//' + filename_noext=main ++ echo main.texi ++ sed 's/^.*\.//' + ext=texi + tmpdir_src=/tmp/t2d3056/src + filename_src=/tmp/t2d3056/src/main.texi + tmpdir_xtr=/tmp/t2d3056/xtr + filename_xtr=/tmp/t2d3056/xtr/main.texi + tmpdir_rcd=/tmp/t2d3056/rcd + filename_rcd=/tmp/t2d3056/rcd/main.texi + tmpdir_bak=/tmp/t2d3056/bak + mkdir /tmp/t2d3056/src /tmp/t2d3056/xtr /tmp/t2d3056/rcd /tmp/t2d3056/bak + common=/home/ralf/am/build/tests/testSubDir/txinfo18-1.0/_build:/home/ralf/am/build/tests/testSubDir/txinfo18-1.0: + for var in '$tex_envvars' + eval 'BIBINPUTS=$common$BIBINPUTS_orig' ++ BIBINPUTS=/home/ralf/am/build/tests/testSubDir/txinfo18-1.0/_build:/home/ralf/am/build/tests/testSubDir/txinfo18-1.0: + export BIBINPUTS + for var in '$tex_envvars' + eval 'BSTINPUTS=$common$BSTINPUTS_orig' ++ BSTINPUTS=/home/ralf/am/build/tests/testSubDir/txinfo18-1.0/_build:/home/ralf/am/build/tests/testSubDir/txinfo18-1.0: + export BSTINPUTS + for var in '$tex_envvars' + eval 'INDEXSTYLE=$common$INDEXSTYLE_orig' ++ INDEXSTYLE=/home/ralf/am/build/tests/testSubDir/txinfo18-1.0/_build:/home/ralf/am/build/tests/testSubDir/txinfo18-1.0: + export INDEXSTYLE + for var in '$tex_envvars' + eval 'TEXINPUTS=$common$TEXINPUTS_orig' ++ TEXINPUTS=/home/ralf/am/build/tests/testSubDir/txinfo18-1.0/_build:/home/ralf/am/build/tests/testSubDir/txinfo18-1.0: + export TEXINPUTS + replace_empty='-e '\''s/^:/EMPTY:/g'\'' -e '\''s/:$/:EMPTY/g'\'' -e '\''s/::/:EMPTY:/g'\''' ++ echo /home/ralf/am/build/tests/testSubDir/txinfo18-1.0/_build:/home/ralf/am/build/tests/testSubDir/txinfo18-1.0: ++ eval sed -e ''\''s/^:/EMPTY:/g'\''' -e ''\''s/:$/:EMPTY/g'\''' -e ''\''s/::/:EMPTY:/g'\''' +++ sed -e 's/^:/EMPTY:/g' -e 's/:$/:EMPTY/g' -e s/::/:EMPTY:/g + TEXINPUTS=/home/ralf/am/build/tests/testSubDir/txinfo18-1.0/_build:/home/ralf/am/build/tests/testSubDir/txinfo18-1.0:EMPTY ++ echo /home/ralf/am/build/tests/testSubDir/txinfo18-1.0/_build:/home/ralf/am/build/tests/testSubDir/txinfo18-1.0: ++ eval sed -e ''\''s/^:/EMPTY:/g'\''' -e ''\''s/:$/:EMPTY/g'\''' -e ''\''s/::/:EMPTY:/g'\''' +++ sed -e 's/^:/EMPTY:/g' -e 's/:$/:EMPTY/g' -e s/::/:EMPTY:/g + INDEXSTYLE=/home/ralf/am/build/tests/testSubDir/txinfo18-1.0/_build:/home/ralf/am/build/tests/testSubDir/txinfo18-1.0:EMPTY + save_IFS=' ' + IFS=: + set x /home/ralf/am/build/tests/testSubDir/txinfo18-1.0/_build /home/ralf/am/build/tests/testSubDir/txinfo18-1.0 EMPTY + shift + TEXINPUTS=. + for dir in '"$@"' + case $dir in + TEXINPUTS=.:/home/ralf/am/build/tests/testSubDir/txinfo18-1.0/_build + for dir in '"$@"' + case $dir in + TEXINPUTS=.:/home/ralf/am/build/tests/testSubDir/txinfo18-1.0/_build:/home/ralf/am/build/tests/testSubDir/txinfo18-1.0 + for dir in '"$@"' + case $dir in + TEXINPUTS=.:/home/ralf/am/build/tests/testSubDir/txinfo18-1.0/_build:/home/ralf/am/build/tests/testSubDir/txinfo18-1.0: + set x /home/ralf/am/build/tests/testSubDir/txinfo18-1.0/_build /home/ralf/am/build/tests/testSubDir/txinfo18-1.0 EMPTY + shift + INDEXSTYLE=. + for dir in '"$@"' + case $dir in + INDEXSTYLE=.:/home/ralf/am/build/tests/testSubDir/txinfo18-1.0/_build + for dir in '"$@"' + case $dir in + INDEXSTYLE=.:/home/ralf/am/build/tests/testSubDir/txinfo18-1.0/_build:/home/ralf/am/build/tests/testSubDir/txinfo18-1.0 + for dir in '"$@"' + case $dir in + INDEXSTYLE=.:/home/ralf/am/build/tests/testSubDir/txinfo18-1.0/_build:/home/ralf/am/build/tests/testSubDir/txinfo18-1.0: + IFS=' ' + test -n '' + sed 1q ./../main.texi + grep 'input texinfo' + language=texinfo + case ${language:-$filename_ext} in + language=texinfo + bibtex= + texindex=texindex + textra_cmd='/address@hidden/a' + test pdf = dvi + tex=pdfetex + test '' = t + test 0 '!=' 0 ++ sed -n 's/^.*\[\(.*\)version \(....\)-\(..\)-\(..\).*$/txiformat=\1 txiversion="\2\3\4"/p' /tmp/t2d3056/txiversion.out + eval txiformat= 'txiversion="20060507"' ++ txiformat= ++ txiversion=20060507 + false 'texinfo.tex preloaded as `'\'', version is `20060507'\'' ...' + test 19990129 -le 20060507 + makeinfo= + test '' = Texinfo + thumbpdf=thumbpdf ++ cd /tmp/t2d3056 ++ pdfetex --help + tex_help='Usage: pdfetex [OPTION]... [TEXNAME[.tex]] [COMMANDS] or: pdfetex [OPTION]... \FIRST-LINE or: pdfetex [OPTION]... &FMT ARGS Run pdfeTeX on TEXNAME, usually creating TEXNAME.pdf. Any remaining COMMANDS are processed as pdfeTeX input, after TEXNAME is read. If the first line of TEXNAME is %&FMT, and FMT is an existing .fmt file, use it. Else use `NAME.fmt'\'', where NAME is the program invocation name, most commonly `pdfetex'\''. Alternatively, if the first non-option argument begins with a backslash, interpret all non-option arguments as a line of pdfeTeX input. Alternatively, if the first non-option argument begins with a &, the next word is taken as the FMT to read, overriding all else. Any remaining arguments are processed as above. If no arguments or options are specified, prompt for input. -enc enable encTeX extensions such as \mubyte [-no]-file-line-error disable/enable file:line:error style messages -fmt=FMTNAME use FMTNAME instead of program name or a %& line -halt-on-error stop processing at the first error -ini be pdfeinitex, for dumping formats; this is implicitly true if the program name is `pdfeinitex'\'' -interaction=STRING set interaction mode (STRING=batchmode/nonstopmode/ scrollmode/errorstopmode) -ipc send DVI output to a socket as well as the usual output file -ipc-start as -ipc, and also start the server at the other end -jobname=STRING set the job name to STRING -kpathsea-debug=NUMBER set path searching debugging flags according to the bits of NUMBER [-no]-mktex=FMT disable/enable mktexFMT generation (FMT=tex/tfm) -mltex enable MLTeX extensions such as \charsubdef -output-comment=STRING use STRING for DVI file comment instead of date (no effect for PDF) -output-directory=DIR use DIR as the directory to write files to -output-format=FORMAT use FORMAT for job output; FORMAT is `dvi'\'' or `pdf'\'' [-no]-parse-first-line disable/enable parsing of the first line of the input file -progname=STRING set program (and fmt) name to STRING -recorder enable filename recorder [-no]-shell-escape disable/enable \write18{SHELL COMMAND} -src-specials insert source specials into the DVI file -src-specials=WHERE insert source specials in certain places of the DVI file. WHERE is a comma-separated value list: cr display hbox math par parend vbox -translate-file=TCXNAME use the TCX file TCXNAME -8bit make all characters printable by default -help display this help and exit -version output version information and exit Email bug reports to address@hidden' + tex_args= + case $tex_help in + tex_args=' --file-line-error' + true + tex_args=' --file-line-error \nonstopmode \input' + test -n '' + test 0 -ne 0 + test '!' -r /tmp/t2d3056/src/main.texi + false 'Reverting to ./../main.texi ...' + filename_input=/home/ralf/am/build/tests/testSubDir/txinfo18-1.0/main.texi + test -n '' + test texinfo = texinfo + pgm='s/\(^\|.* \)@documentencoding *\([^ ][^ ]*\)\( .*\|$\)/\2/ t found d :found q' ++ sed -e 's/\(^\|.* \)@documentencoding *\([^ ][^ ]*\)\( .*\|$\)/\2/ t found d :found q' /home/ralf/am/build/tests/testSubDir/txinfo18-1.0/main.texi + encoding= + false + test '' = t + : ++ get_xref_files main ++ for this_file in '"$1".?o?' '"$1".aux' '"$1".??' '"$1".idx' ++ test -s main.log +++ sed -n '1s/^\(.\).*$/\1/p;q' main.log ++ first_character=T ++ test xT = 'x\' ++ test xT = 'x'\''' ++ test xT = x@ ++ for this_file in '"$1".?o?' '"$1".aux' '"$1".??' '"$1".idx' ++ test -s main.aux ++ continue ++ for this_file in '"$1".?o?' '"$1".aux' '"$1".??' '"$1".idx' ++ test -s main.au +++ sed -n '1s/^\(.\).*$/\1/p;q' main.au ++ first_character='\' ++ test 'x\' = 'x\' ++ sed 1q main.au ++ grep -v '^\\input *texinfo' ++ xref_files=' ./main.au' ++ for this_file in '"$1".?o?' '"$1".aux' '"$1".??' '"$1".idx' ++ test -s main.cp +++ sed -n '1s/^\(.\).*$/\1/p;q' main.cp ++ first_character='\' ++ test 'x\' = 'x\' ++ sed 1q main.cp ++ grep -v '^\\input *texinfo' ++ xref_files=' ./main.au ./main.cp' ++ for this_file in '"$1".?o?' '"$1".aux' '"$1".??' '"$1".idx' ++ test -s main.fn ++ continue ++ for this_file in '"$1".?o?' '"$1".aux' '"$1".??' '"$1".idx' ++ test -s main.ky ++ continue ++ for this_file in '"$1".?o?' '"$1".aux' '"$1".??' '"$1".idx' ++ test -s main.pg +++ sed -n '1s/^\(.\).*$/\1/p;q' main.pg ++ first_character='\' ++ test 'x\' = 'x\' ++ sed 1q main.pg ++ grep -v '^\\input *texinfo' ++ xref_files=' ./main.au ./main.cp ./main.pg' ++ for this_file in '"$1".?o?' '"$1".aux' '"$1".??' '"$1".idx' ++ test -s main.sa ++ continue ++ for this_file in '"$1".?o?' '"$1".aux' '"$1".??' '"$1".idx' ++ test -s main.sb +++ sed -n '1s/^\(.\).*$/\1/p;q' main.sb ++ first_character='\' ++ test 'x\' = 'x\' ++ sed 1q main.sb ++ grep -v '^\\input *texinfo' ++ xref_files=' ./main.au ./main.cp ./main.pg ./main.sb' ++ for this_file in '"$1".?o?' '"$1".aux' '"$1".??' '"$1".idx' ++ test -s main.tp ++ continue ++ for this_file in '"$1".?o?' '"$1".aux' '"$1".??' '"$1".idx' ++ test -s main.vr ++ continue ++ for this_file in '"$1".?o?' '"$1".aux' '"$1".??' '"$1".idx' ++ test -s main.idx ++ continue ++ echo ' ./main.au ./main.cp ./main.pg ./main.sb' + orig_xref_files=' ./main.au ./main.cp ./main.pg ./main.sb' + test -n ' ./main.au ./main.cp ./main.pg ./main.sb' ++ echo ./main.au ./main.cp ./main.pg ./main.sb ++ sed 's|\./||g' + false 'Backing up xref files: main.au main.cp main.pg main.sb' + cp ./main.au ./main.cp ./main.pg ./main.sb /tmp/t2d3056/bak + test -n '' ++ echo ' ./main.au ./main.cp ./main.pg ./main.sb' ++ sed 's!.*\.aux!!g; s!./main\.[^ ]o[^ ]!!g; s/^[ ]*//;s/[ ]*$//' + index_files='./main.au ./main.cp ./main.pg ./main.sb' + test -n texindex + test -n './main.au ./main.cp ./main.pg ./main.sb' + false 'Running texindex ./main.au ./main.cp ./main.pg ./main.sb ...' + texindex ./main.au ./main.cp ./main.pg ./main.sb /usr/bin/texi2dvi: line 357: 2288 Segmentation fault (core dumped) $texindex $index_files 2>&5 1>&2 + fatal 'texindex exited with bad status, quitting.' + echo '/usr/bin/texi2dvi: texindex exited with bad status, quitting.' /usr/bin/texi2dvi: texindex exited with bad status, quitting. + exit 1 + cd / + rm -rf /tmp/t2d3056