Bug 1074012 - pdflatex.fmt missing
pdflatex.fmt missing
Status: RESOLVED WONTFIX
Classification: openSUSE
Product: openSUSE Tumbleweed
Classification: openSUSE
Component: Installation
Current
Other Other
: P5 - None : Normal (vote)
: ---
Assigned To: Atri Bhattacharya
Jiri Srain
:
Depends on:
Blocks:
  Show dependency treegraph
 
Reported: 2017-12-22 16:03 UTC by ytg 895
Modified: 2019-01-21 02:15 UTC (History)
2 users (show)

See Also:
Found By: ---
Services Priority:
Business Priority:
Blocker: ---
Marketing QA Status: ---
IT Deployment: ---


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description ytg 895 2017-12-22 16:03:22 UTC
I installed gummi with sudo zypper install --no-recommends gummi

Opening my LaTeX files gives the error for the preview:
This is pdfTeX, Version 3.14159265-2.6-1.40.18 (TeX Live 2017/TeX Live for SUSE Linux) (preloaded format=pdflatex)
 \write18 enabled.
I can't find the format file `pdflatex.fmt'!

Trying to convert the file to PDF in the command line gives a somewhat similar error:

This is pdfTeX, Version 3.14159265-2.6-1.40.18 (TeX Live 2017/TeX Live for SUSE Linux) (preloaded format=pdflatex)
 restricted \write18 enabled.

kpathsea: Running mktexfmt pdflatex.fmt
mktexfmt [ERROR]: -user mode but path setup is -sys type, bailing out.
I can't find the format file `pdflatex.fmt'!

sudo texhash didn't help

sudo fmtutil --all ran into errors too
fmtutil [INFO]: Failed to build: 6 (pdftex/pdftex pdftex/etex pdftex/latex pdftex/mllatex pdftex/pdflatex pdftex/pdfetex)

(I expect it to work out of the box anyway.)
Comment 1 Josef Reidinger 2017-12-28 11:45:42 UTC
reassigning to gummi maintainer.
Comment 2 Michael Karbach 2018-05-26 13:51:49 UTC
Same problem for me for a fresh installed OS-15.0. Actually there is no ls-R:

wptnb8:mk/topics> pdflatex Function_theta.tex
warning: kpathsea: /etc/texmf/ls-R: No usable entries in ls-R.
warning: kpathsea: See the manual for how to generate ls-R.
warning: kpathsea: /var/lib/texmf/ls-R: No usable entries in ls-R.
warning: kpathsea: See the manual for how to generate ls-R.
warning: kpathsea: /usr/share/texmf/ls-R: No usable entries in ls-R.
warning: kpathsea: See the manual for how to generate ls-R.
warning: kpathsea: /var/cache/texmf/fonts/ls-R: No usable entries in ls-R.
warning: kpathsea: See the manual for how to generate ls-R.
This is pdfTeX, Version 3.14159265-2.6-1.40.18 (TeX Live 2017/TeX Live for SUSE Linux) (preloaded format=pdflatex)
 restricted \write18 enabled.


And creating ls-r via 

su-wptnb8 /etc/sysconfig: texhash
public: texhash: Success

does nothing.
Comment 3 Atri Bhattacharya 2019-01-21 02:15:45 UTC
If you are using --no-recommends when installing using zypper, you are really on your own. The problem seems to be that the package "texlive-latex" which is correctly *Required* by gummi does not pull in all the recommended packages that texlive itself needs for pdflatex, etc. If the problem occurs even when installing without using --no-recommends, please open a bug against TeXLive.

P.S.:
1. I am sorry this slipped under my radar for so long.
2. Gummi seems to a dead project upstream anyway: no commits since Mar 18, 2016 <https://github.com/aitjcize/Gummi/commits/master>. I would recommend using a TeX editor that receives more upstream love. E.g. texmaker, gnome-latex (latexila on openSUSE Leap 15.0), among others.