Ken Moffat wrote:
On Tue, May 03, 2016 at 04:17:01PM -0500, Bruce Dubbs wrote:
Mostly for Ken, but if anyone else has any ideas, please feel free to comment.

I'm trying to update ffmpeg.  The build is not a problem, but we offer
optional instructions to build pdf and ps docs.

The basic command is 'texi2pdf -b $DOCNAME.texi' whrere DOCNAME is something
like git-howto.texi.

This keeps failing on me.  I have been trying to debug this.  Since texi2dvi
is an ascii script, I have narrowed down the problem to a configuration
issue, but I can't seem to solve it.

The message I get is:

/usr/bin/texi2dvi: texinfo.tex appears to be broken.
This may be due to the environment variable TEX set to something
other than (plain) tex, a corrupt texinfo.tex file, or
to tex itself simply not working.

and

This is pdfTeX, Version 3.14159265-2.6-1.40.16 (TeX Live 2015) (preloaded
format=etex)
  restricted \write18 enabled.
entering extended mode
(./txiversion.tex
! I can't find file `texinfo.tex'.

tex is in /opt/texlive/2015/bin/x86_64-linux/tex and is found OK.

The texinfo.tex file is in /usr/share/texmf/tex/texinfo/texinfo.tex

[ reviewing your posting again, after what I wrote below - I think I
see why we get partially different results, but mine did not work as
written ]

On my current machine
$kpsewhich texinfo.tex
/opt/texlive/2015/texmf-dist/tex/texinfo/texinfo.tex

Is your version finding that ?  I do have the LFS texinfo.tex in the
same place as yours,

No. It may be in the way I installed texlive. I did the basic scheme (plain and latex) only. I tried to download some more, but ran out of space on that partition. I'll have to do some re-arranging.

Do you have any idea which package provides to newer texinfo.tex?

  $ls -l
{/usr/share/texmf/,/opt/texlive/2015/texmf-dist/}tex/texinfo/texinfo.tex
-rw-r--r-- 1 root root 376715 Feb 17 21:47 
/opt/texlive/2015/texmf-dist/tex/texinfo/texinfo.tex
-rw-r--r-- 1 root root 367102 Feb 24 10:11 
/usr/share/texmf/tex/texinfo/texinfo.tex

And despite those timestamps, the texlive version in /opt is newer:
--- /usr/share/texmf/tex/texinfo/texinfo.tex    2016-02-24
10:11:43.909791977 +0000
+++ /opt/texlive/2015/texmf-dist/tex/texinfo/texinfo.tex
2016-02-17 21:47:29.000000000 +0000
@@ -3,7 +3,7 @@
  % Load plain if necessary, i.e., if running under initex.
  \expandafter\ifx\csname fmtname\endcsname\relax\input plain\fi
  %
-\def\texinfoversion{2016-02-05.07}
+\def\texinfoversion{2016-02-16.15}
  %
  % Copyright 1985, 1986, 1988, 1990, 1991, 1992, 1993, 1994, 1995,
  % 1996, 1997, 1998, 1999, 2000, 2001, 2002, 2003, 2004, 2005, 2006,
@@ -310,7 +310,7 @@
  % Margin to add to right of even pages, to left of odd pages.
  \newdimen\bindingoffset
  \newdimen\normaloffset
-\newdimen\pagewidth \newdimen\pageheight
+\newdimen\txipagewidth \newdimen\txipageheight

  % Main output routine.
  %
etc

Looks OK to me, but there does seem to be some changes.

In this context, I think an old version of texinfo.tex probably
counts as 'corrupt'.

I don't think so.  The problem is having tex find the input files.

  -- Bruce




And now my original response -

No.  I'm on a machine with the 2015 binary in /opt (trying to catch
up with BLFS updates since 7.9 to last week, to look at the 2016
pretest binary), and using ffmpeg-3.0.2 I get a string of

/usr/bin/texi2dvi: cannot read ./APIchanges.texi, skipping.
/usr/bin/texi2dvi: cannot read ./authors.texi.texi, skipping.
/usr/bin/texi2dvi: cannot read ./bitstream_filters.texi.texi,
skipping.
/usr/bin/texi2dvi: cannot read ./bootstrap.min.css.texi, skipping.
/usr/bin/texi2dvi: cannot read ./build_system.txt.texi, skipping.
/usr/bin/texi2dvi: cannot read ./codecs.texi.texi, skipping.
/usr/bin/texi2dvi: cannot read ./config.texi.texi, skipping.
/usr/bin/texi2dvi: cannot read ./decoders.texi.texi, skipping.
/usr/bin/texi2dvi: cannot read ./default.css.texi, skipping.
/usr/bin/texi2dvi: cannot read ./demuxers.texi.texi, skipping.
/usr/bin/texi2dvi: cannot read ./developer.texi.texi, skipping.

etc and it then stops without any *.dvi or *.pdf or *.ps files
getting created.  Note that everything in those errors seems to have
an added .texi, even for filenames that already end in .texi.
Perhaps those messages might be the usual spurious error messages
from TeX components, or maybe basename has changed recently ?

After that, I tried:

$texi2pdf -b ffmpeg-codecs.tex

and got a 70-page PDF of ffmpeg-codecs.pdf.  I then tried

$texi2dvi -b faq.texi

and that apparently worked ok -

Output written on faq.dvi (15 pages, 32384 bytes).
Transcript written on faq.log

and then dvips created faq.ps from it, although I don't think I've
got a ps viewer on this system (apart from 'display' which is
painful when the background has not been forced to white from
transparent [ it gives a chequerboard ].).

So no, it doesn't work for me, but very different results and
texlive itself seems to be ok.  Oh, and I did not try building the
package first, I only configured it and then tried to do the TeX
docs.  For configuring, I don't have all the book's deps in this
build, and it seemed to dislike --docdir.

Sorry, I don't have any ideas - apart from what I've now written
above.

ĸen


--
http://lists.linuxfromscratch.org/listinfo/blfs-dev
FAQ: http://www.linuxfromscratch.org/blfs/faq.html
Unsubscribe: See the above information page

Reply via email to