findutils 4.8.0 fails to build on macOS 10.14, 10.15, 11.1

Carlo Cabrera <[email protected]>
Newsgroups gmane.comp.gnu.findutils.bugs
Message-ID <[email protected]>
findutils 4.8.0 fails to build on macOS 10.14, 10.15, and 11.1. The build
fails with a series of errors starting with

    In file included from regex.c:74:
    In file included from ./regexec.c:1362:
    ./malloc/dynarray-skeleton.c:195:13: error: expected identifier or '('
    __nonnull ((1))
                ^
    ./malloc/dynarray-skeleton.c:195:13: error: expected ')'
    ./malloc/dynarray-skeleton.c:195:12: note: to match this '('
    __nonnull ((1))
               ^

Complete build logs available at
    
    https://github.com/Homebrew/homebrew-core/pull/68646

The error (on 11.1) starts at

    https://github.com/Homebrew/homebrew-core/pull/68646/checks?check_run_id=1674525012#step:7:1011

The exact same errors affect wget 1.21.1, so the bug may not be in
findutils. If so, I'd appreciate being pointed to the right place to submit
this bug report. I've also reported this to bug-wget.
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.