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

Bug 516004

Summary: dev-python/pyx-0.12.1-r1 should RDEPEND on dev-texlive/texlive-basic - RuntimeError ("TeX/LaTeX finished unexpectedly") // kpathsea: I can't find the format file `tex.fmt'!
Product: Gentoo Linux Reporter: Witold Piłat <witold.pilat>
Component: [OLD] DevelopmentAssignee: Python Gentoo Team <python>
Status: RESOLVED FIXED    
Severity: normal    
Priority: Normal    
Version: unspecified   
Hardware: All   
OS: Linux   
Whiteboard:
Package list:
Runtime testing required: ---
Attachments: hello.py

Description Witold Piłat 2014-07-01 15:26:45 UTC
Created attachment 380056 [details]
hello.py

Running python on sample hello.py yields:

RuntimeError ("TeX/LaTeX finished unexpectedly")

Running tex on generated .tex file yields:

kpathsea: running mktexfm tex.fmt
I can't find the format file `tex.fmt'!

tex.fmt can be found in app-tex/texlive-core and installing it actually fixes the problem.

Steps to reproduce:
1. emerge dev-python/pyx; emerge -C app-tex/texlive-core
2. run attached script and run tex on generated hello.tex file
Comment 1 Witold Piłat 2014-07-01 15:53:35 UTC
Mistake: tex.fmt is in dev-texlive/texlive-basic not app-tex/texlive-core.
Comment 2 Ian Delaney (RETIRED) gentoo-dev 2014-07-02 13:49:35 UTC
  02 Jul 2014; Ian Delaney <idella4@gentoo.org> pyx-0.12.1-r1.ebuild,
  pyx-0.13.ebuild:
  add missing rdep texlive-basic, patch by fau, fixes Bug #516004 also by fau