[DRE-maint] Bug#1095379: ruby-arbre: FTBFS: failing tests

Santiago Vila sanvila at debian.org
Fri Feb 7 12:12:43 GMT 2025


Package: src:ruby-arbre
Version: 1.5.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
   dh_auto_clean -O--buildsystem=ruby
	dh_ruby --clean
   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-arbre/ -O--buildsystem=ruby
	dh_ruby --install /<<PKGBUILDDIR>>/debian/ruby-arbre

┌──────────────────────────────────────────────────────────────────────────────┐
│ ruby-arbre: Installing files and building extensions for ruby3.3             │
└──────────────────────────────────────────────────────────────────────────────┘

/usr/bin/ruby3.3 -S gem build --config-file /dev/null --verbose /tmp/d20250207-80818-dio2o6/gemspec
  Successfully built RubyGem
  Name: arbre
  Version: 1.5.0
  File: arbre-1.5.0.gem
/usr/bin/ruby3.3 -S gem install --config-file /dev/null --verbose --local --verbose --no-document --ignore-dependencies --install-dir debian/ruby-arbre/usr/share/rubygems-integration/all /tmp/d20250207-80818-dio2o6/arbre-1.5.0.gem
/<<PKGBUILDDIR>>/debian/ruby-arbre/usr/share/rubygems-integration/all/gems/arbre-1.5.0/lib/arbre.rb
/<<PKGBUILDDIR>>/debian/ruby-arbre/usr/share/rubygems-integration/all/gems/arbre-1.5.0/lib/arbre/component.rb
/<<PKGBUILDDIR>>/debian/ruby-arbre/usr/share/rubygems-integration/all/gems/arbre-1.5.0/lib/arbre/context.rb
/<<PKGBUILDDIR>>/debian/ruby-arbre/usr/share/rubygems-integration/all/gems/arbre-1.5.0/lib/arbre/element.rb
/<<PKGBUILDDIR>>/debian/ruby-arbre/usr/share/rubygems-integration/all/gems/arbre-1.5.0/lib/arbre/element/builder_methods.rb
/<<PKGBUILDDIR>>/debian/ruby-arbre/usr/share/rubygems-integration/all/gems/arbre-1.5.0/lib/arbre/element/proxy.rb
/<<PKGBUILDDIR>>/debian/ruby-arbre/usr/share/rubygems-integration/all/gems/arbre-1.5.0/lib/arbre/element_collection.rb
/<<PKGBUILDDIR>>/debian/ruby-arbre/usr/share/rubygems-integration/all/gems/arbre-1.5.0/lib/arbre/html/attributes.rb
/<<PKGBUILDDIR>>/debian/ruby-arbre/usr/share/rubygems-integration/all/gems/arbre-1.5.0/lib/arbre/html/class_list.rb
/<<PKGBUILDDIR>>/debian/ruby-arbre/usr/share/rubygems-integration/all/gems/arbre-1.5.0/lib/arbre/html/document.rb
/<<PKGBUILDDIR>>/debian/ruby-arbre/usr/share/rubygems-integration/all/gems/arbre-1.5.0/lib/arbre/html/html5_elements.rb
/<<PKGBUILDDIR>>/debian/ruby-arbre/usr/share/rubygems-integration/all/gems/arbre-1.5.0/lib/arbre/html/tag.rb
/<<PKGBUILDDIR>>/debian/ruby-arbre/usr/share/rubygems-integration/all/gems/arbre-1.5.0/lib/arbre/html/text_node.rb
/<<PKGBUILDDIR>>/debian/ruby-arbre/usr/share/rubygems-integration/all/gems/arbre-1.5.0/lib/arbre/rails.rb
/<<PKGBUILDDIR>>/debian/ruby-arbre/usr/share/rubygems-integration/all/gems/arbre-1.5.0/lib/arbre/rails/forms.rb
/<<PKGBUILDDIR>>/debian/ruby-arbre/usr/share/rubygems-integration/all/gems/arbre-1.5.0/lib/arbre/rails/rendering.rb
/<<PKGBUILDDIR>>/debian/ruby-arbre/usr/share/rubygems-integration/all/gems/arbre-1.5.0/lib/arbre/rails/template_handler.rb
/<<PKGBUILDDIR>>/debian/ruby-arbre/usr/share/rubygems-integration/all/gems/arbre-1.5.0/lib/arbre/version.rb
Successfully installed arbre-1.5.0
1 gem installed
cd debian/ruby-arbre/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/arbre-1.5.0
rm -f 
chmod 644 lib/arbre/component.rb lib/arbre/context.rb lib/arbre/element/builder_methods.rb lib/arbre/element/proxy.rb lib/arbre/element.rb lib/arbre/element_collection.rb lib/arbre/html/attributes.rb lib/arbre/html/class_list.rb lib/arbre/html/document.rb lib/arbre/html/html5_elements.rb lib/arbre/html/tag.rb lib/arbre/html/text_node.rb lib/arbre/rails/forms.rb lib/arbre/rails/rendering.rb lib/arbre/rails/template_handler.rb lib/arbre/rails.rb lib/arbre/version.rb lib/arbre.rb
find lib/ -type d -empty -delete
cd -
cd -
dh_installchangelogs -pruby-arbre /<<PKGBUILDDIR>>/CHANGELOG.md upstream
/usr/bin/ruby3.3 /usr/bin/gem2deb-test-runner

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

RUBYLIB=. GEM_PATH=/<<PKGBUILDDIR>>/debian/ruby-arbre/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\ \"arbre\"
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-arbre/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
Resolving dependencies...
/usr/share/rubygems-integration/all/gems/railties-6.1.7.3/lib/rails/application.rb:7: warning: base64 was loaded from the standard library, but will no longer be part of the default gems starting from Ruby 3.4.0.
You can add base64 to your Gemfile or gemspec to silence this warning.
/usr/share/rubygems-integration/all/gems/activesupport-6.1.7.3/lib/active_support/dependencies.rb:299: warning: bigdecimal was loaded from the standard library, but will no longer be part of the default gems starting from Ruby 3.4.0.
You can add bigdecimal to your Gemfile or gemspec to silence this warning.
Also please contact the author of activesupport-6.1.7.3 to request adding bigdecimal into its gemspec.
/usr/share/rubygems-integration/all/gems/activesupport-6.1.7.3/lib/active_support/dependencies.rb:299: warning: mutex_m was loaded from the standard library, but will no longer be part of the default gems starting from Ruby 3.4.0.
You can add mutex_m to your Gemfile or gemspec to silence this warning.
Also please contact the author of activesupport-6.1.7.3 to request adding mutex_m into its gemspec.
/usr/share/rubygems-integration/all/gems/rack-3.0.8/lib/rack/file.rb:5: warning: Rack::File is deprecated and will be removed in Rack 3.1
/usr/share/rubygems-integration/all/gems/activesupport-6.1.7.3/lib/active_support/dependencies.rb:299: warning: drb was loaded from the standard library, but will no longer be part of the default gems starting from Ruby 3.4.0.
You can add drb to your Gemfile or gemspec to silence this warning.
Also please contact the author of activesupport-6.1.7.3 to request adding drb into its gemspec.
/usr/share/rubygems-integration/all/gems/rack-3.0.8/lib/rack/chunked.rb:6: warning: Rack::Chunked is deprecated and will be removed in Rack 3.1

Arbre
  should render a single element
  should render a child element
  should render an unordered list
  should allow local variables inside the tags
  should add children and nested
  should pass the element in to the block if asked for
  should move content tags between parents
  should add content to the parent if the element is passed into block
  should have the parent set on it
  should set a string content return value with no children
  should turn string return values into text nodes
  should not render blank arrays
  self-closing nodes
    should not self-close script tags
    should self-close meta tags
    should self-close link tags
    should self-close area tags
    should self-close base tags
    should self-close br tags
    should self-close col tags
    should self-close embed tags
    should self-close hr tags
    should self-close img tags
    should self-close input tags
    should self-close keygen tags
    should self-close link tags
    should self-close menuitem tags
    should self-close meta tags
    should self-close param tags
    should self-close source tags
    should self-close track tags
    should self-close wbr tags
  html safe
    should escape the contents
    should return html safe strings
    should not escape html passed in
    should escape string contents when passed in block
    should escape the contents of attributes

Arbre::Component
  should be a subclass of an html div
  should render to a div, even as a subclass
  should add a class by default
  should render the object using the builder method name

Arbre::Context
  should not increment the indent_level
  should return a bytesize
  should return a length
  should delegate missing methods to the html string
  should use a cached version of the HTML for method delegation

Arbre::Element Finder Methods
  finding elements by tag name
    should return 0 when no elements exist
    should return a child element
    should return multple child elements
    should return children's child elements
  finding an element by a class name
    should return 0 when no elements exist
    should allow text nodes on tree
    should return a child element
    should return multple child elements
    should return elements that match one of several classes
    should return a grandchild element

Arbre::Element
  to_a.flatten should not infinitely recurse
  when initialized
    should have no children
    should have no parent
    should respond to the HTML builder methods
    should have a set of local assigns
    should have an empty hash with no local assigns
  passing in a helper object
    should call methods on the helper object and return TextNode objects
    should raise a NoMethodError if not found
  passing in assigns
    should be accessible via a method call
  adding a child
    should add the child to the parent
    should set the parent of the child
    when the child is nil
      should not add the child
    when the child is a string
      should add as a TextNode
  setting the content
    when a string
      should clear the existing children
      should add the string as a child
      should html escape the string
    when an element
      should set the content tag
      should set the tags parent
    when an array of tags
      should set the content tag
      should set the tags parent
  rendering to html
    should render the children collection
    should render collection when is set the default separator
    should render collection when is not set the default separator
  adding elements together
    when both elements are tags
      should return an instance of Collection
      should return the elements in the collection
    when the left is a collection and the right is a tag
      should return an instance of Collection
      should return the elements in the collection flattened
    when the right is a collection and the left is a tag
      should return an instance of Collection
      should return the elements in the collection flattened
    when the left is a tag and the right is a string
      should return an instance of Collection
      should return the elements in the collection
    when the left is a string and the right is a tag
      should return a string

Arbre::HTML::ClassList
  .build_from_string
    should build a new list from a string of classes

Arbre::HTML::Tag Attributes
  attributes
    should have an attributes hash
    should render the attributes to html
    shouldn't render attributes that are empty
    should get an attribute value
    should remove an attribute
    #has_attribute?
      when the attribute exists
        should return true
      when the attribute does not exist
        should return false
  rendering attributes
    should html safe the attribute values
    should should escape the attribute names

Arbre::HTML::Tag
  building a new tag
    should set the contents to a string
    should set the hash of options to the attributes
  creating a tag 'for' an object
    should set the id to the type and id
    should add a class name
    for an object that doesn't have a model_name
      should set the id to the type and id
      should add a class name
    with a default_id_for_prefix
      should set the id to the type and id
  creating a tag with a for attribute
    sets the `for` attribute when a string is given
    sets the `for` attribute when a symbol is given
  css class names
    should add a class
    should remove_class
    should not add a class if it already exists
    should seperate classes with space
    should create a class list from a string

Changelog
  has definitions for all implicit links
  entry
    does not end with a punctuation

Building forms
  building a simple form for
    should build a form
    should include the hidden authenticity token
    should create a label
    should create a text field
  building a form with fields for
    should render nested label
    should render nested label
    should not render a div for the proxy
  forms with other elements
    should correctly nest elements
    should correnctly nest elements within fields for

TestController Rendering with Arbre
  should render the empty template (FAILED - 1)
  should render a simple page (FAILED - 2)
  should render an arb partial (FAILED - 3)
  should render an erb (or other) partial (FAILED - 4)
  should render with instance variables (FAILED - 5)
  should render an arbre partial with assignments (FAILED - 6)

Failures:

  1) TestController Rendering with Arbre should render the empty template
     Failure/Error: get "/test/render_empty"

     NoMethodError:
       undefined method `each' for nil
     # /usr/share/rubygems-integration/all/gems/rack-3.0.8/lib/rack/etag.rb:61:in `digest_body'
     # /usr/share/rubygems-integration/all/gems/rack-3.0.8/lib/rack/etag.rb:33:in `call'
     # /usr/share/rubygems-integration/all/gems/rack-3.0.8/lib/rack/conditional_get.rb:31:in `call'
     # /usr/share/rubygems-integration/all/gems/rack-3.0.8/lib/rack/head.rb:15:in `call'
     # /usr/share/rubygems-integration/all/gems/actionpack-6.1.7.3/lib/action_dispatch/http/permissions_policy.rb:22:in `call'
     # /usr/share/rubygems-integration/all/gems/actionpack-6.1.7.3/lib/action_dispatch/http/content_security_policy.rb:19:in `call'
     # /usr/share/rubygems-integration/all/gems/rack-session-2.0.0/lib/rack/session/abstract/id.rb:272:in `context'
     # /usr/share/rubygems-integration/all/gems/rack-session-2.0.0/lib/rack/session/abstract/id.rb:266:in `call'
     # /usr/share/rubygems-integration/all/gems/actionpack-6.1.7.3/lib/action_dispatch/middleware/cookies.rb:697:in `call'
     # /usr/share/rubygems-integration/all/gems/actionpack-6.1.7.3/lib/action_dispatch/middleware/callbacks.rb:27:in `block in call'
     # /usr/share/rubygems-integration/all/gems/activesupport-6.1.7.3/lib/active_support/callbacks.rb:98:in `run_callbacks'
     # /usr/share/rubygems-integration/all/gems/actionpack-6.1.7.3/lib/action_dispatch/middleware/callbacks.rb:26:in `call'
     # /usr/share/rubygems-integration/all/gems/actionpack-6.1.7.3/lib/action_dispatch/middleware/actionable_exceptions.rb:18:in `call'
     # /usr/share/rubygems-integration/all/gems/actionpack-6.1.7.3/lib/action_dispatch/middleware/debug_exceptions.rb:29:in `call'
     # /usr/share/rubygems-integration/all/gems/actionpack-6.1.7.3/lib/action_dispatch/middleware/show_exceptions.rb:33:in `call'
     # /usr/share/rubygems-integration/all/gems/railties-6.1.7.3/lib/rails/rack/logger.rb:37:in `call_app'
     # /usr/share/rubygems-integration/all/gems/railties-6.1.7.3/lib/rails/rack/logger.rb:26:in `block in call'
     # /usr/share/rubygems-integration/all/gems/activesupport-6.1.7.3/lib/active_support/tagged_logging.rb:99:in `block in tagged'
     # /usr/share/rubygems-integration/all/gems/activesupport-6.1.7.3/lib/active_support/tagged_logging.rb:37:in `tagged'
     # /usr/share/rubygems-integration/all/gems/activesupport-6.1.7.3/lib/active_support/tagged_logging.rb:99:in `tagged'
     # /usr/share/rubygems-integration/all/gems/railties-6.1.7.3/lib/rails/rack/logger.rb:26:in `call'
     # /usr/share/rubygems-integration/all/gems/actionpack-6.1.7.3/lib/action_dispatch/middleware/remote_ip.rb:81:in `call'
     # /usr/share/rubygems-integration/all/gems/actionpack-6.1.7.3/lib/action_dispatch/middleware/request_id.rb:26:in `call'
     # /usr/share/rubygems-integration/all/gems/rack-3.0.8/lib/rack/method_override.rb:28:in `call'
     # /usr/share/rubygems-integration/all/gems/rack-3.0.8/lib/rack/runtime.rb:24:in `call'
     # /usr/share/rubygems-integration/all/gems/activesupport-6.1.7.3/lib/active_support/cache/strategy/local_cache_middleware.rb:29:in `call'
     # /usr/share/rubygems-integration/all/gems/actionpack-6.1.7.3/lib/action_dispatch/middleware/executor.rb:14:in `call'
     # /usr/share/rubygems-integration/all/gems/actionpack-6.1.7.3/lib/action_dispatch/middleware/static.rb:24:in `call'
     # /usr/share/rubygems-integration/all/gems/rack-3.0.8/lib/rack/sendfile.rb:114:in `call'
     # /usr/share/rubygems-integration/all/gems/actionpack-6.1.7.3/lib/action_dispatch/middleware/host_authorization.rb:142:in `call'
     # /usr/share/rubygems-integration/all/gems/railties-6.1.7.3/lib/rails/engine.rb:539:in `call'
     # /usr/share/rubygems-integration/all/gems/rack-test-2.2.0/lib/rack/test.rb:360:in `process_request'
     # /usr/share/rubygems-integration/all/gems/rack-test-2.2.0/lib/rack/test.rb:153:in `request'
     # /usr/share/rubygems-integration/all/gems/actionpack-6.1.7.3/lib/action_dispatch/testing/integration.rb:279:in `process'
     # /usr/share/rubygems-integration/all/gems/actionpack-6.1.7.3/lib/action_dispatch/testing/integration.rb:16:in `get'
     # /usr/share/rubygems-integration/all/gems/actionpack-6.1.7.3/lib/action_dispatch/testing/integration.rb:372:in `get'
     # ./spec/rails/integration/rendering_spec.rb:57:in `block (2 levels) in <top (required)>'

  2) TestController Rendering with Arbre should render a simple page
     Failure/Error: get "/test/render_simple_page"

     NoMethodError:
       undefined method `each' for nil
     # /usr/share/rubygems-integration/all/gems/rack-3.0.8/lib/rack/etag.rb:61:in `digest_body'
     # /usr/share/rubygems-integration/all/gems/rack-3.0.8/lib/rack/etag.rb:33:in `call'
     # /usr/share/rubygems-integration/all/gems/rack-3.0.8/lib/rack/conditional_get.rb:31:in `call'
     # /usr/share/rubygems-integration/all/gems/rack-3.0.8/lib/rack/head.rb:15:in `call'
     # /usr/share/rubygems-integration/all/gems/actionpack-6.1.7.3/lib/action_dispatch/http/permissions_policy.rb:22:in `call'
     # /usr/share/rubygems-integration/all/gems/actionpack-6.1.7.3/lib/action_dispatch/http/content_security_policy.rb:19:in `call'
     # /usr/share/rubygems-integration/all/gems/rack-session-2.0.0/lib/rack/session/abstract/id.rb:272:in `context'
     # /usr/share/rubygems-integration/all/gems/rack-session-2.0.0/lib/rack/session/abstract/id.rb:266:in `call'
     # /usr/share/rubygems-integration/all/gems/actionpack-6.1.7.3/lib/action_dispatch/middleware/cookies.rb:697:in `call'
     # /usr/share/rubygems-integration/all/gems/actionpack-6.1.7.3/lib/action_dispatch/middleware/callbacks.rb:27:in `block in call'
     # /usr/share/rubygems-integration/all/gems/activesupport-6.1.7.3/lib/active_support/callbacks.rb:98:in `run_callbacks'
     # /usr/share/rubygems-integration/all/gems/actionpack-6.1.7.3/lib/action_dispatch/middleware/callbacks.rb:26:in `call'
     # /usr/share/rubygems-integration/all/gems/actionpack-6.1.7.3/lib/action_dispatch/middleware/actionable_exceptions.rb:18:in `call'
     # /usr/share/rubygems-integration/all/gems/actionpack-6.1.7.3/lib/action_dispatch/middleware/debug_exceptions.rb:29:in `call'
     # /usr/share/rubygems-integration/all/gems/actionpack-6.1.7.3/lib/action_dispatch/middleware/show_exceptions.rb:33:in `call'
     # /usr/share/rubygems-integration/all/gems/railties-6.1.7.3/lib/rails/rack/logger.rb:37:in `call_app'
     # /usr/share/rubygems-integration/all/gems/railties-6.1.7.3/lib/rails/rack/logger.rb:26:in `block in call'
     # /usr/share/rubygems-integration/all/gems/activesupport-6.1.7.3/lib/active_support/tagged_logging.rb:99:in `block in tagged'
     # /usr/share/rubygems-integration/all/gems/activesupport-6.1.7.3/lib/active_support/tagged_logging.rb:37:in `tagged'
     # /usr/share/rubygems-integration/all/gems/activesupport-6.1.7.3/lib/active_support/tagged_logging.rb:99:in `tagged'
     # /usr/share/rubygems-integration/all/gems/railties-6.1.7.3/lib/rails/rack/logger.rb:26:in `call'
     # /usr/share/rubygems-integration/all/gems/actionpack-6.1.7.3/lib/action_dispatch/middleware/remote_ip.rb:81:in `call'
     # /usr/share/rubygems-integration/all/gems/actionpack-6.1.7.3/lib/action_dispatch/middleware/request_id.rb:26:in `call'
     # /usr/share/rubygems-integration/all/gems/rack-3.0.8/lib/rack/method_override.rb:28:in `call'
     # /usr/share/rubygems-integration/all/gems/rack-3.0.8/lib/rack/runtime.rb:24:in `call'
     # /usr/share/rubygems-integration/all/gems/activesupport-6.1.7.3/lib/active_support/cache/strategy/local_cache_middleware.rb:29:in `call'
     # /usr/share/rubygems-integration/all/gems/actionpack-6.1.7.3/lib/action_dispatch/middleware/executor.rb:14:in `call'
     # /usr/share/rubygems-integration/all/gems/actionpack-6.1.7.3/lib/action_dispatch/middleware/static.rb:24:in `call'
     # /usr/share/rubygems-integration/all/gems/rack-3.0.8/lib/rack/sendfile.rb:114:in `call'
     # /usr/share/rubygems-integration/all/gems/actionpack-6.1.7.3/lib/action_dispatch/middleware/host_authorization.rb:142:in `call'
     # /usr/share/rubygems-integration/all/gems/railties-6.1.7.3/lib/rails/engine.rb:539:in `call'
     # /usr/share/rubygems-integration/all/gems/rack-test-2.2.0/lib/rack/test.rb:360:in `process_request'
     # /usr/share/rubygems-integration/all/gems/rack-test-2.2.0/lib/rack/test.rb:153:in `request'
     # /usr/share/rubygems-integration/all/gems/actionpack-6.1.7.3/lib/action_dispatch/testing/integration.rb:279:in `process'
     # /usr/share/rubygems-integration/all/gems/actionpack-6.1.7.3/lib/action_dispatch/testing/integration.rb:16:in `get'
     # /usr/share/rubygems-integration/all/gems/actionpack-6.1.7.3/lib/action_dispatch/testing/integration.rb:372:in `get'
     # ./spec/rails/integration/rendering_spec.rb:62:in `block (2 levels) in <top (required)>'

  3) TestController Rendering with Arbre should render an arb partial
     Failure/Error: get "/test/render_partial"

     NoMethodError:
       undefined method `each' for nil
     # /usr/share/rubygems-integration/all/gems/rack-3.0.8/lib/rack/etag.rb:61:in `digest_body'
     # /usr/share/rubygems-integration/all/gems/rack-3.0.8/lib/rack/etag.rb:33:in `call'
     # /usr/share/rubygems-integration/all/gems/rack-3.0.8/lib/rack/conditional_get.rb:31:in `call'
     # /usr/share/rubygems-integration/all/gems/rack-3.0.8/lib/rack/head.rb:15:in `call'
     # /usr/share/rubygems-integration/all/gems/actionpack-6.1.7.3/lib/action_dispatch/http/permissions_policy.rb:22:in `call'
     # /usr/share/rubygems-integration/all/gems/actionpack-6.1.7.3/lib/action_dispatch/http/content_security_policy.rb:19:in `call'
     # /usr/share/rubygems-integration/all/gems/rack-session-2.0.0/lib/rack/session/abstract/id.rb:272:in `context'
     # /usr/share/rubygems-integration/all/gems/rack-session-2.0.0/lib/rack/session/abstract/id.rb:266:in `call'
     # /usr/share/rubygems-integration/all/gems/actionpack-6.1.7.3/lib/action_dispatch/middleware/cookies.rb:697:in `call'
     # /usr/share/rubygems-integration/all/gems/actionpack-6.1.7.3/lib/action_dispatch/middleware/callbacks.rb:27:in `block in call'
     # /usr/share/rubygems-integration/all/gems/activesupport-6.1.7.3/lib/active_support/callbacks.rb:98:in `run_callbacks'
     # /usr/share/rubygems-integration/all/gems/actionpack-6.1.7.3/lib/action_dispatch/middleware/callbacks.rb:26:in `call'
     # /usr/share/rubygems-integration/all/gems/actionpack-6.1.7.3/lib/action_dispatch/middleware/actionable_exceptions.rb:18:in `call'
     # /usr/share/rubygems-integration/all/gems/actionpack-6.1.7.3/lib/action_dispatch/middleware/debug_exceptions.rb:29:in `call'
     # /usr/share/rubygems-integration/all/gems/actionpack-6.1.7.3/lib/action_dispatch/middleware/show_exceptions.rb:33:in `call'
     # /usr/share/rubygems-integration/all/gems/railties-6.1.7.3/lib/rails/rack/logger.rb:37:in `call_app'
     # /usr/share/rubygems-integration/all/gems/railties-6.1.7.3/lib/rails/rack/logger.rb:26:in `block in call'
     # /usr/share/rubygems-integration/all/gems/activesupport-6.1.7.3/lib/active_support/tagged_logging.rb:99:in `block in tagged'
     # /usr/share/rubygems-integration/all/gems/activesupport-6.1.7.3/lib/active_support/tagged_logging.rb:37:in `tagged'
     # /usr/share/rubygems-integration/all/gems/activesupport-6.1.7.3/lib/active_support/tagged_logging.rb:99:in `tagged'
     # /usr/share/rubygems-integration/all/gems/railties-6.1.7.3/lib/rails/rack/logger.rb:26:in `call'
     # /usr/share/rubygems-integration/all/gems/actionpack-6.1.7.3/lib/action_dispatch/middleware/remote_ip.rb:81:in `call'
     # /usr/share/rubygems-integration/all/gems/actionpack-6.1.7.3/lib/action_dispatch/middleware/request_id.rb:26:in `call'
     # /usr/share/rubygems-integration/all/gems/rack-3.0.8/lib/rack/method_override.rb:28:in `call'
     # /usr/share/rubygems-integration/all/gems/rack-3.0.8/lib/rack/runtime.rb:24:in `call'
     # /usr/share/rubygems-integration/all/gems/activesupport-6.1.7.3/lib/active_support/cache/strategy/local_cache_middleware.rb:29:in `call'
     # /usr/share/rubygems-integration/all/gems/actionpack-6.1.7.3/lib/action_dispatch/middleware/executor.rb:14:in `call'
     # /usr/share/rubygems-integration/all/gems/actionpack-6.1.7.3/lib/action_dispatch/middleware/static.rb:24:in `call'
     # /usr/share/rubygems-integration/all/gems/rack-3.0.8/lib/rack/sendfile.rb:114:in `call'
     # /usr/share/rubygems-integration/all/gems/actionpack-6.1.7.3/lib/action_dispatch/middleware/host_authorization.rb:142:in `call'
     # /usr/share/rubygems-integration/all/gems/railties-6.1.7.3/lib/rails/engine.rb:539:in `call'
     # /usr/share/rubygems-integration/all/gems/rack-test-2.2.0/lib/rack/test.rb:360:in `process_request'
     # /usr/share/rubygems-integration/all/gems/rack-test-2.2.0/lib/rack/test.rb:153:in `request'
     # /usr/share/rubygems-integration/all/gems/actionpack-6.1.7.3/lib/action_dispatch/testing/integration.rb:279:in `process'
     # /usr/share/rubygems-integration/all/gems/actionpack-6.1.7.3/lib/action_dispatch/testing/integration.rb:16:in `get'
     # /usr/share/rubygems-integration/all/gems/actionpack-6.1.7.3/lib/action_dispatch/testing/integration.rb:372:in `get'
     # ./spec/rails/integration/rendering_spec.rb:69:in `block (2 levels) in <top (required)>'

  4) TestController Rendering with Arbre should render an erb (or other) partial
     Failure/Error: get "/test/render_erb_partial"

     NoMethodError:
       undefined method `each' for nil
     # /usr/share/rubygems-integration/all/gems/rack-3.0.8/lib/rack/etag.rb:61:in `digest_body'
     # /usr/share/rubygems-integration/all/gems/rack-3.0.8/lib/rack/etag.rb:33:in `call'
     # /usr/share/rubygems-integration/all/gems/rack-3.0.8/lib/rack/conditional_get.rb:31:in `call'
     # /usr/share/rubygems-integration/all/gems/rack-3.0.8/lib/rack/head.rb:15:in `call'
     # /usr/share/rubygems-integration/all/gems/actionpack-6.1.7.3/lib/action_dispatch/http/permissions_policy.rb:22:in `call'
     # /usr/share/rubygems-integration/all/gems/actionpack-6.1.7.3/lib/action_dispatch/http/content_security_policy.rb:19:in `call'
     # /usr/share/rubygems-integration/all/gems/rack-session-2.0.0/lib/rack/session/abstract/id.rb:272:in `context'
     # /usr/share/rubygems-integration/all/gems/rack-session-2.0.0/lib/rack/session/abstract/id.rb:266:in `call'
     # /usr/share/rubygems-integration/all/gems/actionpack-6.1.7.3/lib/action_dispatch/middleware/cookies.rb:697:in `call'
     # /usr/share/rubygems-integration/all/gems/actionpack-6.1.7.3/lib/action_dispatch/middleware/callbacks.rb:27:in `block in call'
     # /usr/share/rubygems-integration/all/gems/activesupport-6.1.7.3/lib/active_support/callbacks.rb:98:in `run_callbacks'
     # /usr/share/rubygems-integration/all/gems/actionpack-6.1.7.3/lib/action_dispatch/middleware/callbacks.rb:26:in `call'
     # /usr/share/rubygems-integration/all/gems/actionpack-6.1.7.3/lib/action_dispatch/middleware/actionable_exceptions.rb:18:in `call'
     # /usr/share/rubygems-integration/all/gems/actionpack-6.1.7.3/lib/action_dispatch/middleware/debug_exceptions.rb:29:in `call'
     # /usr/share/rubygems-integration/all/gems/actionpack-6.1.7.3/lib/action_dispatch/middleware/show_exceptions.rb:33:in `call'
     # /usr/share/rubygems-integration/all/gems/railties-6.1.7.3/lib/rails/rack/logger.rb:37:in `call_app'
     # /usr/share/rubygems-integration/all/gems/railties-6.1.7.3/lib/rails/rack/logger.rb:26:in `block in call'
     # /usr/share/rubygems-integration/all/gems/activesupport-6.1.7.3/lib/active_support/tagged_logging.rb:99:in `block in tagged'
     # /usr/share/rubygems-integration/all/gems/activesupport-6.1.7.3/lib/active_support/tagged_logging.rb:37:in `tagged'
     # /usr/share/rubygems-integration/all/gems/activesupport-6.1.7.3/lib/active_support/tagged_logging.rb:99:in `tagged'
     # /usr/share/rubygems-integration/all/gems/railties-6.1.7.3/lib/rails/rack/logger.rb:26:in `call'
     # /usr/share/rubygems-integration/all/gems/actionpack-6.1.7.3/lib/action_dispatch/middleware/remote_ip.rb:81:in `call'
     # /usr/share/rubygems-integration/all/gems/actionpack-6.1.7.3/lib/action_dispatch/middleware/request_id.rb:26:in `call'
     # /usr/share/rubygems-integration/all/gems/rack-3.0.8/lib/rack/method_override.rb:28:in `call'
     # /usr/share/rubygems-integration/all/gems/rack-3.0.8/lib/rack/runtime.rb:24:in `call'
     # /usr/share/rubygems-integration/all/gems/activesupport-6.1.7.3/lib/active_support/cache/strategy/local_cache_middleware.rb:29:in `call'
     # /usr/share/rubygems-integration/all/gems/actionpack-6.1.7.3/lib/action_dispatch/middleware/executor.rb:14:in `call'
     # /usr/share/rubygems-integration/all/gems/actionpack-6.1.7.3/lib/action_dispatch/middleware/static.rb:24:in `call'
     # /usr/share/rubygems-integration/all/gems/rack-3.0.8/lib/rack/sendfile.rb:114:in `call'
     # /usr/share/rubygems-integration/all/gems/actionpack-6.1.7.3/lib/action_dispatch/middleware/host_authorization.rb:142:in `call'
     # /usr/share/rubygems-integration/all/gems/railties-6.1.7.3/lib/rails/engine.rb:539:in `call'
     # /usr/share/rubygems-integration/all/gems/rack-test-2.2.0/lib/rack/test.rb:360:in `process_request'
     # /usr/share/rubygems-integration/all/gems/rack-test-2.2.0/lib/rack/test.rb:153:in `request'
     # /usr/share/rubygems-integration/all/gems/actionpack-6.1.7.3/lib/action_dispatch/testing/integration.rb:279:in `process'
     # /usr/share/rubygems-integration/all/gems/actionpack-6.1.7.3/lib/action_dispatch/testing/integration.rb:16:in `get'
     # /usr/share/rubygems-integration/all/gems/actionpack-6.1.7.3/lib/action_dispatch/testing/integration.rb:372:in `get'
     # ./spec/rails/integration/rendering_spec.rb:79:in `block (2 levels) in <top (required)>'

  5) TestController Rendering with Arbre should render with instance variables
     Failure/Error: get "/test/render_with_instance_variable"

     NoMethodError:
       undefined method `each' for nil
     # /usr/share/rubygems-integration/all/gems/rack-3.0.8/lib/rack/etag.rb:61:in `digest_body'
     # /usr/share/rubygems-integration/all/gems/rack-3.0.8/lib/rack/etag.rb:33:in `call'
     # /usr/share/rubygems-integration/all/gems/rack-3.0.8/lib/rack/conditional_get.rb:31:in `call'
     # /usr/share/rubygems-integration/all/gems/rack-3.0.8/lib/rack/head.rb:15:in `call'
     # /usr/share/rubygems-integration/all/gems/actionpack-6.1.7.3/lib/action_dispatch/http/permissions_policy.rb:22:in `call'
     # /usr/share/rubygems-integration/all/gems/actionpack-6.1.7.3/lib/action_dispatch/http/content_security_policy.rb:19:in `call'
     # /usr/share/rubygems-integration/all/gems/rack-session-2.0.0/lib/rack/session/abstract/id.rb:272:in `context'
     # /usr/share/rubygems-integration/all/gems/rack-session-2.0.0/lib/rack/session/abstract/id.rb:266:in `call'
     # /usr/share/rubygems-integration/all/gems/actionpack-6.1.7.3/lib/action_dispatch/middleware/cookies.rb:697:in `call'
     # /usr/share/rubygems-integration/all/gems/actionpack-6.1.7.3/lib/action_dispatch/middleware/callbacks.rb:27:in `block in call'
     # /usr/share/rubygems-integration/all/gems/activesupport-6.1.7.3/lib/active_support/callbacks.rb:98:in `run_callbacks'
     # /usr/share/rubygems-integration/all/gems/actionpack-6.1.7.3/lib/action_dispatch/middleware/callbacks.rb:26:in `call'
     # /usr/share/rubygems-integration/all/gems/actionpack-6.1.7.3/lib/action_dispatch/middleware/actionable_exceptions.rb:18:in `call'
     # /usr/share/rubygems-integration/all/gems/actionpack-6.1.7.3/lib/action_dispatch/middleware/debug_exceptions.rb:29:in `call'
     # /usr/share/rubygems-integration/all/gems/actionpack-6.1.7.3/lib/action_dispatch/middleware/show_exceptions.rb:33:in `call'
     # /usr/share/rubygems-integration/all/gems/railties-6.1.7.3/lib/rails/rack/logger.rb:37:in `call_app'
     # /usr/share/rubygems-integration/all/gems/railties-6.1.7.3/lib/rails/rack/logger.rb:26:in `block in call'
     # /usr/share/rubygems-integration/all/gems/activesupport-6.1.7.3/lib/active_support/tagged_logging.rb:99:in `block in tagged'
     # /usr/share/rubygems-integration/all/gems/activesupport-6.1.7.3/lib/active_support/tagged_logging.rb:37:in `tagged'
     # /usr/share/rubygems-integration/all/gems/activesupport-6.1.7.3/lib/active_support/tagged_logging.rb:99:in `tagged'
     # /usr/share/rubygems-integration/all/gems/railties-6.1.7.3/lib/rails/rack/logger.rb:26:in `call'
     # /usr/share/rubygems-integration/all/gems/actionpack-6.1.7.3/lib/action_dispatch/middleware/remote_ip.rb:81:in `call'
     # /usr/share/rubygems-integration/all/gems/actionpack-6.1.7.3/lib/action_dispatch/middleware/request_id.rb:26:in `call'
     # /usr/share/rubygems-integration/all/gems/rack-3.0.8/lib/rack/method_override.rb:28:in `call'
     # /usr/share/rubygems-integration/all/gems/rack-3.0.8/lib/rack/runtime.rb:24:in `call'
     # /usr/share/rubygems-integration/all/gems/activesupport-6.1.7.3/lib/active_support/cache/strategy/local_cache_middleware.rb:29:in `call'
     # /usr/share/rubygems-integration/all/gems/actionpack-6.1.7.3/lib/action_dispatch/middleware/executor.rb:14:in `call'
     # /usr/share/rubygems-integration/all/gems/actionpack-6.1.7.3/lib/action_dispatch/middleware/static.rb:24:in `call'
     # /usr/share/rubygems-integration/all/gems/rack-3.0.8/lib/rack/sendfile.rb:114:in `call'
     # /usr/share/rubygems-integration/all/gems/actionpack-6.1.7.3/lib/action_dispatch/middleware/host_authorization.rb:142:in `call'
     # /usr/share/rubygems-integration/all/gems/railties-6.1.7.3/lib/rails/engine.rb:539:in `call'
     # /usr/share/rubygems-integration/all/gems/rack-test-2.2.0/lib/rack/test.rb:360:in `process_request'
     # /usr/share/rubygems-integration/all/gems/rack-test-2.2.0/lib/rack/test.rb:153:in `request'
     # /usr/share/rubygems-integration/all/gems/actionpack-6.1.7.3/lib/action_dispatch/testing/integration.rb:279:in `process'
     # /usr/share/rubygems-integration/all/gems/actionpack-6.1.7.3/lib/action_dispatch/testing/integration.rb:16:in `get'
     # /usr/share/rubygems-integration/all/gems/actionpack-6.1.7.3/lib/action_dispatch/testing/integration.rb:372:in `get'
     # ./spec/rails/integration/rendering_spec.rb:89:in `block (2 levels) in <top (required)>'

  6) TestController Rendering with Arbre should render an arbre partial with assignments
     Failure/Error: get "/test/render_partial_with_instance_variable"

     NoMethodError:
       undefined method `each' for nil
     # /usr/share/rubygems-integration/all/gems/rack-3.0.8/lib/rack/etag.rb:61:in `digest_body'
     # /usr/share/rubygems-integration/all/gems/rack-3.0.8/lib/rack/etag.rb:33:in `call'
     # /usr/share/rubygems-integration/all/gems/rack-3.0.8/lib/rack/conditional_get.rb:31:in `call'
     # /usr/share/rubygems-integration/all/gems/rack-3.0.8/lib/rack/head.rb:15:in `call'
     # /usr/share/rubygems-integration/all/gems/actionpack-6.1.7.3/lib/action_dispatch/http/permissions_policy.rb:22:in `call'
     # /usr/share/rubygems-integration/all/gems/actionpack-6.1.7.3/lib/action_dispatch/http/content_security_policy.rb:19:in `call'
     # /usr/share/rubygems-integration/all/gems/rack-session-2.0.0/lib/rack/session/abstract/id.rb:272:in `context'
     # /usr/share/rubygems-integration/all/gems/rack-session-2.0.0/lib/rack/session/abstract/id.rb:266:in `call'
     # /usr/share/rubygems-integration/all/gems/actionpack-6.1.7.3/lib/action_dispatch/middleware/cookies.rb:697:in `call'
     # /usr/share/rubygems-integration/all/gems/actionpack-6.1.7.3/lib/action_dispatch/middleware/callbacks.rb:27:in `block in call'
     # /usr/share/rubygems-integration/all/gems/activesupport-6.1.7.3/lib/active_support/callbacks.rb:98:in `run_callbacks'
     # /usr/share/rubygems-integration/all/gems/actionpack-6.1.7.3/lib/action_dispatch/middleware/callbacks.rb:26:in `call'
     # /usr/share/rubygems-integration/all/gems/actionpack-6.1.7.3/lib/action_dispatch/middleware/actionable_exceptions.rb:18:in `call'
     # /usr/share/rubygems-integration/all/gems/actionpack-6.1.7.3/lib/action_dispatch/middleware/debug_exceptions.rb:29:in `call'
     # /usr/share/rubygems-integration/all/gems/actionpack-6.1.7.3/lib/action_dispatch/middleware/show_exceptions.rb:33:in `call'
     # /usr/share/rubygems-integration/all/gems/railties-6.1.7.3/lib/rails/rack/logger.rb:37:in `call_app'
     # /usr/share/rubygems-integration/all/gems/railties-6.1.7.3/lib/rails/rack/logger.rb:26:in `block in call'
     # /usr/share/rubygems-integration/all/gems/activesupport-6.1.7.3/lib/active_support/tagged_logging.rb:99:in `block in tagged'
     # /usr/share/rubygems-integration/all/gems/activesupport-6.1.7.3/lib/active_support/tagged_logging.rb:37:in `tagged'
     # /usr/share/rubygems-integration/all/gems/activesupport-6.1.7.3/lib/active_support/tagged_logging.rb:99:in `tagged'
     # /usr/share/rubygems-integration/all/gems/railties-6.1.7.3/lib/rails/rack/logger.rb:26:in `call'
     # /usr/share/rubygems-integration/all/gems/actionpack-6.1.7.3/lib/action_dispatch/middleware/remote_ip.rb:81:in `call'
     # /usr/share/rubygems-integration/all/gems/actionpack-6.1.7.3/lib/action_dispatch/middleware/request_id.rb:26:in `call'
     # /usr/share/rubygems-integration/all/gems/rack-3.0.8/lib/rack/method_override.rb:28:in `call'
     # /usr/share/rubygems-integration/all/gems/rack-3.0.8/lib/rack/runtime.rb:24:in `call'
     # /usr/share/rubygems-integration/all/gems/activesupport-6.1.7.3/lib/active_support/cache/strategy/local_cache_middleware.rb:29:in `call'
     # /usr/share/rubygems-integration/all/gems/actionpack-6.1.7.3/lib/action_dispatch/middleware/executor.rb:14:in `call'
     # /usr/share/rubygems-integration/all/gems/actionpack-6.1.7.3/lib/action_dispatch/middleware/static.rb:24:in `call'
     # /usr/share/rubygems-integration/all/gems/rack-3.0.8/lib/rack/sendfile.rb:114:in `call'
     # /usr/share/rubygems-integration/all/gems/actionpack-6.1.7.3/lib/action_dispatch/middleware/host_authorization.rb:142:in `call'
     # /usr/share/rubygems-integration/all/gems/railties-6.1.7.3/lib/rails/engine.rb:539:in `call'
     # /usr/share/rubygems-integration/all/gems/rack-test-2.2.0/lib/rack/test.rb:360:in `process_request'
     # /usr/share/rubygems-integration/all/gems/rack-test-2.2.0/lib/rack/test.rb:153:in `request'
     # /usr/share/rubygems-integration/all/gems/actionpack-6.1.7.3/lib/action_dispatch/testing/integration.rb:279:in `process'
     # /usr/share/rubygems-integration/all/gems/actionpack-6.1.7.3/lib/action_dispatch/testing/integration.rb:16:in `get'
     # /usr/share/rubygems-integration/all/gems/actionpack-6.1.7.3/lib/action_dispatch/testing/integration.rb:372:in `get'
     # ./spec/rails/integration/rendering_spec.rb:95:in `block (2 levels) in <top (required)>'

Finished in 0.07483 seconds (files took 1.02 seconds to load)
128 examples, 6 failures

Failed examples:

rspec ./spec/rails/integration/rendering_spec.rb:56 # TestController Rendering with Arbre should render the empty template
rspec ./spec/rails/integration/rendering_spec.rb:61 # TestController Rendering with Arbre should render a simple page
rspec ./spec/rails/integration/rendering_spec.rb:68 # TestController Rendering with Arbre should render an arb partial
rspec ./spec/rails/integration/rendering_spec.rb:78 # TestController Rendering with Arbre should render an erb (or other) partial
rspec ./spec/rails/integration/rendering_spec.rb:88 # TestController Rendering with Arbre should render with instance variables
rspec ./spec/rails/integration/rendering_spec.rb:94 # TestController Rendering with Arbre should render an arbre partial with assignments

/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-arbre returned exit code 1
make: *** [debian/rules:8: 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/202502/

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-arbre, 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