[DRE-maint] Bug#1090868: ruby-mobile-fu: FTBFS with ruby-mocha 2: ERROR: Test "ruby3.1" failed: <internal:/usr/lib/ruby/vendor_ruby/rubygems/core_ext/kernel_require.rb>:149:in `require': cannot load such file -- mocha/setup (LoadError)

Antonio Terceiro terceiro at debian.org
Fri Dec 20 11:52:08 GMT 2024


Source: ruby-mobile-fu
Version: 1.4.0+github-4
Severity: important
Justification: FTBFS
Tags: trixie sid ftbfs
User: debian-ruby at lists.debian.org
Usertags: ruby-mocha-2

Hi,

We are trying to update ruby-mocha to version 2, currently available in experimental.
During a test rebuild, ruby-mobile-fu was found to fail to build in that situation.

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

Relevant part (hopefully):
> <internal:/usr/lib/ruby/vendor_ruby/rubygems/core_ext/kernel_require.rb>:149:in `require': cannot load such file -- mocha/setup (LoadError)
> 	from <internal:/usr/lib/ruby/vendor_ruby/rubygems/core_ext/kernel_require.rb>:149:in `require'
> 	from /usr/share/rubygems-integration/all/gems/activesupport-6.1.7.3/lib/active_support/dependencies.rb:332:in `block in require'
> 	from /usr/share/rubygems-integration/all/gems/activesupport-6.1.7.3/lib/active_support/dependencies.rb:299:in `load_dependency'
> 	from /usr/share/rubygems-integration/all/gems/activesupport-6.1.7.3/lib/active_support/dependencies.rb:332:in `require'
> 	from /build/reproducible-path/ruby-mobile-fu-1.4.0+github/spec/spec_helper.rb:5:in `<top (required)>'
> 	from /build/reproducible-path/ruby-mobile-fu-1.4.0+github/spec/mobile-fu_spec.rb:1:in `require_relative'
> 	from /build/reproducible-path/ruby-mobile-fu-1.4.0+github/spec/mobile-fu_spec.rb:1:in `<top (required)>'
> 	from <internal:/usr/lib/ruby/vendor_ruby/rubygems/core_ext/kernel_require.rb>:86:in `require'
> 	from <internal:/usr/lib/ruby/vendor_ruby/rubygems/core_ext/kernel_require.rb>:86:in `require'
> 	from /usr/share/rubygems-integration/all/gems/rake-13.2.1/lib/rake/rake_test_loader.rb:21:in `block in <main>'
> 	from /usr/share/rubygems-integration/all/gems/rake-13.2.1/lib/rake/rake_test_loader.rb:6:in `select'
> 	from /usr/share/rubygems-integration/all/gems/rake-13.2.1/lib/rake/rake_test_loader.rb:6:in `<main>'
> rake aborted!
> Command failed with status (1): [ruby -w -I"lib:lib" /usr/share/rubygems-integration/all/gems/rake-13.2.1/lib/rake/rake_test_loader.rb "spec/mobile-fu_spec.rb" "spec/mobile-fu/tablet_spec.rb" ]
> /usr/share/rubygems-integration/all/gems/rake-13.2.1/exe/rake:27:in `<top (required)>'
> Tasks: TOP => default => test
> (See full trace by running task with --trace)
> ERROR: Test "ruby3.1" failed: 


The full build log is available at
https://people.debian.org/~terceiro/ruby-mocha-2/ruby-mobile-fu_arm64-2024-12-20T10:21:49Z.build

This bug report is being filed as severity important, but will be raised to
serious once ruby-mocha is updated in unstable.
-------------- 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/20241220/662d73e2/attachment.sig>


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