Package: src:ruby-responders
Version: 3.0.1-2
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
W: XS-Ruby-Versions is deprecated, and will be ignored
   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-responders/ -O--buildsystem=ruby
        dh_ruby --install /<<PKGBUILDDIR>>/debian/ruby-responders

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

/usr/bin/ruby3.3 -S gem build --config-file /dev/null --verbose 
/tmp/d20250207-146237-7w964c/gemspec
WARNING:  description and summary are identical
WARNING:  open-ended dependency on railties (>= 5.0) is not recommended
  if railties is semantically versioned, use:
    add_runtime_dependency "railties", "~> 5.0"
WARNING:  open-ended dependency on actionpack (>= 5.0) is not recommended
  if actionpack is semantically versioned, use:
    add_runtime_dependency "actionpack", "~> 5.0"
WARNING:  See https://guides.rubygems.org/specification-reference/ for help
  Successfully built RubyGem
  Name: responders
  Version: 3.0.1
  File: responders-3.0.1.gem
/usr/bin/ruby3.3 -S gem install --config-file /dev/null --verbose --local 
--verbose --no-document --ignore-dependencies --install-dir 
debian/ruby-responders/usr/share/rubygems-integration/all 
/tmp/d20250207-146237-7w964c/responders-3.0.1.gem
/<<PKGBUILDDIR>>/debian/ruby-responders/usr/share/rubygems-integration/all/gems/responders-3.0.1/lib/action_controller/respond_with.rb
/<<PKGBUILDDIR>>/debian/ruby-responders/usr/share/rubygems-integration/all/gems/responders-3.0.1/lib/action_controller/responder.rb
/<<PKGBUILDDIR>>/debian/ruby-responders/usr/share/rubygems-integration/all/gems/responders-3.0.1/lib/generators/rails/USAGE
/<<PKGBUILDDIR>>/debian/ruby-responders/usr/share/rubygems-integration/all/gems/responders-3.0.1/lib/generators/rails/responders_controller_generator.rb
/<<PKGBUILDDIR>>/debian/ruby-responders/usr/share/rubygems-integration/all/gems/responders-3.0.1/lib/generators/rails/templates/api_controller.rb.tt
/<<PKGBUILDDIR>>/debian/ruby-responders/usr/share/rubygems-integration/all/gems/responders-3.0.1/lib/generators/rails/templates/controller.rb.tt
/<<PKGBUILDDIR>>/debian/ruby-responders/usr/share/rubygems-integration/all/gems/responders-3.0.1/lib/generators/responders/install_generator.rb
/<<PKGBUILDDIR>>/debian/ruby-responders/usr/share/rubygems-integration/all/gems/responders-3.0.1/lib/responders.rb
/<<PKGBUILDDIR>>/debian/ruby-responders/usr/share/rubygems-integration/all/gems/responders-3.0.1/lib/responders/collection_responder.rb
/<<PKGBUILDDIR>>/debian/ruby-responders/usr/share/rubygems-integration/all/gems/responders-3.0.1/lib/responders/controller_method.rb
/<<PKGBUILDDIR>>/debian/ruby-responders/usr/share/rubygems-integration/all/gems/responders-3.0.1/lib/responders/flash_responder.rb
/<<PKGBUILDDIR>>/debian/ruby-responders/usr/share/rubygems-integration/all/gems/responders-3.0.1/lib/responders/http_cache_responder.rb
/<<PKGBUILDDIR>>/debian/ruby-responders/usr/share/rubygems-integration/all/gems/responders-3.0.1/lib/responders/locales/en.yml
/<<PKGBUILDDIR>>/debian/ruby-responders/usr/share/rubygems-integration/all/gems/responders-3.0.1/lib/responders/location_responder.rb
/<<PKGBUILDDIR>>/debian/ruby-responders/usr/share/rubygems-integration/all/gems/responders-3.0.1/lib/responders/version.rb
Successfully installed responders-3.0.1
1 gem installed
cd debian/ruby-responders/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/responders-3.0.1
rm -f 
chmod 644 lib/action_controller/respond_with.rb 
lib/action_controller/responder.rb 
lib/generators/rails/responders_controller_generator.rb 
lib/generators/responders/install_generator.rb 
lib/responders/collection_responder.rb lib/responders/controller_method.rb 
lib/responders/flash_responder.rb lib/responders/http_cache_responder.rb 
lib/responders/location_responder.rb lib/responders/version.rb lib/responders.rb
find lib/ -type d -empty -delete
cd -
cd -
dh_installchangelogs -pruby-responders /<<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-responders/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\ \"responders\"
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-responders/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 -w -I"test:." 
/usr/share/rubygems-integration/all/gems/rake-13.2.1/lib/rake/rake_test_loader.rb
 "test/action_controller/respond_with_api_test.rb" 
"test/action_controller/respond_with_test.rb" 
"test/action_controller/verify_requested_format_test.rb" 
"test/responders/collection_responder_test.rb" 
"test/responders/controller_method_test.rb" 
"test/responders/flash_responder_test.rb" 
"test/responders/http_cache_responder_test.rb" "test/test_helper.rb"  -v
Mocha deprecation warning at 
<internal:/usr/lib/ruby/vendor_ruby/rubygems/core_ext/kernel_require.rb>:141:in 
`require': Require 'mocha/test_unit', 'mocha/minitest' or 'mocha/api' instead 
of 'mocha/setup'.
/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
/usr/share/rubygems-integration/all/gems/activesupport-6.1.7.3/lib/active_support/core_ext/class/subclasses.rb:30:
 warning: method redefined; discarding old subclasses
Run options: -v --seed 28616

# Running:

CollectionResponderTest#test_collection_respects_only_symbols = 0.03 s = .
CollectionResponderTest#test_collection_with_nested_resource = 0.00 s = .
CollectionResponderTest#test_collection_respects_isolated_namespace = 0.00 s = .
CollectionResponderTest#test_collection_respects_location_option = 0.00 s = .
CollectionResponderTest#test_collection_with_namespaced_resource = 0.00 s = .
CollectionResponderTest#test_collection_respects_uncountable_resource = 0.00 s 
= .
CollectionResponderTest#test_collection_with_single_resource = 0.00 s = .
VerifyRequestedFormatTest#test_strict_mode_calls_action_with_right_format = 
0.00 s = .
VerifyRequestedFormatTest#test_strict_mode_respects_only_option = 0.00 s = .
VerifyRequestedFormatTest#test_strict_mode_shouldnt_call_action = 0.00 s = .
PolymorhicFlashResponderTest#test_polymorhic_respond_with = 0.00 s = .
ControllerMethodInheritanceTest#test_responder_is_inherited = 0.00 s = .
ControllerMethodTest#test_foo_responder_gets_added = 0.00 s = .
ControllerMethodTest#test_bar_responder_gets_added = 0.00 s = .
RespondWithControllerTest#test_using_resource_for_put_with_html_rerender_on_failure_even_on_method_override
 = 0.01 s = .
RespondWithControllerTest#test_using_resource = 0.00 s = .
RespondWithControllerTest#test_block_inside_respond_with_is_rendered = 0.00 s = 
.
RespondWithControllerTest#test_using_resource_with_js_simply_tries_to_render_the_template
 = 0.00 s = .
RespondWithControllerTest#test_using_resource_with_block = 0.00 s = .
RespondWithControllerTest#test_clear_respond_to = 0.00 s = .
RespondWithControllerTest#test_using_resource_with_status_and_location_with_invalid_resource
 = 0.00 s = .
RespondWithControllerTest#test_no_double_render_is_raised = 0.00 s = .
RespondWithControllerTest#test_using_options_with_template = 0.00 s = F


Failure:
RespondWithControllerTest#test_using_options_with_template 
[test/action_controller/respond_with_test.rb:595]:
Expected: "http://test.host/";
  Actual: nil

rails test <<PKGBUILDDIR>>/test/action_controller/respond_with_test.rb:589

RespondWithControllerTest#test_using_resource_for_put_with_json_yields_unprocessable_entity_on_failure
 = 0.00 s = .
RespondWithControllerTest#test_using_resource_for_delete_with_xml_yields_no_content_on_success
 = 0.00 s = .
RespondWithControllerTest#test_respond_with_shouldnt_modify_original_hash = 
0.00 s = .
RespondWithControllerTest#test_using_resource_for_post_with_json_yields_unprocessable_entity_on_failure
 = 0.00 s = .
RespondWithControllerTest#test_using_resource_for_post_with_xml_yields_unprocessable_entity_on_failure
 = 0.01 s = .
RespondWithControllerTest#test_using_resource_for_post_with_html_redirects_on_success
 = 0.00 s = .
RespondWithControllerTest#test_using_resource_with_parent_for_get = 0.00 s = .
RespondWithControllerTest#test_first_in_respond_to_has_higher_priority = 0.00 s 
= .
RespondWithControllerTest#test_using_resource_for_patch_with_html_rerender_on_failure
 = 0.00 s = .
RespondWithControllerTest#test_using_resource_for_post_with_html_rerender_on_failure
 = 0.01 s = .
RespondWithControllerTest#test_using_resource_for_put_with_xml_yields_no_content_on_success
 = 0.00 s = .
RespondWithControllerTest#test_using_resource_for_put_with_xml_yields_unprocessable_entity_on_failure
 = 0.00 s = .
RespondWithControllerTest#test_using_resource_with_action = 0.00 s = .
RespondWithControllerTest#test_using_hash_resource_with_js_raises_an_error_if_template_cant_be_found
 = 0.00 s = .
RespondWithControllerTest#test_using_resource_for_patch_with_html_rerender_on_failure_even_on_method_override
 = 0.00 s = .
RespondWithControllerTest#test_respond_as_responder_entry_point = 0.00 s = .
RespondWithControllerTest#test_using_resource_with_responder = 0.00 s = .
RespondWithControllerTest#test_using_resource_for_post_with_xml_yields_created_on_success
 = 0.01 s = F


Failure:
RespondWithControllerTest#test_using_resource_for_post_with_xml_yields_created_on_success
 [test/action_controller/respond_with_test.rb:267]:
--- expected
+++ actual
@@ -1 +1 @@
-"http://www.example.com/customers/13";
+nil


rails test <<PKGBUILDDIR>>/test/action_controller/respond_with_test.rb:260

RespondWithControllerTest#test_error_is_raised_if_no_respond_to_is_declared_and_respond_with_is_called
 = 0.00 s = .
RespondWithControllerTest#test_using_hash_resource = 0.00 s = .
RespondWithControllerTest#test_using_resource_for_delete_with_html_redirects_on_failure
 = 0.01 s = .
RespondWithControllerTest#test_using_invalid_resource_with_template = 0.00 s = .
RespondWithControllerTest#test_using_resource_for_put_with_html_rerender_on_failure
 = 0.00 s = .
RespondWithControllerTest#test_using_resource_with_rendering_options = 0.00 s = 
.
RespondWithControllerTest#test_using_hash_resource_with_post = 0.00 s = .
RespondWithControllerTest#test_using_resource_with_status_and_location = 0.00 s 
= .
RespondWithControllerTest#test_using_resource_for_put_with_html_redirects_on_success
 = 0.00 s = .
RespondWithControllerTest#test_using_resource_with_parent_for_post = 0.01 s = F


Failure:
RespondWithControllerTest#test_using_resource_with_parent_for_post 
[test/action_controller/respond_with_test.rb:460]:
--- expected
+++ actual
@@ -1 +1 @@
-"http://www.example.com/quiz_stores/11/customers/13";
+nil


rails test <<PKGBUILDDIR>>/test/action_controller/respond_with_test.rb:452

RespondWithControllerTest#test_not_acceptable = 0.00 s = .
RespondWithControllerTest#test_using_resource_for_delete_with_html_redirects_on_success
 = 0.00 s = .
RespondWithControllerTest#test_using_resource_for_delete_with_json_yields_no_content_on_success
 = 0.00 s = .
RespondWithControllerTest#test_using_resource_with_collection = 0.00 s = .
RespondWithControllerTest#test_using_resource_with_set_responder = 0.00 s = .
RespondWithControllerTest#test_raises_missing_renderer_if_an_api_behavior_with_no_renderer
 = 0.00 s = .
RespondWithControllerTest#test_using_resource_with_overwrite_block = 0.00 s = .
RespondWithControllerTest#test_using_resource_for_patch_with_html_redirects_on_success
 = 0.00 s = .
RespondWithControllerTest#test_using_resource_for_put_with_json_yields_no_content_on_success
 = 0.00 s = .
RespondWithAPITest#test_api_controller_without_view_rendering = 0.00 s = .
DEPRECATION WARNING: Calling `<<` to an ActiveModel::Errors message array in 
order to add an error is deprecated. Please call `ActiveModel::Errors#add` 
instead. (called from set_resource at 
/<<PKGBUILDDIR>>/test/responders/flash_responder_test.rb:73)
FlashResponderTest#test_sets_flash_now_on_failure_by_default = 0.00 s = .
FlashResponderTest#test_sets_flash_message_can_be_set_to_now_only_on_success = 
0.00 s = .
FlashResponderTest#test_sets_flash_message_can_be_set_to_now = 0.00 s = .
FlashResponderTest#test_sets_flash_message_even_if_block_is_given = 0.00 s = .
DEPRECATION WARNING: Calling `<<` to an ActiveModel::Errors message array in 
order to add an error is deprecated. Please call `ActiveModel::Errors#add` 
instead. (called from set_resource at 
/<<PKGBUILDDIR>>/test/responders/flash_responder_test.rb:73)
FlashResponderTest#test_sets_html_using_actions_scope = 0.00 s = .
FlashResponderTest#test_sets_success_flash_message_on_non_get_requests = 0.00 s 
= .
FlashResponderTest#test_sets_flash_message_with_resource_name = 0.00 s = .
FlashResponderTest#test_does_not_set_flash_if_flash_false_is_given = 0.00 s = .
FlashResponderTest#test_does_not_set_flash_message_on_get_requests = 0.00 s = .
FlashResponderTest#test_does_not_overwrite_the_flash_if_already_set = 0.00 s = .
DEPRECATION WARNING: Calling `<<` to an ActiveModel::Errors message array in 
order to add an error is deprecated. Please call `ActiveModel::Errors#add` 
instead. (called from set_resource at 
/<<PKGBUILDDIR>>/test/responders/flash_responder_test.rb:73)
FlashResponderTest#test_does_not_set_flash_message_to_now_with_errors_and_redirect
 = 0.00 s = .
FlashResponderTest#test_sets_flash_message_can_be_set_to_now_only_on_failure = 
0.00 s = .
DEPRECATION WARNING: Calling `<<` to an ActiveModel::Errors message array in 
order to add an error is deprecated. Please call `ActiveModel::Errors#add` 
instead. (called from set_resource at 
/<<PKGBUILDDIR>>/test/responders/flash_responder_test.rb:73)
FlashResponderTest#test_sets_flash_message_for_the_current_controller = 0.00 s 
= .
DEPRECATION WARNING: Calling `<<` to an ActiveModel::Errors message array in 
order to add an error is deprecated. Please call `ActiveModel::Errors#add` 
instead. (called from set_resource at 
/<<PKGBUILDDIR>>/test/responders/flash_responder_test.rb:73)
FlashResponderTest#test_sets_message_based_on_alert_key_with_custom_keys = 0.00 
s = .
FlashResponderTest#test_sets_flash_message_with_interpolation_options = 0.00 s 
= .
DEPRECATION WARNING: Calling `<<` to an ActiveModel::Errors message array in 
order to add an error is deprecated. Please call `ActiveModel::Errors#add` 
instead. (called from set_resource at 
/<<PKGBUILDDIR>>/test/responders/flash_responder_test.rb:73)
FlashResponderTest#test_never_set_flash_now = 0.00 s = .
FlashResponderTest#test_sets_html_using_controller_scope = 0.00 s = .
DEPRECATION WARNING: Calling `<<` to an ActiveModel::Errors message array in 
order to add an error is deprecated. Please call `ActiveModel::Errors#add` 
instead. (called from set_resource at 
/<<PKGBUILDDIR>>/test/responders/flash_responder_test.rb:73)
FlashResponderTest#test_sets_message_based_on_alert_key = 0.00 s = .
FlashResponderTest#test_escapes_html_interpolations = 0.00 s = .
FlashResponderTest#test_sets_message_based_on_notice_key_with_custom_keys = 
0.00 s = .
FlashResponderTest#test_sets_now_flash_message_on_javascript_requests = 0.00 s 
= .
DEPRECATION WARNING: Calling `<<` to an ActiveModel::Errors message array in 
order to add an error is deprecated. Please call `ActiveModel::Errors#add` 
instead. (called from set_resource at 
/<<PKGBUILDDIR>>/test/responders/flash_responder_test.rb:73)
FlashResponderTest#test_sets_failure_flash_message_on_not_get_requests = 0.00 s 
= .
FlashResponderTest#test_sets_message_based_on_notice_key = 0.00 s = .
NamespacedFlashResponderTest#test_does_not_fallbacks_to_non_namespaced_controller_flash_message_if_disabled
 = 0.00 s = .
NamespacedFlashResponderTest#test_does_not_fallbacks_to_namespaced_actions_if_disabled
 = 0.00 s = .
NamespacedFlashResponderTest#test_sets_the_flash_message_based_on_the_current_controller
 = 0.00 s = .
NamespacedFlashResponderTest#test_fallbacks_to_non_namespaced_controller_flash_message
 = 0.00 s = .
NamespacedFlashResponderTest#test_sets_the_flash_message_based_on_namespace_actions
 = 0.00 s = .
LocationResponderTest#test_redirects_to_block_location_on_success = 0.00 s = .
LocationResponderTest#test_redirects_to_plain_string = 0.00 s = .
DEPRECATION WARNING: Calling `<<` to an ActiveModel::Errors message array in 
order to add an error is deprecated. Please call `ActiveModel::Errors#add` 
instead. (called from set_resource at 
/<<PKGBUILDDIR>>/test/action_controller/respond_with_test.rb:668)
LocationResponderTest#test_renders_page_on_fail = 0.00 s = .
HttpCacheResponderTest#test_does_not_set_cache_if_http_cache_is_false = 0.00 s 
= .
HttpCacheResponderTest#test_refreshes_last_modified_if_cache_is_expired = 0.00 
s = .
HttpCacheResponderTest#test_does_not_use_cache_unless_get_requests = 0.00 s = .
HttpCacheResponderTest#test_works_for_nested_resources = 0.00 s = .
HttpCacheResponderTest#test_last_modified_at_is_set_with_single_resource_on_get 
= 0.00 s = .
HttpCacheResponderTest#test_does_not_set_cache_for_collection = 0.00 s = .
HttpCacheResponderTest#test_does_not_set_cache_for_new_records = 0.00 s = .
HttpCacheResponderTest#test_does_not_use_cache_if_http_cache_is_false = 0.00 s 
= .
HttpCacheResponderTest#test_returns_not_modified_if_return_is_cache_is_still_valid
 = 0.00 s = .
HttpCacheResponderTest#test_work_with_an_empty_array = 0.00 s = .
HttpCacheResponderTest#test_it_does_not_set_body_etag_for_single_resource = 
0.00 s = .
HttpCacheResponderTest#test_does_not_set_cache_unless_get_requests = 0.00 s = .

Finished in 0.178106s, 583.9205 runs/s, 1313.8212 assertions/s.
104 runs, 234 assertions, 3 failures, 0 errors, 0 skips
rake aborted!
Command failed with status (1): [ruby -w -I"test:." 
/usr/share/rubygems-integration/all/gems/rake-13.2.1/lib/rake/rake_test_loader.rb
 "test/action_controller/respond_with_api_test.rb" 
"test/action_controller/respond_with_test.rb" 
"test/action_controller/verify_requested_format_test.rb" 
"test/responders/collection_responder_test.rb" 
"test/responders/controller_method_test.rb" 
"test/responders/flash_responder_test.rb" 
"test/responders/http_cache_responder_test.rb" "test/test_helper.rb"  -v]
/usr/share/rubygems-integration/all/gems/rake-13.2.1/exe/rake:27:in `<top 
(required)>'
Tasks: TOP => default
(See full trace by running task with --trace)
mv ./.gem2deb.Gemfile.lock Gemfile.lock
ERROR: Test "ruby3.3" failed. Exiting.
dh_auto_install: error: dh_ruby --install 
/<<PKGBUILDDIR>>/debian/ruby-responders returned exit code 1
make: *** [debian/rules:7: 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-responders, so that this is still
visible in the BTS web page for this package.

Thanks.

Reply via email to