Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 925761 - sys-apps/texinfo-7.1-r1 does not install texinfo.tex
Summary: sys-apps/texinfo-7.1-r1 does not install texinfo.tex
Status: UNCONFIRMED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal normal
Assignee: Gentoo's Team for Core System packages
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2024-02-29 13:32 UTC by Bill Binder
Modified: 2024-03-05 19:30 UTC (History)
5 users (show)

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


Attachments
Error log for texi2pdf (texi2pdf error.log,725 bytes, text/x-log)
2024-02-29 13:39 UTC, Bill Binder
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Bill Binder 2024-02-29 13:32:23 UTC
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
Comment 1 Bill Binder 2024-02-29 13:39:46 UTC
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".
Comment 2 Sam James archtester Gentoo Infrastructure gentoo-dev Security 2024-03-01 06:43:57 UTC
arsen?
Comment 3 Arsen Arsenović gentoo-dev 2024-03-01 09:48:24 UTC
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?
Comment 4 Florian Schmaus gentoo-dev 2024-03-01 20:39:34 UTC
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)?
Comment 5 Bill Binder 2024-03-05 19:30:04 UTC
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."