[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: Bug#356476: texinfo - fails to install



Bastian Blank <waldi@debian.org> wrote:

> On Mon, Mar 13, 2006 at 11:46:32AM +0100, Frank Küster wrote:
>> - set and export KPATHSEA_DEBUG=126 and try again, there'll be a lot of
>>   output on stderr which we need to analyse
>
> See attachment.

Thanks.

kdebug:start search(file=texmf.cnf, must_exist=1, find_all=1, path=/usr/bin:/usr:/:/usr/bin/share/texmf-local/web2c:/usr
/share/texmf-local/web2c://share/texmf-local/web2c:/usr/bin/texmf-local/web2c:/usr/texmf-local/web2c://texmf-local/web2c
:/usr/bin/share/texmf/web2c:/usr/share/texmf/web2c://share/texmf/web2c:/usr/bin/texmf/web2c:/usr/texmf/web2c://texmf/web
2c::/usr/share/texmf/web2c:/usr/share/texmf/web2c).
kdebug:path element /usr/bin => /usr/bin/
kdebug:path element /usr => /usr/
kdebug:path element / => /
kdebug:path element /usr/bin/share/texmf-local/web2c =>
kdebug:path element /usr/share/texmf-local/web2c =>
kdebug:path element //share/texmf-local/web2c =>
kdebug:path element /usr/bin/texmf-local/web2c =>
kdebug:path element /usr/texmf-local/web2c =>
kdebug:path element //texmf-local/web2c =>
kdebug:path element /usr/bin/share/texmf/web2c =>
kdebug:path element /usr/share/texmf/web2c => /usr/share/texmf/web2c/
kdebug:path element //share/texmf/web2c =>
kdebug:path element /usr/bin/texmf/web2c =>
kdebug:path element /usr/texmf/web2c =>
kdebug:path element //texmf/web2c =>
kdebug:hash_lookup(TEXMFDBS.kpsewhich) => (nil)
kdebug:hash_lookup(TEXMFDBS) => (nil)
kdebug:Search path for ls-R files (from compile-time paths.h)

This means that on the buildd

- TEXMFDBS doesn't contain anything; it should contain lots of TEXMF
  trees

- consequently, texmf.cnf is not found, and the variable is not set. 

Well, and knowing this, it's even simple to reproduce in a sid chroot:

apt-get install texinfo tex-common tetex-bin

The reason is that all of them are unpacked, libkpathsea4 is the first
to get configured, and therefore the test in texinfo's postinst script
works fine.  However, since tex-common is not configured yet, there is
not texmf.cnf at all.

So, assuming that we do not want to let texinfo depend on tex-common, I
think we can just test for the existence of texmf.cnf (either [ -f
/etc/texmf/texmf.cnf ], or "kpsewhich texmf.cnf >/dev/null")

Regards, Frank
-- 
Frank Küster
Single Molecule Spectroscopy, Protein Folding @ Inst. f. Biochemie, Univ. Zürich
Debian Developer (teTeX)



Reply to: