I have a go application I am trying to distribute using Homebrew. When compiling without Homebrew everything works as expected. When using Homebrew I get a compile error.
Compile Error:
cannot load DWARF output from $WORK/github.com/libgit2/git2go/_obj//_cgo_.o: decoding dwarf section info at offset 0x0: too short
This can be replicated by building my repo (which uses libgit2) on a mac from homebrew using:
$ brew install jwaldrip/utils/git-get -v --HEAD
The formula can be viewed at: https://github.com/jwaldrip/homebrew-utils/blob/master/git-get.rb
The Makefile the formula uses at: https://github.com/jwaldrip/git-get/blob/master/Makefile