brew: brew typecheck not working on ARM
- ran
brew updateand can still reproduce the problem? - ran
brew doctor, fixed all issues and can still reproduce the problem? - ran
brew configandbrew doctorand included their output with your issue?
What you were trying to do (and why)
Run brew man and brew typecheck as part of a PR.
What happened (include command output)
Command output
$ brew man --debug Writing markdown to /opt/homebrew/docs/Manpage.md Error: Broken pipe /opt/homebrew/Library/Homebrew/dev-cmd/man.rb:131:in `write' /opt/homebrew/Library/Homebrew/dev-cmd/man.rb:131:in `block in convert_man_page' /opt/homebrew/Library/Homebrew/utils/popen.rb:52:in `block in popen' /opt/homebrew/Library/Homebrew/utils/popen.rb:48:in `popen' /opt/homebrew/Library/Homebrew/utils/popen.rb:48:in `popen' /opt/homebrew/Library/Homebrew/dev-cmd/man.rb:130:in `convert_man_page' /opt/homebrew/Library/Homebrew/dev-cmd/man.rb:62:in `regenerate_man_pages' /opt/homebrew/Library/Homebrew/dev-cmd/man.rb:44:in `man' /opt/homebrew/Library/Homebrew/brew.rb:124:in `<main>'$ brew typecheck --debug /opt/homebrew/Library/Homebrew/vendor/bundle/ruby/2.6.0/gems/sorbet-0.5.6189/bin/srb: line 46: 99392 Illegal instruction: 4 “${sorbet}” “${args[@]}” Check https://docs.brew.sh/Typechecking for more information on how to resolve these errors.
What you expected to happen
The commands to run and not error.
Step-by-step reproduction instructions (by running brew commands)
brew man or brew typecheck
Output of brew config and brew doctor commands
$ brew config HOMEBREW_VERSION: 2.7.1-119-g4a90a5a ORIGIN: https://github.com/Homebrew/brew HEAD: 4a90a5a5d6210b3ab526d68c3c9330c91bc4a55d Last commit: 29 hours ago Core tap ORIGIN: https://github.com/Homebrew/homebrew-core Core tap HEAD: 39af1529f356db9c9b20409e24ed763d8950f960 Core tap last commit: 63 minutes ago Core tap branch: master HOMEBREW_PREFIX: /opt/homebrew HOMEBREW_CASK_OPTS: [] HOMEBREW_DEVELOPER: set HOMEBREW_GITHUB_API_TOKEN: set HOMEBREW_MAKE_JOBS: 8 HOMEBREW_NO_ANALYTICS: set HOMEBREW_NO_AUTO_UPDATE: set Homebrew Ruby: 2.6.3 => /System/Library/Frameworks/Ruby.framework/Versions/2.6/usr/bin/ruby CPU: octa-core 64-bit arm_firestorm_icestorm Clang: 12.0 build 1200 Git: 2.30.0 => /opt/homebrew/bin/git Curl: 7.64.1 => /usr/bin/curl macOS: 11.1-arm64 CLT: 12.3.0.0.1.1607026830 Xcode: N/A Rosetta 2: false $ brew doctor Your system is ready to brew.
About this issue
- Original URL
- State: closed
- Created 3 years ago
- Comments: 25 (24 by maintainers)
Ah nvm, it was @issyl0 on Dec 22 in #maintainer-support, my mistake. Looking back in Slack, doesn’t seem like it got resolved.