Arch Linux

Please read this before reporting a bug:
https://wiki.archlinux.org/title/Bug_reporting_guidelines

Do NOT report bugs when a package is just outdated, or it is in the AUR. Use the 'flag out of date' link on the package page, or the Mailing List.

REPEAT: Do NOT report bugs for outdated packages!
Tasklist

FS#14405 - texi2dvi broken on x86_64?

Attached to Project: Arch Linux
Opened by Matěj Týč (bubla) - Monday, 20 April 2009, 22:09 GMT
Last edited by Eric Belanger (Snowman) - Wednesday, 22 April 2009, 19:40 GMT
Task Type Bug Report
Category Packages: Core
Status Closed
Assigned To Eric Belanger (Snowman)
Francois Charette (Firmicus)
Architecture All
Severity Medium
Priority Normal
Reported Version
Due in Version Undecided
Due Date Undecided
Percent Complete 100%
Votes 0
Private No

Details

Description:
I can't make PDF nor DVI from any texinfo file.
It complains about the texinfo.tex file that is part of the texlive-core and automake packages.

$ pacman -Ql texlive-core | grep 'texinfo\.tex'
texlive-core /usr/share/texmf-dist/tex/texinfo/texinfo.tex

$ pacman -Ql automake | grep 'texinfo\.tex'
automake /usr/share/automake-1.10/texinfo.tex

However, I have upgraded the i686 system to x86_64 and preserved my /home folder, so maybe there is something wrong because of that.

Additional info:
* package version(s)
texinfo 4.13a-3
automake 1.10.2-1
texlive-core 2008.11906-1

Steps to reproduce:

copy&paste into your terminal:

cat > foo.texi << 'EOF'
\input texinfo @c -*-texinfo-*-
@setfilename bar.info
EOF

makeinfo foo.texi #works fine, signifies that foo.texi is a valid texinfo file.
texi2dvi foo.texi #ends with errors
This task depends upon

Closed by  Eric Belanger (Snowman)
Wednesday, 22 April 2009, 19:40 GMT
Reason for closing:  Deferred
Additional comments about closing:  It will be fixed in the next release of texlive-bin.
Comment by Eric Belanger (Snowman) - Monday, 20 April 2009, 23:19 GMT
here it fails on both arches:
$ texi2dvi foo.texi
This is pdfTeXk, Version 3.1415926-1.40.9 (Web2C 7.5.7)
file:line:error style messages enabled.
%&-line parsing enabled.
entering extended mode
(./foo.texi (/usr/share/texmf-dist/tex/texinfo/texinfo.tex
Loading texinfo [version 2009-01-01.14]: pdf, fonts, markup, glyphs,
page headings, tables, conditionals, indexing, sectioning, toc, environments,
defuns, macros, cross references, insertions,
(/usr/share/texmf-dist/tex/generic/epsf/epsf.tex
This is `epsf.tex' v2.7.3 <23 July 2005>
) localization, formatting, and turning on texinfo input format.))
*
Comment by Matěj Týč (bubla) - Tuesday, 21 April 2009, 09:10 GMT
Sorry, the foo.texi file is actually missing something.

cat > foo.texi << 'EOF'
\input texinfo @c -*-texinfo-*-
@setfilename bar.info
@bye
EOF

should work.

However, I have managed to test it on another computer and it works, so if it will work for you as well, don't waste your energy, I will investigate it deeper.
Comment by Matěj Týč (bubla) - Tuesday, 21 April 2009, 20:33 GMT
OK, I have investigated deeper and I have found out that it most likely isn't related to the the upgrade stuff I have mentioned. A new user with clean home directory is not able to texi2pdf anything.

What goes wrong is this command:
pdftex -ini -jobname=etex -progname=etex -translate-file=cp227.tcx *etex.ini

It gets called during texi2pdf and it fails. Can you try to execute it? I don't understand its meaning but I feel that it doesn't need any input files from you.
I attach my error log...

Now it seems to be rather a TeX bug, but I can compile my (other) tex / latex files with no problem.
   etex.log (18.4 KiB)
Comment by Francois Charette (Firmicus) - Wednesday, 22 April 2009, 12:51 GMT
See http://www.archlinux.org/news/425/
I am almost certain this is the cause of your failure.
Please confirm whether this solves your problem or not.
Comment by Matěj Týč (bubla) - Wednesday, 22 April 2009, 18:46 GMT
You were right, Francois.
Doing those suggested things eliminated the error.
I even remember that I have fixed that on my old installation when it was on the top of fhe frontpage :-)

Anyway, can it be fixed somehow for everybody?
Thank you!
Comment by Francois Charette (Firmicus) - Wednesday, 22 April 2009, 19:38 GMT
It will be fixed in the next release of texlive-bin... (perhaps in June).
True, this package is not updated often, for obvious reasons (well, obvious to me at least :))

Loading...