[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Bug#446443: texinfo: cannot build pdf documentation of glibc-doc-reference

Package: texinfo
Version: 4.8.dfsg.1-6
Severity: normal

To reproduce the bug, do

$apt-get source --download-only glibc-doc-reference
$dpkg-source -x glibc-doc-reference_2.6.1-1.dsc
$cd glibc-doc-reference-2.6.1/; vim debian/rules

change line 14 from
        $(MAKE) -C manual info html
        $(MAKE) -C manual info html pdf

$fakeroot debian/rules build

The compilations stops at

This is `epsf.tex' v2.7.3 <23 July 2005>
) localization, and turning on texinfo input format.) (./dir-add.texi) [
lib/texmf/fonts/map/pdftex/updmap/pdftex.map}] [2] [3] [4] (./top-menu.texi)
(./chapters.texi (./intro.texi Chapter 1
Cross reference values unknown; you must run TeX again. [1] [2] [3] [4]
[5] [6] (./creature.texi [7] [8] [9]) [10] [11]) (./errno.texi Chapter 2
[12] [13] [14] [15] [16] [17] [18] [19] [20] [21] [22] [23] [24] [25] [26]
../errno.texi:1497: Unbalanced parentheses in @def.
@badparencount ...{Unbalanced parentheses in @def}
                                                  @global @parencount =0
@checkparencounts ...ount =0 @else @badparencount
                                                  @fi @ifnum @brackcount
=0 ...

@printdefunline ...enalty 10002 @checkparencounts
l.1497 ... {void (*} error_print_progname ) (void)

If I keep pressing carriage returns whenever it stops (total 3 times), in
the end I get the following error.

Output written on libc.pdf (1028 pages, 4392548 bytes).
Transcript written on libc.log.
/usr/bin/texi2dvi: pdfetex exited with bad status, quitting.
/usr/bin/texi2dvi: see libc.log for errors.
make[1]: *** [libc.pdf] Error 1
make[1]: Leaving directory
make: *** [build-stamp] Error 2

This problem is discussed at
http://lists.debian.org/debian-tex-maint/2007/09/msg00353.html . During
this discussion, Norbert Preining has narrowed down the problem to

        \input texinfo
        @setfilename test.info
        @deftypevar {(} e )
        Hello World
        @end deftypevar

Which breaks with
/home/norbert/bla/manual.texi:3: Unbalanced parentheses in @def.
@badparencount ...{Unbalanced parentheses in @def}
                                                  @global @parencount =0 

(The original typedef was:
@comment GNU
@deftypevar {void (*} error_print_progname ) (void)
If the....

Even though this bug is fixed in later versions texinfo, I am filing it here so
that it will serve as a remainder.


-- System Information:
Debian Release: lenny/sid
  APT prefers unstable
  APT policy: (500, 'unstable')
Architecture: i386 (i686)

Kernel: Linux 2.6.22-2-686 (SMP w/2 CPU cores)
Locale: LANG=en_US.UTF-8, LC_CTYPE=en_US.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/bash

Versions of packages texinfo depends on:
ii  libc6                         2.6.1-5    GNU C Library: Shared libraries

texinfo recommends no packages.

-- no debconf information

Reply to: