Summary: | dev-tex/pgf: PGF/TikZ not working with lualatex and texlive 2019 | ||
---|---|---|---|
Product: | Gentoo Linux | Reporter: | gerion <gerion.entrup> |
Component: | Current packages | Assignee: | Alexis Ballier <aballier> |
Status: | RESOLVED FIXED | ||
Severity: | normal | CC: | gentoo, holgersson, tex |
Priority: | Normal | ||
Version: | unspecified | ||
Hardware: | All | ||
OS: | Linux | ||
Whiteboard: | |||
Package list: | Runtime testing required: | --- | |
Attachments: | pgf-3.1.3.ebuild |
Description
gerion
2019-06-21 14:28:22 UTC
well your comand is invalid, and I con not reproduce anything strange with the correct one. Sorry, I forgot: The bug occurs only in dev-tex/pgf-3.1. Here a full log (on a different Gentoo PC): p% ls tmp.tex % cat tmp.tex \documentclass{beamer} \begin{document} \end{document} % latexmk -pdflua tmp.tex Latexmk: This is Latexmk, John Collins, 25 May 2018, version: 4.56. Latexmk: applying rule 'lualatex'... Rule 'lualatex': Rules & subrules not known to be previously run: lualatex Rule 'lualatex': The following rules & subrules became out-of-date: 'lualatex' ------------ Run number 1 of rule 'lualatex' ------------ ------------ Running 'lualatex -recorder "tmp.tex"' ------------ This is LuaTeX, Version 1.10.0 (TeX Live 2019) restricted system commands enabled. (./tmp.tex LaTeX2e <2018-12-01> luaotfload | main : initialization completed in 0.113 seconds (/usr/share/texmf-site/tex/latex/beamer/base/beamer.cls Document Class: beamer 2017/01/23 v3.41 A class for typesetting presentations (/usr/share/texmf-dist/tex/latex/etoolbox/etoolbox.sty) (/usr/share/texmf-site/tex/latex/beamer/base/beamerbasemodes.sty (/usr/share/texmf-site/tex/latex/beamer/base/beamerbasedecode.sty)) (/usr/share/texmf-dist/tex/generic/oberdiek/ifpdf.sty) (/usr/share/texmf-site/tex/latex/beamer/base/beamerbaseoptions.sty (/usr/share/texmf-dist/tex/latex/graphics/keyval.sty)) (/usr/share/texmf-dist/tex/latex/geometry/geometry.sty (/usr/share/texmf-dist/tex/generic/oberdiek/ifvtex.sty) (/usr/share/texmf-dist/tex/generic/ifxetex/ifxetex.sty)) (/usr/share/texmf-dist/tex/latex/base/size11.clo) (/usr/share/texmf-site/tex/latex/pgf/basiclayer/pgfcore.sty (/usr/share/texmf-dist/tex/latex/graphics/graphicx.sty (/usr/share/texmf-dist/tex/latex/graphics/graphics.sty (/usr/share/texmf-dist/tex/latex/graphics/trig.sty) (/usr/share/texmf-dist/tex/latex/graphics-cfg/graphics.cfg) (/usr/share/texmf-dist/tex/latex/graphics-def/luatex.def))) (/usr/share/texmf-site/tex/latex/pgf/systemlayer/pgfsys.sty (/usr/share/texmf-site/tex/latex/pgf/utilities/pgfrcs.sty (/usr/share/texmf-site/tex/generic/pgf/utilities/pgfutil-common.tex (/usr/share/texmf-site/tex/generic/pgf/utilities/pgfutil-common-lists.tex)) (/usr/share/texmf-site/tex/generic/pgf/utilities/pgfutil-latex.def (/usr/share/texmf-dist/tex/latex/ms/everyshi.sty)) (/usr/share/texmf-site/tex/generic/pgf/utilities/pgfrcs.code.tex (/usr/share/texmf-site/tex/generic/pgf/pgf.revision.tex))) (/usr/share/texmf-site/tex/generic/pgf/systemlayer/pgfsys.code.tex (/usr/share/texmf-site/tex/generic/pgf/utilities/pgfkeys.code.tex (/usr/share/texmf-site/tex/generic/pgf/utilities/pgfkeysfiltered.code.tex)) (/usr/share/texmf-site/tex/generic/pgf/systemlayer/pgf.cfg) (/usr/share/texmf-site/tex/generic/pgf/systemlayer/pgfsys-luatex.def ! LaTeX Error: Missing \begin{document}. See the LaTeX manual or LaTeX Companion for explanation. Type H <return> for immediate help. ... l.10 \ProvidesFileRCS $H eader: /cvsroot/pgf/pgf/generic/pgf/systemlayer/pgfsys... ? X 359 words of node memory still in use: 2 hlist, 1 rule, 1 local_par, 1 dir, 1 glue, 3 kern, 1 glyph, 3 attribute, 4 2 glue_spec, 3 attribute_list, 1 temp, 1 if_stack nodes avail lists: 1:1,2:8,3:1,4:2,7:1 warning (pdf backend): no pages of output. Transcript written on tmp.log. === TeX engine is 'LuaTeX' Latexmk: Errors, so I did not complete making targets Collected error summary (may duplicate other messages): lualatex: Command for 'lualatex' gave return code 1 Refer to 'tmp.log' for details Latexmk: Use the -f option to force complete processing, unless error was exceeding maximum runs, or warnings treated as errors. % LANG=en eix -I latex-beamer [I] dev-tex/latex-beamer Available versions: 3.36 (~)3.41 {doc examples} Installed versions: 3.41(01:33:49 12/16/17)(-doc -examples) Homepage: https://github.com/josephwright/beamer Description: LaTeX class for creating presentations using a video projector % LANG=en eix -I pgf [I] dev-tex/pgf Available versions: 3.0.1-r1 (~)3.1 {doc source} Installed versions: 3.1(00:51:30 06/22/19)(-doc -source) Homepage: https://sourceforge.net/projects/pgf Description: The TeX Portable Graphic Format % LANG=en eix -I texlive-core [I] app-text/texlive-core Available versions: 2017-r4 (~)2019-r4 {X cjk doc +luajittex source tk xetex} Installed versions: 2019-r4(23:59:31 06/19/19)(X luajittex xetex -cjk -doc -source -tk) Homepage: https://tug.org/texlive/ Description: A complete TeX distribution When analyzing the file /usr/share/texmf-site/tex/generic/pgf/systemlayer/pgfsys-luatex.def it is the Gentoo copied version and not the one defined upstream: https://github.com/pgf-tikz/pgf/blob/master/tex/generic/pgf/systemlayer/pgfsys-luatex.def#L11 What do you mean with invalid? I see the same problem. My reproducer is the following: ==================================== \documentclass{article} \usepackage{tikz} \begin{document} \end{document} ==================================== which causes $ lualatex reproducer.tex This is LuaTeX, Version 1.10.0 (TeX Live 2019) restricted system commands enabled. (./reproducer.tex LaTeX2e <2018-12-01> <<<snip 20 lines removed>>> (/usr/share/texmf-site/tex/generic/pgf/systemlayer/pgfsys-luatex.def ! LaTeX Error: Missing \begin{document}. See the LaTeX manual or LaTeX Companion for explanation. Type H <return> for immediate help. ... l.10 \ProvidesFileRCS $H eader: /cvsroot/pgf/pgf/generic/pgf/systemlayer/pgfsys... ? Hi, I can confirm the bug. If I just drop the patch/the lualatex file in ${FILES} it looks as lualatex works fine in general. Created attachment 581358 [details]
pgf-3.1.3.ebuild
This version bump is a draft that works fine on my Gentoo host (~amd64, texlive-2019).
Could someone please test if this works with texlive-2017 aswell, so we could avoid the blocker at all?
I've added 3.1.4. Should be fine. |