[tlbuild] kpsewhich problem [Cygwin]

Angelo Graziosi angelo.graziosi at alice.it
Fri Dec 18 00:00:16 CET 2009

This morning I have done a fresh rsync of TL source:

rsync -avz --delete --exclude=.svn tug.org::tldevsrc/Build/source/ 

and of TL repo:

rsync -avz --delete --exclude=2008 --exclude=mactex* --exclude=Mac* 
tug.org::texlive/tlnet/ /tmp/tl2009_repo

Than, I have done a new build, and I have tried to install as:

/tmp/tl2009_repo/install-tl custom-bin /tmp/Master/bin/i386-cygwin

But it hangs at 'running updmap-sys...'

Installing [1862/1863, time/total: 22:18/22:19]: zwgetfdate [242k]
Installing [1863/1863, time/total: 22:19/22:19]: zwpagelayout [520k]
Time used for installing the packages: 22:19
running mktexlsr /usr/local/texlive/texmf-dist /usr/local/texlive/texmf
mktexlsr: Updating /usr/local/texlive/texmf-dist/ls-R...
mktexlsr: Updating /usr/local/texlive/texmf/ls-R...
mktexlsr: Done.
writing fmtutil.cnf data to /usr/local/texlive/texmf-var/web/fmtutil.cnf
writing updmap.cfg to /usr/local/texlive/texmf-config/web2c/updmap.cfg
writing language.dat data to 
writing language.def data to 

running mktexlsr /usr/local/texlive/texmf-var
mktexlsr: Updating /usr/local/texlive/texmf-var/ls-R...
mktexlsr: Done.
running updmap-sys...

Here, really, 'kpsewhich.exe' is hanging with 50% of CPU.

If, in the above procedure, I substitute the new binary of 
'kpsewhich.exe' with the one coming from previous build (20091205), the 
installation completes without problem.

So, I guess that something, changed between 20091205 and this morning, 
causes this regression. In the Changelog, I see, for example,

2009-12-15  Karl Berry  <karl at tug.org>

         * kpsewhich.c (-safe-in-name, -safe-out-name): new options.
         * doc/kpathsea.texi: document them.
         * tex-file.c (kpathsea_name_ok): introduce silent argument;
         change callers.
         * tex-file.h (kpathsea_{in,out}_name_ok_silent): declare these,
         now used in kpsewhich.
2009-12-14  Karl Berry  <karl at tug.org>

         * kpsewhich.c (separator): remove never-used variable/option.

         * kpsewhich.c (find_format): remove rearrangement of checking
         kpse_fmt_format last, since it doesn't have any special extensions
         now (what were they?).

2009-12-05  Karl Berry  <karl at tug.org>

         Suggested/reported by Daniel Luecking, 16 Nov 2009 11:58:00:

         * kpsewhich.c (init_more): split out lengthier initializations
         to own fn.  Initialize all mktex programs to false, so that
         cnf/env settings such as MKTEXPK=1 don't apply to kpsewhich.
         (read_command_line) <--[no-]mktex>: set must_exist, since
         otherwise the mktex program is never called.
         * doc/kpathsea.texi (Path searching options): minimally 
describe this.


More information about the tlbuild mailing list