Summary: | sci-visualization/gri fails to build without tex installed | ||
---|---|---|---|
Product: | Gentoo Linux | Reporter: | Diego Elio Pettenò (RETIRED) <flameeyes> |
Component: | New packages | Assignee: | Gentoo Science Related Packages <sci> |
Status: | RESOLVED FIXED | ||
Severity: | normal | CC: | fauli, lngndvs, robert.bradbury |
Priority: | High | ||
Version: | unspecified | ||
Hardware: | All | ||
OS: | Linux | ||
Whiteboard: | |||
Package list: | Runtime testing required: | --- | |
Attachments: |
Build log
emerge --info for Jan 2010 problems |
Description
Diego Elio Pettenò (RETIRED)
![]() Created attachment 172976 [details]
Build log
Emacs team is out of here; we maintain only the Emacs part. (In reply to comment #1) > Created an attachment (id=172976) [edit] > Build log Diego, do you have the tex executable in your system? Probably it was run on the older tinderbox that used -B. (In reply to comment #4) > Probably it was run on the older tinderbox that used -B. Can you rerun it on your new tinderbox? Diego, it would be still nice if you could retest the build. *** Bug 295139 has been marked as a duplicate of this bug. *** In the case of this bug, the problem is the missing "tex" command. But adding it doesn't solve the problem -- because there are 2 other problems: 1) Setting the use flags to "-doc" still apparently tries to produce the documentation. So there is a problem with the ebuild or the makefile not handling "-doc" correctly. The second problem, when I tried to emerge gri (even with texlive-core, texlive-latexextra, texlive-basic, luatex and jadetex installed is that one still gets an error using tex to build the refcard.tex, the exact error is: make[2]: Entering directory `/media/tmp/portage/sci-visualization/gri-2.12.19/work/gri-2.12.19/doc' /bin/sh ../missing --run tex ./refcard.tex This is TeX, Version 3.1415926 (Web2C 7.5.7) ---! //var/lib/texmf/web2c/tex.fmt doesn't match tex.pool (Fatal format file error; I'm stymied) WARNING: `tex' is needed, and you do not seem to have it handy on your system. You might have modified some files without having the proper tools for further handling them. Check the `README' file, it often tells you about the needed prerequirements for installing this package. You may also peek at any GNU archive site, in case some other package would contain this missing `tex' program. make[2]: *** [refcard.ps] Error 1 The problem that it is playing around with the refcard.tex file is due to problem #1 (ignoring -doc). The tex.fmt, tex.pool error puzzles me. I can't find out where tex.fmt comes from. It apparently gets processed by jadetex to make the file smaller, but even after "unmerging" jadetex which makes the file larger, gri will still not build (same error). Thus far the only way I have found to enable the compilation of gri is to entirely remove /var/lib/texmf/web2c/tex.fmt. If anyone can tell me where tex.fmt is coming from (tex.pool?) before jadetex plays with it I'd be interested in knowing. Created attachment 216532 [details]
emerge --info for Jan 2010 problems
texlive-core version 2008-r7
gri version 2.12.19
That's hard to get...I cannot reproduce it. You can't reproduce the first part (-doc still accesses the doc directory?) -- I would think you could reproduce this by simply going to the ebuild doc directory immediately following the extraction/patching part of the ebuild and removing all of the contents of the doc directory (even remove the doc directory entirely). You ought to get an error when it goes to format "refcard.tex" (something it should *not* be doing with the -doc option). If just this part were fixed you could run the ebuild without encountering Problem #2. Problem #2 is more subtle. I do not understand *what* part of running tex on refcard.tex is trying to access "/var/lib/texmf/web2c/tex.fmt". I know that unmerging/reemerging jadetex changes the size of tex.fmt (to be expected due to the fact that jadetex is supposed to remove comments from tex files). But I do not know why "tex.fmt" is being used at all. I identified something like 4-5 ebuilds on my system that implement a functional tex system but did not take the trouble to deinstall all of them, then reinstall all of them one by one, check to see what the minimal set is that is required to format refcard.tex (e.g. in the incompletely compiled +doc ebuild environment). I presume that someplace between a "basic" tex environment and a "rich" tex environment there is a package that adds or munges the tex.fmt file and breaks the processing of refcard.tex. Then the gri ebuild could be modified to prevent attempting +doc when that package is present (i.e. if one want to build gri +doc, one would have to unmerge the questionable tex package, build gri, then reinstall the questionable tex package (presumably present because some other package needs it)). Or one could dig into what the "missing" shell script actually does (sh -x might help) to figure out what is causing the precise error. But I agree that it is a very bizarre error. I'm surprised that I managed to find the work-around that I did. I think this is a related bug, that I discovered, when I was unable to re-install gri 2.12.19. I tried to compile with USE=-doc and USE=-examples. The same bug regarding *png files popped up. I eventually found that I had to reinstall ghostscript-gpl, following instructions, after that emerge failed, to remove a gs extra fonts package. I'm sorry I didn't record that package name. After I removed the offending package, reinstalled ghostscript-gpl, I was subsequently able to emerge gri-2.12.19. After that I bumped the ebuild for gri to 2.12.20, and that installed ok, but I'm uncertain whether it's working properly, at this point. I apologize for not providing appropriate documentation, but felt that this may be valuable information for those who experience this bug. fixed in 2.12.23 in the tree |