[DRE-maint] Bug#1091737: ruby-rails-assets-underscore: FTBFS with ruby3.3: ERROR: Test "ruby3.3" failed.
Antonio Terceiro
terceiro at debian.org
Mon Dec 30 17:30:04 GMT 2024
Source: ruby-rails-assets-underscore
Version: 1.8.3+dfsg-5
Severity: important
Justification: FTBFS
Tags: trixie sid ftbfs
User: debian-ruby at lists.debian.org
Usertags: ruby3.3
Hi,
We are about to enable building against ruby3.3 on unstable. During a test
rebuild, ruby-rails-assets-underscore was found to fail to build in that situation. This bug
is being reported as important, but will be upgraded to serious soon.
To reproduce this locally, you need to install ruby-all-dev from experimental
on an unstable system or build chroot.
Relevant part (hopefully):
> /usr/bin/ruby3.3 /usr/bin/gem2deb-test-runner
>
> ┌──────────────────────────────────────────────────────────────────────────────┐
> │ Checking Rubygems dependency resolution on ruby3.3 │
> └──────────────────────────────────────────────────────────────────────────────┘
>
> RUBYLIB=. GEM_PATH=/<<PKGBUILDDIR>>/debian/ruby-rails-assets-underscore/usr/share/rubygems-integration/all:/var/lib/gems/3.3.0:/usr/local/lib/ruby/gems/3.3.0:/usr/lib/ruby/gems/3.3.0:/usr/lib/x86_64-linux-gnu/ruby/gems/3.3.0:/usr/share/rubygems-integration/3.3.0:/usr/share/rubygems-integration/all:/usr/lib/x86_64-linux-gnu/rubygems-integration/3.3.0 ruby3.3 -e gem\ \"rails-assets-underscore\"
>
> ┌──────────────────────────────────────────────────────────────────────────────┐
> │ Running Rails assets smoke test on ruby3.3 │
> └──────────────────────────────────────────────────────────────────────────────┘
>
> RUBYLIB=. GEM_PATH=/<<PKGBUILDDIR>>/debian/ruby-rails-assets-underscore/usr/share/rubygems-integration/all:/var/lib/gems/3.3.0:/usr/local/lib/ruby/gems/3.3.0:/usr/lib/ruby/gems/3.3.0:/usr/lib/x86_64-linux-gnu/ruby/gems/3.3.0:/usr/share/rubygems-integration/3.3.0:/usr/share/rubygems-integration/all:/usr/lib/x86_64-linux-gnu/rubygems-integration/3.3.0 sh /usr/lib/ruby/vendor_ruby/gem2deb/test_runner/assets-smoke-test.sh rails-assets-underscore /usr/bin/ruby3.3
> Gemfile
> -------
> | gem "rake"
> | gem "railties"
> | gem "sass-rails"
> | gem 'rails-assets-underscore'
> -------
>
> app/assets/javascripts/application.js
> -------------------------------------
> | # =require underscore
> -------------------------------------
>
> $ /usr/bin/ruby3.3 -S bundle install --local
> Don't run Bundler as root. Installing your bundle as root will break this
> application for all non-root users on this machine.
> [DEPRECATED] This Gemfile does not include an explicit global source. Not using an explicit global source may result in a different lockfile being generated depending on the gems you have installed locally before bundler is run. Instead, define a global source in your Gemfile like this: source "https://rubygems.org".
> `/sbuild-nonexistent` is not a directory.
> Bundler will use `/tmp/bundler20241230-2663872-jtapj02663872' as your home directory temporarily.
> Resolving dependencies...
> Bundle complete! 4 Gemfile dependencies, 32 gems now installed.
> Use `bundle info [gemname]` to see where a bundled gem is installed.
>
> Rakefile
> --------
> | require_relative 'config/application'
> |
> | Rails.logger = Logger.new(STDOUT)
> | Rails.application.load_tasks
> --------
>
> config/application.rb
> ---------------------
> | require_relative 'boot'
> |
> | require 'rails/all'
> |
> | # Require the gems listed in Gemfile, including any gems
> | # you've limited to :test, :development, or :production.
> | Bundler.require(*Rails.groups)
> |
> | module Foo
> | class Application < Rails::Application
> | # Initialize configuration defaults for originally generated Rails version.
> | config.load_defaults 6.0
> |
> | # Settings in config/environments/* take precedence over those specified here.
> | # Application configuration can go into files in config/initializers
> | # -- all .rb files in that directory are automatically loaded after loading
> | # the framework and any gems in your application.
> | end
> | end
> ---------------------
>
> config/boot.rb
> --------------
> | ENV['BUNDLE_GEMFILE'] ||= File.expand_path('../Gemfile', __dir__)
> --------------
>
> config/environment.rb
> ---------------------
> | # Load the Rails application.
> | require_relative 'application'
> |
> | # Initialize the Rails application.
> | Rails.application.initialize!
> ---------------------
>
> $ /usr/bin/ruby3.3 -S bundle exec rake assets:precompile
> Source locally installed gems is ignoring #<Bundler::StubSpecification name=sdbm version=1.0.0 platform=ruby> because it is missing extensions
> Source locally installed gems is ignoring #<Bundler::StubSpecification name=rbs version=3.4.0 platform=ruby> because it is missing extensions
> Source locally installed gems is ignoring #<Bundler::StubSpecification name=racc version=1.7.3 platform=ruby> because it is missing extensions
> Source locally installed gems is ignoring #<Bundler::StubSpecification name=nokogiri version=1.16.4 platform=ruby> because it is missing extensions
> Source locally installed gems is ignoring #<Bundler::StubSpecification name=ffi version=1.17.0 platform=ruby> because it is missing extensions
> Source locally installed gems is ignoring #<Bundler::StubSpecification name=debug version=1.9.2 platform=ruby> because it is missing extensions
> /usr/lib/ruby/3.3.0/bundler/definition.rb:599:in `materialize': Could not find nokogiri-1.16.4, ffi-1.17.0, racc-1.7.3 in locally installed gems (Bundler::GemNotFound)
> from /usr/lib/ruby/3.3.0/bundler/definition.rb:193:in `specs'
> from /usr/lib/ruby/3.3.0/bundler/definition.rb:260:in `specs_for'
> from /usr/lib/ruby/3.3.0/bundler/runtime.rb:18:in `setup'
> from /usr/lib/ruby/3.3.0/bundler.rb:164:in `setup'
> from /usr/lib/ruby/3.3.0/bundler/setup.rb:32:in `block in <top (required)>'
> from /usr/lib/ruby/3.3.0/bundler/ui/shell.rb:173:in `with_level'
> from /usr/lib/ruby/3.3.0/bundler/ui/shell.rb:119:in `silence'
> from /usr/lib/ruby/3.3.0/bundler/setup.rb:32: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/lib/ruby/vendor_ruby/rubygems.rb:1368:in `<top (required)>'
> from <internal:gem_prelude>:2:in `require'
> from <internal:gem_prelude>:2:in `<internal:gem_prelude>'
>
> ┌──────────────────────────────────────────────────────────────────────────────┐
> │ Run tests for ruby3.3: no test suite! │
> └──────────────────────────────────────────────────────────────────────────────┘
>
> ERROR: Test "ruby3.3" failed.
The full build log is available at
https://people.debian.org/~terceiro/ruby3.3/ruby-rails-assets-underscore/ruby-rails-assets-underscore_1.8.3+dfsg-5+rebuild1735567840_amd64.build
-------------- 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/20241230/8f4abdf2/attachment-0001.sig>
More information about the Pkg-ruby-extras-maintainers
mailing list