Subject: Re: bug#28173: texlive-texmf-minimal not reproducible

From: Ricardo Wurmus <[email-masked]>
Date: Thu, 16 Sep 2021 13:26:25 +0200

zimoun <[email-masked]> writes:

> Hi,
>
> On Mon, 09 Oct 2017 at 23:39, Ricardo Wurmus 
> <[email-masked]> wrote:
>> Ricardo Wurmus <[email-masked]> writes:
>
>>> texlive-texmf-minimal is no longer needed and should be 
>>> removed, so I
>>> think this bug can be closed.
>>
>> Texlive-texmf-minimal has in fact been removed, but the bug 
>> report is
>> still valid.  Many of the generated files in TeX Live packages 
>> contain
>> timestamps and it is not clear which of them may be removed 
>> without
>> affecting the behaviour of the collection.
>
> What is the status of this old bug [1]?  Since 
> texlive-texmf-minimal had
> been removed, what is the reproducer?  i.e., which part is not 
> reproducible?
>
> 1: <http://issues.guix.gnu.org/issue/28173>

Many of the modular texlive packages have reproducibility issues.

Take texlive-cm for example.  METAFONT writes a timestamp into 
every generated font file 
(e.g. /gnu/store/lkmiyfzi1bq571yn4gypbcs5vn4fpma7-texlive-cm-51265/share/texmf-dist/fonts/tfm/public/cm/cmvtt10.600gf). 
It also generates log files that contain timestamped lines like 
these:

│ │ │ │ │ │ ├── +++ 
/gnu/store/lkmiyfzi1bq571yn4gypbcs5vn4fpma7-texlive-cm-51265/share/texmf-dist/fonts/tfm/public/cm/cmu10.log
│ │ │ │ │ │ │ @@ -1,6 +1,6 @@
│ │ │ │ │ │ │ -This is METAFONT, Version 2.7182818 (TeX Live 2019) 
(preloaded base=mf 2021.4.16)  16 SEP 2021 11:21
│ │ │ │ │ │ │ +This is METAFONT, Version 2.7182818 (TeX Live 2019) 
(preloaded base=mf 2021.4.16)  16 APR 2021 23:30

The texlive-union executes processes that also lead to 
irreproducible files.  Here’s an example:

    ./pre-inst-env guix build --rounds=2 --no-grafts -K -e '(begin 
    (import (gnu packages tex)) (texlive-union (list 
    texlive-ydoc)))'

This is what diffoscope has to say:

--8<---------------cut here---------------start------------->8---
$ diffoscope 
/gnu/store/2x6jddfgfg5rp342wsrsl5gssz2lkd06-texlive-union-51265 
/gnu/store/2x6jddfgfg5rp342wsrsl5gssz2lkd06-texlive-union-51265-check
--- 
    /gnu/store/2x6jddfgfg5rp342wsrsl5gssz2lkd06-texlive-union-51265
+++ 
/gnu/store/2x6jddfgfg5rp342wsrsl5gssz2lkd06-texlive-union-51265-check
│   --- 
/gnu/store/2x6jddfgfg5rp342wsrsl5gssz2lkd06-texlive-union-51265/share
├── +++ 
/gnu/store/2x6jddfgfg5rp342wsrsl5gssz2lkd06-texlive-union-51265-check/share
│ │   --- 
/gnu/store/2x6jddfgfg5rp342wsrsl5gssz2lkd06-texlive-union-51265/share/texmf-var
│ ├── +++ 
/gnu/store/2x6jddfgfg5rp342wsrsl5gssz2lkd06-texlive-union-51265-check/share/texmf-var
│ │ │   --- 
/gnu/store/2x6jddfgfg5rp342wsrsl5gssz2lkd06-texlive-union-51265/share/texmf-var/web2c
│ │ ├── +++ 
/gnu/store/2x6jddfgfg5rp342wsrsl5gssz2lkd06-texlive-union-51265-check/share/texmf-var/web2c
│ │ │ │   --- 
/gnu/store/2x6jddfgfg5rp342wsrsl5gssz2lkd06-texlive-union-51265/share/texmf-var/web2c/updmap.log
│ │ │ ├── +++ 
/gnu/store/2x6jddfgfg5rp342wsrsl5gssz2lkd06-texlive-union-51265-check/share/texmf-var/web2c/updmap.log
│ │ │ │ @@ -1,9 +1,9 @@
│ │ │ │  updmap version r50442 (2019-03-18 11:35:23 +0000)
│ │ │ │ -Thu Sep 16 11:24:07 2021
│ │ │ │ +Thu Sep 16 11:24:06 2021
│ │ │ │  
│ │ │ │  Using the following config files:
│ │ │ │ 
/gnu/store/2x6jddfgfg5rp342wsrsl5gssz2lkd06-texlive-union-51265/share/texmf-config/web2c/updmap.cfg
│ │ │ │  
│ │ │ │  updmap is creating new map files
│ │ │ │  using the following configuration:
│ │ │ │    LW35 font names                  : URWkb 
(/gnu/store/2x6jddfgfg5rp342wsrsl5gssz2lkd06-texlive-union-51265/share/texmf-config/web2c/updmap.cfg)
│ │ │ │ @@ -810,19 +810,19 @@
│ │ │ │  
│ │ │ │ 
/gnu/store/2x6jddfgfg5rp342wsrsl5gssz2lkd06-texlive-union-51265/share/texmf-dist/fonts/map/dvips/tetex/mathpple.map:
│ │ │ │  eurbo10
│ │ │ │  eurmo10
│ │ │ │  
│ │ │ │  Files generated:
│ │ │ │ 
/gnu/store/2x6jddfgfg5rp342wsrsl5gssz2lkd06-texlive-union-51265/share/texmf-dist/fonts/map/dvips/updmap/:
│ │ │ │ -       15890 2021-09-16 11:24:07 builtin35.map
│ │ │ │ -       21363 2021-09-16 11:24:07 download35.map
│ │ │ │ -       21470 2021-09-16 11:24:07 psfonts_pk.map
│ │ │ │ -       21674 2021-09-16 11:24:07 psfonts_t1.map
│ │ │ │ -       21669 2021-09-16 11:24:07 ps2pk.map
│ │ │ │ -          14 2021-09-16 11:24:07 psfonts.map -> 
psfonts_t1.map
│ │ │ │ +       15890 2021-09-16 11:24:06 builtin35.map
│ │ │ │ +       21363 2021-09-16 11:24:06 download35.map
│ │ │ │ +       21470 2021-09-16 11:24:06 psfonts_pk.map
│ │ │ │ +       21674 2021-09-16 11:24:06 psfonts_t1.map
│ │ │ │ +       21669 2021-09-16 11:24:06 ps2pk.map
│ │ │ │ +          14 2021-09-16 11:24:06 psfonts.map -> 
psfonts_t1.map
│ │ │ │ 
/gnu/store/2x6jddfgfg5rp342wsrsl5gssz2lkd06-texlive-union-51265/share/texmf-dist/fonts/map/pdftex/updmap/:
│ │ │ │ -       21676 2021-09-16 11:24:07 pdftex_dl14.map
│ │ │ │ -       20011 2021-09-16 11:24:07 pdftex_ndl14.map
│ │ │ │ -          15 2021-09-16 11:24:07 pdftex.map -> 
pdftex_dl14.map
│ │ │ │ +       21676 2021-09-16 11:24:06 pdftex_dl14.map
│ │ │ │ +       20011 2021-09-16 11:24:06 pdftex_ndl14.map
│ │ │ │ +          15 2021-09-16 11:24:06 pdftex.map -> 
pdftex_dl14.map
│ │ │ │ 
/gnu/store/2x6jddfgfg5rp342wsrsl5gssz2lkd06-texlive-union-51265/share/texmf-dist/fonts/map/dvipdfmx/updmap/:
│ │ │ │ -         413 2021-09-16 11:24:07 kanjix.map
│ │ │ │ +         413 2021-09-16 11:24:06 kanjix.map
--8<---------------cut here---------------end--------------->8---

Perhaps we could just delete this log file.

-- 
Ricardo