elfutils: configure: error: failed to find argp_parse
Found on aarch64:
...
checking for getrlimit... yes
checking whether strerror_r is declared... yes
checking whether strerror_r returns char *... no
/tmp/root/spack-stage/spack-stage-elfutils-0.189-erz5idnka4ga7u3tdxi4rfa4iwxrxwno/spack-src/configure: 8748: test: xyes: unexpected operator
checking whether symbol versioning is supported... yes
checking whether gcc accepts -Wstack-usage... yes
checking whether gcc has a sane -Wlogical-op... yes
checking whether gcc accepts -Wduplicated-cond... yes
checking whether gcc accepts -Wnull-dereference... yes
checking whether gcc accepts -Wimplicit-fallthrough... yes
checking whether the compiler accepts -Wimplicit-fallthrough=5... yes
checking whether the compiler accepts -Wtrampolines... yes
checking whether the compiler accepts -Wno-packed-not-aligned... yes
checking whether the compiler accepts -Wuse-after-free=3... no
checking whether the compiler accepts -fno-addrsig... no
checking for library containing argp_parse... no
configure: error: in `/tmp/root/spack-stage/spack-stage-elfutils-0.189-erz5idnka4ga7u3tdxi4rfa4iwxrxwno/spack-src':
configure: error: failed to find argp_parse
See `config.log' for more details
and
...
configure:9255: /opt/spack/lib/spack/env/gcc/gcc -o conftest -D_FORTIFY_SOURCE=3 -g -O2 -DBAD_FTS=1 -Wl,--build-id conftest.c -largp >&5
/usr/lib/gcc/aarch64-foxkit-linux-musl/8.5.0/../../../../aarch64-foxkit-linux-musl/bin/ld: cannot find -largp: No such file or directory
collect2: error: ld returned 1 exit status
...