[DRE-maint] Bug#1004195: bundler no longer recognizes libraries installed in vendor_ruby (not using gem-install layout) for --local option

Pirate Praveen praveen at onenetbeyond.org
Sat Jan 22 15:43:52 GMT 2022


Package: ruby-bundler
Version: 2.3.5-1
Severity: important

Example package is gitaly. The same build passed when using an older 
bundler (2.2.x). One option is just to switch all packages with old 
layout to use the gem-install layout.

# Test if ruby dependencies are satisfied
TMPDIR=$(mktemp -d); cp ruby/Gemfile $TMPDIR; cd $TMPDIR;\
        RAILS_ENV=development bundle install --local || exit 1;\
        rm $TMPDIR/Gemfile* $TMPDIR/.bundle/config;\
        rmdir $TMPDIR/config; rmdir $TMPDIR
Resolving dependencies...
Installing concurrent-ruby 1.1.6
Installing minitest 5.13.0
Using builder 3.2.4
Installing zeitwerk 2.4.2
Following files may not be writable, so sudo is needed:
  /usr/local/bin
  /var/lib/gems/2.7.0
Installing erubi 1.9.0
Using racc 1.4.16
Using public_suffix 4.0.6
Using bundler 2.3.5
Installing charlock_holmes 0.7.7
Installing crass 1.0.2
Installing rack 2.1.4
Installing dotenv 2.4.0
Installing escape_utils 1.2.1
Installing multipart-post 2.0.0
Using ruby2_keywords 0.0.5
Using ffi 1.15.4
Installing json 2.5.1
Using rugged 1.2.0
Installing mini_mime 1.1.1
Installing mime-types-data 3.2015.1120
Installing github-markup 1.7.0
Using rouge 3.26.1
Installing stringex 2.8.5
Using google-protobuf 3.19.3
Installing opentracing 0.5.0
Installing thrift 0.14.0
Using redis 4.2.5
Using grpc-tools 1.30.2
Using thor 1.0.1
Using rdoc 6.2.1.1
Installing addressable 2.8.0
Using optimist 3.0.0
Using nokogiri 1.11.7
Installing msgpack 1.1.0
Bundler::GemNotFound: Could not find concurrent-ruby-1.1.6.gem for 
installation

/usr/share/rubygems-integration/all/gems/bundler-2.3.5/lib/bundler/source/rubygems.rb:181:in
`install'
/usr/share/rubygems-integration/all/gems/bundler-2.3.5/lib/bundler/installer/gem_installer.rb:54:in
`install'
/usr/share/rubygems-integration/all/gems/bundler-2.3.5/lib/bundler/installer/gem_installer.rb:16:in
`install_from_spec'
/usr/share/rubygems-integration/all/gems/bundler-2.3.5/lib/bundler/installer/parallel_installer.rb:186:in
`do_install'
/usr/share/rubygems-integration/all/gems/bundler-2.3.5/lib/bundler/installer/parallel_installer.rb:177:in
`block in worker_pool'
/usr/share/rubygems-integration/all/gems/bundler-2.3.5/lib/bundler/worker.rb:62:in
`apply_func'
/usr/share/rubygems-integration/all/gems/bundler-2.3.5/lib/bundler/worker.rb:57:in 
`block in
process_queue'
  
/usr/share/rubygems-integration/all/gems/bundler-2.3.5/lib/bundler/worker.rb:54:in 
`loop'
/usr/share/rubygems-integration/all/gems/bundler-2.3.5/lib/bundler/worker.rb:54:in
`process_queue'
/usr/share/rubygems-integration/all/gems/bundler-2.3.5/lib/bundler/worker.rb:91:in 
`block (2
levels) in create_threads'

An error occurred while installing concurrent-ruby (1.1.6), and Bundler 
cannot
continue.

In Gemfile:
  gitlab-labkit was resolved to 0.21.2, which depends on
    actionpack was resolved to 6.1.4.1, which depends on
      actionview was resolved to 6.1.4.1, which depends on
        rails-dom-testing was resolved to 2.0.3, which depends on
          activesupport was resolved to 6.1.4.1, which depends on
            i18n was resolved to 1.8.11, which depends on
              concurrent-ruby


Bundler::GemNotFound: Could not find minitest-5.13.0.gem for 
installation

/usr/share/rubygems-integration/all/gems/bundler-2.3.5/lib/bundler/source/rubygems.rb:181:in
`install'
/usr/share/rubygems-integration/all/gems/bundler-2.3.5/lib/bundler/installer/gem_installer.rb:54:in
`install'
/usr/share/rubygems-integration/all/gems/bundler-2.3.5/lib/bundler/installer/gem_installer.rb:16:in
`install_from_spec'
/usr/share/rubygems-integration/all/gems/bundler-2.3.5/lib/bundler/installer/parallel_installer.rb:186:in
`do_install'
/usr/share/rubygems-integration/all/gems/bundler-2.3.5/lib/bundler/installer/parallel_installer.rb:177:in
`block in worker_pool'
/usr/share/rubygems-integration/all/gems/bundler-2.3.5/lib/bundler/worker.rb:62:in
`apply_func'
/usr/share/rubygems-integration/all/gems/bundler-2.3.5/lib/bundler/worker.rb:57:in 
`block in
process_queue'
  
/usr/share/rubygems-integration/all/gems/bundler-2.3.5/lib/bundler/worker.rb:54:in 
`loop'
/usr/share/rubygems-integration/all/gems/bundler-2.3.5/lib/bundler/worker.rb:54:in
`process_queue'
/usr/share/rubygems-integration/all/gems/bundler-2.3.5/lib/bundler/worker.rb:91:in 
`block (2
levels) in create_threads'

An error occurred while installing minitest (5.13.0), and Bundler 
cannot continue.

In Gemfile:
  gitlab-labkit was resolved to 0.21.2, which depends on
    actionpack was resolved to 6.1.4.1, which depends on
      actionview was resolved to 6.1.4.1, which depends on
        rails-dom-testing was resolved to 2.0.3, which depends on
          activesupport was resolved to 6.1.4.1, which depends on
            minitest


Bundler::GemNotFound: Could not find zeitwerk-2.4.2.gem for installation

/usr/share/rubygems-integration/all/gems/bundler-2.3.5/lib/bundler/source/rubygems.rb:181:in
`install'
/usr/share/rubygems-integration/all/gems/bundler-2.3.5/lib/bundler/installer/gem_installer.rb:54:in
`install'
/usr/share/rubygems-integration/all/gems/bundler-2.3.5/lib/bundler/installer/gem_installer.rb:16:in
`install_from_spec'
/usr/share/rubygems-integration/all/gems/bundler-2.3.5/lib/bundler/installer/parallel_installer.rb:186:in
`do_install'
/usr/share/rubygems-integration/all/gems/bundler-2.3.5/lib/bundler/installer/parallel_installer.rb:177:in
`block in worker_pool'
/usr/share/rubygems-integration/all/gems/bundler-2.3.5/lib/bundler/worker.rb:62:in
`apply_func'
/usr/share/rubygems-integration/all/gems/bundler-2.3.5/lib/bundler/worker.rb:57:in 
`block in
process_queue'
  
/usr/share/rubygems-integration/all/gems/bundler-2.3.5/lib/bundler/worker.rb:54:in 
`loop'
/usr/share/rubygems-integration/all/gems/bundler-2.3.5/lib/bundler/worker.rb:54:in
`process_queue'
/usr/share/rubygems-integration/all/gems/bundler-2.3.5/lib/bundler/worker.rb:91:in 
`block (2
levels) in create_threads'

An error occurred while installing zeitwerk (2.4.2), and Bundler cannot 
continue.

In Gemfile:
  gitlab-labkit was resolved to 0.21.2, which depends on
    actionpack was resolved to 6.1.4.1, which depends on
      actionview was resolved to 6.1.4.1, which depends on
        rails-dom-testing was resolved to 2.0.3, which depends on
          activesupport was resolved to 6.1.4.1, which depends on
            zeitwerk
make[1]: *** [debian/rules:53: override_dh_auto_test] Error 1
make[1]: Leaving directory '/tmp/gitaly-14.5.2+dfsg'
make: *** [debian/rules:21: build] Error 2
dpkg-buildpackage: error: debian/rules build subprocess returned exit 
status 2



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