luatexdir/luaoutputdir.test non-deterministic test failure

Maxim Cournoyer <[email protected]>
Newsgroups gmane.comp.tex.live
Organization Guixotic
Message-ID <[email protected]>
Hi,

Building the package texlive-bin in GNU Guix, which is at version
2025.2, I've hit the same test failure numerous times, although not
every time (non-deterministic):

--8<---------------cut here---------------start------------->8---
FAIL: luatexdir/luaoutputdir
============================

#!/gnu/store/30hszyg5y5py69r4a8glc43w0zrdbr7k-bash-minimal-5.2.37/bin/sh -vx
# luaoutputdir.test - check that Lua-level kpse.* reads from -output-directory.
# Public domain. Originally written by Karl Berry, 2023.
# https://github.com/latex3/latex3/issues/1070

BinDir=${BinDir:-.} # ordinarily run from the web2c builddir
+ BinDir=.
ExeExt=${ExeExt:-}
+ ExeExt=
_luatex=$BinDir/luatex$ExeExt
+ _luatex=./luatex

# in case we're invoked standalone instead of from make.
test -z "$srcdir" && srcdir=`cd \`dirname $0\`/.. && pwd` # web2c/
+ test -z ../../../source/texk/web2c
TEXMFCNF=$srcdir/../kpathsea; export TEXMFCNF
+ TEXMFCNF=../../../source/texk/web2c/../kpathsea
+ export TEXMFCNF

outdir=tests/outdirlua
+ outdir=tests/outdirlua
outfile=outfileLUA.tex
+ outfile=outfileLUA.tex
rm -rf $outdir  # don't let previous runs interfere
+ rm -rf tests/outdirlua
mkdir $outdir || exit 1
+ mkdir tests/outdirlua
mkdir: cannot create directory ‘tests/outdirlua’: No such file or directory
+ exit 1
FAIL luatexdir/luaoutputdir.test (exit status: 1)


error: in phase 'check': uncaught exception:
%exception #<&invoke-error program: "make" arguments: ("check" "-j" "32" "--max-load=32") exit-status: 2 term-signal: #f stop-signal: #f> 
phase `check' failed after 6.7 seconds
--8<---------------cut here---------------end--------------->8---

It was first reported against Guix, where you can find more context such
as a complete build log.

The inputs of texlive-bin are:

--8<---------------cut here---------------start------------->8---
[email protected] [email protected] [email protected] [email protected] [email protected] [email protected]
+ [email protected] [email protected] [email protected] [email protected] [email protected]
--8<---------------cut here---------------end--------------->8---

I'll try disabling this test in the Guix package meanwhile.

-- 
Thanks,
Maxim
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.