build failure on musl libc (linux) since 7.4
alice
alice at ayaya.dev
Sat Jan 7 05:01:46 UTC 2023
On Thu Jan 5, 2023 at 7:19 AM CET, alice wrote:
> 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.
this actually seems to only happen with a controlling terminal - building in
e.g. a CI job works fine. strange. but i guess the issue isn't that bad in
that case.
More information about the LibreOffice
mailing list