<?xml version="1.0" encoding="UTF-8" standalone="yes" ?>
<!DOCTYPE bugzilla SYSTEM "http://bugs.gentoo.org/bugzilla.dtd">

<bugzilla version="2.22.7"
          urlbase="http://bugs.gentoo.org/"
          maintainer="bugzilla@gentoo.org"
>

    <bug>
          <bug_id>246668</bug_id>
          
          <creation_ts>2008-11-14 07:02 0000</creation_ts>
          <short_desc>dev-texlive/texlive-latex-2008-r1 - ! I can&apos;t find file `grahyph5.tex&apos;.</short_desc>
          <delta_ts>2008-11-20 10:08:40 0000</delta_ts>
          <reporter_accessible>1</reporter_accessible>
          <cclist_accessible>1</cclist_accessible>
          <classification_id>1</classification_id>
          <classification>Unclassified</classification>
          <product>Gentoo Linux</product>
          <component>Applications</component>
          <version>unspecified</version>
          <rep_platform>x86</rep_platform>
          <op_sys>Linux</op_sys>
          <bug_status>RESOLVED</bug_status>
          <resolution>FIXED</resolution>
          
          
          
          <priority>P2</priority>
          <bug_severity>normal</bug_severity>
          <target_milestone>---</target_milestone>
          
          
          
          <everconfirmed>1</everconfirmed>
          <reporter>dirk.heinrichs.ext@nsn.com</reporter>
          <assigned_to>tex@gentoo.org</assigned_to>
          <cc>dirk.heinrichs@online.de</cc>

      

      
          <long_desc isprivate="0">
            <who>dirk.heinrichs.ext@nsn.com</who>
            <bug_when>2008-11-14 07:02:44 0000</bug_when>
            <thetext>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&apos; 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&apos; 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&apos; Version 3.2a &lt;1999/03/03&gt;    
(Formerly known under the name `ghyph31&apos; and `ghyphen&apos;.)))                     
(/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&apos; Rev.31 &lt;2001-05-07&gt; (WaS)))          
(/usr/share/texmf-dist/tex/generic/hyph-utf8/loadhyph/loadhyph-grc.tex         
Hyphenation patterns for Ancient Greek                                         
! I can&apos;t find file `grahyph5.tex&apos;.                                            
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                                                   
                                                                               
!  ==&gt; 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&apos; failed
fmtutil: running `luatex -ini   -jobname=lualatex -progname=lualatex lualatex.ini&apos; ...

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&apos; 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&apos; 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&apos; 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&apos; 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&apos;t find file `ibyhyph.tex&apos;.                                             
&lt;to be read again&gt;                                                             
                   \relax                                                      
l.370   \repeat                                                                
                                                                               
Please type another input file name:                                           
! Emergency stop.                                                              
&lt;to be read again&gt;                                                             
                   \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                           
!  ==&gt; Fatal error occurred, no output PDF file produced!                      
Transcript written on pdflualatex.log.                                         
Error: `luatex -ini  -jobname=pdflualatex -progname=pdflualatex pdflualatex.ini&apos; 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&apos; messages and warnings:
`pdftex -ini  -jobname=latex -progname=latex -translate-file=cp227.tcx *latex.ini&apos; failed
`pdftex -ini  -jobname=pdflatex -progname=pdflatex -translate-file=cp227.tcx *pdflatex.ini&apos; failed
`luatex -ini  -jobname=lualatex -progname=lualatex lualatex.ini&apos; failed                           
`luatex -ini  -jobname=pdflualatex -progname=pdflualatex pdflualatex.ini&apos; 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 -&gt; 2008-r1] &lt;target&gt;
    doc -source</thetext>
          </long_desc>
          <long_desc isprivate="0">
            <who>jer@gentoo.org</who>
            <bug_when>2008-11-14 07:08:37 0000</bug_when>
            <thetext>Please post your `emerge --info&apos; too.</thetext>
          </long_desc>
          <long_desc isprivate="0">
            <who>dirk.heinrichs.ext@nsn.com</who>
            <bug_when>2008-11-14 07:24:57 0000</bug_when>
            <thetext>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-&gt;name:     paludisbuild
        reduced_uid-&gt;dir:      /dev/null   
        reduced_gid:           560         
        reduced_gid-&gt;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)
</thetext>
          </long_desc>
          <long_desc isprivate="0">
            <who>aballier@gentoo.org</who>
            <bug_when>2008-11-18 17:07:31 0000</bug_when>
            <thetext>(In reply to comment #0)
&gt; (/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}

&gt; ! I can&apos;t find file `grahyph5.tex&apos;.                                            

$ 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&apos;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.</thetext>
          </long_desc>
          <long_desc isprivate="0">
            <who>dirk.heinrichs.ext@nsn.com</who>
            <bug_when>2008-11-19 07:25:15 0000</bug_when>
            <thetext>(In reply to comment #3)
&gt; (In reply to comment #0)
&gt; &gt; (/usr/share/texmf-dist/tex/generic/hyph-utf8/loadhyph/loadhyph-grc.tex         
&gt; 
&gt; 
&gt; $  grep loadhyph-grc.tex /etc/texmf/language.d*.d/*
&gt; /etc/texmf/language.dat.d/language.texlive-langgreek.dat:ancientgreek
&gt; loadhyph-grc.tex
&gt; /etc/texmf/language.def.d/language.texlive-langgreek.def:\addlanguage{ancientgreek}{loadhyph-grc.tex}{}{1}{1}
&gt; 
&gt; &gt; ! I can&apos;t find file `grahyph5.tex&apos;.                                            
&gt; 
&gt; $ equery belongs grahyph5.tex
&gt; [ Searching for file(s) grahyph5.tex in *... ]
&gt; dev-texlive/texlive-langgreek-2008
&gt; (/usr/share/texmf/tex/generic/hyphen/grahyph5.tex)
&gt; 
&gt; 
&gt; do you have it installed?

No, I don&apos;t.

&gt; i&apos;ve added the language.d*.d directories to config_protect_mask explicitly for
&gt; this reason, because these files need to go when the package gets removed.

But I had these two files. However, simply removing them doesn&apos;t help, is there anything else I need to do?</thetext>
          </long_desc>
          <long_desc isprivate="0">
            <who>dirk.heinrichs.ext@nsn.com</who>
            <bug_when>2008-11-19 09:01:08 0000</bug_when>
            <thetext>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 &quot;emerge --info&quot; 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.</thetext>
          </long_desc>
          <long_desc isprivate="0">
            <who>aballier@gentoo.org</who>
            <bug_when>2008-11-19 09:20:43 0000</bug_when>
            <thetext>(In reply to comment #5)
&gt; I finally solved it:
&gt; 
&gt; I installed texlive-langgreek which made the .def and .dat file reappear. I
&gt; uninstalled it again, but the files stayed. I checked &quot;emerge --info&quot; output,
&gt; but I only have /etc/texmf/web2c in CONFIG_PROTECT_MASK, but no other
&gt; tex-related directory. So I deleted them again and a quick look into
&gt; texlive-modules.eclass showed that it runs texmf-update after package
&gt; (un-)installation, so I did this also. After that textlive-latex couold be
&gt; installed w/o problems.
&gt; 

hmm... i didn&apos;t revbump tl-core after that change... that&apos;s probably the reason, i&apos;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
</thetext>
          </long_desc>
          <long_desc isprivate="0">
            <who>dirk.heinrichs.ext@nsn.com</who>
            <bug_when>2008-11-19 09:34:15 0000</bug_when>
            <thetext>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
&lt; # $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 $
---
&gt; # $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
&lt;       !app-text/dvibook
227c226
&lt;       echo &apos;CONFIG_PROTECT_MASK=&quot;/etc/texmf/web2c /etc/texmf/language.dat.d /etc/texmf/language.def.d&quot;&apos; &gt; &quot;${D}/etc/env.d/98texlive&quot;
---
&gt;       echo &apos;CONFIG_PROTECT_MASK=&quot;/etc/texmf/web2c&quot;&apos; &gt; &quot;${D}/etc/env.d/98texlive&quot;

So the one I have installed indeed only added /etc/texmf/web2c to CONFIG_PROTECT_MASK.</thetext>
          </long_desc>
          <long_desc isprivate="0">
            <who>dirk.heinrichs.ext@nsn.com</who>
            <bug_when>2008-11-19 10:30:36 0000</bug_when>
            <thetext>(In reply to comment #6)
&gt; As a test you could
&gt; try to do the same thing after rebuilding texlive-core
 
Done. I re-installed texlive-core and source&apos;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&apos;t know wether that will cause any trouble (it doesn&apos;t seem to now), just wanted to make you aware of it.
</thetext>
          </long_desc>
          <long_desc isprivate="0">
            <who>aballier@gentoo.org</who>
            <bug_when>2008-11-20 10:08:40 0000</bug_when>
            <thetext>(In reply to comment #8)
&gt; (In reply to comment #6)
&gt; &gt; As a test you could
&gt; &gt; try to do the same thing after rebuilding texlive-core
&gt; 
&gt; Done. I re-installed texlive-core and source&apos;d /etc/profile. Now I have the two
&gt; additional directories in CONFIG_PROTECT_MASK. So I installed and uninstalled
&gt; texlive-langgreek again and the files from those two directories that came with
&gt; it were gone again afterwards. Looks fine now.

i&apos;ve revbumped tl-core, so now it should be fine for everyone


&gt; One last thing to mention, though: While uninstalling, I still see this line
&gt; 
&gt; --- [cfgpr] /etc/texmf/updmap.d/texlive-langgreek.cfg
&gt; 
&gt; so one file is still kept. Don&apos;t know wether that will cause any trouble (it
&gt; doesn&apos;t seem to now), just wanted to make you aware of it.

thanks for spotting this; i&apos;ve added that dir to CONFIG_PROTECT_MASK too; it shouldn&apos;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.


-&gt; fixed</thetext>
          </long_desc>
      
    </bug>

</bugzilla>