The texinfo ebuild does not install the texinfo.tex file (and others?) needed by texi2dvi/texi2pdf tools. This causes texi2pdf to fail when, for example, trying to convert the bison.texi file (sys-devel/bison) to pdf - the bison.texi file has an include to texinfo.tex so the conversion fails. The INSTALL file in the texinfo source archive says: "* texinfo.tex and the other *.tex files are not installed by `make install', because TeX installations vary so widely. Installing them in the wrong place would give a false sense of security. Instead, you have to run an additional make command after the normal make install: make TEXMF=/your/texmf install-tex where TEXMF is a root of a TeX hierachy that follows the TeX Directory Structure standard (http://tug.org/tds/). texinfo.tex is installed in ${TEXMF}/tex/texinfo, epsf.tex in ${TEXMF}/tex/generic/epsf/, etc." I think Bug 850391 is down to this, i.e. building sci-mathematics/pspp[doc]. The error in the log there is the same as I'm getting. Reproducible: Always
Created attachment 886259 [details] Error log for texi2pdf Just to be clear, this is nothing to do with building anything. I just wanted the bison docs as a .pdf rather than an .info so unpacked the sys-devel/bison source archive into a local directory and ran texi2pdf on the bison.texi file. This failed because it couldn't find file "texinfo.tex".
arsen?
we could decide to install it to the right location for TeXLive, I'm unsure of other TeX suites in Gentoo. CCing TeX team for opinions (but I believe just installing into texmf-dist would work.. .. except: dev-texlive/texlive-plaingeneric: /usr/share/texmf-dist/tex/texinfo/texinfo.tex ... which is news to me. unsure if we should just kick texinfo.tex out of texlive-plaingeneric or something?
The texinfo ebuilds have the following header # Note: if your package uses the texi2dvi utility, it must depend on the # virtual/texi2dvi package to pull in all the right deps. The tool is not # usable out-of-the-box because it requires the large tex packages. So if you want to use texi2dvi (and Co, e.g., texi2pdf) you have to emerge virtual/texi2dvi. Maybe the texinfo ebuilds could mention this to the user via optfeature (or similar)?
I think it just needs an einfo message along the lines of: "This package provides texi2dvi, texi2pdf, etc, but does not install all the files you may need to use them. The package you are looking for in this case is virtual/texi2dvi."