Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 40617 - emerge gocr failes because fig2dev is called wich doesn't exist.
Summary: emerge gocr failes because fig2dev is called wich doesn't exist.
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: New packages (show other bugs)
Hardware: All Linux
: High normal (vote)
Assignee: Text-Markup Team (OBSOLETE)
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2004-02-06 10:02 UTC by Nico Baggus
Modified: 2004-02-10 06:32 UTC (History)
0 users

See Also:
Package list:
Runtime testing required: ---


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Nico Baggus 2004-02-06 10:02:34 UTC
During the make of the examples in gocr it is assumed that the transfig
package is installed. At least fig2dev is called.

Appearantly the DEPEND for transfig is missing.

Reproducible: Always
Steps to Reproduce:
1.emerge gocr on a system without transfig, that does have tetex.
2.
3.
Actual Results:  
The build failes. 

Expected Results:  
qmerge gocr.
Comment 1 Markus Nigbur (RETIRED) gentoo-dev 2004-02-06 15:41:41 UTC
Hm. With -doc it doesn't build the examples and therefor doesn't need transfig, but even with doc in USE it doesn't seem ot build the examples.

install: cannot stat `/var/tmp/portage/gocr-0.37/work/gocr-0.37/examples/*.pcx': No such file or directory
/usr/lib/portage/bin/dodoc: doc/{examples,unicode}.txt does not exist.

Mike?
Comment 2 Mike Gardiner (RETIRED) gentoo-dev 2004-02-10 06:32:06 UTC
Nico,

There's no way you should get to the situation where you don't have transfig installed, but you're emerging gocr with USE="doc", as transfig is a dependency of gocr if USE="doc" is specified. Besides this, in the previous (erroneus) ebuild, 'make examples' was never called! Were you compiling by hand perhaps? Either way this is invalid, sorry.

Marcus is right, and I've fixed the ebuild so that
o  if USE="doc" then append 'examples' to mymakes along with 'doc'
o  {foo,bar} is invalid for dodoc (it doesnt do the shell expansion)

Thanks for that, should be fixed.