You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
When installing FreeCAD from source, the post-install step fails because of this check:
if !File.exist?("/usr/local/Cellar/freecad/0.19pre/lib/python3.9/site-packages/homebrew-freecad-bundle.pth")
(lib/"python3.9/site-packages/homebrew-freecad-bundle.pth").write "#{prefix}/MacOS/\n"
end
Since it is built from HEAD, the folder name should be:
/usr/local/Cellar/freecad/HEAD-6b3936c
and not
/usr/local/Cellar/freecad/0.19pre
The verbose output shows:
/usr/local/Homebrew/Library/Homebrew/brew.rb (Formulary::TapLoader): loading /usr/local/Homebrew/Library/Taps/freecad/homebrew-freecad/Formula/freecad.rb
==> Postinstalling freecad
Warning: The post-install step did not complete successfully
You can try again using brew postinstall freecad/freecad/freecad
==> An exception occurred within a child process:
RuntimeError: Will not overwrite /usr/local/Cellar/freecad/HEAD-6b3936c/lib/python3.9/site-packages/homebrew-freecad-bundle.pth
When installing FreeCAD from source, the post-install step fails because of this check:
if !File.exist?("/usr/local/Cellar/freecad/0.19pre/lib/python3.9/site-packages/homebrew-freecad-bundle.pth")
(lib/"python3.9/site-packages/homebrew-freecad-bundle.pth").write "#{prefix}/MacOS/\n"
end
Since it is built from HEAD, the folder name should be:
/usr/local/Cellar/freecad/HEAD-6b3936c
and not
/usr/local/Cellar/freecad/0.19pre
The verbose output shows:
/usr/local/Homebrew/Library/Homebrew/brew.rb (Formulary::TapLoader): loading /usr/local/Homebrew/Library/Taps/freecad/homebrew-freecad/Formula/freecad.rb
==> Postinstalling freecad
Warning: The post-install step did not complete successfully
You can try again using
brew postinstall freecad/freecad/freecad
==> An exception occurred within a child process:
RuntimeError: Will not overwrite /usr/local/Cellar/freecad/HEAD-6b3936c/lib/python3.9/site-packages/homebrew-freecad-bundle.pth
/usr/local/Homebrew/Library/Homebrew/extend/pathname.rb:176:in
'write' /usr/local/Homebrew/Library/Taps/freecad/homebrew-freecad/Formula/freecad.rb:103:in
post_install'/usr/local/Homebrew/Library/Homebrew/formula.rb:1062:in
block (2 levels) in run_post_install' /usr/local/Homebrew/Library/Homebrew/formula.rb:904:in
with_logging'/usr/local/Homebrew/Library/Homebrew/formula.rb:1061:in
block in run_post_install' /usr/local/Homebrew/Library/Homebrew/utils.rb:531:in
with_env'/usr/local/Homebrew/Library/Homebrew/formula.rb:1050:in
run_post_install' /usr/local/Homebrew/Library/Homebrew/postinstall.rb:22:in
The text was updated successfully, but these errors were encountered: