kou opened a new issue, #222: URL: https://github.com/apache/arrow-flight-sql-postgresql/issues/222
The "Test" workflow fails on Ubuntu (`ubuntu-latest` is Ubuntu 26.04) when `ruby/setup-ruby` restores gems from cache: https://github.com/apache/arrow-flight-sql-postgresql/actions/runs/43715975442/job/132817474486 ```text /opt/hostedtoolcache/Ruby/4.0.9/x64/lib/ruby/4.0.0/bundled_gems.rb:60:in 'Kernel.require': libgirepository-1.0.so.1: cannot open shared object file: No such file or directory - /home/runner/work/arrow-flight-sql-postgresql/arrow-flight-sql-postgresql/vendor/bundle/ruby/4.0.0/gems/gobject-introspection-4.4.0/lib/gobject_introspection.so (LoadError) ... from /home/runner/work/arrow-flight-sql-postgresql/arrow-flight-sql-postgresql/test/helper/sandbox.rb:23:in '<top (required)>' from test/run.rb:22:in 'Kernel#require_relative' from test/run.rb:22:in '<main>' ``` The gobject-introspection gem requires libgirepository-1.0. System packages required by gems such as `libgirepository1.0-dev` are installed automatically when gems are installed. But they aren't installed when gems are restored from cache (`bundler-cache: true`) because gems aren't installed in that case. So the cached `gobject_introspection.so` can't find `libgirepository-1.0.so.1`. We need to: * Stop using `bundler-cache: true` and run `bundle install` explicitly in `.github/workflows/test.yaml` and `.github/workflows/verify-rc.yaml` * Add [rubygems-requirements-system](https://github.com/ruby-gnome/rubygems-requirements-system/) to `Gemfile` as a Bundler plugin so that system packages required by gems are installed automatically on `bundle install`: ```ruby plugin "rubygems-requirements-system" ``` -- This is an automated message from the Apache Git Service. To respond to the message, please log on to GitHub and use the URL above to go to the specific comment. To unsubscribe, e-mail: [email protected] For queries about this service, please contact Infrastructure at: [email protected]
