seedtool-cli icon indicating copy to clipboard operation
seedtool-cli copied to clipboard

Building on macOS 12.3 Intel Fails

Open ChristopherA opened this issue 3 years ago • 2 comments

On macOS Monterey 12.3 on a MacBook Pro (13-inch, 2020, Four Thunderbolt 3 ports), with all system updates, and Xcode Version 13.3 (13E113), building seedtool-cli is failing.

I have done brew install autoconf automake libtool shunit2 with no errors.

Doing ./build.sh starts ok, but then fails with

seedtool-cli % git pull
…
seedtool-cli % git clean --ffdx
…
seedtool-cli % ./build.sh
…
Undefined symbols for architecture x86_64:
  "_argp_program_bug_address", referenced from:
      __help in libargp.a(argp-help.o)
  "_strchrnul", referenced from:
      _argp_args_usage in libargp.a(argp-help.o)
ld: symbol(s) not found for architecture x86_64
clang: error: linker command failed with exit code 1 (use -v to see invocation)
make[1]: *** [argp-test] Error 1
make: *** [install-recursive] Error 1

seedtool-cli %

I have also tried make clean.

ChristopherA avatar Mar 16 '22 20:03 ChristopherA

Note that it builds on on m1 on macOS 12.2.1, PROVIDED that you don't try to build it in ~/Documents, otherwise you'll get security errors:

image

image

I'll upgrade this machine to 12.3 and update Xcode and see if the same bug happens there.

ChristopherA avatar Mar 16 '22 20:03 ChristopherA

Please see whether this has now been fixed on the systems you're testing for.

wolfmcnally avatar May 01 '23 09:05 wolfmcnally