Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 938738 - app-emacs/auctex-14.0.5[preview-latex]: missing build dependency on dev-texlive/texlive-latexextra?
Summary: app-emacs/auctex-14.0.5[preview-latex]: missing build dependency on dev-texli...
Status: CONFIRMED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal normal
Assignee: GNU Emacs project
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2024-08-30 11:49 UTC by Michael Orlitzky
Modified: 2024-09-12 08:51 UTC (History)
2 users (show)

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 Michael Orlitzky gentoo-dev 2024-08-30 11:49:49 UTC
I tried to build auctex[preview-latex] today on a (relatively) clean box but the build failed at

  ! LaTeX Error: File `hypdoc.sty' not found.

That file is provided by dev-texlive/texlive-latexextra, and installing texlive-latexextra makes it work.

I'm not sure if the build failure is only with USE=preview-latex, I never tried without it.
Comment 1 Ulrich Müller gentoo-dev 2024-08-30 12:58:15 UTC
It is required from doc.sty:

$ grep hypdoc /usr/share/texmf-dist/tex/latex/base/doc.sty
  \RequirePackage{hypdoc}

@tex: doc.sty is provided by texlive-latex. It feels wrong that it requires a file from texlive-latexextra.
Comment 2 Larry the Git Cow gentoo-dev 2024-08-30 12:59:20 UTC
The bug has been referenced in the following commit(s):

https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=f27c2ce194513b818a2d5d3b2dee2e158824d0cb

commit f27c2ce194513b818a2d5d3b2dee2e158824d0cb
Author:     Ulrich Müller <ulm@gentoo.org>
AuthorDate: 2024-08-30 12:54:40 +0000
Commit:     Ulrich Müller <ulm@gentoo.org>
CommitDate: 2024-08-30 12:59:12 +0000

    app-emacs/auctex: Add build dependency on dev-texlive/texlive-latexextra
    
    Bug: https://bugs.gentoo.org/938738
    Signed-off-by: Ulrich Müller <ulm@gentoo.org>

 app-emacs/auctex/auctex-14.0.5.ebuild | 1 +
 1 file changed, 1 insertion(+)
Comment 3 Florian Schmaus gentoo-dev 2024-09-12 08:49:57 UTC
(In reply to Ulrich Müller from comment #1)
> @tex: doc.sty is provided by texlive-latex. It feels wrong that it requires
> a file from texlive-latexextra.

https://git.texlive.info/texlive/tree/Master/tlpkg/texlive.tlpdb?id=e50928cec6ab5ebd6b6a240787811784e3a96b43 is the version of the tlpdb we use to model the texlive 2023 ebuilds and their dependencies.

There doc.sty is provided by the latex package, which becomes dev-tex/texlive-latex, and it does not declare a depend on latexextra (which seems sensible). hypdoc.sty is part of the hypdoc texlive package, which is part of the latexextra texlive collection. See https://git.texlive.info/texlive/tree/Master/tlpkg/texlive.tlpdb?id=e50928cec6ab5ebd6b6a240787811784e3a96b43#n66953

I've just checked and this is still the case with the latest tlpdb.

Maybe we should consider asking upstream about this situation.
Comment 4 Florian Schmaus gentoo-dev 2024-09-12 08:51:48 UTC
(In reply to Florian Schmaus from comment #3)
> There doc.sty is provided by the latex package, which becomes
> dev-tex/texlive-latex, and it does not declare a depend on latexextra (which
> seems sensible).

Just to clarify, here 'it' means the 'latex' entry in the tlpdb does not specify a dependency on the 'latexextra' collection in the tlpdb. Gentoo's texlive packages just follow the 'depend' statements in tlpdb.