build failure on musl libc (linux) since 7.4
alice
alice at ayaya.dev
Thu Jan 5 06:19:41 UTC 2023
starting from 7.4, building libreoffice fails with something like
<snip>
[AWK] CustomTarget/postprocess/registry/fcfg_langpack_en-US.list
[CFG] registry
make[1]: /bin/sh: Argument list too long
</snip>
a more full (still trimmed; it's huge) make -d output is available:
https://img.ayaya.dev/Ii6L84rHzXfv
i would assume this is a recent bug in the build system, as afaict the relevant
part of the length of the argument list there in that log is about 800k.
meanwhile:
$ getconf ARG_MAX # glibc
2097152
$ getconf ARG_MAX # musl
131072
and that has not changed for a long time for either (afaik). so, it would have
to be something changed since 7.3.7.2 (which builds fine).
i also reproduced this on latest master (around
d3a5a97f77378421f17b1fa43d0b88dde8bc686a) without any system libraries or fancy
configure arguments (just default ./configure), so i don't think any other
information is necessary, aside from it being with make 4.4.
More information about the LibreOffice
mailing list