From 9ae847dcaeb12f9240c65dc07f61b77a1218f823 Mon Sep 17 00:00:00 2001 From: Bo Anderson Date: Thu, 24 Apr 2025 17:20:35 +0100 Subject: [PATCH] formula_installer: always output errors with fixing linkage --- Library/Homebrew/formula_installer.rb | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/Library/Homebrew/formula_installer.rb b/Library/Homebrew/formula_installer.rb index 9cec5cee4c..7d7aad186d 100644 --- a/Library/Homebrew/formula_installer.rb +++ b/Library/Homebrew/formula_installer.rb @@ -1222,11 +1222,12 @@ on_request: installed_on_request?, options:) # Rescue all possible exceptions when fixing linkage. rescue Exception => e # rubocop:disable Lint/RescueException ofail "Failed to fix install linkage" + puts e puts "The formula built, but you may encounter issues using it or linking other" puts "formulae against it." require "utils/backtrace" - odebug e, Utils::Backtrace.clean(e) + odebug "Backtrace", Utils::Backtrace.clean(e) @show_summary_heading = true end