Created attachment 1128230 [details] This example was extracted from the failing package build Description of problem: This problem was discovered as a failure to run texi2dvi as part of a package build for Fedora rawhide in koji. The same build for Fedora 23 works. Version-Release number of selected component (if applicable): texinfo-tex-6.1-1.fc24.x86_64 How reproducible: Always Steps to Reproduce: 1. Unpack and step into the directory from the attached example tarfile. 2. $ texi2dvi --pdf --no-line-error --max-iterations=20 Rcpp-FAQ.tex > log.txt 3. $ echo $? Actual results: On Fedora rawhide this returns "1", i.e. failure. Grepping for "This is" in the log.txt reveals that pdfTeX was run once and nothing more. This is pdfTeX, Version 3.14159265-2.6-1.40.16 (TeX Live 2016/dev) (preloaded format=pdflatex) Expected results: Running the same example on Fedora 23 returns "0", i.e. success. Grepping for "This is" in the log.txt reveals that pdfTeX and BibTeX were run multiple times to complete the task This is pdfTeX, Version 3.14159265-2.6-1.40.15 (TeX Live 2014) (preloaded format=pdflatex) This is BibTeX, Version 0.99d (TeX Live 2014) This is pdfTeX, Version 3.14159265-2.6-1.40.15 (TeX Live 2014) (preloaded format=pdflatex) This is BibTeX, Version 0.99d (TeX Live 2014) This is pdfTeX, Version 3.14159265-2.6-1.40.15 (TeX Live 2014) (preloaded format=pdflatex) This is pdfTeX, Version 3.14159265-2.6-1.40.15 (TeX Live 2014) (preloaded format=pdflatex) Additional info:
Hello Mattias, I'm not able to reproduce the issue, missing some dependencies probably... it fails with: ! LaTeX Error: File `Sweave.sty' not found. Which package did you build and is failing? I can take a look and also get correct dependencies from there. BTW it seems that this issue has already come to upstream attention: http://lists.gnu.org/archive/html/bug-texinfo/2016-02/msg00121.html
Hi! The package is R-Rcpp the build requires are: $ grep BuildReq R-Rcpp.spec BuildRequires: R-core-devel BuildRequires: R-RUnit BuildRequires: R-highlight BuildRequires: R-inline BuildRequires: tex(vmargin.sty) BuildRequires: tex(mathdesign.sty) BuildRequires: tex(texnansi.enc) The Sweave.sty is from R-core (a dependency of R-core-devel)
Thanks, reproduced.
It doesn't run BibTeX at all. You can workaround it by running the command twice, for the first time without -p/--pdf option: $ texi2dvi --no-line-error --max-iterations=20 Rcpp-FAQ.tex > log.txt $ texi2dvi --pdf --no-line-error --max-iterations=20 Rcpp-FAQ.tex > log.txt (The first command will return "1" - this seems to be similar to the upstream reported error mentioned in comment #1, the second will return "0" and the .pdf file will contain "Reference" page.) I'll try to figure out what's wrong.