#1116506 texlive-latex-base: Building LuaTeX format fails during installation

#1116506#5
Date:
2025-09-28 07:14:49 UTC
From:
To:
https://buildd.debian.org/status/fetch.php?pkg=dasm&arch=amd64&ver=2.20.15~20201109%2Breally2.20.14.1-3&stamp=1759042676&raw=0

...
Setting up tex-common (6.19) ...
Running mktexlsr. This may take some time... done.
Running updmap-sys. This may take some time... done.
Running mktexlsr /var/lib/texmf ... done.
Building format(s) --all.
	This may take some time...
fmtutil failed. Output has been stored in
/tmp/fmtutil.4ko8ux5G
Please include this file if you report a bug.

dpkg: error processing package tex-common (--configure):
 installed tex-common package post-installation script subprocess returned error exit status 1
...


Sample log attached.

#1116506#16
Date:
2025-09-28 15:56:44 UTC
From:
To:
On 9/28/25 09:14, Adrian Bunk wrote:

Hello all,

Thanks for the bug report. The error message says:

<snip>
live/texmf-dist/tex/latex-dev/l3kernel/expl3.lua:318: module
'lua-uni-data' not
  found:
	no field package.preload['lua-uni-data']
	[kpse lua searcher] file not found: 'lua-uni-data'
stack traceback:
	[C]: in function 'require'
	...hare/texlive/texmf-dist/tex/latex-dev/l3kernel/expl3.lua:318: in
main chunk

	[C]: in function 'require'
	[\directlua]:1: in main chunk.
<inserted text> BAD

l.158     \directlua{require("expl3")}
                                       %
?
! Emergency stop.
<inserted text> BAD

<snip>

The file in question is in texlive-luatex. Does adding this package into
build depends or installing the package solve the issue? Alternatively
remove the lines

dvilualatex luatex language.dat,language.dat.lua dvilualatex.ini
lualatex luahbtex language.dat,language.dat.lua lualatex.ini

from /var/lib/tex-common/fmtutil-cnf/texlive/texlive-latex-base.cnf

Hilmar

#1116506#21
Date:
2025-09-28 18:18:45 UTC
From:
To:
Hello Hilmar,
apt-get --no-install-recommends install texlive-latex-base

Works:
apt-get --no-install-recommends install texlive-latex-base texlive-luatex

None of this is a solution for the packages that fail to build on the
buildds e.g.because of a build dependency on docbook-utils, this is
something that needs urgent fixing in the TeX Live packages.

cu
Adrian

#1116506#26
Date:
2025-09-28 18:27:42 UTC
From:
To:
Dear Hilmar,


Thank you for your prompt reaction on a Sunday


Am 28.09.25 um 17:56 schrieb Hilmar Preuße:

```
$ sudo apt install texlive-luatex
Installiere:
   texlive-luatex

Zusammenfassung:
   Aktualisiere: 0, Installiere: 1, Entferne: 0, Aktualisiere nicht: 52
   1 nicht vollständig installiert oder entfernt.
   Herunterlade-Größe: 36,0 MB
   Benötigter Platz: 61,9 MB / 39,9 GB verfügbar

Holen:1 http://deb.debian.org/debian sid/main amd64 texlive-luatex all
2025.20250927-1 [36,0 MB]
Es wurden 36,0 MB in 3 s geholt (12,1 MB/s).
[master d49a45f] saving uncommitted changes in /etc prior to apt run
  Author: Paul Menzel <pmenzel@molgen.mpg.de>
  1 file changed, 3 insertions(+), 3 deletions(-)
Vormals nicht ausgewähltes Paket texlive-luatex wird gewählt.
(Lese Datenbank ... 494650 Dateien und Verzeichnisse sind derzeit
installiert.)
Vorbereitung zum Entpacken von
.../texlive-luatex_2025.20250927-1_all.deb ...
Entpacken von texlive-luatex (2025.20250927-1) ...
tex-common (6.19) wird eingerichtet ...
Running mktexlsr. This may take some time... done.
Running updmap-sys. This may take some time... done.
Running mktexlsr /var/lib/texmf ... done.
Building format(s) --all.
	This may take some time... done.
texlive-luatex (2025.20250927-1) wird eingerichtet ...
Trigger für man-db (2.13.1-1) werden verarbeitet ...
Trigger für tex-common (6.19) werden verarbeitet ...
Building format(s) --all.
	This may take some time... done.
```

(Just a note, that `Building format(s) --all.` took really a long time.
I think over 30 seconds. I can’t remember it being this long in the
past, but I haven’t paid much attention to this.)


Thank you again and kind regards,

Paul

#1116506#31
Date:
2025-09-28 21:58:39 UTC
From:
To:
Am 28.09.2025 um 09:14 schrieb Adrian Bunk:

Hello Norbert,
The packages texlive-latex-base & texlive-latex-extra try to build
luatex based format files, which fails, if texlive-luatex is not present.

I suggest to move the appropriate lines in
/var/lib/tex-common/fmtutil-cnf/texlive/{texlive-latex-base.cnf/texlive-latex-extra.cnf}
to texlive-luatex.cnf. Unfortunately I'm unsure, how the content of
these files is created. I guess it is from
texlive-base-xxxx.xxxxxx/texmf-dist/web2c/fmtutil.cnf . Please confirm.

For now I'd declare a dep on texlive-luatex for texlive-latex-base &
texlive-latex-extra, which probably solves the issue, but is not optimal
IMHO. Thanks!

H.

#1116506#36
Date:
2025-09-29 07:55:33 UTC
From:
To:
We believe that the bug you reported is fixed in the latest version of
texlive-base, which is due to be installed in the Debian FTP archive.

A summary of the changes between this version and the previous one is
attached.

Thank you for reporting the bug, which will now be closed.  If you
have further comments please address them to 1116506@bugs.debian.org,
and the maintainer will reopen the bug report if appropriate.

Debian distribution maintenance software
pp.
Hilmar Preuße <hille42@debian.org> (supplier of updated texlive-base package)

(This message was generated automatically at their request; if you
believe that there is a problem with it please contact the archive
administrators by mailing ftpmaster@ftp-master.debian.org)
Format: 1.8
Date: Mon, 29 Sep 2025 07:55:56 +0200
Source: texlive-base
Architecture: source
Version: 2025.20250927-2
Distribution: unstable
Urgency: medium
Maintainer: Debian TeX Task Force <debian-tex-maint@lists.debian.org>
Changed-By: Hilmar Preuße <hille42@debian.org>
Closes: 1116506
Changes:
 texlive-base (2025.20250927-2) unstable; urgency=medium
 .
   * Some files to build luatex based format files are in texlive-luatex.
     Add this package to Depends in texlive-latex-base for now
     (Closes: #1116506).
Checksums-Sha1:
 6413e0921c8738b09027b12365cccbeaad24eeba 3298 texlive-base_2025.20250927-2.dsc
 e248d9f1f564ac696fddf110d1f4e4512829401a 318164 texlive-base_2025.20250927-2.debian.tar.xz
 37b199d0e7dfac3b0a4a3103c8713a250e8b941d 5514 texlive-base_2025.20250927-2_source.buildinfo
Checksums-Sha256:
 5f434fbbd6cac7937cddfd39335d1200a493d7d46b4dc05a5a3fd65fd52edd00 3298 texlive-base_2025.20250927-2.dsc
 77c9b64747c16808301d6a4c6be986f7dbf9763bca02ee61761a2b4ace0cfa05 318164 texlive-base_2025.20250927-2.debian.tar.xz
 7c09f77f3ae7db8bc3ad2c3023f4eab213cd49bf1b22f746def63665e7ea5721 5514 texlive-base_2025.20250927-2_source.buildinfo
Files:
 ca6fd7475aab57362cd94fe6399dfccc 3298 tex optional texlive-base_2025.20250927-2.dsc
 f3a1afb60b74075b3cfb17a9213f3ece 318164 tex optional texlive-base_2025.20250927-2.debian.tar.xz
 e3190ffbec59aedd654f3350d7e336ee 5514 tex optional texlive-base_2025.20250927-2_source.buildinfo
-----BEGIN PGP SIGNATURE-----

iQKTBAEBCgB9FiEEaXGmC/nkbIhxf16kxiZYRqvgLIsFAmjaNfRfFIAAAAAALgAo
aXNzdWVyLWZwckBub3RhdGlvbnMub3BlbnBncC5maWZ0aGhvcnNlbWFuLm5ldDY5
NzFBNjBCRjlFNDZDODg3MTdGNUVBNEM2MjY1ODQ2QUJFMDJDOEIACgkQxiZYRqvg
LIvQIg/8DIXmYo390RfHfGs3f3REkUdfNa/cOAricy0yPZiK3hhaR3helBMCWOI5
GDv9WoTndJCAkRzNRfiC1P8208jhDHx8ukWCT5IOFVtTKOzTYqahrUru0Z/Dr6mV
2Whf//4Q8KJw25vpB729je831xAFwEX0B8CdpfDc/YwDf/nub6ujGJZe6unlxIME
/yRpauzP6LUF1w4rhbL9JiARSEfdvXkw1PAE1GF1bDnsIt8PuxT/mNR3tCKGVFIz
h7BfAULqtb08viPsEgbIIszgjlaWswk8n7phwMhlsYnKPsJHbL8FT74kCkyrTfQ5
3O+3hCFBOmb6pjYkaCMZGD0T+BDOSI6uzKB6uevEVZaIyJPYm02x3+qQ5/yM9rC9
6xvh3VKGBHiETG05eWn2PD6s/uUy/rD6H8+zsBKYKiOdaZ3DkXk0V8bFQQsTps4N
wBBvGzfk+vCKavAPDZq6Qk7V97jCTWZF+RcqkpVgQEnAJF0GktgFrDM/6q1T8Tar
ls6jz5fBPLS1VhcEaLTCgdSoG9EcPL3W7W72zn/lZsG55hGnrD5BQrJFnRESq4VN
43zWOCIJcjuSrTRZmz0tkdyUirCVn7NtrOS0y9M2Cnlugc425HA3MXP5WmscVY+G
fsAyl3OPl8+GbP6JdCcZSfwSRstNPQu1Ixbvui/N7IHyZ5R39xA=
=RaBY
-----END PGP SIGNATURE-----