tonyfettes / homebrew-rime

Homebrew tap for rime related formulas
0 stars 1 forks source link

librime conflict bug #1

Open cxwx opened 4 months ago

cxwx commented 4 months ago
==> Installing librime from tonyfettes/rime
==> echo prefix=/opt/homebrew/Cellar/librime/1.11.0
==> make deps
==> make
==> make install
Error: The `brew link` step did not complete successfully
The formula built, but is not symlinked into /opt/homebrew
Could not symlink include/glog/export.h
Target /opt/homebrew/include/glog/export.h
is a symlink belonging to glog. You can unlink it:
  brew unlink glog

To force the link and overwrite all conflicting files:
  brew link --overwrite librime

To list all files that would be deleted:
  brew link --overwrite librime --dry-run

Possible conflicting files are:
/opt/homebrew/include/glog/export.h -> /opt/homebrew/Cellar/glog/0.6.0/include/glog/export.h
/opt/homebrew/include/glog/log_severity.h -> /opt/homebrew/Cellar/glog/0.6.0/include/glog/log_severity.h
/opt/homebrew/include/glog/logging.h -> /opt/homebrew/Cellar/glog/0.6.0/include/glog/logging.h
/opt/homebrew/include/glog/platform.h -> /opt/homebrew/Cellar/glog/0.6.0/include/glog/platform.h
/opt/homebrew/include/glog/raw_logging.h -> /opt/homebrew/Cellar/glog/0.6.0/include/glog/raw_logging.h
/opt/homebrew/include/glog/stl_logging.h -> /opt/homebrew/Cellar/glog/0.6.0/include/glog/stl_logging.h
/opt/homebrew/include/glog/vlog_is_on.h -> /opt/homebrew/Cellar/glog/0.6.0/include/glog/vlog_is_on.h
Error: Could not symlink include/yaml-cpp/anchor.h
Target /opt/homebrew/include/yaml-cpp/anchor.h
is a symlink belonging to yaml-cpp. You can unlink it:
  brew unlink yaml-cpp

To force the link and overwrite all conflicting files:
  brew link --overwrite yaml-cpp

To list all files that would be deleted:
  brew link --overwrite yaml-cpp --dry-run
tonyfettes commented 4 months ago

Confirmed, but I'm unable to fix this until some time next week. Thank you for reporting the bug.

Freed-Wu commented 1 month ago

Have it been fixed? I haven't meet it in github workflow of macos-latest.

And build it in macos-latest of github workflow need 15 minutes. Perhaps we can let homebrew official repo contains it to save the time.