texlive-babel-dutch with and without texlive-hyphen-dutch: No hyphenation patterns were preloaded

  • Open
  • quality assurance status badge
Details
6 participants
  • Josselin Poiret
  • Ludovic Courtès
  • Emmanuel Beffara
  • Remco van 't Veer
  • Wicki Gabriel (wicg)
  • Simon Tournier
Owner
unassigned
Submitted by
Remco van 't Veer
Severity
important
R
R
Remco van 't Veer wrote on 14 Jul 2022 16:13
(address . bug-guix@gnu.org)
87o7xr2369.fsf@remworks.net
Neither texlive-babel-dutch nor texlive-hyphen-dutch load hyphenation.

Test document:

\documentclass{article}
\usepackage[dutch]{babel}
\begin{document}
test
\end{document}

Running with texlive-babel-dutch only:

$ guix shell --pure texlive-base texlive-babel-dutch -- pdflatex test.tex
This is pdfTeX, Version 3.141592653-2.6-1.40.22 (TeX Live 2021/GNU Guix) (preloaded format=pdflatex)
restricted \write18 enabled.
entering extended mode
(./test.tex
LaTeX2e <2020-10-01> patch level 4
L3 programming layer <2021-02-18> (/gnu/store/1p55mddnasba5xq2vcnzyc8wjywn4cwn-profile/share/texmf-dist/tex/latex/base/article.cls
Document Class: article 2020/04/10 v1.4m Standard LaTeX document class
(/gnu/store/1p55mddnasba5xq2vcnzyc8wjywn4cwn-profile/share/texmf-dist/tex/latex/base/size10.clo)) (/gnu/store/1p55mddnasba5xq2vcnzyc8wjywn4cwn-profile/share/texmf-dist/tex/generic/babel/babel.sty (/gnu/store/1p55mddnasba5xq2vcnzyc8wjywn4cwn-profile/share/texmf-dist/tex/generic/babel/babel.def (/gnu/store/1p55mddnasba5xq2vcnzyc8wjywn4cwn-profile/share/texmf-dist/tex/generic/config/language.def) (/gnu/store/1p55mddnasba5xq2vcnzyc8wjywn4cwn-profile/share/texmf-dist/tex/generic/babel/txtbabel.def)) (/gnu/store/1p55mddnasba5xq2vcnzyc8wjywn4cwn-profile/share/texmf-dist/tex/generic/babel-dutch/dutch.ldf

Package babel Warning: No hyphenation patterns were preloaded for
(babel) the language `Dutch' into the format.
(babel) Please, configure your TeX system to add them and
(babel) rebuild the format. Now I will use the patterns
(babel) preloaded for \language=0 instead on input line 49.

)) (/gnu/store/1p55mddnasba5xq2vcnzyc8wjywn4cwn-profile/share/texmf-dist/tex/latex/l3backend/l3backend-pdftex.def) (./test.aux) [1{/gnu/store/1p55mddnasba5xq2vcnzyc8wjywn4cwn-profile/share/texmf-dist/fonts/map/pdftex/updmap/pdftex.map}] (./test.aux) ) </gnu/store/1p55mddnasba5xq2vcnzyc8wjywn4cwn-profile/share/texmf-dist/fonts/pk/ljfour/public/cm/dpi600/cmr10.pk>
Output written on test.pdf (1 page, 2226 bytes).
Transcript written on test.log.

With texlive-hyphen-dutch included:

$ guix shell --pure texlive-base texlive-babel-dutch texlive-hyphen-dutch -- pdflatex test.tex
This is pdfTeX, Version 3.141592653-2.6-1.40.22 (TeX Live 2021/GNU Guix) (preloaded format=pdflatex)
restricted \write18 enabled.
entering extended mode
(./test.tex
LaTeX2e <2020-10-01> patch level 4
L3 programming layer <2021-02-18> (/gnu/store/c61c43w5c7dlz7ipxcqi4z385p3a4dzb-profile/share/texmf-dist/tex/latex/base/article.cls
Document Class: article 2020/04/10 v1.4m Standard LaTeX document class
(/gnu/store/c61c43w5c7dlz7ipxcqi4z385p3a4dzb-profile/share/texmf-dist/tex/latex/base/size10.clo)) (/gnu/store/c61c43w5c7dlz7ipxcqi4z385p3a4dzb-profile/share/texmf-dist/tex/generic/babel/babel.sty (/gnu/store/c61c43w5c7dlz7ipxcqi4z385p3a4dzb-profile/share/texmf-dist/tex/generic/babel/babel.def (/gnu/store/c61c43w5c7dlz7ipxcqi4z385p3a4dzb-profile/share/texmf-dist/tex/generic/config/language.def) (/gnu/store/c61c43w5c7dlz7ipxcqi4z385p3a4dzb-profile/share/texmf-dist/tex/generic/babel/txtbabel.def)) (/gnu/store/c61c43w5c7dlz7ipxcqi4z385p3a4dzb-profile/share/texmf-dist/tex/generic/babel-dutch/dutch.ldf

Package babel Warning: No hyphenation patterns were preloaded for
(babel) the language `Dutch' into the format.
(babel) Please, configure your TeX system to add them and
(babel) rebuild the format. Now I will use the patterns
(babel) preloaded for \language=0 instead on input line 49.

)) (/gnu/store/c61c43w5c7dlz7ipxcqi4z385p3a4dzb-profile/share/texmf-dist/tex/latex/l3backend/l3backend-pdftex.def) (./test.aux) [1{/gnu/store/c61c43w5c7dlz7ipxcqi4z385p3a4dzb-profile/share/texmf-dist/fonts/map/pdftex/updmap/pdftex.map}] (./test.aux) ) </gnu/store/c61c43w5c7dlz7ipxcqi4z385p3a4dzb-profile/share/texmf-dist/fonts/pk/ljfour/public/cm/dpi600/cmr10.pk>
Output written on test.pdf (1 page, 2226 bytes).
Transcript written on test.log.

Problem does not occur when using the complete TeX Live distribution:

$ guix shell --pure texlive -- pdflatex test.tex
This is pdfTeX, Version 3.141592653-2.6-1.40.22 (TeX Live 2021/GNU Guix) (preloaded format=pdflatex)
restricted \write18 enabled.
entering extended mode
(./test.tex
LaTeX2e <2020-10-01> patch level 4
L3 programming layer <2021-02-18>
(/gnu/store/lgkfz7wg59sg81zlf3xy7i7dbvx1fvyp-texlive-texmf-20210325/share/texmf
-dist/tex/latex/base/article.cls
Document Class: article 2020/04/10 v1.4m Standard LaTeX document class

(/gnu/store/lgkfz7wg59sg81zlf3xy7i7dbvx1fvyp-texlive-texmf-20210325/share/texmf
-dist/tex/latex/base/size10.clo))
(/gnu/store/lgkfz7wg59sg81zlf3xy7i7dbvx1fvyp-texlive-texmf-20210325/share/texmf
-dist/tex/generic/babel/babel.sty
(/gnu/store/lgkfz7wg59sg81zlf3xy7i7dbvx1fvyp-texlive-texmf-20210325/share/texmf
-dist/tex/generic/babel/babel.def
(/gnu/store/lgkfz7wg59sg81zlf3xy7i7dbvx1fvyp-texlive-texmf-20210325/share/texmf
-dist/tex/generic/babel/txtbabel.def))
(/gnu/store/lgkfz7wg59sg81zlf3xy7i7dbvx1fvyp-texlive-texmf-20210325/share/texmf
-dist/tex/generic/babel-dutch/dutch.ldf))
(/gnu/store/lgkfz7wg59sg81zlf3xy7i7dbvx1fvyp-texlive-texmf-20210325/share/texmf
-dist/tex/latex/l3backend/l3backend-pdftex.def) (./test.aux) [1{/gnu/store/lgkf
z7wg59sg81zlf3xy7i7dbvx1fvyp-texlive-texmf-20210325/share/texmf-dist/fonts/map/
pdftex/updmap/pdftex.map}] (./test.aux) )</gnu/store/lgkfz7wg59sg81zlf3xy7i7dbv
x1fvyp-texlive-texmf-20210325/share/texmf-dist/fonts/type1/public/amsfonts/cm/c
mr10.pfb>
Output written on test.pdf (1 page, 10613 bytes).
Transcript written on test.log.

Am I doing something wrong?
W
W
Wicki Gabriel (wicg) wrote on 9 Aug 2022 16:05
(name . 56556@debbugs.gnu.org)(address . 56556@debbugs.gnu.org)
ZR0P278MB02688BC203705B4164D6B1F5C1629@ZR0P278MB0268.CHEP278.PROD.OUTLOOK.COM
I have the same issue. Tested in German language -- it works just fine with the full-fledged LaTeX environment.
Attachment: file
E
E
Emmanuel Beffara wrote on 28 Mar 2023 21:30
(address . help-guix@gnu.org)(address . 56556@debbugs.gnu.org)
20230328213044.GB4873@beffara.org
Hello Guix,

I would like to share a few thoughts on how TeXlive is currently handled in
Guix. The package `texlive` contains all of TeXlive, it works fine but it is
arguably too big to be practical. The documentation rightfully says

Toggle quote (3 lines)
> We recommend using the modular package set because it is much less
> resource-hungry.

Yet assembling modular sets is problematic for various reasons.

Firstly, unless I am missing something, creating a manifest with the right set
of packages is tedious: one has to guess the Guix package that matches each
LaTeX package, and the correspondence is not obvious. Thankfully, with a
working installation, `tlmgr show something.sty` helps finding the TeXlive
package that contains the file and `guix search texlive something` finds the
corresponding Guix package if there is one (it could be named
`texlive-something` or `texlive-latex-something`, this feels somewhat
inconsistent). When trying to compile a complex document, doing that for every
package and dependency is time-consuming (compile, read compilation errors,
install more packages, restart).

Secondly, many packages are missing. Apparently, `(gnu packages tex)` contains
an arbitrary set of common packages, likely defined by people who needed them
and had the skill to produce a patch for them. It is fairly easy to produce
new definitions using `guix import texlive something` and adjusting the
result, still it feels more complicated than it ought to be. Considering how
well TeXlive is organized, it should be possible to automatically extract the
set of all packages in a given release and turn the result into a big
comprehensive Guile module.

Besides, importing TeXlive "collections" could be a useful intermediate
between taking the whole system and picking packages individually.

Thirdly, formats are apparently not handled right. The main issue is with
hyphenation (hence the cc on an open issue): hyphenation patterns need to be
compiled into the formats to be available in documents, so the format files
should be built depending on which `texlive-hyphen-something` packages are
installed. Currently this is not the case:

```
$ guix shell --pure coreutils texlive-base texlive-latex-base -- /bin/sh -c 'realpath $GUIX_TEXMF/web2c/pdflatex.fmt'
/gnu/store/m1vh5mm4gjlqzaylfxmxbx5g3j20k8wn-texlive-latex-base-59745/share/texmf-dist/web2c/pdflatex.fmt
$ guix shell --pure coreutils texlive-base texlive-latex-base texlive-hyphen-base texlive-hyphen-french -- /bin/sh -c 'realpath $GUIX_TEXMF/web2c/pdflatex.fmt'
/gnu/store/m1vh5mm4gjlqzaylfxmxbx5g3j20k8wn-texlive-latex-base-59745/share/texmf-dist/web2c/pdflatex.fmt
```

If the format is always the same, then no modular installation can do any
hyphenation, as reported in https://issues.guix.gnu.org/56556.There might be
other things than hyphenation that require similar treatment.

That said, I don't know what would be the best way to contribute.

--
Emmanuel
J
J
Josselin Poiret wrote on 29 Mar 2023 20:48
(address . 56556@debbugs.gnu.org)
87o7obs8ap.fsf@jpoiret.xyz
Hi Emmanuel,

Emmanuel Beffara <manu@beffara.org> writes:

Toggle quote (11 lines)
> Firstly, unless I am missing something, creating a manifest with the right set
> of packages is tedious: one has to guess the Guix package that matches each
> LaTeX package, and the correspondence is not obvious. Thankfully, with a
> working installation, `tlmgr show something.sty` helps finding the TeXlive
> package that contains the file and `guix search texlive something` finds the
> corresponding Guix package if there is one (it could be named
> `texlive-something` or `texlive-latex-something`, this feels somewhat
> inconsistent). When trying to compile a complex document, doing that for every
> package and dependency is time-consuming (compile, read compilation errors,
> install more packages, restart).

I agree, although this is because the tex packages aren't super well
packaged. A lot of dependencies aren't actually included, meaning you
need to add them manually. This could be improved by just fixing those
package definitions to include them, I actually have some comments about
this in my TODOs.

Toggle quote (9 lines)
> Secondly, many packages are missing. Apparently, `(gnu packages tex)` contains
> an arbitrary set of common packages, likely defined by people who needed them
> and had the skill to produce a patch for them. It is fairly easy to produce
> new definitions using `guix import texlive something` and adjusting the
> result, still it feels more complicated than it ought to be. Considering how
> well TeXlive is organized, it should be possible to automatically extract the
> set of all packages in a given release and turn the result into a big
> comprehensive Guile module.

Actually, no, for 2 reasons: as you said, you often need to adjust the
result of the import, and some of them need to be individually
inspected. Also, upstream doesn't report what inter-package
dependencies there are (AFAIK). This prevents us from generating the
right packages (see above).

Toggle quote (20 lines)
> Besides, importing TeXlive "collections" could be a useful intermediate
> between taking the whole system and picking packages individually.
>
> Thirdly, formats are apparently not handled right. The main issue is with
> hyphenation (hence the cc on an open issue): hyphenation patterns need to be
> compiled into the formats to be available in documents, so the format files
> should be built depending on which `texlive-hyphen-something` packages are
> installed. Currently this is not the case:
>
> ```
> $ guix shell --pure coreutils texlive-base texlive-latex-base -- /bin/sh -c 'realpath $GUIX_TEXMF/web2c/pdflatex.fmt'
> /gnu/store/m1vh5mm4gjlqzaylfxmxbx5g3j20k8wn-texlive-latex-base-59745/share/texmf-dist/web2c/pdflatex.fmt
> $ guix shell --pure coreutils texlive-base texlive-latex-base texlive-hyphen-base texlive-hyphen-french -- /bin/sh -c 'realpath $GUIX_TEXMF/web2c/pdflatex.fmt'
> /gnu/store/m1vh5mm4gjlqzaylfxmxbx5g3j20k8wn-texlive-latex-base-59745/share/texmf-dist/web2c/pdflatex.fmt
> ```
>
> If the format is always the same, then no modular installation can do any
> hyphenation, as reported in https://issues.guix.gnu.org/56556. There might be
> other things than hyphenation that require similar treatment.

I don't really know how we could fix this: maybe build the formats with
all the hyphenation packages enabled?

Toggle quote (2 lines)
> That said, I don't know what would be the best way to contribute.

I think fixing step by step all the packages you find to be deficient is
already a good first step. I've been planning to do that as well but
got swept up in other things.

HTH!

Best,
--
Josselin Poiret
-----BEGIN PGP SIGNATURE-----

iQHEBAEBCAAuFiEEOSSM2EHGPMM23K8vUF5AuRYXGooFAmQkh/4QHGRldkBqcG9p
cmV0Lnh5egAKCRBQXkC5FhcaikEdC/0XU1RACGfHAbgXdG0tZfNbUXrY2WRpV7E5
YknI96FBsg01rfRlMFDYJFwCpU3YEWyN6CH++KCFD96Ap1iB01vExi6ZsG7J4Cqk
0/T2mm/6cHxdPRN/27HY2ZFJeJmvfw100w8EV7D0d/yoJBxfhyhyZtUY1jQO8DNu
m+9fBKrPP+/1hCQc4eyZc5qnjqEeOWj98/hRqStgCwAdUlW3oTCgGuwWNjxx7y1F
dyd/Wx8YkxEgFaA5Qc+fK7qemt0gdi/l8akhnmDWX+KXNnjEQPqv4NV+AbiLWIa8
CZ+5njtsradRLCdjCZyWJF/i4WOnQqO4F5X2IQQYJSwV28EVmuUjeXe7J66kR3hd
b+Z7kqjmsOx65+/RY49aZZ0475B25slhNjPy7VJutJ7imQKeQ9cmZksVMLIgFotm
hBI7TvE6Xn5f+EqqCJuAymMsDPnJHZZ7zOHvpX5zat3N2v1LM5jMEzCK3lITBaLZ
v6RekEHPr1Mm/w6SgqJkVhmkRb2NTt8=
=waC2
-----END PGP SIGNATURE-----

L
L
Ludovic Courtès wrote on 7 Apr 2023 10:53
control message for bug #56556
(address . control@debbugs.gnu.org)
87y1n4f4yr.fsf@gnu.org
severity 56556 important
quit
L
L
Ludovic Courtès wrote on 7 Apr 2023 12:33
Re: bug#56556: texlive-babel-dutch with and without texlive-hyphen-dutch: No hyphenation patterns were preloaded
(name . Josselin Poiret)(address . dev@jpoiret.xyz)
87h6tsf0ca.fsf_-_@gnu.org
Hello Josselin and all,

I was just bitten by the infamous:

Package babel Warning: No hyphenation patterns were preloaded for
[…]

That’s a real issue because it makes modular TeX Live pretty much
unusable for languages other than English.

Josselin Poiret <dev@jpoiret.xyz> skribis:

Toggle quote (20 lines)
>> Thirdly, formats are apparently not handled right. The main issue is with
>> hyphenation (hence the cc on an open issue): hyphenation patterns need to be
>> compiled into the formats to be available in documents, so the format files
>> should be built depending on which `texlive-hyphen-something` packages are
>> installed. Currently this is not the case:
>>
>> ```
>> $ guix shell --pure coreutils texlive-base texlive-latex-base -- /bin/sh -c 'realpath $GUIX_TEXMF/web2c/pdflatex.fmt'
>> /gnu/store/m1vh5mm4gjlqzaylfxmxbx5g3j20k8wn-texlive-latex-base-59745/share/texmf-dist/web2c/pdflatex.fmt
>> $ guix shell --pure coreutils texlive-base texlive-latex-base texlive-hyphen-base texlive-hyphen-french -- /bin/sh -c 'realpath $GUIX_TEXMF/web2c/pdflatex.fmt'
>> /gnu/store/m1vh5mm4gjlqzaylfxmxbx5g3j20k8wn-texlive-latex-base-59745/share/texmf-dist/web2c/pdflatex.fmt
>> ```
>>
>> If the format is always the same, then no modular installation can do any
>> hyphenation, as reported in https://issues.guix.gnu.org/56556. There might be
>> other things than hyphenation that require similar treatment.
>
> I don't really know how we could fix this: maybe build the formats with
> all the hyphenation packages enabled?

The intertubes suggest running ‘fmtutil --all’ to get hyphenations
packages straight. Is this something we should do in the TeX Live
profile hook for example?

Emmanuel, is this what you had in mind when you wrote about compilation
of hyphenation patterns above?

(Cc’ing Maxim who has experience with TeX Live.)

Thanks,
Ludo’.
E
E
Emmanuel Beffara wrote on 7 Apr 2023 12:47
(name . Ludovic Courtès)(address . ludo@gnu.org)
20230407124721.GQ1554@beffara.org
Hi,

De Ludovic Courtès le 07/04/2023 à 12:33:
Toggle quote (10 lines)
> > I don't really know how we could fix this: maybe build the formats with
> > all the hyphenation packages enabled?
>
> The intertubes suggest running ‘fmtutil --all’ to get hyphenations
> packages straight. Is this something we should do in the TeX Live
> profile hook for example?
>
> Emmanuel, is this what you had in mind when you wrote about compilation
> of hyphenation patterns above?

Indeed !

Doing that is the job of fmtutil and it should be used for building
environments that include parts of TeXlive.

--
Emmanuel
S
S
Simon Tournier wrote on 19 May 2023 17:22
(name . Emmanuel Beffara)(address . manu@beffara.org)
87fs7sz6pb.fsf@gmail.com
Hi,

Argh! I am just annoyed by this bug too; and again and again. How to
make progress?

On ven., 07 avril 2023 at 12:47, Emmanuel Beffara <manu@beffara.org> wrote:

Toggle quote (15 lines)
>> > I don't really know how we could fix this: maybe build the formats with
>> > all the hyphenation packages enabled?
>>
>> The intertubes suggest running ‘fmtutil --all’ to get hyphenations
>> packages straight. Is this something we should do in the TeX Live
>> profile hook for example?
>>
>> Emmanuel, is this what you had in mind when you wrote about compilation
>> of hyphenation patterns above?
>
> Indeed !
>
> Doing that is the job of fmtutil and it should be used for building
> environments that include parts of TeXlive.

Well, it does not appear as easy as the intertubes is suggesting. ;-)

First, please note that texlive-babel-<foo> drags texlive-hyphen-<bar>

Toggle snippet (6 lines)
$ guix graph --path texlive-babel-french texlive-hyphen-esperanto -t bag-emerged
texlive-babel-french@59745
texlive-latex-base@59745
texlive-hyphen-esperanto@59745

Other said, the profile contains all the hyphenations for all the
languages. Therefore, I am not sure ’fmtutil --all’ will do the job out
of the box – I do not know. Savvy TeX folk, WDYT?

Toggle snippet (18 lines)
$ guix shell texlive-base texlive-babel-french
$ find $GUIX_ENVIRONMENT -name "*hyph-*" -print | wc -l
318

$ find $GUIX_ENVIRONMENT -name "*hyph-*" -print | head
/gnu/store/iffpalk5vyyykmll7i9g89lnyzcj505b-profile/share/texmf-dist/scripts/hyph-utf8.rb
/gnu/store/iffpalk5vyyykmll7i9g89lnyzcj505b-profile/share/texmf-dist/scripts/languages/es/eshyph-make.lua
/gnu/store/iffpalk5vyyykmll7i9g89lnyzcj505b-profile/share/texmf-dist/tex/generic/dehyph-exptl
/gnu/store/iffpalk5vyyykmll7i9g89lnyzcj505b-profile/share/texmf-dist/tex/generic/hyph-utf8
/gnu/store/iffpalk5vyyykmll7i9g89lnyzcj505b-profile/share/texmf-dist/tex/generic/hyph-utf8/loadhyph/loadhyph-cs.tex
/gnu/store/iffpalk5vyyykmll7i9g89lnyzcj505b-profile/share/texmf-dist/tex/generic/hyph-utf8/loadhyph/loadhyph-rm.tex
/gnu/store/iffpalk5vyyykmll7i9g89lnyzcj505b-profile/share/texmf-dist/tex/generic/hyph-utf8/loadhyph/loadhyph-ml.tex
/gnu/store/iffpalk5vyyykmll7i9g89lnyzcj505b-profile/share/texmf-dist/tex/generic/hyph-utf8/loadhyph/loadhyph-lt.tex
/gnu/store/iffpalk5vyyykmll7i9g89lnyzcj505b-profile/share/texmf-dist/tex/generic/hyph-utf8/loadhyph/loadhyph-pt.tex
/gnu/store/iffpalk5vyyykmll7i9g89lnyzcj505b-profile/share/texmf-dist/tex/generic/hyph-utf8/loadhyph/loadhyph-mr.tex


Now, let try ’fmtutil --all’ as part of some hook:

Toggle snippet (40 lines)
$ git diff
diff --git a/guix/profiles.scm b/guix/profiles.scm
index 6467e464c8..b785fefb08 100644
--- a/guix/profiles.scm
+++ b/guix/profiles.scm
@@ -1854,6 +1854,12 @@ (define (texlive-font-maps manifest)
(string-append "--pdftexoutputdir="
maproot "pdftex/updmap"))

+ (pk 'start)
+ ;; Generate hyphenations for Babel and friends.
+ (invoke #$(file-append texlive-bin "/bin/fmtutil-sys")
+ "--all")
+ (pk 'end)
+
;; Create ls-R file. I know, that's not *just* for font maps, but
;; we've generated new files, so there's no point in running it
;; any earlier. The ls-R file must act on a full TeX Live tree,
@@ -1870,7 +1876,7 @@ (define (texlive-font-maps manifest)

(mlet %store-monad ((texlive-base (manifest-lookup-package manifest "texlive-base")))
(if (and texlive-base (pair? texlive-inputs))
- (gexp->derivation "texlive-font-maps" build
+ (gexp->derivation "texlive-font-maps-debug" build
#:substitutable? #f
#:local-build? #t
#:properties

$ ./pre-inst-env guix shell texlive-base texlive-babel-french --rebuild-cache
The following derivation will be built:
/gnu/store/hj7gc1phqqai88cq6blrxvmrifsyhy3h-profile.drv

building TeX Live font maps...
-builder for `/gnu/store/37mjkgann15rj95m3vqjs8d20kssz8pm-texlive-font-maps-debug.drv' failed with exit code 1
build of /gnu/store/37mjkgann15rj95m3vqjs8d20kssz8pm-texlive-font-maps-debug.drv failed
View build log at '/var/log/guix/drvs/37/mjkgann15rj95m3vqjs8d20kssz8pm-texlive-font-maps-debug.drv.gz'.
cannot build derivation `/gnu/store/hj7gc1phqqai88cq6blrxvmrifsyhy3h-profile.drv': 1 dependencies couldn't be built
guix shell: error: build of `/gnu/store/hj7gc1phqqai88cq6blrxvmrifsyhy3h-profile.drv' failed

Hum, let’s inspect the log of this derivation. See below the complete
log. Roughly speaking:

Toggle snippet (7 lines)
fmtutil [INFO]: disabled formats: 5
fmtutil [INFO]: successfully rebuilt formats: 1
fmtutil [INFO]: failed to build: 53 (luajittex/luajittex xetex/xetex luatex/luatex ptex/ptex eptex/eptex luahbtex/luahbtex euptex/euptex uptex/uptex tex/tex aleph/aleph luajithbtex/luajithbtex pdftex/pdftex pdftex/utf8mex pdftex/jadetex pdftex/xmltex pdftex/pdfetex pdftex/pdfjadetex pdftex/mptopdf pdftex/pdfcslatex mf-nowin/mf xetex/xelatex luatex/optex pdftex/pdflatex-dev pdftex/pdfmex pdftex/latex-dev luahbtex/lualatex xetex/xelatex-dev pdftex/pdfxmltex luatex/dviluatex luatex/pdfcsplain pdftex/pdfcsplain xetex/pdfcsplain pdftex/latex luatex/dvilualatex-dev pdftex/texsis pdftex/cslatex pdftex/pdflatex eptex/platex-dev euptex/uplatex-dev luatex/luacsplain pdftex/amstex eptex/platex pdftex/mltex pdftex/mex euptex/uplatex luatex/dvilualatex pdftex/etex pdftex/csplain tex/lollipop pdftex/eplain pdftex/cont-en xetex/cont-en luahbtex/lualatex-dev)
fmtutil [INFO]: total formats: 59
fmtutil [INFO]: exiting with status 53

After roaming on TeX documentation, I do not find the way for
configuring ’fmutils’. Or how to turn these failures to pass?


Cheers,
simon


--

Toggle snippet (193 lines)
;;; (start)
fmtutil: fmtutil is using the following fmtutil.cnf files (in precedence order):
fmtutil: /tmp/texlive/share/texmf-dist/web2c/fmtutil.cnf
fmtutil: fmtutil is using the following fmtutil.cnf file for writing changes:
fmtutil: {/tmp/texlive/share/texmf-dist}/../texmf-config/web2c/fmtutil.cnf
fmtutil [INFO]: writing formats under /tmp/guix-build-texlive-font-maps-debug.drv-0/{/tmp/texlive/share/texmf-var/web2c
fmtutil [INFO]: --- remaking luajittex with luajittex
fmtutil [INFO]: --- remaking xetex with xetex
fmtutil [INFO]: --- remaking luatex with luatex
fmtutil [INFO]: --- remaking ptex with ptex
fmtutil [INFO]: --- remaking eptex with eptex
fmtutil [INFO]: --- remaking luahbtex with luahbtex
fmtutil [INFO]: --- remaking euptex with euptex
fmtutil [INFO]: --- remaking uptex with uptex
fmtutil [INFO]: --- remaking tex with tex
fmtutil [INFO]: --- remaking aleph with aleph
fmtutil [INFO]: --- remaking luajithbtex with luajithbtex
fmtutil [INFO]: --- remaking pdftex with pdftex
fmtutil [INFO]: --- remaking utf8mex with pdftex
fmtutil [INFO]: --- remaking jadetex with pdftex
fmtutil [INFO]: --- remaking xmltex with pdftex
fmtutil [INFO]: --- remaking pdfetex with pdftex
fmtutil [INFO]: --- remaking pdfjadetex with pdftex
fmtutil [INFO]: --- remaking mptopdf with pdftex
fmtutil [INFO]: --- remaking pdfcslatex with pdftex
fmtutil [INFO]: --- remaking mf with mf-nowin
fmtutil: running `mf-nowin -ini -jobname=mf -progname=mf -translate-file=cp227.tcx mf.ini' ...
This is METAFONT, Version 2.71828182 (TeX Live 2021/GNU Guix) (INIMF)
(/tmp/texlive/share/texmf-dist/web2c/cp227.tcx)
(/tmp/texlive/share/texmf-dist/metafont/config/mf.ini (/tmp/texlive/share/texmf-dist/metafont/base/plain.mf
Preloading the plain base, version 2.71: preliminaries,
basic constants and mathematical macros,
macros for converting from device-independent units to pixels,
macros and tables for various modes of operation,
macros for drawing and filling,
macros for proof labels and rules,
macros for character and font administration,
and a few last-minute items.)
kpathsea: Running mktexmf modes

! I can't find file `modes'.
l.3 \input modes

Please type another input file name:
! Emergency stop.
l.3 \input modes

Transcript written on mf.log.
fmtutil [INFO]: log file copied to: /tmp/guix-build-texlive-font-maps-debug.drv-0/{/tmp/texlive/share/texmf-var/web2c/metafont/mf.log
fmtutil [INFO]: --- remaking xelatex with xetex
fmtutil [INFO]: --- remaking optex with luatex
fmtutil [INFO]: --- remaking pdflatex-dev with pdftex
fmtutil: running `pdftex -ini -jobname=pdflatex-dev -progname=pdflatex-dev -translate-file=cp227.tcx *pdflatex.ini' ...
This is pdfTeX, Version 3.141592653-2.6-1.40.22 (TeX Live 2021/GNU Guix) (INITEX)
restricted \write18 enabled.
(/tmp/texlive/share/texmf-dist/web2c/cp227.tcx)
entering extended mode
(/tmp/texlive/share/texmf-dist/tex/latex/latexconfig/pdflatex.ini
! I can't find file `pdftexconfig.tex'.
l.2 \input pdftexconfig.tex

(Press Enter to retry, or Control-D to exit)
Please type another input file name:
! Emergency stop.
l.2 \input pdftexconfig.tex

No pages of output.
Transcript written on pdflatex-dev.log.
fmtutil [INFO]: log file copied to: /tmp/guix-build-texlive-font-maps-debug.drv-0/{/tmp/texlive/share/texmf-var/web2c/pdftex/pdflatex-dev.log
fmtutil [INFO]: --- remaking pdfmex with pdftex
fmtutil [INFO]: --- remaking latex-dev with pdftex
fmtutil: running `pdftex -ini -jobname=latex-dev -progname=latex-dev -translate-file=cp227.tcx *latex.ini' ...
This is pdfTeX, Version 3.141592653-2.6-1.40.22 (TeX Live 2021/GNU Guix) (INITEX)
restricted \write18 enabled.
(/tmp/texlive/share/texmf-dist/web2c/cp227.tcx)
entering extended mode
(/tmp/texlive/share/texmf-dist/tex/latex/latexconfig/latex.ini
! I can't find file `pdftexconfig'.
l.7 \input pdftexconfig

(Press Enter to retry, or Control-D to exit)
Please type another input file name:
! Emergency stop.
l.7 \input pdftexconfig

No pages of output.
Transcript written on latex-dev.log.
fmtutil [INFO]: log file copied to: /tmp/guix-build-texlive-font-maps-debug.drv-0/{/tmp/texlive/share/texmf-var/web2c/pdftex/latex-dev.log
fmtutil [INFO]: --- remaking lualatex with luahbtex
fmtutil [INFO]: --- remaking xelatex-dev with xetex
fmtutil [INFO]: --- remaking pdfxmltex with pdftex
fmtutil [INFO]: --- remaking dviluatex with luatex
fmtutil [INFO]: --- remaking pdfcsplain with luatex
fmtutil [INFO]: --- remaking pdfcsplain with pdftex
fmtutil [INFO]: --- remaking pdfcsplain with xetex
fmtutil [INFO]: --- remaking latex with pdftex
fmtutil: running `pdftex -ini -jobname=latex -progname=latex -translate-file=cp227.tcx *latex.ini' ...
This is pdfTeX, Version 3.141592653-2.6-1.40.22 (TeX Live 2021/GNU Guix) (INITEX)
restricted \write18 enabled.
(/tmp/texlive/share/texmf-dist/web2c/cp227.tcx)
entering extended mode
(/tmp/texlive/share/texmf-dist/tex/latex/latexconfig/latex.ini
! I can't find file `pdftexconfig'.
l.7 \input pdftexconfig

(Press Enter to retry, or Control-D to exit)
Please type another input file name:
! Emergency stop.
l.7 \input pdftexconfig

No pages of output.
Transcript written on latex.log.
fmtutil [INFO]: log file copied to: /tmp/guix-build-texlive-font-maps-debug.drv-0/{/tmp/texlive/share/texmf-var/web2c/pdftex/latex.log
fmtutil [INFO]: --- remaking dvilualatex-dev with luatex
fmtutil [INFO]: --- remaking texsis with pdftex
fmtutil [INFO]: --- remaking cslatex with pdftex
fmtutil [INFO]: --- remaking pdflatex with pdftex
fmtutil: running `pdftex -ini -jobname=pdflatex -progname=pdflatex -translate-file=cp227.tcx *pdflatex.ini' ...
This is pdfTeX, Version 3.141592653-2.6-1.40.22 (TeX Live 2021/GNU Guix) (INITEX)
restricted \write18 enabled.
(/tmp/texlive/share/texmf-dist/web2c/cp227.tcx)
entering extended mode
(/tmp/texlive/share/texmf-dist/tex/latex/latexconfig/pdflatex.ini
! I can't find file `pdftexconfig.tex'.
l.2 \input pdftexconfig.tex

(Press Enter to retry, or Control-D to exit)
Please type another input file name:
! Emergency stop.
l.2 \input pdftexconfig.tex

No pages of output.
Transcript written on pdflatex.log.
fmtutil [INFO]: log file copied to: /tmp/guix-build-texlive-font-maps-debug.drv-0/{/tmp/texlive/share/texmf-var/web2c/pdftex/pdflatex.log
fmtutil [INFO]: --- remaking platex-dev with eptex
fmtutil [INFO]: --- remaking uplatex-dev with euptex
fmtutil [INFO]: --- remaking mllatex with pdftex
fmtutil: running `pdftex -ini -jobname=mllatex -progname=mllatex -translate-file=cp227.tcx -mltex *mllatex.ini' ...
This is pdfTeX, Version 3.141592653-2.6-1.40.22 (TeX Live 2021/GNU Guix) (INITEX)
restricted \write18 enabled.
(/tmp/texlive/share/texmf-dist/web2c/cp227.tcx)
entering extended mode
MLTeX v2.2 enabled
(/tmp/texlive/share/texmf-dist/tex/latex/latexconfig/mllatex.ini
(/tmp/texlive/share/texmf-dist/tex/latex/base/latex.ltx (/tmp/texlive/share/texmf-dist/tex/latex/base/texsys.cfg)
./texsys.aux found


\@currdir set to: ./.


Assuming \openin and \input
have the same search path.


Defining UNIX/DOS style filename parser.

catcodes, registers, parameters,
LaTeX2e <2020-10-01> patch level 4
(/tmp/texlive/share/texmf-dist/tex/latex/l3kernel/expl3.ltx (/tmp/texlive/share/texmf-dist/tex/latex/l3kernel/expl3-code.tex (/tmp/texlive/share/texmf-dist/tex/latex/l3kernel/l3deprecation.def))) (/tmp/texlive/share/texmf-dist/tex/latex/l3packages/xparse.ltx (/tmp/texlive/share/texmf-dist/tex/latex/l3packages/xparse-generic.tex)) hacks, control, par, spacing, files, font encodings, lengths,
====================================

Local config file fonttext.cfg used

====================================
(/tmp/texlive/share/texmf-dist/tex/latex/base/fonttext.cfg (/tmp/texlive/share/texmf-dist/tex/latex/base/fonttext.ltx
=== Don't modify this file, use a .cfg file instead ===

(/tmp/texlive/share/texmf-dist/tex/latex/base/omlenc.def) (/tmp/texlive/share/texmf-dist/tex/latex/base/omsenc.def) (/tmp/texlive/share/texmf-dist/tex/latex/base/ot1enc.def) (/tmp/texlive/share/texmf-dist/tex/latex/base/t1enc.def) (/tmp/texlive/share/texmf-dist/tex/latex/base/ts1enc.def) (/tmp/texlive/share/texmf-dist/tex/latex/base/ts1cmr.fd) (/tmp/texlive/share/texmf-dist/tex/latex/base/t1cmr.fd) (/tmp/texlive/share/texmf-dist/tex/latex/base/ot1cmr.fd) (/tmp/texlive/share/texmf-dist/tex/latex/base/ot1cmss.fd) (/tmp/texlive/share/texmf-dist/tex/latex/base/ot1cmtt.fd)))
====================================

Local config file fontmath.cfg used

====================================
(/tmp/texlive/share/texmf-dist/tex/latex/base/fontmath.cfg (/tmp/texlive/share/texmf-dist/tex/latex/base/fontmath.ltx
=== Don't modify this file, use a .cfg file instead ===

(/tmp/texlive/share/texmf-dist/tex/latex/base/omlcmm.fd) (/tmp/texlive/share/texmf-dist/tex/latex/base/omscmsy.fd) (/tmp/texlive/share/texmf-dist/tex/latex/base/omxcmex.fd) (/tmp/texlive/share/texmf-dist/tex/latex/base/ucmr.fd)))
====================================

Local config file preload.cfg used

=====================================
(/tmp/texlive/share/texmf-dist/tex/latex/base/preload.cfg (/tmp/texlive/share/texmf-dist/tex/latex/base/preload.ltx)) page nos., x-ref, environments, center, verbatim, math definitions, boxes, title, sectioning, contents, floats, footnotes, index, bibliography, output,
===========================================
Local configuration file hyphen.cfg used
===========================================
(/tmp/texlive/share/texmf-dist/tex/generic/babel/hyphen.cfg (/tmp/texlive/share/texmf-dist/tex/generic/hyphen/hyphen.tex) (/tmp/texlive/share/texmf-dist/tex/generic/hyphen/dumyhyph.tex) (/tmp/texlive/share/texmf-dist/tex/generic/hyphen/zerohyph.tex) (/tmp/texlive/share/texmf-dist/tex/generic/dehyph-exptl/dehypht-x-2021-02-26.tex dehyph-exptl: using an 8-bit TeX engine. (/tmp/texlive/share/texmf-dist/tex/generic/dehyph-exptl/dehypht-x-2021-02-26.pat German Hyphenation Patterns (Traditional Orthography) `dehypht-x' 2021-02-26 (WL))) (/tmp/texlive/share/texmf-dist/tex/generic/dehyph-exptl/dehyphn-x-2021-02-26.tex dehyph-exptl: using an 8-bit TeX engine. (/tmp/texlive/share/texmf-dist/tex/generic/dehyph-exptl/dehyphn-x-2021-02-26.pat German Hyphenation Patterns (Reformed Orthography, 2006) `dehyphn-x' 2021-02-26 (WL))) (/tmp/texlive/share/texmf-dist/tex/generic/hyph-utf8/loadhyph/loadhyph-af.tex EC Afrikaans hyphenation patterns
(/tmp/texlive/share/texmf-dist/tex/generic/hyph-utf8/conversions/conv-utf8-ec.tex) (/tmp/texlive/share/texmf-dist/tex/generic/hyph-utf8/patterns/tex/hyph-af.tex)) (/tmp/texlive/share/texmf-dist/tex/generic/hyph-utf8/loadhyph/loadhyph-grc.tex Hyphenation patterns for Ancient Greek (/tmp/texlive/share/texmf-dist/tex/generic/hyphen/grahyph5.tex Hyphenation patterns for Ancient Greek)) (/tmp/texlive/share/texmf-dist/tex/generic/hyphen/ibyhyph.tex Greek hyphenation patterns for Ibycus encoding, v3.0) (/tmp/texlive/share/texmf-dist/tex/generic/hyphen/zerohyph.tex) (/tmp/texlive/share/texmf-dist/tex/generic/hyph-utf8/loadhyph/loadhyph-hy.tex No Armenian hyphenation patterns - only for Unicode engines) (/tmp/texlive/share/texmf-dist/tex/generic/hyph-utf8/loadhyph/loadhyph-eu.tex EC Basque hyphenation patterns (/tmp/texlive/share/texmf-dist/tex/generic/hyph-utf8/conversions/conv-utf8-ec.tex) (/tmp/texlive/share/texmf-dist/tex/generic/hyph-utf8/patterns/tex/hyph-eu.tex))
(/tmp/texlive/share/texmf-dist/tex/generic/hyph-utf8/loadhyph/loadhyph-be.tex T2A Belarusian hyphenation patterns (/tmp/texlive/share/texmf-dist/tex/generic/hyph-utf8/conversions/conv-utf8-t2a.tex) (/tmp/texlive/share/texmf-dist/tex/generic/hyph-utf8/patterns/tex/hyph-be.tex)) (/tmp/texlive/share/texmf-dist/tex/generic/hyph-utf8/loadhyph/loadhyph-bg.tex T2A Bulgarian hyphenation patterns (/tmp/texlive/share/texmf-dist/tex/generic/hyph-utf8/conversions/conv-utf8-t2a.tex) (/tmp/texlive/share/texmf-dist/tex/generic/hyph-utf8/patterns/tex/hyph-bg.tex Bulgarian hyphenation patterns (options: --safe-morphology --standalone-tex, version 21 October 2017))) (/tmp/texlive/share/texmf-dist/tex/generic/hyph-utf8/loadhyph/loadhyph-ca.tex EC Catalan hyphenation patterns (/tmp/texlive/share/texmf-dist/tex/generic/hyph-utf8/conversions/conv-utf8-ec.tex) (/tmp/texlive/share/texmf-dist/tex/generic/hyph-utf8/patterns/tex/hyph-ca.tex))
(/tmp/texlive/share/texmf-dist/tex/generic/hyph-utf8/loadhyph/loadhyph-zh-latn-pinyin.tex EC Pinyin Hyphenation Patterns (with tone markers) 2018-11-25 (WL) (/tmp/texlive/share/texmf-dist/tex/generic/hyph-utf8/patterns/ptex/hyph-zh-latn-pinyin.ec.tex)) (/tmp/texlive/share/texmf-dist/tex/generic/hyph-utf8/loadhyph/loadhyph-cu.tex No Church Slavonic hyphenation patterns - only for Unicode engines) (/tmp/texlive/share/texmf-dist/tex/generic/hyph-utf8/loadhyph/loadhyph-cop.tex Coptic hyphenation patterns (/tmp/texlive/share/texmf-dist/tex/generic/hyph-utf8/patterns/tex-8bit/copthyph.tex)) (/tmp/texlive/share/texmf-dist/tex/generic/hyph-utf8/loadhyph/loadhyph-hr.tex EC Croatian hyphenation patterns (/tmp/texlive/share/texmf-dist/tex/generic/hyph-utf8/conversions/conv-utf8-ec.tex) (/tmp/texlive/share/texmf-dist/tex/generic/hyph-utf8/patterns/tex/hyph-hr.tex)) (/tmp/texlive/share/texmf-dist/tex/generic/hyph-utf8/loadhyph/loadhyph-cs.tex EC Czech hyphenation patterns
(/tmp/texlive/share/texmf-dist/tex/generic/hyph-utf8/conversions/conv-utf8-ec.tex) (/tmp/texlive/share/texmf-dist/tex/generic/hyph-utf8/patterns/tex/hyph-cs.tex)) (/tmp/texlive/share/texmf-dist/tex/generic/hyph-utf8/loadhyph/loadhyph-da.tex EC Danish hyphenation patterns (/tmp/texlive/share/texmf-dist/tex/generic/hyph-utf8/conversions/conv-utf8-ec.tex) (/tmp/texlive/share/texmf-dist/tex/generic/hyph-utf8/patterns/tex/hyph-da.tex)) (/tmp/texlive/share/texmf-dist/tex/gene
This message was truncated. Download the full message here.
?