Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 911121 - dev-tex/latex-beamer-3.70 causes build failures: Package beamerfontthemeneo Error: Patching frame title failed.
Summary: dev-tex/latex-beamer-3.70 causes build failures: Package beamerfontthemeneo E...
Status: CONFIRMED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal normal (vote)
Assignee: Andrey Grozin
URL:
Whiteboard:
Keywords:
Depends on: 836779
Blocks:
  Show dependency tree
 
Reported: 2023-07-24 08:54 UTC by Florian Schmaus
Modified: 2023-11-14 08:37 UTC (History)
3 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 Florian Schmaus gentoo-dev 2023-07-24 08:54:16 UTC
Slides with the neo theme fail to build when beamer 3.70 is installed:

    Package beamerfontthemeneo Error: Patching frame title failed.

Everything builds fine with beamer 3.68.

Neo is derived from metropolis, and does very, very nasty things, like using patchcmd all over the place. And beamer actually implemented a workaround to keep metropolis/neo going (see https://github.com/josephwright/beamer/issues/802).

I am not sure why we still run into this. But probably it is due the combination of beamer 3.70 and Texlive 2021.
Comment 1 Larry the Git Cow gentoo-dev 2023-07-24 08:58:50 UTC
The bug has been referenced in the following commit(s):

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

commit 5094c20d1771923654f4df3381c34730e5e2e858
Author:     Florian Schmaus <flow@gentoo.org>
AuthorDate: 2023-07-24 08:44:34 +0000
Commit:     Florian Schmaus <flow@gentoo.org>
CommitDate: 2023-07-24 08:57:42 +0000

    dev-tex/latex-beamer: Revert "dev-tex/latex-beamer: remove old versions"
    
    As discusses in #-tex, this reverts commit
    f86442b81f5806028caf5a5567bd1757d4f19d40.
    
    Bug: https://bugs.gentoo.org/911121
    Signed-off-by: Florian Schmaus <flow@gentoo.org>

 dev-tex/latex-beamer/Manifest                 |  2 ++
 dev-tex/latex-beamer/latex-beamer-3.68.ebuild | 40 +++++++++++++++++++++++++++
 dev-tex/latex-beamer/latex-beamer-3.69.ebuild | 40 +++++++++++++++++++++++++++
 3 files changed, 82 insertions(+)
Comment 2 Florian Schmaus gentoo-dev 2023-07-24 09:22:08 UTC
FTR, https://github.com/josephwright/beamer/blob/4bed882a250335d7f89bb00393f4509d57246a5b/base/beamerbasecompatibility.sty#L251-L284 are the beamer hacks for metropolis that do not seem to have an effect in Gentoo with beamer 3.69/3.70.
Comment 3 Andrey Grozin gentoo-dev 2023-07-24 11:18:43 UTC
Hmm. I never used neo (and metropolis) themes myself, and for my slides 3.70 works fine.
Is there any chance that texlive-2023 will be in Gentoo? arxiv.org has switched to 2023. I am tempted to remove Gentoo texlive and to install texlive-2023 outside portage control.
Comment 4 Alexander Danilov 2023-07-31 15:50:43 UTC
(In reply to Florian Schmaus from comment #2)
> FTR,
> https://github.com/josephwright/beamer/blob/
> 4bed882a250335d7f89bb00393f4509d57246a5b/base/beamerbasecompatibility.
> sty#L251-L284 are the beamer hacks for metropolis that do not seem to have
> an effect in Gentoo with beamer 3.69/3.70.

The hacks are not working since they use a new naming scheme for hooks: {file/<name>/after}, while TexLive-2021 from Gentoo is still using the old one: {file/after/<name>}.