Open zbroyar opened 2 weeks ago
what was this /usr/local/bin/gpatch
binary? Was that a custom symlink you made? If so where did it point to?
If it was a simple symlink could you try to put it back and do:
cd /tmp
curl -LO https://github.com/pqwy/ocb-stubblr/releases/download/v0.1.1/ocb-stubblr-0.1.1.tbz
tar xvf ocb-stubblr-0.1.1.tbz
cd ocb-stubblr-0.1.1
curl -LO https://raw.githubusercontent.com/ocaml/opam-source-archives/main/patches/ocb-stubblr/custom-cclib.patch
/usr/local/bin/gpatch -p1 -i custom-cclib.patch
and see what it says
See below:
Hi here.
I was forced to relink
gpatch
from/usr/local/Cellar/gpatch/2.7.6/bin/patch
to/usr/bin/patch
on my macOS Ventura 13.6.7 because of errors during installation of several packages:After switching to system-provided
patch
opam gave a warning about invalid patch utility but errors disappeared.