Hi,
libunicode-linebreak-perl fails to build from source on arm64 when using glibc 2.43,
currently in experimental.
The issue is triggered by glibc 2.43 on arm64 enabling 2MB THP by
default:
https://sourceware.org/git/?p=glibc.git;a=commit;h=321e1fc73f53081d92ba357cdd48c56b79292020
The problem is however not architecture-specific. For example it can be
reproduced with glibc 2.42 on amd64 by building the package with the
GLIBC_TUNABLES environment variable set to glibc.malloc.hugetlb=2.
Successful build with glibc 2.42, currently in sid:
https://people.debian.org/~ema/glibc-2.43-rebuilds/output-2/libunicode-linebreak-perl_arm64.build
Logs of a failed build with glibc 2.43 are here:
https://people.debian.org/~ema/glibc-2.43-rebuilds/output-1/libunicode-linebreak-perl_arm64.build
Salient part:
t/00LineBreakTest.t ...... skipped: test-data/LineBreakTest.txt found at http://www.unicode.org/Public/ is required.
Cannot allocate memory at /build/reproducible-path/libunicode-linebreak-perl-0.0.20190101/t/../t/lb.pl line 29.
# Looks like your test exited with 12 before it could output anything.
t/01break.t ..............
1..13
Dubious, test returned 12 (wstat 3072, 0xc00)
Failed 13/13 subtests
Cannot allocate memory at /build/reproducible-path/libunicode-linebreak-perl-0.0.20190101/t/../t/lb.pl line 29.
# Looks like your test exited with 12 before it could output anything.
t/02hangul.t .............
1..2
Dubious, test returned 12 (wstat 3072, 0xc00)
Failed 2/2 subtests
Cannot allocate memory at /build/reproducible-path/libunicode-linebreak-perl-0.0.20190101/t/../t/lb.pl line 29.
# Looks like your test exited with 12 before it could output anything.
t/03ns.t .................
1..2
Dubious, test returned 12 (wstat 3072, 0xc00)
[...]
Result: FAIL
Failed 13/22 test programs. 0/148 subtests failed.
make[1]: *** [Makefile:1059: test_dynamic] Error 255
make[1]: Leaving directory '/build/reproducible-path/libunicode-linebreak-perl-0.0.20190101'
dh_auto_test: error: make -j16 test TEST_VERBOSE=1 returned exit code 2
make: *** [debian/rules:11: binary] Error 25