bug-findutils
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

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


From: Carlo Cabrera
Subject: Re: findutils 4.8.0 fails to build on macOS 10.14, 10.15, 11.1
Date: Wed, 27 Jan 2021 12:02:27 +0000

> On 27 Jan 2021, at 11:35, James Youngman <jay@gnu.org> wrote:
> 
> From line 63 of the log:
> 
> > checking for gcc... clang
> 
> Try building with GCC.   On MacOS there is (sometimes?) a "gcc" binary which 
> is actually LLVM / clang.   It looks like what's happening in your case is 
> that the gcc binary on your system is not actually gcc, and is not actually 
> behaving identically to gcc, and so you're getting bad results.

Thanks. I tried building with gcc, but that leads to the exact same
error I quoted in my second email [1]:

    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

My guess is that it's trying to link with libraries that don't work on
macOS, though I'm not sure how to stop it from doing that.

Build logs at

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

Error (macOS 10.14) starts at

    
https://github.com/Homebrew/homebrew-core/runs/1776464691?check_suite_focus=true#step:7:1082

[1] https://lists.gnu.org/archive/html/bug-findutils/2021-01/msg00051.html


reply via email to

[Prev in Thread] Current Thread [Next in Thread]