dev-texlive/texlive-basic-2O1O failed to build on my machine after its recent stabilization. The compilation process was complaining about missing language files such as "dehypht-x-2009-06-19.tex". This issue has been experienced by other users such as Grothendieck on http://forums.gentoo.org/viewtopic-t-890580.html. Installing some language packs seems to help but then one gets stuck on the missing "ushyphmax.tex", which has been removed/renamed from the texlive distribution a while ago, but is still referenced by /etc/texmf/tex/generic/config/language.dat Reproducible: Always Steps to Reproduce: 1. emerge dev-texlive/texlive-basic 2. emerge texlive-langgerman, texlive-langother, texlive-langgreek and texlive-langcyrillic 3. emerge dev-texlive/texlive-basic 4. emerge dev-texlive/texlive-latex Actual Results: 1. fails 2. succeeds 3. succeeds 4. fails Expected Results: 1. succeeds 2. succeds 3. succeeds 4. succeeds That was for the actual report, now for the speculation and a possible fix. I've traced this down to tex using the default /usr/share/texmf/tex/generic/config/language.def file, which is not system specific. I have further traced this down to texmf-update not correctly doing its job when some base files are missing from the /etc/texmf/tex/generic/config/ directory. My directory was only containing language.dat (and an old version of it, because it still refers to ushyphmax.tex), so texmf-update skipped it. I have been able to fix the problem using the following commands: cp /usr/share/texmf/tex/generic/config/language.{us,us.def} /etc/texmf/tex/generic/config/ touch /etc/texmf/tex/generic/config/language.def texmf-update After that, I was able to merge texlive-basic and texlive-latex successfully, even without the above mentioned language modules.
Similar to bug #377447 I suspect, as CONFIG_PROTECT-ed files would not have been updated in between dozens of texlive package merges, which has utils from the earlier packages using configuration files from the older release.
Not sure I see what you mean, but to clarify, I still had this error after I ran dispatch-conf (and resolved all tex related updates with "use-new")
I had the same problem compiling texlive-basic (upgrading from -2008), and finally got it to work by: 1) equery b -f '/etc/texmf/.*' 2) Uninstalling all of the above reported ebuilds. 3) rm -rf /etc/texmf 4) emerge texlive I believe the problem was caused by files in /etc/texmf/tex that were left by some old version of tex.
I had the exact same problem. Thanks for the advice David, it's working fine after following your steps.
(In reply to comment #3) Thanks, Henrik. I had the same problem and previously already tried emerge -C `qlist -I -C dev-texlive/*` emerge -C texlive texlive-core emerge -C everything else that eix tex listed as installed and of which I thought it may cause problems rm -Rf /etc/texmf rm -Rf /usr/share/texmf* rm -Rf /var/lib/texmf without any change. I had to remove the packages app-text/xdvik, dev-libs/kpathsea and dev-tex/xmltex as well (did not look to me like they could cause any problems) which I did not find without equery b -f '/etc/texmf/.*' (your step 1).
An old language.dat was the reason here too (upgrading from texlive 2008 to 2010) why installing texlive-basic-2010 failed. "kpsewhich language.dat" pointed to "/var/lib/texmf/tex/generic/config/language.dat" which was old. And texmf-update assumes that language.us resides where kpsewhich points to, otherwise it won't update language.dat. The TexLive guide doesn't mention to delete this file. The solution here was to delete /var/lib/texmf/tex/generic/config/language.dat.
well, not sure whats the resolution here, but please update config-protected files and attach a failing build log so that i can see if this is a real issue