Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 700056 - color.cfg from dev-tex/pgf breaks xcolor.sty with lualatex
Summary: color.cfg from dev-tex/pgf breaks xcolor.sty with lualatex
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal normal
Assignee: TeX project
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2019-11-13 23:00 UTC by Eugene Shalygin
Modified: 2020-01-08 16:16 UTC (History)
1 user (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 Eugene Shalygin 2019-11-13 23:00:46 UTC
MWE:
\documentclass[a4paper,12pt]{article}
\usepackage{xcolor}

\begin{document}

\end{document}


Reproducible: Always

Steps to Reproduce:
1. lualatex test.tex

Actual Results:  
This is LuaTeX, Version 1.10.0 (TeX Live 2019 Gentoo Linux) 
 restricted system commands enabled.
(/home/eugene/text/test/test.tex
LaTeX2e <2018-12-01>

luaotfload | main : initialization completed in 0.042 seconds
(/usr/share/texmf-dist/tex/latex/base/article.cls
Document Class: article 2018/09/03 v1.4i Standard LaTeX document class
(/usr/share/texmf-dist/tex/latex/base/size12.clo))
(/usr/share/texmf-dist/tex/latex/xcolor/xcolor.sty
(/usr/share/texmf-site/tex/generic/pgf/version-for-dvisvgm/en/color.cfg)

! Package xcolor Error: No driver specified.

See the xcolor package documentation for explanation.
Type  H <return>  for immediate help.
 ...                                              
                                                  
l.223      eg: \protect\ExecuteOptions{dvips}}
                                            
! Undefined control sequence.
<argument> ,\XC@@drv 
          ,
l.1429  }{}
         
! Undefined control sequence.
<argument> ,\XC@@drv 
          ,
l.1429  }{}
         
! Undefined control sequence.
<argument> ,\XC@@drv 
          ,
l.1429  }{}

Expected Results:  
File compiles

The standalone version was working
Comment 1 Mikle Kolyada (RETIRED) archtester Gentoo Infrastructure gentoo-dev Security 2019-11-15 06:09:59 UTC
Your installation is somehow defective, I have just tried your example and got

luaotfload | main : initialization completed in 0.038 seconds
(/usr/share/texmf-dist/tex/latex/base/article.cls
Document Class: article 2018/09/03 v1.4i Standard LaTeX document class
(/usr/share/texmf-dist/tex/latex/base/size12.clo))
(/usr/share/texmf-dist/tex/latex/xcolor/xcolor.sty
...

So it is seen that latexrecommended xcolor is used just fine here.
Comment 2 Eugene Shalygin 2019-11-15 09:28:27 UTC
Yes, it is broken in the way that I have dev-tex/pgf installed
Comment 3 Mikle Kolyada (RETIRED) archtester Gentoo Infrastructure gentoo-dev Security 2019-11-15 12:42:10 UTC
(In reply to Eugene Shalygin from comment #2)
> Yes, it is broken in the way that I have dev-tex/pgf installed

Me either. There is no color.cfg from pgf.
Comment 4 Eugene Shalygin 2019-11-16 00:44:33 UTC
There is one:

qlist dev-tex/pgf | grep color.cfg                                                                                                                           /usr/share/texmf-site/tex/generic/pgf/version-for-dvisvgm/en/color.cfg
Comment 5 Vadim A. Misbakh-Soloviov (mva) gentoo-dev 2019-11-16 11:44:57 UTC
(In reply to Eugene Shalygin from comment #4)
> There is one:
> 
> qlist dev-tex/pgf | grep color.cfg                                          
> /usr/share/texmf-site/tex/generic/pgf/version-for-dvisvgm/en/color.cfg

version?
Comment 6 Eugene Shalygin 2019-11-16 12:55:18 UTC
(In reply to Vadim A. Misbakh-Soloviov (mva) from comment #5)

> version?

dev-tex/pgf-3.1.4b-r2, dev-texlive/texlive-latexrecommended-2019-r2, the only versions available in portage
Comment 7 Eugene Shalygin 2019-11-16 22:35:23 UTC
To make myself clear, removing "color.cfg" from /usr/share/texmf-site/ls-R makes lualatex work.
Comment 8 Mikle Kolyada (RETIRED) archtester Gentoo Infrastructure gentoo-dev Security 2019-11-17 08:27:37 UTC
(In reply to Eugene Shalygin from comment #7)
> To make myself clear, removing "color.cfg" from /usr/share/texmf-site/ls-R
> makes lualatex work.

Do you have the 'doc' use flag enabled?
Comment 9 Eugene Shalygin 2019-11-17 10:49:35 UTC
(In reply to Mikle Kolyada from comment #8)
> Do you have the 'doc' use flag enabled?

Yes, doc is enabled for dev-tex/pgf
Comment 10 Larry the Git Cow gentoo-dev 2020-01-08 16:16:42 UTC
The bug has been closed via the following commit(s):

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

commit 6d000e830fdae2e9a991e89e64a82c0dd72ab11f
Author:     Mikle Kolyada <zlogene@gentoo.org>
AuthorDate: 2020-01-08 16:16:16 +0000
Commit:     Mikle Kolyada <zlogene@gentoo.org>
CommitDate: 2020-01-08 16:16:36 +0000

    dev-tex/pgf: remove redundant color.cfg
    
    Closes: https://bugs.gentoo.org/700056
    Package-Manager: Portage-2.3.79, Repoman-2.3.16
    Signed-off-by: Mikle Kolyada <zlogene@gentoo.org>

 dev-tex/pgf/pgf-3.1.4b-r2.ebuild | 3 ++-
 1 file changed, 2 insertions(+), 1 deletion(-)