Skip to content
GitLab
Explore
Sign in
Register
Primary navigation
Search or go to…
Project
B
brew
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Wiki
Requirements
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Locked files
Build
Pipelines
Jobs
Pipeline schedules
Test cases
Artifacts
Deploy
Releases
Package registry
Container Registry
Model registry
Operate
Environments
Terraform modules
Monitor
Incidents
Service Desk
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Code review analytics
Issue analytics
Insights
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to JiHu GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
KMSCAKKSCFKA AKFACAMADCAS
brew
Commits
6386ce4d
Commit
6386ce4d
authored
15 years ago
by
Max Howell
Browse files
Options
Downloads
Patches
Plain Diff
Provide system info for build errors
parent
7ec28747
No related branches found
Branches containing commit
No related tags found
Tags containing commit
No related merge requests found
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
bin/brew
+10
-6
10 additions, 6 deletions
bin/brew
with
10 additions
and
6 deletions
bin/brew
+
10
−
6
View file @
6386ce4d
...
...
@@ -69,6 +69,13 @@ library path: #{homebrew_rubylib_path}
EOS
end
def
please_report_bug
;
<<-
EOS
Please report this bug to
#{
HOMEBREW_WWW
}
including the following information:
Mac OS X:
#{
MACOS_VERSION
}
Ponk:
#{
macports_or_fink_installed?
}
EOS
end
begin
require
'brew.h'
...
...
@@ -247,16 +254,13 @@ rescue SystemCallError, RuntimeError => e
puts e.backtrace
else
onoe e
puts please_report_bug if e.kind_of? BuildError
end
exit 1
rescue Exception => e
onoe "Homebrew has failed you :("
puts "Please report this bug at:
#{
HOMEBREW_WWW
}
"
puts "Please include the following information:"
ohai "Environment"
puts "Mac OS X
#{
MACOS_VERSION
}
"
puts "Macports or Fink?
#{
macports_or_fink_installed?
}
"
ohai e.inspect
puts please_report_bug
puts e.inspect
puts e.backtrace
exit 1
end
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment