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

Bug#487974: texinfo: Tilde in Debian revision breaks builds involving texinfo



Package: texinfo
Version: 4.11.dfsg.1-4
Severity: normal

Hi Debian tex maintainers,

GNU R, just like a lot of other packages, keeps its primary documentation in
.info format and generates various outputs from it.  As the R maintainer, I
try to be pro-active during the R release cycle and usually prepare two or
three alpha / beta / rc releases for which I follow the Debian convention of
using '~' as a 'sorts lower than 0 revision' handle to indicate pre-releases
of the upcoming new version. The most recent examples were r-base 2.7.1-1,
2.7.1~20080621-1 and 2.7.1~20080614-1, respectively.

So far, so good.  But as pbuilder creates temporary directories named
$package-$debianVersion and that is where the 'tilde' reappears, with
unpleasant side-effects.  From my build log of 2.7.1~20080621-1:


TEXINPUTS=".:$TEXINPUTS" /usr/bin/texi2dvi --texinfo="@set UseExternalXrefs " --pdf R-FAQ.texi
/usr/bin/texi2dvi: Running pdfetex --file-line-error '/tmp/buildd/r-base-2.7.1~20080621/doc/manual/R-FAQ.t2d/pdf/xtr/R-FAQ.texi' ...
This is pdfTeXk, Version 3.141592-1.40.3 (Web2C 7.5.6)
 file:line:error style messages enabled.
 %&-line parsing enabled.
entering extended mode
! I can't find file `/tmp/buildd/r-base-2.7.1'.
<to be read again> 
                   \penalty 
~->\penalty 
            \@M \ 
<*> /tmp/buildd/r-base-2.7.1~
                             20080621/doc/manual/R-FAQ.t2d/pdf/xtr/R-FAQ.texi
Please type another input file name: 
! Emergency stop.
<to be read again> 
                   \penalty 
~->\penalty 
            \@M \ 
<*> /tmp/buildd/r-base-2.7.1~
                             20080621/doc/manual/R-FAQ.t2d/pdf/xtr/R-FAQ.texi
!  ==> Fatal error occurred, no output PDF file produced!
Transcript written on texput.log.
/usr/bin/texi2dvi: pdfetex exited with bad status, quitting.


where as the build two days later of 2.7.1-1 produced this 


TEXINPUTS=".:$TEXINPUTS" /usr/bin/texi2dvi --texinfo="@set UseExternalXrefs " --pdf R-FAQ.texi
/usr/bin/texi2dvi: Running pdfetex --file-line-error '/tmp/buildd/r-base-2.7.1/doc/manual/R-FAQ.t2d/pdf/xtr/R-FAQ.texi' ...
This is pdfTeXk, Version 3.141592-1.40.3 (Web2C 7.5.6)
 file:line:error style messages enabled.
 %&-line parsing enabled.
entering extended mode
(/tmp/buildd/r-base-2.7.1/doc/manual/R-FAQ.t2d/pdf/xtr/R-FAQ.texi
(/usr/share/texmf/tex/texinfo/texinfo.tex
Loading texinfo [version 2007-09-03.05]: pdf, fonts, page headings, tables,
conditionals, indexing, sectioning, toc, environments, defuns, macros,
cross references, insertions, (./epsf.tex
This is `epsf.tex' v2.7.3 <23 July 2005>
) localization, formatting, and turning on texinfo input format.)
(/usr/share/texmf/tex/texinfo/txi-en.tex) [1{/var/lib/texmf/fonts/map/pdftex/up
dmap/pdftex.map}] [-1] Chapter 1
Cross reference values unknown; you must run TeX again. [1] Chapter 2 [2]
[3] [4] [5] [6] [7] [8] [9] [10] Chapter 3 [11] [12] [13] [14] [15] [16]
[17] [18] Chapter 4 [19] [20] Chapter 5 [21] [22] [23] [24] [25] [26] [27]
[28] [29] [30] [31] [32] [33] [34] [35] [36] [37] [38] [39] [40] [41] [42]
[43] [44] [45] [46] [47] [48] [49] [50] [51] [52] [53] [54] [55] [56] [57]
[58] [59] [60] [61] [62] [63] [64] [65] [66] [67] [68] [69] [70] [71] [72]
[73] [74] [75] [76] [77] [78] [79] [80] [81] [82] [83] [84] [85] [86] [87]
[88] [89] [90] [91] [92] [93] [94] [95] [96] [97] [98] Chapter 6 [99] [100]
Chapter 7 [101] [102] [103] [104] [105] [106] [107] [108] [109] [110] [111]
[112] Chapter 8 [113] Chapter 9 [114] [115] [116] Chapter 10 [117] [118] )</usr
/share/texmf-texlive/fonts/type1/bluesky/cm/cmb10.pfb></usr/share/texmf-texlive
/fonts/type1/bluesky/cm/cmbx12.pfb></usr/share/texmf-texlive/fonts/type1/bluesk
y/cm/cmcsc10.pfb></usr/share/texmf-texlive/fonts/type1/bluesky/cm/cmmi10.pfb></
usr/share/texmf-texlive/fonts/type1/bluesky/cm/cmmi12.pfb></usr/share/texmf-tex
live/fonts/type1/bluesky/cm/cmr10.pfb></usr/share/texmf-texlive/fonts/type1/blu
esky/cm/cmr7.pfb></usr/share/texmf-texlive/fonts/type1/bluesky/cm/cmr8.pfb></us
r/share/texmf-texlive/fonts/type1/bluesky/cm/cmsl10.pfb></usr/share/texmf-texli
ve/fonts/type1/bluesky/cm/cmsltt10.pfb></usr/share/texmf-texlive/fonts/type1/bl
uesky/cm/cmsy10.pfb></usr/share/texmf-texlive/fonts/type1/bluesky/cm/cmti10.pfb
></usr/share/texmf-texlive/fonts/type1/bluesky/cm/cmtt10.pfb></usr/share/texmf-
texlive/fonts/type1/bluesky/cm/cmtt9.pfb></usr/share/texmf-texlive/fonts/type1/
bluesky/latex-fonts/lcircle1.pfb>
Output written on R-FAQ.pdf (120 pages, 479628 bytes).
Transcript written on R-FAQ.log.


Notice how even the error message by texinfo is broken on the '~' in the
first case.

I am cc'ing Kurt Hornik from R Core (upstream) with whom I've discussed
this.  Kurt seems to recall that he discussed this already with Karl Berry,
but cannot locate emailed traces of such a conversation. So this _may_ be
known or even fixed upstream. Could you check?

I am also cc'ing Cesare from Ubuntu/Canonical who noticed the same failure on
the Ubuntu builds of my packages.

Hope this helps, and best regards,  Dirk



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

Kernel: Linux 2.6.24-1-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.7-10     GNU C Library: Shared libraries

texinfo recommends no packages.

-- no debconf information


-- 
Three out of two people have difficulties with fractions.



Reply to: