[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [bug-gsrc] problem with texinfo show up in mcsim
From: |
carl hansen |
Subject: |
Re: [bug-gsrc] problem with texinfo show up in mcsim |
Date: |
Sun, 9 Dec 2012 17:26:53 -0800 |
> building /doc in mcsim fails, problem with texi2dvi
On 12/9/12, Karl Berry <address@hidden> wrote:
> It seems wrong, in principle, for texi2dvi to be getting run as part of
> any build. (Or makeinfo, for that matter.) That is not usual and not
> recommended. I haven't looked into mcsim specifically.
>
> The debian-patched version of texi2dvi works correctly. The problem is
> in texinfo. I don't know why patches made by debian developers don't
> get set upstream in this case.
>
> I'm the Texinfo maintainer (well, one of them), and as far as I know all
> patches have been applied. Since you don't give any clue as to what the
> problem actually is, I can't say for sure in this case.
>
> There hasn't been a full new Texinfo release in a few years, but FWIW,
> the current officially released version of texi2dvi is available
> separately, from http://ftpmirror.gnu.org/texinfo/texi2dvi. Ditto for
> texinfo.tex.
>
> k
>
Excellent, just the man I want to email to.
Whether it's advisable to require "make doc" as part of build, I don't
express an opinion.
Here's what happens when making mcsim:
Making all in doc
make[3]: Entering directory `/usr/local/gsrc/gnu/mcsim/work/mcsim-5.4.0/doc'
TEXINPUTS=".:$TEXINPUTS" \
MAKEINFO='/bin/bash
/usr/local/gsrc/gnu/mcsim/work/mcsim-5.4.0/missing --run makeinfo -I
.' \
texi2dvi mcsim.texinfo
/usr/local/bin/texi2dvi: 132: /usr/local/bin/texi2dvi: Syntax error:
Bad function name
make[3]: *** [mcsim.dvi] Error 2
stock texi2dvi, fails:
test_local
test $foo = bar
) || local () { <---- line 132
case $1 in
*=*) eval "$1";;
esac
}
debian version, works:
test_local
test $foo = bar
) || eval '
local () {
case $1 in
*=*) eval "$1";;
esac
}
'
A few other changes exist in the debian version, not relevant here.