Re: 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]>
The build failure I reported in

    https://lists.gnu.org/archive/html/bug-findutils/2021-01/msg00050.html

was because the build was trying to use glibc's regex library. This
doesn't work on macOS. I avoided that by passing
`--without-included-regex` to `configure`. This fixed the identical
build failure with wget.

However, this reveals a different error:

    Undefined symbols for architecture x86_64:
      "_re_compile_pattern", referenced from:
          _insert_regex in libfindtools.a(parser.o)
      "_re_match", referenced from:
          _pred_regex in libfindtools.a(pred.o)
      "_re_set_syntax", referenced from:
          _insert_regex in libfindtools.a(parser.o)
    ld: symbol(s) not found for architecture x86_64

Build logs are available at

    https://github.com/Homebrew/homebrew-core/actions/runs/514827463

The error starts at

    https://github.com/Homebrew/homebrew-core/pull/69761/checks?check_run_id=1776152857#step:7:1081

Assistance would be appreciated.
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.