Bug 246668 - dev-texlive/texlive-latex-2008-r1 - ! I can't find file `grahyph5.tex'.
|
Bug#:
246668
|
Product: Gentoo Linux
|
Version: unspecified
|
Platform: x86
|
|
OS/Version: Linux
|
Status: RESOLVED
|
Severity: normal
|
Priority: P2
|
|
Resolution: FIXED
|
Assigned To: tex@gentoo.org
|
Reported By: dirk.heinrichs.ext@nsn.com
|
|
Component: Applications
|
|
|
URL:
|
|
Summary: dev-texlive/texlive-latex-2008-r1 - ! I can't find file `grahyph5.tex'.
|
|
Keywords:
|
|
Status Whiteboard:
|
|
Opened: 2008-11-14 07:02 0000
|
The update fails with the following error:
===========================================
Local configuration file hyphen.cfg used
===========================================
(/gentoo/build/dev-texlive-texlive-latex-2008-r1/work/texmf-dist/tex/generic/ba
bel/hyphen.cfg (/usr/share/texmf/tex/generic/hyphen/hyphen.tex)
(/usr/share/texmf/tex/generic/hyphen/ushyphmax.tex)
(/usr/share/texmf/tex/generic/hyphen/dumyhyph.tex)
(/usr/share/texmf/tex/generic/hyphen/zerohyph.tex)
(/usr/share/texmf-dist/tex/generic/dehyph-exptl/dehypht-x-2008-06-18.tex
Using an 8-bit TeX engine.
(/usr/share/texmf-dist/tex/generic/dehyph-exptl/dehypht-x-2008-06-18.pat
German Hyphenation Patterns (Traditional Orthography) `dehypht-x' 2008-06-18 (W
L))) (/usr/share/texmf-dist/tex/generic/dehyph-exptl/dehyphn-x-2008-06-18.tex
Using an 8-bit TeX engine.
(/usr/share/texmf-dist/tex/generic/dehyph-exptl/dehyphn-x-2008-06-18.pat
German Hyphenation Patterns (Reformed Orthography, 2006) `dehyphn-x' 2008-06-18
(WL)))
(/usr/share/texmf-dist/tex/generic/hyph-utf8/loadhyph/loadhyph-de-1901.tex
German Hyphenation Patterns (Traditional Orthography)
(/usr/share/texmf/tex/generic/hyphen/dehypht.tex
German Traditional Hyphenation Patterns `dehypht' Version 3.2a <1999/03/03>
(Formerly known under the name `ghyph31' and `ghyphen'.)))
(/usr/share/texmf-dist/tex/generic/hyph-utf8/loadhyph/loadhyph-de-1996.tex
German Hyphenation Patterns (Reformed Orthography)
(/usr/share/texmf/tex/generic/hyphen/dehyphn.tex
New German Hyphenation Patterns `dehyphn' Rev.31 <2001-05-07> (WaS)))
(/usr/share/texmf-dist/tex/generic/hyph-utf8/loadhyph/loadhyph-grc.tex
Hyphenation patterns for Ancient Greek
! I can't find file `grahyph5.tex'.
l.27 \input grahyph5.tex
(Press Enter to retry, or Control-D to exit)
Please type another input file name:
! Emergency stop.
l.27 \input grahyph5.tex
! ==> Fatal error occurred, no output PDF file produced!
Transcript written on pdflatex.log.
Error: `pdftex -ini -jobname=pdflatex -progname=pdflatex
-translate-file=cp227.tcx *pdflatex.ini' failed
fmtutil: running `luatex -ini -jobname=lualatex -progname=lualatex
lualatex.ini' ...
And another, similar one a bit later:
===========================================
Local configuration file hyphen.cfg used
===========================================
(/gentoo/build/dev-texlive-texlive-latex-2008-r1/work/texmf-dist/tex/generic/ba
bel/hyphen.cfg (/usr/share/texmf/tex/generic/hyphen/hyphen.tex)
(/usr/share/texmf/tex/generic/hyphen/ushyphmax.tex)
(/usr/share/texmf/tex/generic/hyphen/dumyhyph.tex)
(/usr/share/texmf/tex/generic/hyphen/zerohyph.tex)
(/usr/share/texmf-dist/tex/generic/dehyph-exptl/dehypht-x-2008-06-18.tex
Using a TeX engine with native UTF-8 support.
(/usr/share/texmf-dist/tex/generic/dehyph-exptl/dehypht-x-2008-06-18.pat
German Hyphenation Patterns (Traditional Orthography) `dehypht-x' 2008-06-18 (W
L))) (/usr/share/texmf-dist/tex/generic/dehyph-exptl/dehyphn-x-2008-06-18.tex
Using a TeX engine with native UTF-8 support.
(/usr/share/texmf-dist/tex/generic/dehyph-exptl/dehyphn-x-2008-06-18.pat
German Hyphenation Patterns (Reformed Orthography, 2006) `dehyphn-x' 2008-06-18
(WL)))
(/usr/share/texmf-dist/tex/generic/hyph-utf8/loadhyph/loadhyph-de-1901.tex
UTF-8 German Hyphenation Patterns (Traditional Orthography)
(/usr/share/texmf-dist/tex/generic/hyph-utf8/patterns/hyph-de-1901.tex
German Hyphenation Patterns (Traditional Orthography) `dehypht-x' 2008-06-18 (W
L))) (/usr/share/texmf-dist/tex/generic/hyph-utf8/loadhyph/loadhyph-de-1996.tex
UTF-8 German Hyphenation Patterns (Reformed Orthography)
(/usr/share/texmf-dist/tex/generic/hyph-utf8/patterns/hyph-de-1996.tex
German Hyphenation Patterns (Reformed Orthography, 2006) `dehyphn-x' 2008-06-18
(WL))) (/usr/share/texmf-dist/tex/generic/hyph-utf8/loadhyph/loadhyph-grc.tex
UTF-8 Hyphenation patterns for Ancient Greek
(/usr/share/texmf-dist/tex/generic/hyph-utf8/patterns/hyph-grc.tex))
! I can't find file `ibyhyph.tex'.
<to be read again>
\relax
l.370 \repeat
Please type another input file name:
! Emergency stop.
<to be read again>
\relax
l.370 \repeat
node memory in use: 190 words out of 500
rapidly available: 2:9, 3:1 nodes
current usage: 31 glue_spec, 3 if_stack, 1 dir nodes
! ==> Fatal error occurred, no output PDF file produced!
Transcript written on pdflualatex.log.
Error: `luatex -ini -jobname=pdflualatex -progname=pdflualatex
pdflualatex.ini' failed
Then, it also gives a short failure summary:
###############################################################################
fmtutil: Error! Not all formats have been built successfully.
Visit the log files in directory
/gentoo/build/dev-texlive-texlive-latex-2008-r1/work/texmf-var/web2c
for details.
###############################################################################
This is a summary of all `failed' messages and warnings:
`pdftex -ini -jobname=latex -progname=latex -translate-file=cp227.tcx
*latex.ini' failed
`pdftex -ini -jobname=pdflatex -progname=pdflatex -translate-file=cp227.tcx
*pdflatex.ini' failed
`luatex -ini -jobname=lualatex -progname=lualatex lualatex.ini' failed
`luatex -ini -jobname=pdflualatex -progname=pdflualatex pdflualatex.ini'
failed
Reproducible: Always
Steps to Reproduce:
1. paludis -i1 texlive-latex or paludis -i everything
Actual Results:
See above.
Expected Results:
Package should be updated.
Relevant use flags:
# paludis -ip texlive-latex
Building target list...
Building dependency list...
These packages will be installed:
* dev-texlive/texlive-latex [U 2008 -> 2008-r1] <target>
doc -source
Please post your `emerge --info' too.
Since I use paludis, emerge --info would be useless, so here is
# paludis --info
paludis 0.30.3
Paludis build information:
Compiler:
CXX: i686-pc-linux-gnu-g++ 4.3.2
CXXFLAGS: -O2 -march=pentium4 -fomit-frame-pointer -pipe
LDFLAGS: -Wl,-O1
DATE: 2008-10-13T09:32:51+0200
Libraries:
C++ Library: GNU libstdc++ 20080827
Reduced Privs:
reduced_uid: 109
reduced_uid->name: paludisbuild
reduced_uid->dir: /dev/null
reduced_gid: 560
reduced_gid->name: paludisbuild
Paths:
DATADIR: /usr/share
LIBDIR: /usr/lib
LIBEXECDIR: /usr/libexec
SYSCONFDIR: /etc
PYTHONINSTALLDIR: /usr/lib/python2.5/site-packages
RUBYINSTALLDIR: /usr/lib/ruby/site_ruby/1.8/i686-linux
Environment:
Format: paludis
Config dir: /etc/paludis
World file: /var/lib/portage/world
Package information:
app-admin/eselect-compiler: (none)
app-shells/bash: 3.2_p39
dev-java/java-config: 1.3.7 2.1.6-r1
dev-lang/python: 2.5.2-r8
dev-python/pycrypto: (none)
dev-util/ccache: 2.4-r8
dev-util/cmake: 2.6.2
dev-util/confcache: (none)
sys-apps/baselayout: 2.0.0
sys-apps/openrc: 0.3.0-r1
sys-apps/sandbox: 1.2.18.1-r3
sys-devel/autoconf: 2.13 2.63
sys-devel/automake: 1.10.1-r1 1.5 1.6.3 1.7.9-r1 1.8.5-r3 1.9.6-r2
sys-devel/binutils: 2.19
sys-devel/gcc-config: 1.4.0-r4
sys-devel/libtool: 2.2.6a
virtual/os-headers: 2.6.27-r2 (for
sys-kernel/linux-headers::installed)
(In reply to comment #0)
> (/usr/share/texmf-dist/tex/generic/hyph-utf8/loadhyph/loadhyph-grc.tex
$ grep loadhyph-grc.tex /etc/texmf/language.d*.d/*
/etc/texmf/language.dat.d/language.texlive-langgreek.dat:ancientgreek
loadhyph-grc.tex
/etc/texmf/language.def.d/language.texlive-langgreek.def:\addlanguage{ancientgreek}{loadhyph-grc.tex}{}{1}{1}
> ! I can't find file `grahyph5.tex'.
$ equery belongs grahyph5.tex
[ Searching for file(s) grahyph5.tex in *... ]
dev-texlive/texlive-langgreek-2008
(/usr/share/texmf/tex/generic/hyphen/grahyph5.tex)
do you have it installed?
i've added the language.d*.d directories to config_protect_mask explicitly for
this reason, because these files need to go when the package gets removed.
(In reply to comment #3)
> (In reply to comment #0)
> > (/usr/share/texmf-dist/tex/generic/hyph-utf8/loadhyph/loadhyph-grc.tex
>
>
> $ grep loadhyph-grc.tex /etc/texmf/language.d*.d/*
> /etc/texmf/language.dat.d/language.texlive-langgreek.dat:ancientgreek
> loadhyph-grc.tex
> /etc/texmf/language.def.d/language.texlive-langgreek.def:\addlanguage{ancientgreek}{loadhyph-grc.tex}{}{1}{1}
>
> > ! I can't find file `grahyph5.tex'.
>
> $ equery belongs grahyph5.tex
> [ Searching for file(s) grahyph5.tex in *... ]
> dev-texlive/texlive-langgreek-2008
> (/usr/share/texmf/tex/generic/hyphen/grahyph5.tex)
>
>
> do you have it installed?
No, I don't.
> i've added the language.d*.d directories to config_protect_mask explicitly for
> this reason, because these files need to go when the package gets removed.
But I had these two files. However, simply removing them doesn't help, is there
anything else I need to do?
I finally solved it:
I installed texlive-langgreek which made the .def and .dat file reappear. I
uninstalled it again, but the files stayed. I checked "emerge --info" output,
but I only have /etc/texmf/web2c in CONFIG_PROTECT_MASK, but no other
tex-related directory. So I deleted them again and a quick look into
texlive-modules.eclass showed that it runs texmf-update after package
(un-)installation, so I did this also. After that textlive-latex couold be
installed w/o problems.
(In reply to comment #5)
> I finally solved it:
>
> I installed texlive-langgreek which made the .def and .dat file reappear. I
> uninstalled it again, but the files stayed. I checked "emerge --info" output,
> but I only have /etc/texmf/web2c in CONFIG_PROTECT_MASK, but no other
> tex-related directory. So I deleted them again and a quick look into
> texlive-modules.eclass showed that it runs texmf-update after package
> (un-)installation, so I did this also. After that textlive-latex couold be
> installed w/o problems.
>
hmm... i didn't revbump tl-core after that change... that's probably the
reason, i'll revbump it and the bug can be closed i think. As a test you could
try to do the same thing after rebuilding texlive-core
Did a quick diff:
# diff
/gentoo/overlays/portage/app-text/texlive-core/texlive-core-2008-r3.ebuild
/var/db/pkg/app-text/texlive-core-2008-r3/texlive-core-2008-r3.ebuild
3c3
< # $Header:
/var/cvsroot/gentoo-x86/app-text/texlive-core/texlive-core-2008-r3.ebuild,v 1.3
2008/11/15 20:04:51 aballier Exp $
---
> # $Header: /var/cvsroot/gentoo-x86/app-text/texlive-core/texlive-core-2008-r3.ebuild,v 1.1 2008/10/26 13:30:05 aballier Exp $
72d71
< !app-text/dvibook
227c226
< echo 'CONFIG_PROTECT_MASK="/etc/texmf/web2c /etc/texmf/language.dat.d
/etc/texmf/language.def.d"' > "${D}/etc/env.d/98texlive"
---
> echo 'CONFIG_PROTECT_MASK="/etc/texmf/web2c"' > "${D}/etc/env.d/98texlive"
So the one I have installed indeed only added /etc/texmf/web2c to
CONFIG_PROTECT_MASK.
(In reply to comment #6)
> As a test you could
> try to do the same thing after rebuilding texlive-core
Done. I re-installed texlive-core and source'd /etc/profile. Now I have the two
additional directories in CONFIG_PROTECT_MASK. So I installed and uninstalled
texlive-langgreek again and the files from those two directories that came with
it were gone again afterwards. Looks fine now.
One last thing to mention, though: While uninstalling, I still see this line
--- [cfgpr] /etc/texmf/updmap.d/texlive-langgreek.cfg
so one file is still kept. Don't know wether that will cause any trouble (it
doesn't seem to now), just wanted to make you aware of it.
(In reply to comment #8)
> (In reply to comment #6)
> > As a test you could
> > try to do the same thing after rebuilding texlive-core
>
> Done. I re-installed texlive-core and source'd /etc/profile. Now I have the two
> additional directories in CONFIG_PROTECT_MASK. So I installed and uninstalled
> texlive-langgreek again and the files from those two directories that came with
> it were gone again afterwards. Looks fine now.
i've revbumped tl-core, so now it should be fine for everyone
> One last thing to mention, though: While uninstalling, I still see this line
>
> --- [cfgpr] /etc/texmf/updmap.d/texlive-langgreek.cfg
>
> so one file is still kept. Don't know wether that will cause any trouble (it
> doesn't seem to now), just wanted to make you aware of it.
thanks for spotting this; i've added that dir to CONFIG_PROTECT_MASK too; it
shouldn't hurt to have invalid entries there because the tools using it should
be clever enough, but still there is no point in keeping invalid entries there.
-> fixed