Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 368833 - dev-texlive/texlive-latex-2008-r2 - /usr/bin/fmtutil: line 317: pdftex: command not found
Summary: dev-texlive/texlive-latex-2008-r2 - /usr/bin/fmtutil: line 317: pdftex: comma...
Status: VERIFIED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal normal (vote)
Assignee: Alexis Ballier
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2011-05-27 01:49 UTC by Neil Leathers
Modified: 2011-08-11 01:08 UTC (History)
1 user (show)

See Also:
Package list:
Runtime testing required: ---


Attachments
Build Log (build.log,8.94 KB, text/plain)
2011-05-27 01:49 UTC, Neil Leathers
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Neil Leathers 2011-05-27 01:49:23 UTC
Building texlive-latex fails when pdftex is not available and pdftex is not a 

 * Building format texmf/fmtutil/format.latex.cnf
fmtutil: running `pdftex -ini   -jobname=latex -progname=latex -translate-file=cp227.tcx *latex.ini' ...
/usr/bin/fmtutil: line 317: pdftex: command not found


Reproducible: Always
Comment 1 Neil Leathers 2011-05-27 01:49:51 UTC
Created attachment 274737 [details]
Build Log
Comment 2 Neil Leathers 2011-05-27 01:51:16 UTC
... and pdftex is not a dependency pulled in automatically.
Comment 3 Alexis Ballier gentoo-dev 2011-06-01 14:16:59 UTC
the default pdftex is provided by texlive-core; what does ls -l /usr/bin/pdftex say?
Comment 4 sphakka 2011-07-08 19:44:01 UTC
(In reply to comment #3)
> the default pdftex is provided by texlive-core; what does ls -l /usr/bin/pdftex
> say?

$ ls -l /usr/bin/pdftex
lrwxrwxrwx 1 root root 24 Jul  5 17:04 /usr/bin/pdftex -> pdftex-texlive-core-2008

I also got in troubles here.
The real problem seems to be luatex which croaks "zlib library version does not match - header: 1.2.3, library: 1.2.5" (also in the attached build log)

------------------------------------------
fmtutil: /var/tmp/portage/dev-texlive/texlive-latex-2008-r2/work/texmf-var/web2c/pdftex/pdflatex.fmt installed.
fmtutil: running `luatex -ini   -jobname=lualatex -progname=lualatex lualatex.ini' ...
PANIC: unprotected error in call to Lua API (zlib library version does not match - header: 1.2.3, library: 1.2.5)
Error: `luatex -ini  -jobname=lualatex -progname=lualatex lualatex.ini' failed
fmtutil: running `luatex -ini   -jobname=pdflualatex -progname=pdflualatex pdflualatex.ini' ...
PANIC: unprotected error in call to Lua API (zlib library version does not match - header: 1.2.3, library: 1.2.5)
Error: `luatex -ini  -jobname=pdflualatex -progname=pdflualatex pdflualatex.ini' failed
------------------------------------------

My zlib is indeed 1.2.5-r2, though I don't know why luatex claims its headers are 1.2.3:

  $ luatex 
  PANIC: unprotected error in call to Lua API (zlib library version does not 
  match - header: 1.2.3, library: 1.2.5

so I recompiled dev-tex/luatex, then texlive-latex recompiles fine :-)
I wonder why revdep-rebuild didn't catch it...

HTH!

  ^s