[DRE-maint] Bug#996529: vagrant: FTBFS with ruby3.0: ERROR: Test "ruby3.0" failed: RuntimeError:

Antonio Terceiro terceiro at debian.org
Fri Oct 15 00:57:27 BST 2021


Source: vagrant
Version: 2.2.14+dfsg-1
Severity: serious
Justification: FTBFS
Tags: bookworm sid ftbfs
User: debian-ruby at lists.debian.org
Usertags: ruby3.0

Hi,

We are about to enable building against ruby3.0 on unstable. During a test
rebuild, vagrant was found to fail to build in that situation.

To reproduce this locally, you need to install ruby-all-dev from experimental
on an unstable system or build chroot.

Relevant part (hopefully):
>      RuntimeError:
>        class variable access from toplevel
>      # /<<PKGBUILDDIR>>/test/unit/plugins/synced_folders/unix_mount_helpers_test.rb:10:in `block (3 levels) in <top (required)>'
>      # /<<PKGBUILDDIR>>/test/unit/plugins/synced_folders/unix_mount_helpers_test.rb:9:in `initialize'
>      # /<<PKGBUILDDIR>>/test/unit/plugins/synced_folders/unix_mount_helpers_test.rb:9:in `new'
>      # /<<PKGBUILDDIR>>/test/unit/plugins/synced_folders/unix_mount_helpers_test.rb:9:in `block (2 levels) in <top (required)>'
>      # /<<PKGBUILDDIR>>/test/unit/plugins/synced_folders/unix_mount_helpers_test.rb:34:in `block (4 levels) in <top (required)>'
> 
> Finished in 14 minutes 32 seconds (files took 5.03 seconds to load)
> 2824 examples, 7 failures, 9 pending
> 
> Failed examples:
> 
> rspec /<<PKGBUILDDIR>>/test/unit/plugins/commands/cloud/provider/upload_test.rb:88 # VagrantPlugins::CloudCommand::ProviderCommand::Command::Upload#upload_provider with direct option should use direct upload
> rspec /<<PKGBUILDDIR>>/test/unit/plugins/commands/cloud/search_test.rb:59 # VagrantPlugins::CloudCommand::Command::Search#search with valid options should use options when performing search
> rspec /<<PKGBUILDDIR>>/test/unit/plugins/commands/cloud/search_test.rb:72 # VagrantPlugins::CloudCommand::Command::Search#search with valid options with invalid options should only pass supported options to search
> rspec /<<PKGBUILDDIR>>/test/unit/plugins/kernel_v2/config/disk_test.rb:120 # VagrantPlugins::Kernel_V2::VagrantConfigDisk#add_provider_config normalizes provider config
> rspec /<<PKGBUILDDIR>>/test/unit/plugins/synced_folders/unix_mount_helpers_test.rb:21 # VagrantPlugins::SyncedFolder::UnixMountHelpers.merge_mount_options with no override should split options into individual options
> rspec /<<PKGBUILDDIR>>/test/unit/plugins/synced_folders/unix_mount_helpers_test.rb:28 # VagrantPlugins::SyncedFolder::UnixMountHelpers.merge_mount_options with overrides should merge all options
> rspec /<<PKGBUILDDIR>>/test/unit/plugins/synced_folders/unix_mount_helpers_test.rb:33 # VagrantPlugins::SyncedFolder::UnixMountHelpers.merge_mount_options with overrides should override options defined in base
> 
> /usr/bin/ruby3.0 -I/usr/share/rubygems-integration/all/gems/rspec-support-3.9.3/lib:/usr/share/rubygems-integration/all/gems/rspec-core-3.9.2/lib /usr/share/rubygems-integration/all/gems/rspec-core-3.9.2/exe/rspec --pattern test/unit/\{plugins\}/\*\*/\*_test.rb  --exclude-pattern \{test/unit/vagrant/action/builtin/box_add_test.rb,test/unit/plugins/communicators/winrm/\*_test.rb,test/unit/plugins/pushes/ftp/\*_test.rb\} -I/<<PKGBUILDDIR>>/debian/lib failed
> ERROR: Test "ruby3.0" failed: 


The full build log is available at
https://people.debian.org/~kanashiro/ruby3.0/round2/builds/3/vagrant/vagrant_2.2.14+dfsg-1+rebuild1633400150_amd64.build.txt
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 833 bytes
Desc: not available
URL: <http://alioth-lists.debian.net/pipermail/pkg-ruby-extras-maintainers/attachments/20211014/7fdfe341/attachment.sig>


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