[Pkg-zsh-devel] Bug#639044: Bug#639044: zsh: FTBFS: /usr/bin/texi2dvi: Syntax error: Bad function name

Axel Beckert abe at debian.org
Tue Aug 23 22:09:36 UTC 2011


tag 639044 + confirmed
block 639044 by 619786
kthxbye

Hi Sylvestre,

thanks for your report.

Sylvestre Ledru wrote:
> During a rebuild of all packages in sid, your package failed to build on
> amd64.
> 
> Relevant part:
> > make[2]: Entering directory `/build/zsh-NjW5O_/zsh-4.3.12/obj/Doc'
> > if [ xtexi2pdf != x ]; then \
> > 	  texi2pdf ../../Doc/zsh.texi; \
> > 	else \
> > 	  PDFTEX=pdfetex texi2dvi --pdf ../../Doc/zsh.texi; \
> > 	fi
> > /usr/bin/texi2dvi: 144: /usr/bin/texi2dvi: Syntax error: Bad function name
> > make[2]: *** [zsh.pdf] Error 2

Now that's an interesting issue. texi2dvi and texi2pdf are from the
package texinfo which last has been uploaded on Thu, 14 Oct 2010
16:33:25 +0900, which is way before I uploaded zsh 4.3.12-1. And I
built it on amd64.

So the change which caused this is neither in zsh nor in texinfo but
must have happened somewhere else.

A little bit of googling found that one:

http://bugs.debian.org/619786 ("texi2dvi: Syntax error: Bad function
name when dash is /bin/sh (uses "local" as function name)") and it's
still open:

Date: Sun, 27 Mar 2011 00:54:02 UTC
Severity: serious
Tags: fixed-upstream, patch, upstream
Found in version texinfo/4.13a.dfsg.1-6
Forwarded to http://savannah.gnu.org/bugs/?33374

That's very likely the reason, the newest comments on that bug are
from yesterday and today and contain "setting to serious again as this
now happens with dash from unstable."

And yes, it no more FTBFS if I set /bin/sh to bash again on my build
machine.

		Regards, Axel
-- 
 ,''`.  |  Axel Beckert <abe at debian.org>, http://people.debian.org/~abe/
: :' :  |  Debian Developer, ftp.ch.debian.org Admin
`. `'   |  1024D: F067 EA27 26B9 C3FC 1486  202E C09E 1D89 9593 0EDE
  `-    |  4096R: 2517 B724 C5F6 CA99 5329  6E61 2FF9 CD59 6126 16B5





More information about the Pkg-zsh-devel mailing list