Bug 1568178

Summary: TeX: texlive-beamer provides tex(translator.sty), yet the file is not in there and beamer doesn't work
Product: [Fedora] Fedora Reporter: Miro Hrončok <mhroncok>
Component: texliveAssignee: Tom "spot" Callaway <tcallawa>
Status: CLOSED RAWHIDE QA Contact: Fedora Extras Quality Assurance <extras-qa>
Severity: unspecified Docs Contact:
Priority: unspecified    
Version: rawhideCC: tcallawa, than
Target Milestone: ---   
Target Release: ---   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard:
Fixed In Version: Doc Type: If docs needed, set a value
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2018-04-17 16:33:00 UTC Type: Bug
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:

Description Miro Hrončok 2018-04-16 23:03:33 UTC
Description of problem:
beamer is broken, with LaTeX Error: File `translator.sty' not found. Yet that file is supposed to be in beamer according to provifdes.

Version-Release number of selected component (if applicable):
texlive-beamer-svn46481-1.fc29
texlive-2017-1.fc29
(should also happen with -2, yet my mock doesn't yet fetch those)

Steps to Reproduce:
$ mock -r fedora-rawhide-x86_64 --init
$ mock -r fedora-rawhide-x86_64 --install /usr/bin/xelatex texlive-beamer
$ mock -r fedora-rawhide-x86_64 --shell
# cat > slides.tex << EOF
\documentclass{beamer}
\begin{document}
\end{document}
EOF
# xelatex slides.tex

Actual results:
! LaTeX Error: File `translator.sty' not found.

Expected results:
No such error.

Additional info:
# rpm -q --whatprovides 'tex(translator.sty)'
texlive-beamer-svn46481-1.fc29.noarch
# rpm -ql texlive-beamer | grep translator
/usr/share/texlive/texmf-dist/tex/latex/beamer/beamerbasetranslator.sty

Comment 1 Tom "spot" Callaway 2018-04-17 16:33:00 UTC
Fixed in -3 (building now). Please keep filing these as you find them, I am sure there are more.

Comment 2 Miro Hrončok 2018-04-17 19:56:07 UTC
Confirmed fixed.

BTW I'm using https://copr.fedorainfracloud.org/coprs/churchyard/texlive/ that automatically rebuilds rawhide latex, so I can see problems early. I only construct those mock examples to provide a simple reproducer and to eliminate the "only broken in my copr" problems.

I was wondering whether a simple integration testsuite (aka bunch of short tex documents and several commands to run them) would discover such errors automatically and could serve as a regression testsuite as well.

Comment 3 Tom "spot" Callaway 2018-04-17 19:58:02 UTC
(In reply to Miro Hrončok from comment #2)
> Confirmed fixed.
> 
> BTW I'm using https://copr.fedorainfracloud.org/coprs/churchyard/texlive/
> that automatically rebuilds rawhide latex, so I can see problems early. I
> only construct those mock examples to provide a simple reproducer and to
> eliminate the "only broken in my copr" problems.
> 
> I was wondering whether a simple integration testsuite (aka bunch of short
> tex documents and several commands to run them) would discover such errors
> automatically and could serve as a regression testsuite as well.

I would love to see that testsuite in action, but I do not have the time personally to build it right now.