Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!

Bug 939372

Summary: dev-texlive/texlive-latexextra-2023_p69752-r5: LaTeX Error: File `ucs.sty' not found. File `utf8x.def' not found. File `wrapfig.sty' not found.
Product: Gentoo Linux Reporter: Cyp <cyp561>
Component: Current packagesAssignee: TeX project <tex>
Status: UNCONFIRMED ---    
Severity: normal CC: flow
Priority: Normal    
Version: unspecified   
Hardware: All   
OS: Linux   
Whiteboard:
Package list:
Runtime testing required: ---

Description Cyp 2024-09-09 11:18:48 UTC
After upgrading to texlive 2023, I was getting errors.

Reproducible: Always

Steps to Reproduce:
1. pdflatex somefile.pdf containing “\usepackage[mathletters]{ucs}”
2. Or containing “\usepackage[utf8x]{inputenc}”
3. Or containing “\usepackage{wrapfig}”
Actual Results:  
! LaTeX Error: File `ucs.sty' not found.
File `utf8x.def' not found. \endinput
File `wrapfig.sty' not found. ^^M

Expected Results:  
No errors.

Running “texhash” as root made the errors go away. Inspired by similar old bug report in redhat: https://bugzilla.redhat.com/show_bug.cgi?id=211096
# texhash 
texhash: Updating //etc/texmf/ls-R... 
texhash: Updating /usr/share/texmf-dist/ls-R... 
texhash: Updating /usr/share/texmf-site/ls-R... 
texhash: Updating //var/lib/texmf/ls-R... 
texhash: Done.

Except for this error: “! Argument of � has an extra }.”, where � is a lone 0xC2 byte.

Although the error was on a random line, and commenting out that line made the error jump around randomly, commenting out hyperref finally made the last error go away:
% \usepackage{hyperref}
% \usepackage[all]{hypcap}