brew cleanup ends with error message #7051
Replies: 1 comment
|
Are there any broken sources? |
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
Output of
brew configOutput of
brew doctorDescription of issue
run
brew cleanupget this message
Error: undefined method 'name_at' for an instance of ELFTools::Sections::NullSection
/home/linuxbrew/.linuxbrew/Homebrew/Library/Homebrew/vendor/bundle/ruby/4.0.0/gems/elftools-2.0.0/lib/elftools/sections/section.rb:39:in 'ELFTools::Sections::Section#name'
/home/linuxbrew/.linuxbrew/Homebrew/Library/Homebrew/os/linux/elf.rb:205:in 'Array#map'
/home/linuxbrew/.linuxbrew/Homebrew/Library/Homebrew/os/linux/elf.rb:205:in 'ELFShim::Metadata#initialize'
/home/linuxbrew/.linuxbrew/Homebrew/Library/Homebrew/os/linux/elf.rb:291:in 'ELFShim#metadata'
/home/linuxbrew/.linuxbrew/Homebrew/Library/Homebrew/os/linux/elf.rb:302:in 'ELFShim#dynamically_linked_libraries'
/home/linuxbrew/.linuxbrew/Homebrew/Library/Homebrew/linkage_checker.rb:175:in 'block in LinkageChecker#check_dylibs'
/home/linuxbrew/.linuxbrew/Homebrew/Library/Homebrew/vendor/portable-ruby/4.0.6/lib/ruby/4.0.0/pathname.rb:36:in 'block in Pathname#find'
/home/linuxbrew/.linuxbrew/Homebrew/Library/Homebrew/vendor/portable-ruby/4.0.6/lib/ruby/4.0.0/find.rb:52:in 'block (2 levels) in Find.find'
/home/linuxbrew/.linuxbrew/Homebrew/Library/Homebrew/vendor/portable-ruby/4.0.6/lib/ruby/4.0.0/find.rb:51:in 'Kernel#catch'
/home/linuxbrew/.linuxbrew/Homebrew/Library/Homebrew/vendor/portable-ruby/4.0.6/lib/ruby/4.0.0/find.rb:51:in 'block in Find.find'
/home/linuxbrew/.linuxbrew/Homebrew/Library/Homebrew/vendor/portable-ruby/4.0.6/lib/ruby/4.0.0/find.rb:46:in 'Array#each'
/home/linuxbrew/.linuxbrew/Homebrew/Library/Homebrew/vendor/portable-ruby/4.0.6/lib/ruby/4.0.0/find.rb:46:in 'Find.find'
/home/linuxbrew/.linuxbrew/Homebrew/Library/Homebrew/vendor/portable-ruby/4.0.6/lib/ruby/4.0.0/pathname.rb:36:in 'Pathname#find'
/home/linuxbrew/.linuxbrew/Homebrew/Library/Homebrew/vendor/portable-ruby/4.0.6/lib/ruby/4.0.0/forwardable.rb:231:in 'Keg#find'
/home/linuxbrew/.linuxbrew/Homebrew/Library/Homebrew/linkage_checker.rb:160:in 'LinkageChecker#check_dylibs'
/home/linuxbrew/.linuxbrew/Homebrew/Library/Homebrew/extend/os/linux/linkage_checker.rb:40:in 'OS::Linux::LinkageChecker#check_dylibs'
/home/linuxbrew/.linuxbrew/Homebrew/Library/Homebrew/linkage_checker.rb:59:in 'LinkageChecker#initialize'
/home/linuxbrew/.linuxbrew/Homebrew/Library/Homebrew/formula.rb:3497:in 'block in Formula#undeclared_runtime_dependencies'
/home/linuxbrew/.linuxbrew/Homebrew/Library/Homebrew/cache_store.rb:49:in 'CacheStoreDatabase.use'
/home/linuxbrew/.linuxbrew/Homebrew/Library/Homebrew/formula.rb:3495:in 'Formula#undeclared_runtime_dependencies'
/home/linuxbrew/.linuxbrew/Homebrew/Library/Homebrew/formula.rb:2893:in 'Formula#runtime_dependencies'
/home/linuxbrew/.linuxbrew/Homebrew/Library/Homebrew/formula.rb:2924:in 'Formula#installed_runtime_formula_dependencies'
/home/linuxbrew/.linuxbrew/Homebrew/Library/Homebrew/utils/autoremove.rb:70:in 'block in Utils::Autoremove.bottled_formulae_with_no_formula_dependents'
/home/linuxbrew/.linuxbrew/Homebrew/Library/Homebrew/utils/autoremove.rb:58:in 'Array#each'
/home/linuxbrew/.linuxbrew/Homebrew/Library/Homebrew/utils/autoremove.rb:58:in 'Utils::Autoremove.bottled_formulae_with_no_formula_dependents'
/home/linuxbrew/.linuxbrew/Homebrew/Library/Homebrew/utils/autoremove.rb:95:in 'Utils::Autoremove.unused_formulae_with_no_formula_dependents'
/home/linuxbrew/.linuxbrew/Homebrew/Library/Homebrew/utils/autoremove.rb:16:in 'Utils::Autoremove.removable_formulae'
/home/linuxbrew/.linuxbrew/Homebrew/Library/Homebrew/cleanup.rb:1052:in 'Homebrew::Cleanup.autoremove'
/home/linuxbrew/.linuxbrew/Homebrew/Library/Homebrew/cleanup.rb:472:in 'Homebrew::Cleanup#clean!'
/home/linuxbrew/.linuxbrew/Homebrew/Library/Homebrew/cmd/cleanup.rb:52:in 'Homebrew::Cmd::CleanupCmd#run'
/home/linuxbrew/.linuxbrew/Homebrew/Library/Homebrew/brew.rb:142:in '<main>'
All reactions