[DRE-maint] Bug#926729: Missing Breaks on ruby-bootsnap

Justin Hallett thesin at southofheaven.org
Tue Apr 9 17:43:42 BST 2019


Package: gitlab
Version: 11.8.3-1

Once a fixed Gemfile so that ruby-pg was loading (needs to check for id postgresql not postgres for some weird reason) I ran into this bug.  Removing ruby-bootsnap fixed as the maintainer pointed out to me in private.  Creating this bug report so it doesn’t get forgotten as it’s not a trivial bug to track down at all.

Bundle complete! 186 Gemfile dependencies, 315 gems now installed.
Gems in the groups development and test were not installed.
Use `bundle info [gemname]` to see where a bundled gem is installed.
Running final rake tasks and tweaks...
gitlab_production database is not empty, skipping gitlab setup
fatal: not a git repository (or any of the parent directories): .git
fatal: not a git repository (or any of the parent directories): .git
fatal: not a git repository (or any of the parent directories): .git
fatal: not a git repository (or any of the parent directories): .git
rake aborted!
LoadError: cannot load such file -- kubeclient/oidc_auth_provider
/usr/share/gitlab/vendor/gems/activesupport-5.1.6.1/lib/active_support/dependencies.rb:292:in `block in require'
/usr/share/gitlab/vendor/gems/activesupport-5.1.6.1/lib/active_support/dependencies.rb:258:in `load_dependency'
/usr/share/gitlab/vendor/gems/activesupport-5.1.6.1/lib/active_support/dependencies.rb:292:in `require'
/usr/share/rubygems-integration/all/gems/bundler-1.17.3/lib/bundler/runtime.rb:81:in `block (2 levels) in require'
/usr/share/rubygems-integration/all/gems/bundler-1.17.3/lib/bundler/runtime.rb:76:in `each'
/usr/share/rubygems-integration/all/gems/bundler-1.17.3/lib/bundler/runtime.rb:76:in `block in require'
/usr/share/rubygems-integration/all/gems/bundler-1.17.3/lib/bundler/runtime.rb:65:in `each'
/usr/share/rubygems-integration/all/gems/bundler-1.17.3/lib/bundler/runtime.rb:65:in `require'
/usr/share/rubygems-integration/all/gems/bundler-1.17.3/lib/bundler.rb:114:in `require'
/usr/share/gitlab/config/application.rb:5:in `<top (required)>'
/usr/share/gitlab/Rakefile:5:in `require'
/usr/share/gitlab/Rakefile:5:in `<top (required)>'
(See full trace by running task with --trace)
dpkg: error processing package gitlab (--configure):
 installed gitlab package post-installation script subprocess returned error exit status 1
Errors were encountered while processing:
 gitlab


root:~# ls -l /usr/lib/ruby/vendor_ruby/kubeclient/
total 72
-rw-r--r-- 1 root root 22485 Mar  4 08:46 common.rb
-rw-r--r-- 1 root root  5687 Mar  4 08:46 config.rb
-rw-r--r-- 1 root root   483 Mar  4 08:46 entity_list.rb
-rw-r--r-- 1 root root  1775 Mar  4 08:46 exec_credentials.rb
-rw-r--r-- 1 root root   904 Mar  4 08:46 google_application_default_credentials.rb
-rw-r--r-- 1 root root   657 Mar  4 08:46 http_error.rb
-rw-r--r-- 1 root root  3408 Mar  4 08:46 missing_kind_compatibility.rb
-rw-r--r-- 1 root root  1740 Mar  4 08:46 oidc_auth_provider.rb
-rw-r--r-- 1 root root    70 Mar  4 08:46 resource_not_found_error.rb
-rw-r--r-- 1 root root   268 Mar  4 08:46 resource.rb
-rw-r--r-- 1 root root    78 Mar  4 08:46 version.rb
-rw-r--r-- 1 root root  2594 Mar  4 08:46 watch_stream.rb


root:~# head -n 11 /usr/lib/ruby/vendor_ruby/kubeclient.rb 
require 'json'
require 'rest-client'

require 'kubeclient/common'
require 'kubeclient/config'
require 'kubeclient/entity_list'
require 'kubeclient/google_application_default_credentials'
require 'kubeclient/exec_credentials'
require 'kubeclient/http_error'
require 'kubeclient/missing_kind_compatibility'
require 'kubeclient/oidc_auth_provider’



More information about the Pkg-ruby-extras-maintainers mailing list