Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 928288 - app-text/texlive-core-2023-r5 doesn't install /usr/bin/xdvipdfmx
Summary: app-text/texlive-core-2023-r5 doesn't install /usr/bin/xdvipdfmx
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal normal (vote)
Assignee: Alexis Ballier
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2024-03-31 12:50 UTC by Alain Emilia Anna Zscheile
Modified: 2024-04-04 08:18 UTC (History)
3 users (show)

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


Attachments
emerge --info (emerge--info.txt,18.13 KB, text/plain)
2024-03-31 12:50 UTC, Alain Emilia Anna Zscheile
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Alain Emilia Anna Zscheile 2024-03-31 12:50:46 UTC
Created attachment 889086 [details]
emerge --info

while trying to fix unicode problems in my LaTeX install, related to outdated unicode-math.sty, I upgraded all necessary latex packages to 2023-* versions, but now xelatex isn't able to output PDF files due to missing 
/usr/bin/xdvipdfmx, which was previously provided by app-text/texlive-core.

$ qfile -v /usr/share/texmf-dist
app-text/dvipsk-2023.03.11_p66203: /usr/share/texmf-dist
app-text/texlive-core-2023-r5: /usr/share/texmf-dist
dev-libs/kpathsea-6.3.5_p20230311: /usr/share/texmf-dist
dev-tex/bibtexu-3.71_p20210325: /usr/share/texmf-dist
dev-tex/glossaries-4.53: /usr/share/texmf-dist
dev-texlive/texlive-basic-2023_p59159-r2: /usr/share/texmf-dist
dev-texlive/texlive-bibtexextra-2021: /usr/share/texmf-dist
dev-texlive/texlive-fontsextra-2021: /usr/share/texmf-dist
dev-texlive/texlive-fontsrecommended-2023_p54074: /usr/share/texmf-dist
dev-texlive/texlive-fontutils-2021: /usr/share/texmf-dist
dev-texlive/texlive-langenglish-2021: /usr/share/texmf-dist
dev-texlive/texlive-langgerman-2021: /usr/share/texmf-dist
dev-texlive/texlive-latex-2023_p69131-r1: /usr/share/texmf-dist
dev-texlive/texlive-latexextra-2023_p69752-r2: /usr/share/texmf-dist
dev-texlive/texlive-latexrecommended-2023_p69131: /usr/share/texmf-dist
dev-texlive/texlive-luatex-2023_p69404: /usr/share/texmf-dist
dev-texlive/texlive-mathscience-2023_p69485-r1: /usr/share/texmf-dist
dev-texlive/texlive-pictures-2023_p69409-r1: /usr/share/texmf-dist
dev-texlive/texlive-plaingeneric-2021: /usr/share/texmf-dist
dev-texlive/texlive-pstricks-2021: /usr/share/texmf-dist
dev-texlive/texlive-xetex-2023_p69452-r1: /usr/share/texmf-dist
Comment 1 Florian Schmaus gentoo-dev 2024-03-31 18:01:36 UTC
If I am not mistaken, then (x)dvipdfmx is provided if the enable the 'cjk' USE flag on texlive-core. Regardless if this is sensible, could you enable the 'cjk' USE flag, re-emerge texlive-core-2023, and report back if this now installs xdvipdfmx which is able to generate PDf files?
Comment 2 Bernd Feige 2024-04-01 10:23:34 UTC
(In reply to Florian Schmaus from comment #1)
> If I am not mistaken, then (x)dvipdfmx is provided if the enable the 'cjk'
> USE flag on texlive-core. Regardless if this is sensible, could you enable
> the 'cjk' USE flag, re-emerge texlive-core-2023, and report back if this now
> installs xdvipdfmx which is able to generate PDf files?

Yes, USE=cjk does install xdvipdfmx and makes xe(la)tex work. Without +cjk it fails to generate PDFs, ie is fully non-functional - and yes, that does not make sense :-)

Just checked that the culprit in the ebuild is "$(use_enable cjk dvipdfm-x)" - maybe a dependence on the "xetex" use flag was intended, if xetex is really the only user of xdvipdfmx.
Comment 3 Larry the Git Cow gentoo-dev 2024-04-04 08:18:42 UTC
The bug has been closed via the following commit(s):

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

commit e1ba111ea825b771541ccf989a67a855fd63eabc
Author:     Florian Schmaus <flow@gentoo.org>
AuthorDate: 2024-04-04 08:14:57 +0000
Commit:     Florian Schmaus <flow@gentoo.org>
CommitDate: 2024-04-04 08:17:56 +0000

    app-text/texlive-core: add 2023-r6
    
    Unconditionally install xdvipdfmx and update tlpdb.
    
    Closes: https://bugs.gentoo.org/928288
    Signed-off-by: Florian Schmaus <flow@gentoo.org>

 .../{texlive-core-2023-r5.ebuild => texlive-core-2023-r6.ebuild}  | 8 +++++++-
 1 file changed, 7 insertions(+), 1 deletion(-)