Red Hat Bugzilla – Bug 164140
transfig creates wrong dependencies for -L pstex
Last modified: 2008-09-11 13:14:33 EDT
From Bugzilla Helper:
User-Agent: Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.7.10) Gecko/20050721 Red Hat/1.0.6-1.4.1.SL3 Firefox/1.0.6
Description of problem:
transfig creates wrong dependencies for -L pstex. The picmakefile written by transfig contains rules to build a *.tex and a *.ps file. However, the *.tex file depends on a *.eps file for which no build rule is available.
Version-Release number of selected component (if applicable):
Steps to Reproduce:
1. transfig -M picmakefile -L pstex file.fig
2. see the picmakefile
Actual Results: the picmakefile contains two rules to build the needed *tex and *ps files:
file.tex: file.eps picmakefile
fig2dev -L pstex_t -p file.eps file.fig > file.tex
file.ps: file.fig picmakefile
fig2dev -L pstex file.fig > file.ps
The problem here is, that the first rule requires a *.eps file, while the second rule only knows how to make a *.ps file. Thus, calling make on the picmakefile fails with:
make: *** No rule to make target `file.eps', needed by `file.tex'. Stop.
Expected Results: Either add a third rule which knows how to build an *.eps file (like in transfig 3.2.3d-2 from Enterprise Server 2.1) or change the requirement of the first rule to depend on a *.ps (instead of a *.eps) file.
The transfig rpm of Enterprise Server 2.1 works as expected.
it's not reproducible in RHEL4 any more.
transfig-3.2.5-4.fc8 has been submitted as an update for Fedora 8.
transfig-3.2.5-4.fc9 has been submitted as an update for Fedora 9.
transfig-3.2.5-4.fc8 has been pushed to the Fedora 8 stable repository. If problems still persist, please make note of it in this bug report.
transfig-3.2.5-4.fc9 has been pushed to the Fedora 9 stable repository. If problems still persist, please make note of it in this bug report.