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

Bug#291545: tetex-bin: initex fails to generate some etmf files



Hola Frank Küster!

> To find out what happened, please do the following, and send us the
> output:
> 
> grep texmf.cnf /var/lib/ucf/hashfile
2150a9c617c9c8f221dcb152bd9f34d2  /etc/texmf/texmf.cnf

> md5sum /etc/texmf/texmf.cnf
bde0d80810778ec19464ef7ad0004b35  /etc/texmf/texmf.cnf

> update-texmf -d
marga@fobos:~$ sudo update-texmf -d
Using the following files:
/etc/texmf/texmf.d/05TeXMF.cnf
/etc/texmf/texmf.d/15Plain.cnf
/etc/texmf/texmf.d/45TeXinputs.cnf
/etc/texmf/texmf.d/55Fonts.cnf
/etc/texmf/texmf.d/65BibTeX.cnf
/etc/texmf/texmf.d/75DviPS.cnf
/etc/texmf/texmf.d/85Misc.cnf
/etc/texmf/texmf.d/90TeXDoc.cnf
/etc/texmf/texmf.d/95NonPath.cnf
Merging information from /etc/texmf/texmf.d/ into /etc/texmf/texmf.cnf ... 
Keeping temporary file /tmp/tmp.qEtsCD/texmfXlKVfOD ... done


> If it asks you about changes made, you can look at the diff, but for
> debugging purposes, you should choose not to accept the maintainer
> changes, as suggested, but keep your installed version. After this do
> again:

It asked nothing.  I don't know if that's good or bad.

> grep trie_size /etc/texmf/texmf.cnf
% `ssup_trie_opcode' and `ssup_trie_size' in tex.ch (and rebuild TeX);
trie_size = 64000

> grep texmf.cnf /var/lib/ucf/hashfile
2150a9c617c9c8f221dcb152bd9f34d2  /etc/texmf/texmf.cnf

> md5sum /etc/texmf/texmf.cnf
bde0d80810778ec19464ef7ad0004b35  /etc/texmf/texmf.cnf

> If after the call to update-texmf the trie_size in texmf.cnf is still
> not 262000, please go on like this:
> 
> Open /etc/texmf/texmf.d/95NonPatch.cnf in an editor and change an
> arbitrary comment. 

Ok, I assume the file is 95NonPath.cnf.  This is interesting, look:
marga@fobos:~$ ls /etc/texmf/texmf.d/
05TeXMF.cnf               55Fonts.cnf           85Misc.cnf.dpkg-old
05TeXMF.cnf.dpkg-old      65BibTeX.cnf          90TeXDoc.cnf
15Plain.cnf               75DviPS.cnf           95NonPath.cnf
45TeXinputs.cnf           75DviPS.cnf.dpkg-old  95NonPath.cnf.dpkg-old
45TeXinputs.cnf.dpkg-old  85Misc.cnf

So, at some point these files where changed and I assume I chose "install
the new maintainer version", but the .dpkg-old files are still there.

And then:

marga@fobos:~$ grep "trie_size " /etc/texmf/texmf.d/95NonPath.cnf
trie_size = 262000

marga@fobos:~$ grep "trie_size " /etc/texmf/texmf.d/95NonPath.cnf.dpkg-old 
trie_size = 64000

So, for some reason it's using the old one instead of the new one.  I'll
keep going with your instructions, anyway.

> For example, go to the line before the trie_size setting and write
> something like % this must be at least 262000
> 
> After this, run "update-texmf -d" again. Now it should really display a
> dialog: It should tell you that there are changes that need to merged,
> and offers you to show the differences. Please look at the differences.

The differences are quite a lot.  I don't really get it, it didn't tell me
anything before, and now it has an awful lot of differences, when I just
changed one line.

The part that interests us:
--- /etc/texmf/texmf.cnf        2005-01-01 11:13:10.000000000 -0300
+++ /tmp/tmp.aoTkVl/texmfXreiK7l        2005-01-24 09:55:52.000000000 -0300
(...)
-% 
-trie_size = 64000
+% this must be 262000 
+trie_size = 262000

 
> If the only difference is the comment you added and the setting of
> trie_size, please accept the "maintainer changes" - this means the
> changes that come from the files in texmf.d. If there are more
> differences, things are more difficult. It might be that you or some
> other admin on that machine edited the file, and the changes actually
> make sense - then it would be advisable to also make the changes in the
> respective file in texmf.d - then update-texmf will no longer ask you.

No.  Neither me nor the only other admin of this machine are tetex gurus, we
would never touch these files, and specially, we would not change
comments...  It looks to me like it's comparing the old version with the
new one, or something like that.  Really weird.

> If you don't have any idea where those changes might come from, it might
> in fact be that some other package did these changes in a wrong
> way. Please send us the diff - you need not copy&paste it. Instead,
> simply chose to _not_ accept the "maintainer" changes, and look at the
> filename that is displayed in the end, something like
> 
> Keeping temporary file /tmp/tmp.XXXXrB9Inp/texmfXko4iou

Ok, I'm attaching the diff file.  I hope you can find a solution to the
mistery.

-- 
Besos,          ,''`.
       Marga   : :' :
               `. `' 
                 `-  
3,14c3,5
< % PLEASE DO NOT EDIT THIS FILE DIRECTLY. It is meant to be generated from 
< % files in /etc/texmf/texmf.d/. 
< %
< % While changes made by users will not be overwritten, they will cause
< % you trouble. You will be shown the differences between the edited and
< % the newly created file. We will try to merge our and your changes, but
< % that might not always work, and you will probably have to edit again.
< %
< % Therefore, if you want a smooth upgrade, please edit the files
< % in /etc/texmf/texmf.d, 
< % or create an additional one (with the extension '.cnf'),
< % and invoke update-texmf.
---
> % Please do not edit this file directly. If you want to change or add
> % anything please take a look at the files in /etc/texmf/texmf.d, and
> % invoke update-texmf.
17,19c8,10
< 
< %%% From file: /etc/texmf/texmf.d/05TeXMF.cnf
< % texmf.cnf -- runtime path configuration file for kpathsea.
---
> % original texmf.cnf -- runtime path configuration file for kpathsea.
> % (If you change or delete `original' on the previous line, the
> % distribution won't install its version over yours.)
82,83c73,75
< % Debian uses this for storing files generated by updmap and fmtutil, since
< % 2.0.2-17
---
> %   VARTEXMF = /usr/share/texmf-var
> % Debian uses this for storing files generated by updmap and fmtutil since
> % tetex-bin 2.0.2-17.
85c77
< % If you do not accept this change, the teTeX packages will stop working!
---
> % This variable was forcibly introduced by the postinst script.
93c85
< % TEXMF = {$HOMETEXMF,!!$TEXMFLOCAL,!!$TEXMFMAIN}
---
> TEXMF = {$HOMETEXMF,$TEXMFLOCAL,$TEXMFOLDLOCAL,!!$VARTEXMF,!!$TEXMFMAIN}
98d89
< TEXMF = {$HOMETEXMF,!!$TEXMFLOCAL,!!$TEXMFOLDLOCAL,!!$VARTEXMF,!!$TEXMFMAIN}
101c92
< SYSTEXMF = $TEXMFLOCAL;$TEXMFOLDLOCAL;$VARTEXMF;$TEXMFMAIN
---
> SYSTEXMF = $TEXMFLOCAL;$TEXMFOLDLOCAL;$TEXMFMAIN
136,137d126
< %%% End of file: /etc/texmf/texmf.d/05TeXMF.cnf
< %%% From file: /etc/texmf/texmf.d/15Plain.cnf
162,163d150
< %%% End of file: /etc/texmf/texmf.d/15Plain.cnf
< %%% From file: /etc/texmf/texmf.d/45TeXinputs.cnf
196d182
< TEXINPUTS.pdfamstex = .;$TEXMF/{pdftex,tex}/{amstex,plain,generic,}//
217c203
< TEXINPUTS.pdfemex-pl = .;$TEXMF/{pdfetex,pdftex,etex,tex}/{mex,plain,generic,}//
---
> TEXINPUTS.pdfemex-pl = .;$TEXMF/{pdfetex,pdftex,etex,tex}/{mex,plain,generic,
237,238d222
< %%% End of file: /etc/texmf/texmf.d/45TeXinputs.cnf
< %%% From file: /etc/texmf/texmf.d/55Fonts.cnf
263,264d246
< %%% End of file: /etc/texmf/texmf.d/55Fonts.cnf
< %%% From file: /etc/texmf/texmf.d/65BibTeX.cnf
272,273d253
< %%% End of file: /etc/texmf/texmf.d/65BibTeX.cnf
< %%% From file: /etc/texmf/texmf.d/75DviPS.cnf
276d255
< TEXPSHEADERS.gsftopk = .;$TEXMF/{dvips,pdftex,tex,fonts/{type1,truetype}}//
291c270
< TEXCONFIG = $TEXMF/dvips//
---
> TEXCONFIG = .;$TEXMF/dvips//
293,294d271
< %%% End of file: /etc/texmf/texmf.d/75DviPS.cnf
< %%% From file: /etc/texmf/texmf.d/85Misc.cnf
332,334c309,310
< % xdvik and dvipdfm can share some files with dvips
< XDVIINPUTS = .;$TEXMF/{xdvi,dvips}//
< DVIPDFMINPUTS = .;$TEXMF/{dvipdfm,dvips}//
---
> % xdvik with type1 support can share some files with dvips
> XDVIINPUTS = .;$TEXMF/{xdvi,dvips//}
337c313
< % KPSE_DOT = .
---
> KPSE_DOT = .
353,365d328
< %%% End of file: /etc/texmf/texmf.d/85Misc.cnf
< %%% From file: /etc/texmf/texmf.d/90TeXDoc.cnf
< % the default extensions for documentation
< TEXDOCSSUFFIX = .pdf:.dvi:.ps:.txt
< % we allow some compression methods
< TEXDOCSCOMPRESS = :.gz:.bz2
< % put html at the very end, to avoid showing the Catalogue:
< TEXDOCHTML = .html
< % and put that all now together
< TEXDOCEXT = {$TEXDOCSSUFFIX}{$TEXDOCSCOMPRESS}:{$TEXDOCHTML}{$TEXDOCSCOMPRESS}
< 
< %%% End of file: /etc/texmf/texmf.d/90TeXDoc.cnf
< %%% From file: /etc/texmf/texmf.d/95NonPath.cnf
367,372d329
< 
< % IMPORTANT:
< % Some of the following changes will not take effect unless the format files 
< % have been regenerated.
< % Therefore, after editing and running update-texmf, do not forget to run
< % fmtutil --all
402c359,365
< parse_first_line = f
---
> parse_first_line = t
> 
> % Allow TeX, eTeX, Omega to include `src:' specials in the dvi file.
> % These specials are used by viewers to jump from the viewer into 
> % the editor at the right page/lineno.
> % Possible values : none auto cr display hbox math par parend vbox
> src_specials = none
414c377
< MKTEXPK = 1
---
> % MKTEXPK = 0
417d379
< % MKTEXFMT = 0
448,454d409
< main_memory = 1000000 % words of inimemory available; also applies to inimf&mp
< extra_mem_top = 0     % extra high memory for chars, tokens, etc.
< extra_mem_bot = 0     % extra low memory for boxes, glue, breakpoints, etc.
< 
< % ConTeXt is a memory hog...
< extra_mem_top.context = 2000000
< extra_mem_bot.context = 4000000
456c411,416
< main_memory.mpost = 1500000
---
> main_memory.mpost = 1000000
> main_memory = 263000 % words of inimemory available; also applies to inimf&mp
> extra_mem_top = 0    % extra high memory for chars, tokens, etc.
> extra_mem_bot = 0    % extra low memory for boxes, glue, breakpoints, etc.
> 
> obj_tab_size.context = 300000
459c419
< font_mem_size = 500000
---
> font_mem_size = 400000
466c426,427
< hash_extra = 50000
---
> hash_extra.context = 40000
> hash_extra = 0
470c431,432
< pool_size = 1250000
---
> pool_size.context = 750000
> pool_size = 125000
473c435,436
< string_vacancies = 90000
---
> string_vacancies.context = 45000
> string_vacancies = 25000
475c438,439
< max_strings = 100000
---
> max_strings.context = 55000
> max_strings = 15000
477c441,442
< pool_free = 47500
---
> pool_free.context = 47500
> pool_free = 5000
489,490c454,455
< % this must be 262000 
< trie_size = 262000
---
> % 
> trie_size = 64000
497c462
< buf_size = 200000
---
> buf_size = 50000
500c465,466
< nest_size = 500		% simultaneous semantic levels (e.g., groups)
---
> nest_size.context = 500
> nest_size = 100		% simultaneous semantic levels (e.g., groups)
502,504c468,473
< param_size = 5000	% simultaneous macro parameters
< save_size = 5000	% for saving values outside current group
< stack_size = 1500	% simultaneous input sources
---
> param_size.context = 1500
> param_size = 500	% simultaneous macro parameters
> save_size.context = 5000
> save_size = 4000	% for saving values outside current group
> stack_size.context = 1500
> stack_size = 300	% simultaneous input sources
511,519d479
< % Parameter specific to MetaPost.
< % Maximum number of knots between breakpoints of a path.
< % Set to 2000 by default.
< % path_size.mpost = 10000
< 
< % These are pdftex-specific.
< obj_tab_size = 300000    % PDF objects
< dest_names_size = 300000 % destinations
< 
533c493,514
< %%% End of file: /etc/texmf/texmf.d/95NonPath.cnf
---
> 
> % Settings for Debian jadetex
>   hash_extra.jadetex  = 32500
>   hash_extra.pdfjadetex  = 32500
>   pool_size.jadetex = 500000
>   pool_size.pdfjadetex = 500000
>   string_vacancies.jadetex = 45000
>   string_vacancies.pdfjadetex = 45000
>   max_strings.jadetex = 58500
>   max_strings.pdfjadetex = 58500
>   pool_free.jadetex = 47500
>   pool_free.pdfjadetex = 47500
>   nest_size.jadetex = 500
>   nest_size.pdfjadetex = 500
>   param_size.jadetex = 1500
>   param_size.pdfjadetex = 1500
>   save_size.jadetex = 5000
>   save_size.pdfjadetex = 5000
>   stack_size.jadetex = 1500
>   stack_size.pdfjadetex = 1500
>   extra_mem_bot.jadetex = 85000
>   extra_mem_bot.pdfjadetex = 85000

Reply to: