Skip to content

cache for linux runner has to be actively deleted more often than not #799

Description

@ipatch

kindof hard to say to what exactly is causing this issue, as it relates to the github ci and specifically the ubuntu 22.04 runner. from recently updating several formula throughout the tap, sometimes if there is an existing cache present for the ubuntu 22.04 runner than subsequent runs will fail. and manually deleting the cache is the fix.

i do not know why the cache has to be manually deleted but so far this seems to be the fix.

Image

https://github.com/FreeCAD/homebrew-freecad/actions/runs/23114944694/job/67138752214

Run brew install-bundler-gems
Error: /home/linuxbrew/.linuxbrew/Homebrew/Library/Homebrew/vendor/bundle/ruby/4.0.0/gems/json-2.19.1/lib/json/ext/parser.so: cannot open shared object file: No such file or directory - /home/linuxbrew/.linuxbrew/Homebrew/Library/Homebrew/vendor/bundle/ruby/4.0.0/gems/json-2.19.1/lib/json/ext/parser.so
/home/linuxbrew/.linuxbrew/Homebrew/Library/Homebrew/vendor/portable-ruby/4.0.1/lib/ruby/gems/4.0.0/gems/bootsnap-1.21.1/lib/bootsnap/load_path_cache/core_ext/kernel_require.rb:33:in 'Kernel#require'
/home/linuxbrew/.linuxbrew/Homebrew/Library/Homebrew/vendor/portable-ruby/4.0.1/lib/ruby/gems/4.0.0/gems/bootsnap-1.21.1/lib/bootsnap/load_path_cache/core_ext/kernel_require.rb:33:in 'Kernel#require'
/home/linuxbrew/.linuxbrew/Homebrew/Library/Homebrew/vendor/bundle/ruby/4.0.0/gems/json-2.19.1/lib/json/ext.rb:31:in '<module:Ext>'
/home/linuxbrew/.linuxbrew/Homebrew/Library/Homebrew/vendor/bundle/ruby/4.0.0/gems/json-2.19.1/lib/json/ext.rb:8:in '<module:JSON>'
/home/linuxbrew/.linuxbrew/Homebrew/Library/Homebrew/vendor/bundle/ruby/4.0.0/gems/json-2.19.1/lib/json/ext.rb:5:in '<main>'
/home/linuxbrew/.linuxbrew/Homebrew/Library/Homebrew/vendor/portable-ruby/4.0.1/lib/ruby/gems/4.0.0/gems/bootsnap-1.21.1/lib/bootsnap/load_path_cache/core_ext/kernel_require.rb:33:in 'Kernel#require'
/home/linuxbrew/.linuxbrew/Homebrew/Library/Homebrew/vendor/portable-ruby/4.0.1/lib/ruby/gems/4.0.0/gems/bootsnap-1.21.1/lib/bootsnap/load_path_cache/core_ext/kernel_require.rb:33:in 'Kernel#require'
/home/linuxbrew/.linuxbrew/Homebrew/Library/Homebrew/vendor/bundle/ruby/4.0.0/gems/json-2.19.1/lib/json.rb:674:in '<module:JSON>'
/home/linuxbrew/.linuxbrew/Homebrew/Library/Homebrew/vendor/bundle/ruby/4.0.0/gems/json-2.19.1/lib/json.rb:672:in '<main>'
/home/linuxbrew/.linuxbrew/Homebrew/Library/Homebrew/vendor/portable-ruby/4.0.1/lib/ruby/gems/4.0.0/gems/bootsnap-1.21.1/lib/bootsnap/load_path_cache/core_ext/kernel_require.rb:33:in 'Kernel#require'
/home/linuxbrew/.linuxbrew/Homebrew/Library/Homebrew/vendor/portable-ruby/4.0.1/lib/ruby/gems/4.0.0/gems/bootsnap-1.21.1/lib/bootsnap/load_path_cache/core_ext/kernel_require.rb:33:in 'Kernel#require'
/home/linuxbrew/.linuxbrew/Homebrew/Library/Homebrew/cask/config.rb:4:in '<main>'
/home/linuxbrew/.linuxbrew/Homebrew/Library/Homebrew/vendor/portable-ruby/4.0.1/lib/ruby/gems/4.0.0/gems/bootsnap-1.21.1/lib/bootsnap/load_path_cache/core_ext/kernel_require.rb:33:in 'Kernel#require'
/home/linuxbrew/.linuxbrew/Homebrew/Library/Homebrew/vendor/portable-ruby/4.0.1/lib/ruby/gems/4.0.0/gems/bootsnap-1.21.1/lib/bootsnap/load_path_cache/core_ext/kernel_require.rb:33:in 'Kernel#require'
/home/linuxbrew/.linuxbrew/Homebrew/Library/Homebrew/cli/parser.rb:6:in '<main>'
/home/linuxbrew/.linuxbrew/Homebrew/Library/Homebrew/vendor/portable-ruby/4.0.1/lib/ruby/gems/4.0.0/gems/bootsnap-1.21.1/lib/bootsnap/load_path_cache/core_ext/kernel_require.rb:33:in 'Kernel#require'
/home/linuxbrew/.linuxbrew/Homebrew/Library/Homebrew/vendor/portable-ruby/4.0.1/lib/ruby/gems/4.0.0/gems/bootsnap-1.21.1/lib/bootsnap/load_path_cache/core_ext/kernel_require.rb:33:in 'Kernel#require'
/home/linuxbrew/.linuxbrew/Homebrew/Library/Homebrew/brew.rb:49:in '<main>'
Error: Process completed with exit code 1.

Metadata

Metadata

Assignees

No one assigned

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions