Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 295139 - sci-visualization/gri fails to emerge
Summary: sci-visualization/gri fails to emerge
Status: RESOLVED DUPLICATE of bug 248372
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: High normal (vote)
Assignee: Gentoo Linux bug wranglers
URL: N/A
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2009-11-30 02:15 UTC by Robert Bradbury
Modified: 2009-11-30 12:53 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 Robert Bradbury 2009-11-30 02:15:09 UTC
Emerge fails due to tex processing errors even though tex is installed and the USE flags are "-docs -emacs -examples".

Why is a build/install even using TEX if there are no parts of the install process which should require it?  Appears to be an ebuild configuration / processing error. 

Reproducible: Always

Steps to Reproduce:
1. emerge gri

The question could be asked -- on what type of system with what types of software was this ebuild successfully built before it was release???

Actual Results:  
emerge fails.

Error is:
make[2]: Leaving directory `/media/tmp/portage/sci-visualization/gri-2.12.19/work/gri-2.12.19/doc/tst_suite'
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
make[2]: Leaving directory `/media/tmp/portage/sci-visualization/gri-2.12.19/work/gri-2.12.19/doc'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/media/tmp/portage/sci-visualization/gri-2.12.19/work/gri-2.12.19/doc'
make: *** [all-recursive] Error 1
 * ERROR: sci-visualization/gri-2.12.19 failed:


Tex *is* installed:
  -rwxr-xr-x 1 root root 326236 Aug 28 01:48 /usr/bin/tex
The file in question does exist, though it appears to contain some binary (but uncorrupted data), why does the package install in "standard" mode even care about TEX formating with the current USE flags (esp. -doc) -- a secondary question, typical of many Gentoo releases is have a "doc" flag but never testing it before releasing the softare (and/or perhaps not including the proper doc depenedencies which doc is enabled in the ebuild file!):
  frodo Log1 # ls -l /var/lib/texmf/web2c/tex.fmt
-rw-r--r-- 1 root root 247114 Dec 14  2008 /var/lib/texmf/web2c/tex.fmt
frodo Log1 # file /var/lib/texmf/web2c/tex.fmt
/var/lib/texmf/web2c/tex.fmt: data


Expected Results:  
emerge should work if it is a package released into the gentoo build hierarchy.

Thats it.  The error says "tex is needed" -- Tex is installed (though it should presumably not be required for a USE=-doc installation.  It can't process the tex.fmt file but provides no further information as to why not.

This begs the issue of precisely *what* kind of system (64 bit?  supercomputer?) etc. this was installed on to confirm that it would "work" before releasing it to the Gentoo availability pool.
Comment 1 Justin Lecher (RETIRED) gentoo-dev 2009-11-30 12:53:50 UTC

*** This bug has been marked as a duplicate of bug 248372 ***