Bug 1309702 - texi2dvi exits without completing the task
Summary: texi2dvi exits without completing the task
Keywords:
Status: CLOSED RAWHIDE
Alias: None
Product: Fedora
Classification: Fedora
Component: texinfo
Version: rawhide
Hardware: Unspecified
OS: Unspecified
unspecified
unspecified
Target Milestone: ---
Assignee: Vitezslav Crhonek
QA Contact: Fedora Extras Quality Assurance
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2016-02-18 14:09 UTC by Mattias Ellert
Modified: 2016-02-24 11:27 UTC (History)
3 users (show)

Fixed In Version: texinfo-6.1-2.fc24
Doc Type: Bug Fix
Doc Text:
Clone Of:
Environment:
Last Closed: 2016-02-24 11:27:48 UTC


Attachments (Terms of Use)
This example was extracted from the failing package build (23.27 KB, application/x-xz)
2016-02-18 14:09 UTC, Mattias Ellert
no flags Details

Description Mattias Ellert 2016-02-18 14:09:52 UTC
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:

Comment 1 Vitezslav Crhonek 2016-02-23 08:54:34 UTC
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

Comment 2 Mattias Ellert 2016-02-23 09:09:15 UTC
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)

Comment 3 Vitezslav Crhonek 2016-02-23 09:38:37 UTC
Thanks, reproduced.

Comment 4 Vitezslav Crhonek 2016-02-23 10:14:59 UTC
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.


Note You need to log in before you can comment on or make changes to this bug.