Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 266680 - app-text/texlive-core-2008-r4: pdflatex fonts install fails: kpathsea runs mktexpk which has no permissions to mkdir in ./var/cache/fonts/
Summary: app-text/texlive-core-2008-r4: pdflatex fonts install fails: kpathsea runs mk...
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: High normal (vote)
Assignee: TeX project
URL: http://www.mail-archive.com/debian-bu...
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2009-04-18 19:11 UTC by Johannes Buchner
Modified: 2009-04-29 22:33 UTC (History)
0 users

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 Johannes Buchner 2009-04-18 19:11:33 UTC
A latex file (created with lyx, but that should not be important) failed to compile when running the command
$ pdflatex my.tex

kpathsea: Running mktexpk --mfmode / --bdpi 600 --mag 1+0/600 --dpi 600 ecbx1200
mkdir: cannot create directory `././var/cache/fonts/pk': Permission denied
mktexpk: /usr/share/texmf/web2c/mktexdir /var/cache/fonts/pk/ljfour/jknappen/ec failed.
kpathsea: Appending font creation commands to missfont.log.
(see the transcript file for additional information)
!pdfTeX error: pdflatex (file ecbx1200): Font ecbx1200 at 600 not found
 ==> Fatal error occurred, no output PDF file produced!

The problem is described in a debian thread: http://www.mail-archive.com/debian-bugs-rc@lists.debian.org/msg54805.html

As a user, one can do sudo chmod -R 777 /var/cache/fonts/
Please solve by applying the right permissions on install.

Reproducible: Always

Steps to Reproduce:
Comment 1 Alexis Ballier gentoo-dev 2009-04-29 22:33:40 UTC
fixed in -r5, thanks; having it world writable seems a sane default
however you can still make it readonly via texconfig if you prefer it that way.