Subject: texlive-bin fails to build on armhf-linux, breaking guix pull

From: Christopher Baines <[email-masked]>
Date: Fri, 18 Feb 2022 12:33:13 +0000

Something I've noticed from data.guix.gnu.org, it fails to compute the
guix derivation for armhf-linux because texlive-bin fails to build [1]

1: https://data.guix.gnu.org/job/28674
phase `check' failed after 820.9 seconds
command "make" "check" "-j" "8" failed with status 2
builder for `/gnu/store/hq3r8ayp8ak2p36y016x62f028m4miv1-texlive-bin-20210325.drv' failed with exit code 1
@ build-failed /gnu/store/hq3r8ayp8ak2p36y016x62f028m4miv1-texlive-bin-20210325.drv - 1 builder for `/gnu/store/hq3r8ayp8ak2p36y016x62f028m4miv1-texlive-bin-20210325.drv' failed with exit code 1
cannot build derivation `/gnu/store/gd3xkfbpfcv03y958ggmgnc150cz4r82-texlive-amsmath-59745.drv': 1 dependencies couldn't be built
error: while computing manifest entry derivation for armhf-linux
error %exception: (#<&message message: "You found a bug: the program '/gnu/store/s82qcdcxsyr16fp1db8n800jd171vk4v-compute-guix-derivation'\nfailed to compute the derivation for Guix (version: \"e9f9f291edafaa27fa6d7e9967909555a08d383e\"; system: \"armhf-linux\";\nhost version: \"1.3.0-21.e427593\"; pull-version: 1).\nPlease report the COMPLETE output above by email to <[email-masked]>.\n">)

I've included what looks like the failure at the bottom of the email. I
did find a thread [2] which suggested this is a real upstream issue on
armhf-linux.

2: https://tug.org/pipermail/tlbuild/2021q1/004873.html

FAIL: tests/mendex
==================

#!/gnu/store/97xwzdsw9p6019dbml5mzf781c7avfkq-bash-minimal-5.1.8/bin/sh -vx
# $Id: mendex.test 58575 2021-03-21 08:54:52Z takuji $
# Copyright 2017 Karl Berry <[email-masked]>
# Copyright 2013 Peter Breitenlohner <[email-masked]>
# You may freely use, modify and/or distribute this file.

TEXMFCNF=$srcdir/../kpathsea
+ TEXMFCNF=../../../texlive-20210325-source/texk/mendexk/../kpathsea
export TEXMFCNF
+ export TEXMFCNF

rm -f foo.*
+ rm -f 'foo.*'

./mendex $srcdir/tests/foo.idx -o foo.ind1 -t foo.ilg1 \
	&& diff $srcdir/tests/foo.ind foo.ind1 || exit 1
+ ./mendex ../../../texlive-20210325-source/texk/mendexk/tests/foo.idx -o foo.ind1 -t foo.ilg1
This is mendex version 3.3 [21-Mar-2021] (utf8.uptex) (TeX Live 2021).
Scanning input file ../../../texlive-20210325-source/texk/mendexk/tests/foo.idx....done (3 entries accepted, 0 rejected).
3 entries accepted, 0 rejected.
Sorting index....done(0 comparisons).
Sorting pages....done(4 comparisons).
Making index file....done.
0 warnings, written in foo.ilg1.
Output written in foo.ind1.
+ diff ../../../texlive-20210325-source/texk/mendexk/tests/foo.ind foo.ind1

cat $srcdir/tests/foo.idx | ./mendex >foo.ind2 2>foo.ilg2 \
	&& diff $srcdir/tests/foo.ind foo.ind2 || exit 1
+ cat ../../../texlive-20210325-source/texk/mendexk/tests/foo.idx
+ ./mendex
+ diff ../../../texlive-20210325-source/texk/mendexk/tests/foo.ind foo.ind2

./mendex -U -d $srcdir/tests/uni.dict -s $srcdir/tests/uni.ist \
	$srcdir/tests/uni.idx -o uni.ind1 -t uni.ilg1 \
	&& diff $srcdir/tests/uni.ind uni.ind1 || exit 1
+ ./mendex -U -d ../../../texlive-20210325-source/texk/mendexk/tests/uni.dict -s ../../../texlive-20210325-source/texk/mendexk/tests/uni.ist ../../../texlive-20210325-source/texk/mendexk/tests/uni.idx -o uni.ind1 -t uni.ilg1
This is mendex version 3.3 [21-Mar-2021] (utf8.uptex) (TeX Live 2021).
Scanning dictionary file ../../../texlive-20210325-source/texk/mendexk/tests/uni.dict....done.
Scanning input file ../../../texlive-20210325-source/texk/mendexk/tests/uni.idx....done (8 entries accepted, 0 rejected).
8 entries accepted, 0 rejected.
Sorting index....done(24 comparisons).
Sorting pages....done(0 comparisons).
Making index file....done.
0 warnings, written in uni.ilg1.
Output written in uni.ind1.
+ diff ../../../texlive-20210325-source/texk/mendexk/tests/uni.ind uni.ind1

cat $srcdir/tests/uni.idx | \
	./mendex -U -d $srcdir/tests/uni.dict -s $srcdir/tests/uni.ist \
	>uni.ind2 2>uni.ilg2 \
	&& diff $srcdir/tests/uni.ind uni.ind2 || exit 1
+ cat ../../../texlive-20210325-source/texk/mendexk/tests/uni.idx
+ ./mendex -U -d ../../../texlive-20210325-source/texk/mendexk/tests/uni.dict -s ../../../texlive-20210325-source/texk/mendexk/tests/uni.ist
+ diff ../../../texlive-20210325-source/texk/mendexk/tests/uni.ind uni.ind2

# test for page_precedence
./mendex -s $srcdir/tests/pprec0.ist $srcdir/tests/pprecA.idx -o pprecA-0.ind1 -t pprecA-0.ilg \
	&& diff $srcdir/tests/pprecA-0.ind pprecA-0.ind1 || exit 1
+ ./mendex -s ../../../texlive-20210325-source/texk/mendexk/tests/pprec0.ist ../../../texlive-20210325-source/texk/mendexk/tests/pprecA.idx -o pprecA-0.ind1 -t pprecA-0.ilg
This is mendex version 3.3 [21-Mar-2021] (utf8.uptex) (TeX Live 2021).
Scanning input file ../../../texlive-20210325-source/texk/mendexk/tests/pprecA.idx....done (9 entries accepted, 0 rejected).
9 entries accepted, 0 rejected.
Sorting index....done(0 comparisons).
Sorting pages....done(27 comparisons).
Making index file....done.
0 warnings, written in pprecA-0.ilg.
Output written in pprecA-0.ind1.
+ diff ../../../texlive-20210325-source/texk/mendexk/tests/pprecA-0.ind pprecA-0.ind1
3c3
<   \item entryA[[delim0]]i[[sfx 3p]], 1[[sfx 3p]], I[[sfx 3p]]
---
>   \item entryA[[delim0]]i, ii, iii, 1, 2, 3, I, II, III
+ exit 1
FAIL tests/mendex.test (exit status: 1)