Skip to content

Instantly share code, notes, and snippets.

@thobson
Last active February 5, 2021 15:48
Show Gist options
  • Save thobson/7c033bff85844af109c8dab9e00bfb8f to your computer and use it in GitHub Desktop.
Save thobson/7c033bff85844af109c8dab9e00bfb8f to your computer and use it in GitHub Desktop.
# Error
➜ ~ brew upgrade
Updating Homebrew...
==> Auto-updated Homebrew!
Updated Homebrew from e98a91378 to 4c8fe984c.
Updated 2 taps (homebrew/core and homebrew/cask).
==> New Formulae
dasel
Error: undefined method `ohai_stdout_or_stderr' for #<ReporterHub:0x00007fd88a968308>
Please report this issue:
https://docs.brew.sh/Troubleshooting
/usr/local/Homebrew/Library/Homebrew/cmd/update-report.rb:505:in `dump'
/usr/local/Homebrew/Library/Homebrew/cmd/update-report.rb:148:in `update_report'
/usr/local/Homebrew/Library/Homebrew/brew.rb:122:in `<main>'
# Brew config
➜ ~ brew config
HOMEBREW_VERSION: 3.0.0-4-g4c8fe98
ORIGIN: https://github.com/Homebrew/brew
HEAD: 4c8fe984c6a1152a93ddde08adccffb46623364a
Last commit: 21 minutes ago
Core tap ORIGIN: https://github.com/Homebrew/homebrew-core
Core tap HEAD: 27634e67a95e6dabd0e7c732b9acd4fae867b258
Core tap last commit: 5 minutes ago
Core tap branch: master
HOMEBREW_PREFIX: /usr/local
HOMEBREW_CASK_OPTS: []
HOMEBREW_GITHUB_API_TOKEN: set
HOMEBREW_MAKE_JOBS: 16
Homebrew Ruby: 2.6.3 => /System/Library/Frameworks/Ruby.framework/Versions/2.6/usr/bin/ruby
CPU: 16-core 64-bit kabylake
Clang: 12.0 build 1200
Git: 2.30.0 => /usr/local/bin/git
Curl: 7.64.1 => /usr/bin/curl
macOS: 11.2-x86_64
CLT: 12.4.0.0.1.1610135815
Xcode: N/A
# Brew doctor
➜ ~ brew doctor
Please note that these warnings are just used to help the Homebrew maintainers
with debugging if you file an issue. If everything you use Homebrew for is
working fine: please don't worry or file an issue; just ignore this. Thanks!
Warning: "config" scripts exist outside your system or Homebrew directories.
`./configure` scripts often look for *-config scripts to determine if
software packages are installed, and which additional flags to use when
compiling and linking.
Having additional scripts in your path can confuse software installed via
Homebrew if the config script overrides a system or Homebrew-provided
script of the same name. We found the following "config" scripts:
/Users/toby/.pyenv/shims/python-config
/Users/toby/.pyenv/shims/python3-config
/Users/toby/.pyenv/shims/python3.8-config
➜ ~
@convenient
Copy link

Heh, I found this on google by searching ohai_stdout_or_stderr. I found the same error in my CI pipeline, think it relates to the latest 3.0.0 release of brew.

Error: undefined method `ohai_stdout_or_stderr' for #<Reporter:0x00007f99d9a4fab8>
Please report this issue:
  https://docs.brew.sh/Troubleshooting
/usr/local/Homebrew/Library/Homebrew/cmd/update-report.rb:376:in `block in migrate_tap_migration'
/usr/local/Homebrew/Library/Homebrew/cmd/update-report.rb:355:in `each'
/usr/local/Homebrew/Library/Homebrew/cmd/update-report.rb:355:in `migrate_tap_migration'
/usr/local/Homebrew/Library/Homebrew/cmd/update-report.rb:149:in `each'
/usr/local/Homebrew/Library/Homebrew/cmd/update-report.rb:149:in `update_report'
/usr/local/Homebrew/Library/Homebrew/brew.rb:122:in `<main>'

@thobson
Copy link
Author

thobson commented Feb 5, 2021

probably, I just created a bug report: Homebrew/homebrew-core#70512

@convenient
Copy link

Thanks

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment