[DRE-maint] Bug#989774: ruby-pg-query: no longer works with ruby-google-protobuf
Pirate Praveen
praveen at onenetbeyond.org
Sat Jun 12 14:56:48 BST 2021
Package: ruby-pg-query
Version: 2.0.3-1
Severity: grave
Control: affects -1 gitlab gitaly ruby-gitlab-labkit
gitlab-sidekiq service fails to start when ruby-google-protobuf package
is used, works with gem install -v 3.17.1 google-protobuf and removing
ruby-google-protobuf
Possibly the debian build is not ABI compatible with rubygems.org
version and *_pb.rb needs to be regenerated.
root at gitlab:/usr/share/gitlab# sudo -u gitlab /usr/bin/bundle exec
sidekiq -C /etc/gitlab/sidekiq_queues.yml -e production
fatal: not a git repository (or any of the parent directories): .git
fatal: not a git repository (or any of the parent directories): .git
Traceback (most recent call last):
31: from /usr/bin/sidekiq:23:in `<main>'
30: from /usr/bin/sidekiq:23:in `load'
29: from
/usr/share/rubygems-integration/all/gems/sidekiq-6.0.4/bin/sidekiq:12:in
`<top (required)>'
28: from
/usr/share/rubygems-integration/all/gems/sidekiq-6.0.4/lib/sidekiq/cli.rb:37:in
`run'
27: from
/usr/share/rubygems-integration/all/gems/sidekiq-6.0.4/lib/sidekiq/cli.rb:248:in
`boot_system'
26: from
/usr/share/rubygems-integration/all/gems/activesupport-6.0.3.6/lib/active_support/dependencies.rb:324:in
`require'
25: from
/usr/share/rubygems-integration/all/gems/activesupport-6.0.3.6/lib/active_support/dependencies.rb:291:in
`load_dependency'
24: from
/usr/share/rubygems-integration/all/gems/activesupport-6.0.3.6/lib/active_support/dependencies.rb:324:in
`block in require'
23: from
/usr/share/rubygems-integration/all/gems/activesupport-6.0.3.6/lib/active_support/dependencies.rb:324:in
`require'
22: from /usr/share/gitlab/config/environment.rb:4:in `<top
(required)>'
21: from
/usr/share/rubygems-integration/all/gems/activesupport-6.0.3.6/lib/active_support/dependencies.rb:324:in
`require'
20: from
/usr/share/rubygems-integration/all/gems/activesupport-6.0.3.6/lib/active_support/dependencies.rb:291:in
`load_dependency'
19: from
/usr/share/rubygems-integration/all/gems/activesupport-6.0.3.6/lib/active_support/dependencies.rb:324:in
`block in require'
18: from
/usr/share/rubygems-integration/all/gems/activesupport-6.0.3.6/lib/active_support/dependencies.rb:324:in
`require'
17: from /usr/share/gitlab/config/application.rb:15:in `<top
(required)>'
16: from
/usr/share/rubygems-integration/all/gems/bundler-2.2.5/lib/bundler.rb:173:in
`require'
15: from
/usr/share/rubygems-integration/all/gems/bundler-2.2.5/lib/bundler/runtime.rb:50:in
`require'
14: from
/usr/share/rubygems-integration/all/gems/bundler-2.2.5/lib/bundler/runtime.rb:50:in
`each'
13: from
/usr/share/rubygems-integration/all/gems/bundler-2.2.5/lib/bundler/runtime.rb:61:in
`block in require'
12: from
/usr/share/rubygems-integration/all/gems/bundler-2.2.5/lib/bundler/runtime.rb:61:in
`each'
11: from
/usr/share/rubygems-integration/all/gems/bundler-2.2.5/lib/bundler/runtime.rb:66:in
`block (2 levels) in require'
10: from
/usr/share/rubygems-integration/all/gems/bundler-2.2.5/lib/bundler/runtime.rb:66:in
`require'
9: from
/usr/lib/x86_64-linux-gnu/rubygems-integration/2.7.0/gems/pg_query-2.0.3/lib/pg_query.rb:4:in
`<top (required)>'
8: from
/usr/share/rubygems-integration/all/gems/activesupport-6.0.3.6/lib/active_support/dependencies.rb:324:in
`require'
7: from
/usr/share/rubygems-integration/all/gems/activesupport-6.0.3.6/lib/active_support/dependencies.rb:291:in
`load_dependency'
6: from
/usr/share/rubygems-integration/all/gems/activesupport-6.0.3.6/lib/active_support/dependencies.rb:324:in
`block in require'
5: from
/usr/share/rubygems-integration/all/gems/activesupport-6.0.3.6/lib/active_support/dependencies.rb:324:in
`require'
4: from
/usr/lib/x86_64-linux-gnu/rubygems-integration/2.7.0/gems/pg_query-2.0.3/lib/pg_query/pg_query_pb.rb:4:in
`<top (required)>'
3: from
/usr/share/rubygems-integration/all/gems/activesupport-6.0.3.6/lib/active_support/dependencies.rb:324:in
`require'
2: from
/usr/share/rubygems-integration/all/gems/activesupport-6.0.3.6/lib/active_support/dependencies.rb:291:in
`load_dependency'
1: from
/usr/share/rubygems-integration/all/gems/activesupport-6.0.3.6/lib/active_support/dependencies.rb:324:in
`block in require'
/usr/share/rubygems-integration/all/gems/activesupport-6.0.3.6/lib/active_support/dependencies.rb:324:in
`require': cannot load such file -- google/protobuf (LoadError)
root at gitlab:/usr/share/gitlab# gem install -v 3.17.1 google-protobuf
Fetching google-protobuf-3.17.1-x86_64-linux.gem
Successfully installed google-protobuf-3.17.1-x86_64-linux
Parsing documentation for google-protobuf-3.17.1-x86_64-linux
Installing ri documentation for google-protobuf-3.17.1-x86_64-linux
Done installing documentation for google-protobuf after 0 seconds
1 gem installed
root at gitlab:/usr/share/gitlab# sudo -u gitlab /usr/bin/bundle show
google-protobuf
[DEPRECATED] use `bundle info google-protobuf` instead of `bundle show
google-protobuf`
fatal: not a git repository (or any of the parent directories): .git
fatal: not a git repository (or any of the parent directories): .git
/usr/lib/x86_64-linux-gnu/rubygems-integration/2.7.0/gems/google-protobuf-3.17.1
root at gitlab:/usr/share/gitlab# dpkg -r --force-all ruby-google-protobuf
dpkg: ruby-google-protobuf:amd64: dependency problems, but removing
anyway as you requested:
ruby-pg-query depends on ruby-google-protobuf (>= 3.15.5).
ruby-grpc:amd64 depends on ruby-google-protobuf (>= 3.9.1~).
ruby-googleapis-common-protos-types depends on ruby-google-protobuf
(>= 3.0).
ruby-gitaly depends on ruby-google-protobuf (>= 3.1~).
gitlab depends on ruby-google-protobuf (>= 3.14~).
gitaly depends on ruby-google-protobuf (>= 3.14~).
(Reading database ... 183116 files and directories currently installed.)
Removing ruby-google-protobuf:amd64 (3.17.1-1) ...
More information about the Pkg-ruby-extras-maintainers
mailing list