You are not logged in.

#1 2008-06-28 01:15:38

slide_rule
Member
From: loglogdecalog
Registered: 2007-09-16
Posts: 33

kpsewhich hangs

I'm trying to install texlive-most on my system, and I get to this:

( 1/17) upgrading texlive-core                      [########################################################] 100%

Then there's a long pause while kpsewhich hogs a whole bunch of CPU time, then I see this

mktexlsr: Updating /opt/texlive/texmf/ls-R... 
mktexlsr: Updating /opt/texlive/texmf-dist/ls-R... 
mktexlsr: Updating /opt/texlive/texmf-local/ls-R... 
mktexlsr: Updating /opt/texlive/texmf-var/ls-R... 
mktexlsr: Updating /var/tmp/texfonts/ls-R... 
mktexlsr: Done.

And then the install process hangs pretty completely (5+ min), and top shows me that kpsewhich is eating all the available CPU time on one of my cores.
I tried to figure out what it does, so I ran "kpsewhich --help," got the help message, and then it hung right after

Recognized format names and their suffixes:

It did eventually print the list, though.  So there seems to be an issue with kpsewhich, can anyone help diagnose it?  I'm running i686
I did an strace on it, and got this:

stat64("/home/ryan/installers/sage-2.8.15/local/lib/python2.5/symtable.py", {st_mode=S_IFREG|0644, st_size=7710, ...}) = 0
stat64("/home/ryan/installers/sage-2.8.15/local/lib/python2.5/macurl2path.pyo", {st_mode=S_IFREG|0644, st_size=2989, ...}) = 0
stat64("/home/ryan/installers/sage-2.8.15/local/lib/python2.5/wave.pyo", {st_mode=S_IFREG|0644, st_size=21092, ...}) = 0
stat64("/home/ryan/installers/sage-2.8.15/local/lib/python2.5/MimeWriter.py", {st_mode=S_IFREG|0644, st_size=6341, ...}) = 0
stat64("/home/ryan/installers/sage-2.8.15/local/lib/python2.5/contextlib.py", {st_mode=S_IFREG|0644, st_size=4105, ...}) = 0
stat64("/home/ryan/installers/sage-2.8.15/local/lib/python2.5/tempfile.pyc", {st_mode=S_IFREG|0644, st_size=15160, ...}) = 0
getdents(8, /* 99 entries */, 4096)     = 2400
stat64("/home/ryan/installers/sage-2.8.15/local/lib/python2.5/types.pyc", {st_mode=S_IFREG|0644, st_size=2916, ...}) = 0
stat64("/home/ryan/installers/sage-2.8.15/local/lib/python2.5/types.pyo", {st_mode=S_IFREG|0644, st_size=2916, ...}) = 0

It seems to be doing a stat64 on pretty much every file it can find, which can't be right.  Any help?

[edit]
Ok, I installed tetex instead, but running latex hangs, and it's doing the same damn dance: running a stat on every single file it can get its hands on.
They both seem to be looking for the file .texmf-config, I tried creating an empty one in my home directory to get it to shut up, but it keeps on going.
[/edit]

Last edited by slide_rule (2008-06-28 01:31:21)

Offline

#2 2008-06-28 15:23:11

slide_rule
Member
From: loglogdecalog
Registered: 2007-09-16
Posts: 33

Re: kpsewhich hangs

Ok, I found the problem:  my home directory in /etc/passwd had a trailing slash.  Removing that and a relogin fixed the problem.

Is this my mistake when using the useradd script?

Offline

Board footer

Powered by FluxBB