[DRE-maint] Bug#1093925: ruby-premailer-rails: FTBFS: undefined method `ignored?' for an instance of Gem::Specification (NoMethodError)

Santiago Vila sanvila at debian.org
Fri Jan 24 00:59:55 GMT 2025


Package: src:ruby-premailer-rails
Version: 1.12.0-1
Severity: serious
Tags: ftbfs trixie sid

Dear maintainer:

During a rebuild of all packages in unstable, your package failed to build:

--------------------------------------------------------------------------------
[...]
 debian/rules clean
dh clean --buildsystem=ruby --with ruby
   debian/rules override_dh_auto_clean
make[1]: Entering directory '/<<PKGBUILDDIR>>'
rm -rf coverage
dh_auto_clean
	dh_ruby --clean
W: XS-Ruby-Versions is deprecated, and will be ignored
make[1]: Leaving directory '/<<PKGBUILDDIR>>'
   dh_autoreconf_clean -O--buildsystem=ruby
   dh_clean -O--buildsystem=ruby
 debian/rules binary
dh binary --buildsystem=ruby --with ruby
   dh_update_autotools_config -O--buildsystem=ruby
   dh_autoreconf -O--buildsystem=ruby
   dh_auto_configure -O--buildsystem=ruby
	dh_ruby --configure
   dh_auto_build -O--buildsystem=ruby
	dh_ruby --build
   dh_auto_test -O--buildsystem=ruby
	dh_ruby --test
   create-stamp debian/debhelper-build-stamp
   dh_testroot -O--buildsystem=ruby
   dh_prep -O--buildsystem=ruby
   dh_auto_install --destdir=debian/ruby-premailer-rails/ -O--buildsystem=ruby
	dh_ruby --install /<<PKGBUILDDIR>>/debian/ruby-premailer-rails

┌──────────────────────────────────────────────────────────────────────────────┐
│ ruby-premailer-rails: Installing files and building extensions for ruby3.1   │
└──────────────────────────────────────────────────────────────────────────────┘

/usr/bin/ruby3.1 -S gem build --config-file /dev/null --verbose /tmp/d20250122-10097-solvxo/gemspec
Failed to load /dev/null because it doesn't contain valid YAML hash
WARNING:  open-ended dependency on actionmailer (>= 3) is not recommended
  if actionmailer is semantically versioned, use:
    add_runtime_dependency 'actionmailer', '~> 3'
WARNING:  open-ended dependency on net-smtp (>= 0) is not recommended
  use a bounded requirement, such as '~> x.y'
WARNING:  open-ended dependency on nokogiri (>= 0, development) is not recommended
  use a bounded requirement, such as '~> x.y'
WARNING:  See https://guides.rubygems.org/specification-reference/ for help
  Successfully built RubyGem
  Name: premailer-rails
  Version: 1.12.0
  File: premailer-rails-1.12.0.gem
/usr/bin/ruby3.1 -S gem install --config-file /dev/null --verbose --local --verbose --no-document --ignore-dependencies --install-dir debian/ruby-premailer-rails/usr/share/rubygems-integration/all /tmp/d20250122-10097-solvxo/premailer-rails-1.12.0.gem
Failed to load /dev/null because it doesn't contain valid YAML hash
/<<PKGBUILDDIR>>/debian/ruby-premailer-rails/usr/share/rubygems-integration/all/gems/premailer-rails-1.12.0/VERSION
/<<PKGBUILDDIR>>/debian/ruby-premailer-rails/usr/share/rubygems-integration/all/gems/premailer-rails-1.12.0/lib/premailer/rails.rb
/<<PKGBUILDDIR>>/debian/ruby-premailer-rails/usr/share/rubygems-integration/all/gems/premailer-rails-1.12.0/lib/premailer/rails/css_helper.rb
/<<PKGBUILDDIR>>/debian/ruby-premailer-rails/usr/share/rubygems-integration/all/gems/premailer-rails-1.12.0/lib/premailer/rails/css_loaders.rb
/<<PKGBUILDDIR>>/debian/ruby-premailer-rails/usr/share/rubygems-integration/all/gems/premailer-rails-1.12.0/lib/premailer/rails/css_loaders/asset_pipeline_loader.rb
/<<PKGBUILDDIR>>/debian/ruby-premailer-rails/usr/share/rubygems-integration/all/gems/premailer-rails-1.12.0/lib/premailer/rails/css_loaders/file_system_loader.rb
/<<PKGBUILDDIR>>/debian/ruby-premailer-rails/usr/share/rubygems-integration/all/gems/premailer-rails-1.12.0/lib/premailer/rails/css_loaders/network_loader.rb
/<<PKGBUILDDIR>>/debian/ruby-premailer-rails/usr/share/rubygems-integration/all/gems/premailer-rails-1.12.0/lib/premailer/rails/css_loaders/propshaft_loader.rb
/<<PKGBUILDDIR>>/debian/ruby-premailer-rails/usr/share/rubygems-integration/all/gems/premailer-rails-1.12.0/lib/premailer/rails/customized_premailer.rb
/<<PKGBUILDDIR>>/debian/ruby-premailer-rails/usr/share/rubygems-integration/all/gems/premailer-rails-1.12.0/lib/premailer/rails/hook.rb
/<<PKGBUILDDIR>>/debian/ruby-premailer-rails/usr/share/rubygems-integration/all/gems/premailer-rails-1.12.0/lib/premailer/rails/railtie.rb
/<<PKGBUILDDIR>>/debian/ruby-premailer-rails/usr/share/rubygems-integration/all/gems/premailer-rails-1.12.0/lib/premailer/rails/version.rb
Successfully installed premailer-rails-1.12.0
1 gem installed
cd debian/ruby-premailer-rails/usr/share/rubygems-integration/all
rm -rf bin
rm -rf build_info
rm -rf cache
rm -rf doc
rm -rf extensions
rmdir plugins
cd gems/premailer-rails-1.12.0
rm -f 
chmod 644 lib/premailer/rails/css_helper.rb lib/premailer/rails/css_loaders/asset_pipeline_loader.rb lib/premailer/rails/css_loaders/file_system_loader.rb lib/premailer/rails/css_loaders/network_loader.rb lib/premailer/rails/css_loaders/propshaft_loader.rb lib/premailer/rails/css_loaders.rb lib/premailer/rails/customized_premailer.rb lib/premailer/rails/hook.rb lib/premailer/rails/railtie.rb lib/premailer/rails/version.rb lib/premailer/rails.rb
find lib/ -type d -empty -delete
cd -
cd -
dh_installchangelogs -pruby-premailer-rails /<<PKGBUILDDIR>>/CHANGELOG.md upstream
/usr/bin/ruby3.1 /usr/bin/gem2deb-test-runner

┌──────────────────────────────────────────────────────────────────────────────┐
│ Checking Rubygems dependency resolution on ruby3.1                           │
└──────────────────────────────────────────────────────────────────────────────┘

RUBYLIB=. GEM_PATH=/<<PKGBUILDDIR>>/debian/ruby-premailer-rails/usr/share/rubygems-integration/all:/<<PKGBUILDDIR>>/debian/.debhelper/generated/_source/home/.local/share/gem/ruby/3.1.0:/var/lib/gems/3.1.0:/usr/local/lib/ruby/gems/3.1.0:/usr/lib/ruby/gems/3.1.0:/usr/lib/x86_64-linux-gnu/ruby/gems/3.1.0:/usr/share/rubygems-integration/3.1.0:/usr/share/rubygems-integration/all:/usr/lib/x86_64-linux-gnu/rubygems-integration/3.1.0 ruby3.1 -e gem\ \"premailer-rails\"

┌──────────────────────────────────────────────────────────────────────────────┐
│ Run tests for ruby3.1 from debian/ruby-tests.rake                            │
└──────────────────────────────────────────────────────────────────────────────┘

RUBYLIB=. GEM_PATH=/<<PKGBUILDDIR>>/debian/ruby-premailer-rails/usr/share/rubygems-integration/all:/<<PKGBUILDDIR>>/debian/.debhelper/generated/_source/home/.local/share/gem/ruby/3.1.0:/var/lib/gems/3.1.0:/usr/local/lib/ruby/gems/3.1.0:/usr/lib/ruby/gems/3.1.0:/usr/lib/x86_64-linux-gnu/ruby/gems/3.1.0:/usr/share/rubygems-integration/3.1.0:/usr/share/rubygems-integration/all:/usr/lib/x86_64-linux-gnu/rubygems-integration/3.1.0 ruby3.1 -S rake --rakelibdir /gem2deb-nonexistent -f debian/ruby-tests.rake
/usr/bin/ruby3.1 -I/usr/share/rubygems-integration/all/gems/rspec-support-3.13.1/lib:/usr/share/rubygems-integration/all/gems/rspec-core-3.13.0/lib /usr/share/rubygems-integration/all/gems/rspec-core-3.13.0/exe/rspec --pattern ./spec/\*\*/\*_spec.rb --format documentation
WARN: Unresolved or ambiguous specs during Gem::Specification.reset:
      racc (~> 1.4)
      Available/installed versions of this gem:
      - 1.6.2
      - 1.6.0
      rake (>= 12.2)
      Available/installed versions of this gem:
      - 13.2.1
      - 13.0.6
WARN: Clearing out unresolved specs. Try 'gem cleanup <gem>'
Please report a bug if this causes problems.

Premailer::Rails::CSSHelper
  #css_for_doc
    when HTML contains linked CSS files
      returns the content of both files concatenated
    when HTML contains ignored links
      ignores links
  #css_for_url
    when path is a url
      loads the CSS at the local path
    when path is a relative url
      loads the CSS at the local path
    when cache is enabled
      when file is cached
        returns the cached value
    when cache is disabled
      does not return cached values
    when Rails asset pipeline is used
      returns the content of the file compiled by Rails
      returns same file when path contains file fingerprint
      and a precompiled file exists
        returns that file
      when find_sources raises TypeError
        falls back to Net::HTTP
      when find_sources raises Errno::ENOENT
        falls back to Net::HTTP
      when asset can not be found
        requests the file
        when file url does not include the host
          requests the file using the asset host as host
          and the asset host uses protocol relative scheme
            requests the file using http as the scheme
    when static stylesheets are used
      returns the content of the static file

ActionMailer::Base delivery
  delivers email with inlined CSS

Premailer::Rails::Hook
  inlines the CSS
  replaces the html part with an alternative part containing text and html parts
  does not screw up the text by maintaining the original body encoding
  supports US-ASCII output
  generates a text part from the html
  .delivering_email
    is an alias to .perform
  .previewing_email
    is an alias to .perform
  when message contains no html
    does not modify the message
  when message also contains a text part
    does not generate a text part
    does not replace any message part
  when text generation is disabled
    does not generate a text part
  when message also contains an attachment
    does not mess with it
  when message has a skip premailer header
    does not change the message body
    removes that header

Premailer::Rails::CSSLoaders::AssetPipelineLoader
  .file_name
    when asset file path contains prefix
      is expected to eq "application.css"
    when asset file path contains prefix and relative_url_root is set
      is expected to eq "application.css"
    when asset file path contains prefix and relative_url_root is set to root
      is expected to eq "application.css"
    when asset file path contains 32 chars fingerprint
      is expected to eq "application.css"
    when asset file path contains 64 chars fingerprint
      is expected to eq "application.css"
    when asset file page contains numbers, but not a fingerprint
      is expected to eq "test/20130708152545-foo-bar.css"

Premailer::Rails::CSSLoaders::FileSystemLoader
  #file_name
    when relative_url_root is not set
      is expected to eq "/rails_root/public/assets/application.css"
    when relative_url_root is set
      is expected to eq "/rails_root/public/assets/application.css"
    when relative_url_root has a trailing slash
      is expected to eq "/rails_root/public/assets/application.css"

Premailer::Rails::CSSLoaders::NetworkLoader
  #uri_for_url
    with a valid URL
      is expected to eq #<URI::HTTP http://example.com/test.css>
    with a protocol relative URL
      is expected to eq #<URI::HTTP http://example.com/test.css>
    with a file path
      and a domain as asset host
        is expected to eq #<URI::HTTP http://example.com/assets/foo.css>
      and a URL as asset host
        is expected to eq #<URI::HTTPS https://example.com/assets/foo.css>
      and a protocol relative URL as asset host
        is expected to eq #<URI::HTTP http://example.com/assets/foo.css>
      and a callable object as asset host
        calls #call with the asset path as argument
      without an asset host
        is expected not to be

Premailer::Rails::CustomizedPremailer
  #to_plain_text
    includes the text from the HTML part
  #to_inline_css
    when inline CSS block present
      returns the HTML with the CSS inlined
    when CSS is loaded externally
      returns the HTML with the CSS inlined
    when HTML contains unicode
      does not mess those up
  .new
    extracts the CSS
    passes on the configs
    does not allow to override with_html_string

Premailer::Rails
  #config
    when set
      is expected to eq {:foo=>:bar}

Finished in 0.32381 seconds (files took 0.85956 seconds to load)
54 examples, 0 failures

/usr/bin/ruby3.3 /usr/bin/gem2deb-test-runner

┌──────────────────────────────────────────────────────────────────────────────┐
│ Checking Rubygems dependency resolution on ruby3.3                           │
└──────────────────────────────────────────────────────────────────────────────┘

RUBYLIB=. GEM_PATH=/<<PKGBUILDDIR>>/debian/ruby-premailer-rails/usr/share/rubygems-integration/all:/<<PKGBUILDDIR>>/debian/.debhelper/generated/_source/home/.local/share/gem/ruby/3.3.0:/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\ \"premailer-rails\"
mv Gemfile.lock ./.gem2deb.Gemfile.lock
mv ./.gem2deb.Gemfile.lock Gemfile.lock

┌──────────────────────────────────────────────────────────────────────────────┐
│ Run tests for ruby3.3 from debian/ruby-tests.rake                            │
└──────────────────────────────────────────────────────────────────────────────┘

RUBYLIB=. GEM_PATH=/<<PKGBUILDDIR>>/debian/ruby-premailer-rails/usr/share/rubygems-integration/all:/<<PKGBUILDDIR>>/debian/.debhelper/generated/_source/home/.local/share/gem/ruby/3.3.0:/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 -S rake --rakelibdir /gem2deb-nonexistent -f debian/ruby-tests.rake
mv Gemfile.lock ./.gem2deb.Gemfile.lock
/usr/bin/ruby3.3 -I/usr/share/rubygems-integration/all/gems/rspec-support-3.13.1/lib:/usr/share/rubygems-integration/all/gems/rspec-core-3.13.0/lib /usr/share/rubygems-integration/all/gems/rspec-core-3.13.0/exe/rspec --pattern ./spec/\*\*/\*_spec.rb --format documentation
/usr/lib/ruby/vendor_ruby/rubygems/specification.rb:2188:in `method_missing': undefined method `ignored?' for an instance of Gem::Specification (NoMethodError)
	from /usr/lib/ruby/3.3.0/bundler/rubygems_ext.rb:273:in `reject'
	from /usr/lib/ruby/3.3.0/bundler/rubygems_ext.rb:273:in `matching_specs'
	from /usr/lib/ruby/vendor_ruby/rubygems/dependency.rb:307:in `to_specs'
	from /usr/lib/ruby/vendor_ruby/rubygems/specification.rb:1087:in `block in unresolved_specs'
	from /usr/lib/ruby/vendor_ruby/rubygems/specification.rb:1087:in `map'
	from /usr/lib/ruby/vendor_ruby/rubygems/specification.rb:1087:in `unresolved_specs'
	from /usr/lib/ruby/vendor_ruby/rubygems/specification.rb:1065:in `find_in_unresolved'
	from <internal:/usr/lib/ruby/vendor_ruby/rubygems/core_ext/kernel_require.rb>:102: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 /usr/share/rubygems-integration/all/gems/rspec-core-3.13.0/lib/rspec/core/reporter.rb:237:in `ensure_listeners_ready'
	from /usr/share/rubygems-integration/all/gems/rspec-core-3.13.0/lib/rspec/core/reporter.rb:207:in `notify'
	from /usr/share/rubygems-integration/all/gems/rspec-core-3.13.0/lib/rspec/core/reporter.rb:100:in `message'
	from /usr/share/rubygems-integration/all/gems/rspec-core-3.13.0/lib/rspec/core/world.rb:206:in `report_filter_message'
	from /usr/share/rubygems-integration/all/gems/rspec-core-3.13.0/lib/rspec/core/world.rb:197:in `announce_filters'
	from /usr/share/rubygems-integration/all/gems/rspec-core-3.13.0/lib/rspec/core/runner.rb:104:in `ensure in setup'
	from /usr/share/rubygems-integration/all/gems/rspec-core-3.13.0/lib/rspec/core/runner.rb:104:in `setup'
	from /usr/share/rubygems-integration/all/gems/rspec-core-3.13.0/lib/rspec/core/runner.rb:86:in `run'
	from /usr/share/rubygems-integration/all/gems/rspec-core-3.13.0/lib/rspec/core/runner.rb:71:in `run'
	from /usr/share/rubygems-integration/all/gems/rspec-core-3.13.0/lib/rspec/core/runner.rb:45:in `invoke'
	from /usr/share/rubygems-integration/all/gems/rspec-core-3.13.0/exe/rspec:4:in `<main>'
/usr/lib/ruby/vendor_ruby/rubygems/specification.rb:2188:in `method_missing': undefined method `ignored?' for an instance of Gem::Specification (NoMethodError)
	from /usr/lib/ruby/3.3.0/bundler/rubygems_ext.rb:273:in `reject'
	from /usr/lib/ruby/3.3.0/bundler/rubygems_ext.rb:273:in `matching_specs'
	from /usr/lib/ruby/vendor_ruby/rubygems/dependency.rb:307:in `to_specs'
	from /usr/lib/ruby/vendor_ruby/rubygems/specification.rb:1087:in `block in unresolved_specs'
	from /usr/lib/ruby/vendor_ruby/rubygems/specification.rb:1087:in `map'
	from /usr/lib/ruby/vendor_ruby/rubygems/specification.rb:1087:in `unresolved_specs'
	from /usr/lib/ruby/vendor_ruby/rubygems/specification.rb:1065:in `find_in_unresolved'
	from <internal:/usr/lib/ruby/vendor_ruby/rubygems/core_ext/kernel_require.rb>:102: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 /usr/share/rubygems-integration/all/gems/rspec-support-3.13.1/lib/rspec/support/source.rb:56:in `ast'
	from /usr/share/rubygems-integration/all/gems/rspec-support-3.13.1/lib/rspec/support/source.rb:73:in `nodes_by_line_number'
	from /usr/share/rubygems-integration/all/gems/rspec-core-3.13.0/lib/rspec/core/formatters/snippet_extractor.rb:118:in `location_nodes_at_beginning_line'
	from /usr/share/rubygems-integration/all/gems/rspec-core-3.13.0/lib/rspec/core/formatters/snippet_extractor.rb:96:in `expression_node'
	from /usr/share/rubygems-integration/all/gems/rspec-core-3.13.0/lib/rspec/core/formatters/snippet_extractor.rb:88:in `line_range_of_location_nodes_in_expression'
	from /usr/share/rubygems-integration/all/gems/rspec-core-3.13.0/lib/rspec/core/formatters/snippet_extractor.rb:57:in `line_range_of_expression'
	from /usr/share/rubygems-integration/all/gems/rspec-core-3.13.0/lib/rspec/core/formatters/snippet_extractor.rb:42:in `expression_lines'
	from /usr/share/rubygems-integration/all/gems/rspec-core-3.13.0/lib/rspec/core/formatters/snippet_extractor.rb:31:in `extract_expression_lines_at'
	from /usr/share/rubygems-integration/all/gems/rspec-core-3.13.0/lib/rspec/core/formatters/exception_presenter.rb:248:in `read_failed_lines'
	from /usr/share/rubygems-integration/all/gems/rspec-core-3.13.0/lib/rspec/core/formatters/exception_presenter.rb:171:in `failure_slash_error_lines'
	from /usr/share/rubygems-integration/all/gems/rspec-core-3.13.0/lib/rspec/core/formatters/exception_presenter.rb:158:in `block in failure_lines'
	from <internal:kernel>:90:in `tap'
	from /usr/share/rubygems-integration/all/gems/rspec-core-3.13.0/lib/rspec/core/formatters/exception_presenter.rb:157:in `failure_lines'
	from /usr/share/rubygems-integration/all/gems/rspec-core-3.13.0/lib/rspec/core/formatters/exception_presenter.rb:34:in `colorized_message_lines'
	from /usr/share/rubygems-integration/all/gems/rspec-core-3.13.0/lib/rspec/core/formatters/exception_presenter.rb:274:in `formatted_message_and_backtrace'
	from /usr/share/rubygems-integration/all/gems/rspec-core-3.13.0/lib/rspec/core/formatters/exception_presenter.rb:93:in `fully_formatted_lines'
	from /usr/share/rubygems-integration/all/gems/rspec-core-3.13.0/lib/rspec/core/formatters/exception_presenter.rb:85:in `fully_formatted'
	from /usr/share/rubygems-integration/all/gems/rspec-core-3.13.0/lib/rspec/core/reporter.rb:169:in `notify_non_example_exception'
	from /usr/share/rubygems-integration/all/gems/rspec-core-3.13.0/lib/rspec/core/configuration.rb:2153:in `rescue in load_file_handling_errors'
	from /usr/share/rubygems-integration/all/gems/rspec-core-3.13.0/lib/rspec/core/configuration.rb:2137:in `load_file_handling_errors'
	from /usr/share/rubygems-integration/all/gems/rspec-core-3.13.0/lib/rspec/core/configuration.rb:1638:in `block in load_spec_files'
	from /usr/share/rubygems-integration/all/gems/rspec-core-3.13.0/lib/rspec/core/configuration.rb:1636:in `each'
	from /usr/share/rubygems-integration/all/gems/rspec-core-3.13.0/lib/rspec/core/configuration.rb:1636:in `load_spec_files'
	from /usr/share/rubygems-integration/all/gems/rspec-core-3.13.0/lib/rspec/core/runner.rb:102:in `setup'
	from /usr/share/rubygems-integration/all/gems/rspec-core-3.13.0/lib/rspec/core/runner.rb:86:in `run'
	from /usr/share/rubygems-integration/all/gems/rspec-core-3.13.0/lib/rspec/core/runner.rb:71:in `run'
	from /usr/share/rubygems-integration/all/gems/rspec-core-3.13.0/lib/rspec/core/runner.rb:45:in `invoke'
	from /usr/share/rubygems-integration/all/gems/rspec-core-3.13.0/exe/rspec:4:in `<main>'
/usr/lib/ruby/vendor_ruby/rubygems/specification.rb:2188:in `method_missing': undefined method `ignored?' for an instance of Gem::Specification (NoMethodError)
	from /usr/lib/ruby/3.3.0/bundler/rubygems_ext.rb:273:in `reject'
	from /usr/lib/ruby/3.3.0/bundler/rubygems_ext.rb:273:in `matching_specs'
	from /usr/lib/ruby/vendor_ruby/rubygems/dependency.rb:307:in `to_specs'
	from /usr/lib/ruby/vendor_ruby/rubygems/specification.rb:1087:in `block in unresolved_specs'
	from /usr/lib/ruby/vendor_ruby/rubygems/specification.rb:1087:in `map'
	from /usr/lib/ruby/vendor_ruby/rubygems/specification.rb:1087:in `unresolved_specs'
	from /usr/lib/ruby/vendor_ruby/rubygems/specification.rb:1065:in `find_in_unresolved'
	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 /usr/lib/ruby/3.3.0/bundler/rubygems_ext.rb:298:in `<module:Gem>'
	from /usr/lib/ruby/3.3.0/bundler/rubygems_ext.rb:25:in `<top (required)>'
	from /usr/lib/ruby/3.3.0/bundler.rb:10:in `require_relative'
	from /usr/lib/ruby/3.3.0/bundler.rb:10:in `<top (required)>'
	from /usr/lib/ruby/3.3.0/bundler/setup.rb:6:in `require_relative'
	from /usr/lib/ruby/3.3.0/bundler/setup.rb:6:in `<top (required)>'
	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 /<<PKGBUILDDIR>>/spec/rails_app/config/boot.rb:4:in `<top (required)>'
	from /<<PKGBUILDDIR>>/spec/rails_app/config/application.rb:1:in `require_relative'
	from /<<PKGBUILDDIR>>/spec/rails_app/config/application.rb:1:in `<top (required)>'
	from /<<PKGBUILDDIR>>/spec/rails_app/config/environment.rb:1:in `require_relative'
	from /<<PKGBUILDDIR>>/spec/rails_app/config/environment.rb:1:in `<top (required)>'
	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 /<<PKGBUILDDIR>>/spec/spec_helper.rb:7:in `<top (required)>'
	from /<<PKGBUILDDIR>>/spec/integration/css_helper_spec.rb:1:in `<top (required)>'
	from /usr/share/rubygems-integration/all/gems/rspec-core-3.13.0/lib/rspec/core/configuration.rb:2138:in `load'
	from /usr/share/rubygems-integration/all/gems/rspec-core-3.13.0/lib/rspec/core/configuration.rb:2138:in `load_file_handling_errors'
	from /usr/share/rubygems-integration/all/gems/rspec-core-3.13.0/lib/rspec/core/configuration.rb:1638:in `block in load_spec_files'
	from /usr/share/rubygems-integration/all/gems/rspec-core-3.13.0/lib/rspec/core/configuration.rb:1636:in `each'
	from /usr/share/rubygems-integration/all/gems/rspec-core-3.13.0/lib/rspec/core/configuration.rb:1636:in `load_spec_files'
	from /usr/share/rubygems-integration/all/gems/rspec-core-3.13.0/lib/rspec/core/runner.rb:102:in `setup'
	from /usr/share/rubygems-integration/all/gems/rspec-core-3.13.0/lib/rspec/core/runner.rb:86:in `run'
	from /usr/share/rubygems-integration/all/gems/rspec-core-3.13.0/lib/rspec/core/runner.rb:71:in `run'
	from /usr/share/rubygems-integration/all/gems/rspec-core-3.13.0/lib/rspec/core/runner.rb:45:in `invoke'
	from /usr/share/rubygems-integration/all/gems/rspec-core-3.13.0/exe/rspec:4:in `<main>'
/usr/bin/ruby3.3 -I/usr/share/rubygems-integration/all/gems/rspec-support-3.13.1/lib:/usr/share/rubygems-integration/all/gems/rspec-core-3.13.0/lib /usr/share/rubygems-integration/all/gems/rspec-core-3.13.0/exe/rspec --pattern ./spec/\*\*/\*_spec.rb --format documentation failed
mv ./.gem2deb.Gemfile.lock Gemfile.lock
ERROR: Test "ruby3.3" failed. Exiting.
dh_auto_install: error: dh_ruby --install /<<PKGBUILDDIR>>/debian/ruby-premailer-rails returned exit code 1
make: *** [debian/rules:9: binary] Error 25
dpkg-buildpackage: error: debian/rules binary subprocess returned exit status 2
--------------------------------------------------------------------------------

The above is just how the build ends and not necessarily the most relevant part.
If required, the full build log is available here:

https://people.debian.org/~sanvila/build-logs/202501/

About the archive rebuild: The build was made on virtual machines from AWS,
using sbuild and a reduced chroot with only build-essential packages.

If you could not reproduce the bug please contact me privately, as I
am willing to provide ssh access to a virtual machine where the bug is
fully reproducible.

If this is really a bug in one of the build-depends, please use
reassign and add an affects on src:ruby-premailer-rails, so that this is still
visible in the BTS web page for this package.

Thanks.



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