Problem building statically linked binary with GHC 9.2.2 (`process` library)
We are experiencing a weird GHA CI failure since 2022-04-08 on ubuntu-20.04 with a haskell/setup - ghcup - installed GHC 9.2.2:
/usr/local/.ghcup/ghc/9.2.2/lib/ghc-9.2.2/process-1.6.13.2/libHSprocess-1.6.13.2.a(fork_exec.o):fork_exec.c:function do_spawn_fork:
warning: Using 'getpwuid_r' in statically linked applications requires at runtime the shared libraries from the glibc version used for linking
(https://github.com/agda/agda/runs/6218893505?check_suite_focus=true#step:10:28)
The workflow does not use caching, and also, the problem is reported for a library shipped with ghcup's GHC, so I don't know how to work around this.
The problem is different from #21423 (closed), but maybe you have an idea what is going wrong?
Downstream issue: https://github.com/agda/agda/issues/5874