michaeleisel / zld

A faster version of Apple's linker
MIT License
1.19k stars 50 forks source link

Installing from homebrew on M1 Mac Pro fails #126

Closed dadepo closed 1 year ago

dadepo commented 1 year ago

Trying to install from homebrew fails with the following errors

brew install zld
==> Fetching michaeleisel/zld/zld
==> Downloading https://github.com/michaeleisel/zld/archive/refs/tags/1.3.9.zip
Already downloaded: /Users/me/Library/Caches/Homebrew/downloads/fe17ea222d6c1c843c98b5b3059964de10febdcbb73719c2823811bb663e4b19--zld-1.3.9.zip
==> Installing zld from michaeleisel/zld
==> make clean
==> make build_homebrew
Last 15 lines from /Users/me/Library/Logs/Homebrew/zld/02.make:
  5   __80-[DVTExtension _valueForKey:inParameterData:usingSchema:assertingOnError:error:]_block_invoke (in DVTFoundation)
  6   _dispatch_client_callout (in libdispatch.dylib)
  7   _dispatch_lane_barrier_sync_invoke_and_complete (in libdispatch.dylib)
  8   DVTDispatchBarrierSync (in DVTFoundation)
  9   -[DVTDispatchLock performLockedBlock:] (in DVTFoundation)
 10   -[DVTExtension _valueForKey:inParameterData:usingSchema:assertingOnError:error:] (in DVTFoundation)
 11   -[DVTExtension valueForKey:] (in DVTFoundation)
 12   _IDEInitializeOnePlugInAndPrerequisites (in IDEFoundation)
 13   _IDEInitializePlugIns (in IDEFoundation)
 14   __IDEInitialize_block_invoke (in IDEFoundation)
 15   IDESetSafeToLoadDeveloperSystemFrameworks (in IDEFoundation)
 16   -[Xcode3CommandLineBuildTool run] (in Xcode3Core)
 17   XcodeBuildMain (in libxcodebuildLoader.dylib)
 18   start (in dyld)
make: *** [build_homebrew] Abort trap: 6

Do not report this issue to Homebrew/brew or Homebrew/core!

More Details:

uname -v
Darwin Kernel Version 22.2.0: Fri Nov 11 02:03:51 PST 2022; root:xnu-8792.61.2~4/RELEASE_ARM64_T6000

An issue or something I need to do on my part?

mattremmel commented 1 year ago

I just encountered this as well. Same error.

Mac Studio - M1 Max

uname -v
Darwin Kernel Version 22.2.0: Fri Nov 11 02:03:51 PST 2022; root:xnu-8792.61.2~4/RELEASE_ARM64_T6000
michaeleisel commented 1 year ago

Nothing has changed about zld on homebrew in a while, looks like an Xcode and/or homebrew issue (or maybe related to the Github hash issue from yesterday). In any case, you can always switch to lld