Re: [PATCH v2] osxkeychain: define build targets in the top-level Makefile.
- From
Koji Nakamaru <koji.nakamaru@gree.net>
- Date
- Feb 17, 2026, 01:09 UTC
- Message-ID
- <CAOTNsDwMeszCC6wunkkx_vhKYx9OvRWXB4VxedypOTQJ6Qs2sA@mail.gmail.com>
- In-Reply-To
- <CALnO6CARu8HSYh9=z6FAF=84q1qA4Oan7_DLMbcK+1rth8B7cA@mail.gmail.com>
On Tue, Feb 17, 2026 at 8:45 AM D. Ben Knoble <ben.knoble@gmail.com> wrote:
Show 15 quoted lines
> ... > > Homebrew picked this patch on top of 2.53.0, and on a recent build on > older macOS I needed to > > mkdir contrib/credential/osxkeychain/.depend > > in order to make their build work, since otherwise: > > error: error opening > 'contrib/credential/osxkeychain/.depend/git-credential-osxkeychain.o.d': > No such file or directory > 1 error generated. > make[1]: *** > [contrib/credential/osxkeychain/git-credential-osxkeychain.o] Error 1
I tried to reproduce this using the current Homebrew formula for git [1] on macOS 15.7.4 and 14.8.4 (both relatively newer) with the following steps:
brew tap --force homebrew/core cd "$(brew --repository homebrew/core)" git checkout -B main origin/main git pull HOMEBREW_NO_INSTALL_FROM_API=1 brew reinstall --build-from-source git
In my environment, the build finished successfully. The patch doesn't seem to trigger any issues during a local "make" either. How exactly are you performing your build?
[1] https://github.com/Homebrew/homebrew-core/blob/9ec3da0dcd3ccd1cd4d892a71377b251770212d7/Formula/g/git.rb