Your message dated Mon, 22 Nov 2021 02:38:50 +0000
with message-id <[email protected]>
and subject line Bug#996301: fixed in ruby-jbuilder 2.10.0-2
has caused the Debian Bug report #996301,
regarding ruby-jbuilder: FTBFS with ruby3.0: ERROR: Test "ruby3.0" failed.
to be marked as done.
This means that you claim that the problem has been dealt with.
If this is not the case it is now your responsibility to reopen the
Bug report if necessary, and/or fix the problem forthwith.
(NB: If you are a system administrator and have no idea what this
message is talking about, this may indicate a serious mail system
misconfiguration somewhere. Please contact [email protected]
immediately.)
--
996301: https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=996301
Debian Bug Tracking System
Contact [email protected] with problems
--- Begin Message ---
Source: ruby-jbuilder
Version: 2.10.0-1
Severity: serious
Justification: FTBFS
Tags: bookworm sid ftbfs
User: [email protected]
Usertags: ruby3.0
Hi,
We are about to enable building against ruby3.0 on unstable. During a test
rebuild, ruby-jbuilder was found to fail to build in that situation.
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.0 /usr/bin/gem2deb-test-runner
>
> ┌──────────────────────────────────────────────────────────────────────────────┐
> │ Checking Rubygems dependency resolution on ruby3.0
> │
> └──────────────────────────────────────────────────────────────────────────────┘
>
> GEM_PATH=/<<PKGBUILDDIR>>/debian/ruby-jbuilder/usr/share/rubygems-integration/all:/var/lib/gems/3.0.0:/usr/local/lib/ruby/gems/3.0.0:/usr/lib/ruby/gems/3.0.0:/usr/lib/x86_64-linux-gnu/ruby/gems/3.0.0:/usr/share/rubygems-integration/3.0.0:/usr/share/rubygems-integration/all:/usr/lib/x86_64-linux-gnu/rubygems-integration/3.0.0
> ruby3.0 -e gem\ \"jbuilder\"
>
> ┌──────────────────────────────────────────────────────────────────────────────┐
> │ Run tests for ruby3.0 from debian/ruby-tests.rake
> │
> └──────────────────────────────────────────────────────────────────────────────┘
>
> RUBYLIB=/<<PKGBUILDDIR>>/debian/ruby-jbuilder/usr/lib/ruby/vendor_ruby:.
> GEM_PATH=/<<PKGBUILDDIR>>/debian/ruby-jbuilder/usr/share/rubygems-integration/all:/var/lib/gems/3.0.0:/usr/local/lib/ruby/gems/3.0.0:/usr/lib/ruby/gems/3.0.0:/usr/lib/x86_64-linux-gnu/ruby/gems/3.0.0:/usr/share/rubygems-integration/3.0.0:/usr/share/rubygems-integration/all:/usr/lib/x86_64-linux-gnu/rubygems-integration/3.0.0
> ruby3.0 -S rake -f debian/ruby-tests.rake
> /usr/bin/ruby3.0 -w -I"test"
> /usr/lib/ruby/gems/3.0.0/gems/rake-13.0.3/lib/rake/rake_test_loader.rb
> "test/jbuilder_dependency_tracker_test.rb" "test/jbuilder_generator_test.rb"
> "test/jbuilder_template_test.rb" "test/jbuilder_test.rb"
> "test/scaffold_api_controller_generator_test.rb"
> "test/scaffold_controller_generator_test.rb" -v
> /usr/share/rubygems-integration/all/gems/activesupport-6.0.3.7/lib/active_support/core_ext/hash/except.rb:12:
> warning: method redefined; discarding old except
> /usr/lib/ruby/vendor_ruby/tzinfo/ruby_core_support.rb:163: warning:
> Object#taint is deprecated and will be removed in Ruby 3.2
> /usr/lib/ruby/vendor_ruby/tzinfo/ruby_core_support.rb:163: warning:
> Object#tainted? is deprecated and will be removed in Ruby 3.2
> Run options: -v --seed 5207
>
> # Running:
>
> JbuilderGeneratorTest#test_index_content = 0.02 s = .
> JbuilderGeneratorTest#test_timestamps_are_not_generated_in_partial_with_--no-timestamps
> = 0.02 s = .
> JbuilderGeneratorTest#test_views_are_generated = 0.00 s = .
> ScaffoldApiControllerGeneratorTest#test_controller_content = 0.33 s = .
> ScaffoldApiControllerGeneratorTest#test_dont_use_require_and_permit_if_there_are_no_attributes
> = 0.18 s = .
> JbuilderTemplateTest#test_basic_template = 0.54 s = .
> JbuilderTemplateTest#test_empty_array_of_partials_from_nil_collection = 0.00
> s = .
> JbuilderTemplateTest#test_array_of_partials_under_key = 0.02 s = .
> JbuilderTemplateTest#test_nil_partial_collection_by_name = 0.00 s = .
> JbuilderTemplateTest#test_partial_collection_by_name_with_string_local = 0.00
> s = .
> JbuilderTemplateTest#test_partial_by_name_with_nested_locals = 0.00 s = .
> JbuilderTemplateTest#test_partial_collection_by_options = 0.00 s = .
> JbuilderTemplateTest#test_partial_for_Active_Model = 0.01 s = .
> JbuilderTemplateTest#test_array_root_caching = 0.00 s = .
> JbuilderTemplateTest#test_conditional_object_fragment_caching = 0.00 s = .
> JbuilderTemplateTest#test_failing_to_cache_root_after_JSON_structures_have_been_defined
> = 0.00 s = .
> JbuilderTemplateTest#test_object_fragment_caching = 0.01 s = .
> JbuilderTemplateTest#test_partial_by_name_with_top-level_locals = 0.00 s = .
> JbuilderTemplateTest#test_partial_collection_by_name_with_symbol_local = 0.00
> s = .
> JbuilderTemplateTest#test_nil_partial_collection_by_options = 0.00 s = .
> JbuilderTemplateTest#test_object_fragment_caching_with_expiry = 0.01 s = .
> JbuilderTemplateTest#test_partial_by_options_containing_nested_locals = 0.00
> s = .
> JbuilderTemplateTest#test_partial_by_options_containing_top-level_locals =
> 0.00 s = .
> JbuilderTemplateTest#test_empty_array_of_partials_under_key_from_nil_collection
> = 0.00 s = .
> JbuilderTemplateTest#test_cache_instrumentation = 0.00 s = .
> JbuilderTemplateTest#test_object_root_caching = 0.00 s = .
> JbuilderTemplateTest#test_array_of_partials = 0.01 s = .
> JbuilderTemplateTest#test_camelized_keys = 0.00 s = .
> JbuilderTemplateTest#test_empty_fragment_caching = 0.00 s = .
> JbuilderTemplateTest#test_array_fragment_caching = 0.00 s = .
> JbuilderDependencyTrackerTest#test_detects_partial_in_indirect_collection_calls
> = 0.00 s = .
> JbuilderDependencyTrackerTest#test_detects_partial_with_options_(1.9_style) =
> 0.00 s = .
> JbuilderDependencyTrackerTest#test_detects_dependency_via_direct_partial!_call_with_parens
> = 0.00 s = .
> JbuilderDependencyTrackerTest#test_detects_dependency_via_direct_partial!_call
> = 0.00 s = .
> JbuilderDependencyTrackerTest#test_detects_explicit_depedency = 0.00 s = .
> JbuilderDependencyTrackerTest#test_detects_partial_with_options_(1.8_style) =
> 0.00 s = .
> JbuilderTest#test_key_format!_with_no_parameter = 0.00 s = .
> JbuilderTest#test_nesting_multiple_children_from_array_when_child_array_is_empty
> = 0.00 s = .
> JbuilderTest#test_empty_block_handling = 0.01 s = .
> JbuilderTest#test_ignore_nil!_without_a_parameter = 0.00 s = .
> JbuilderTest#test_throws_MergeError_when_trying_to_merge_hash_with_array =
> 0.00 s = .
> JbuilderTest#test_nil! = 0.00 s = .
> JbuilderTest#test_throws_MergeError_when_trying_to_merge_array_with_non-empty_hash
> = 0.00 s = .
> JbuilderTest#test_arrays_are_additive = 0.00 s = .
> JbuilderTest#test_nested_jbuilder_objects = 0.00 s = .
> JbuilderTest#test_empty_attributes_respond_to_empty? = 0.00 s = .
> JbuilderTest#test_throws_NullError_when_trying_to_add_properties_to_null_using_block_syntax
> = 0.00 s = .
> JbuilderTest#test_default_ignore_nil! = 0.00 s = .
> JbuilderTest#test_dynamically_set_a_key/nested_child_with_block = 0.00 s = .
> JbuilderTest#test_key_format!_with_parameter_not_as_an_array = 0.00 s = .
> JbuilderTest#test_support_merge!_method_in_a_block = 0.00 s = .
> JbuilderTest#test_throws_NullError_when_trying_to_add_properties_to_null =
> 0.00 s = .
> JbuilderTest#test_array_nested_inside_array = 0.00 s = .
> JbuilderTest#test_ignore_nil!_with_parameter = 0.00 s = .
> JbuilderTest#test_initialize_via_options_hash = 0.00 s = .
> JbuilderTest#test_key_format!_with_parameter = 0.00 s = .
> JbuilderTest#test_nesting_multiple_children_from_array = 0.00 s = .
> JbuilderTest#test_nested_blocks_are_additive = 0.00 s = .
> JbuilderTest#test_nesting_single_child_with_inline_extract = 0.00 s = .
> JbuilderTest#test_it_allows_using_next_in_array_block_to_skip_value = 0.00 s
> = .
> JbuilderTest#test_single_key_with_nil_value = 0.00 s = .
> JbuilderTest#test_query_like_object = 0.00 s = .
> JbuilderTest#test_nesting_multiple_children_from_array_with_inline_loop_on_root
> = 0.00 s = .
> JbuilderTest#test_do_not_use_default_key_formatter_directly = 0.00 s = .
> JbuilderTest#test_top-level_array = 0.00 s = .
> JbuilderTest#test_array_nested_inside_nested_hash = 0.00 s = .
> JbuilderTest#test_null!_in_a_block = 0.00 s = .
> JbuilderTest#test_array!_casts_array-like_objects_to_array_before_merging =
> 0.00 s = .
> JbuilderTest#test_handles_nil-collections_as_empty_arrays = 0.00 s = .
> JbuilderTest#test_single_key_with_false_value = 0.00 s = .
> JbuilderTest#test_directly_set_an_array_nested_in_another_array = 0.00 s = .
> JbuilderTest#test_extracting_from_object_using_call_style = 0.00 s = .
> JbuilderTest#test_nesting_multiple_children_with_block = 0.00 s = .
> JbuilderTest#test_extract_attributes_directly_from_array = 0.00 s = .
> JbuilderTest#test_nested_jbuilder_object_via_set! = 0.00 s = .
> JbuilderTest#test_respects_JSON_encoding_customizations = 0.03 s = F
>
>
> Failure:
> JbuilderTest#test_respects_JSON_encoding_customizations
> [/<<PKGBUILDDIR>>/test/jbuilder_test.rb:741]:
> --- expected
> +++ actual
> @@ -1 +1 @@
> -"2018-05-13T11:51:00.485-04:00"
> +"2018-05-13 11:51:00 -0400"
>
>
> rails test <<PKGBUILDDIR>>/test/jbuilder_test.rb:737
>
> JbuilderTest#test_blocks_are_additive_via_extract_syntax = 0.00 s = .
> JbuilderTest#test_dynamically_sets_a_collection = 0.00 s = .
> JbuilderTest#test_key_format!_with_multiple_steps = 0.00 s = .
> JbuilderTest#test_nesting_multiple_children_from_a_non-Enumerable_that_responds_to_#map
> = 0.00 s = .
> JbuilderTest#test_nesting_multiple_children_from_array_with_inline_loop =
> 0.00 s = .
> JbuilderTest#test_nesting_multiple_chilren_from_a_non-Enumerable_that_responds_to_#map_with_inline_loop
> = 0.00 s = .
> JbuilderTest#test_throws_MergeError_when_trying_to_merge_invalid_objects =
> 0.00 s = .
> JbuilderTest#test_single_key = 0.00 s = .
> JbuilderTest#test_multiple_keys = 0.00 s = .
> JbuilderTest#test_null! = 0.00 s = .
> JbuilderTest#test_support_merge!_method = 0.00 s = .
> JbuilderTest#test_default_key_format! = 0.00 s = .
> JbuilderTest#test_extracting_from_hash = 0.00 s = .
> JbuilderTest#test_empty_top-level_array = 0.00 s = .
> JbuilderTest#test_throws_ArrayError_when_trying_to_add_a_key_to_an_array =
> 0.00 s = .
> JbuilderTest#test_key_format!_with_lambda/proc = 0.00 s = .
> JbuilderTest#test_blocks_are_additive = 0.00 s = .
> JbuilderTest#test_key_format!_propagates_to_child_elements = 0.00 s = .
> JbuilderTest#test_dynamically_set_a_key/value = 0.00 s = .
> JbuilderTest#test_nesting_single_child_with_block = 0.00 s = .
> JbuilderTest#test_key_format!_resets_after_child_element = 0.00 s = .
> JbuilderTest#test_extracting_from_object = 0.00 s = .
> ScaffoldControllerGeneratorTest#test_controller_content = 0.27 s = .
> ScaffoldControllerGeneratorTest#test_dont_use_require_and_permit_if_there_are_no_attributes
> = 0.22 s = .
>
> Finished in 1.744577s, 57.3205 runs/s, 149.0332 assertions/s.
> 100 runs, 260 assertions, 1 failures, 0 errors, 0 skips
> rake aborted!
> Command failed with status (1): [ruby -w -I"test"
> /usr/lib/ruby/gems/3.0.0/gems/rake-13.0.3/lib/rake/rake_test_loader.rb
> "test/jbuilder_dependency_tracker_test.rb" "test/jbuilder_generator_test.rb"
> "test/jbuilder_template_test.rb" "test/jbuilder_test.rb"
> "test/scaffold_api_controller_generator_test.rb"
> "test/scaffold_controller_generator_test.rb" -v]
>
> Tasks: TOP => default
> (See full trace by running task with --trace)
> ERROR: Test "ruby3.0" failed.
The full build log is available at
https://people.debian.org/~kanashiro/ruby3.0/round2/builds/3/ruby-jbuilder/ruby-jbuilder_2.10.0-1+rebuild1633383692_amd64.build.txt
signature.asc
Description: PGP signature
--- End Message ---
--- Begin Message ---
Source: ruby-jbuilder
Source-Version: 2.10.0-2
Done: Daniel Leidert <[email protected]>
We believe that the bug you reported is fixed in the latest version of
ruby-jbuilder, which is due to be installed in the Debian FTP archive.
A summary of the changes between this version and the previous one is
attached.
Thank you for reporting the bug, which will now be closed. If you
have further comments please address them to [email protected],
and the maintainer will reopen the bug report if appropriate.
Debian distribution maintenance software
pp.
Daniel Leidert <[email protected]> (supplier of updated ruby-jbuilder package)
(This message was generated automatically at their request; if you
believe that there is a problem with it please contact the archive
administrators by mailing [email protected])
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA512
Format: 1.8
Date: Mon, 22 Nov 2021 02:53:52 +0100
Source: ruby-jbuilder
Architecture: source
Version: 2.10.0-2
Distribution: unstable
Urgency: medium
Maintainer: Debian Ruby Team
<[email protected]>
Changed-By: Daniel Leidert <[email protected]>
Closes: 996301
Changes:
ruby-jbuilder (2.10.0-2) unstable; urgency=medium
.
* Team upload.
* d/patches/fix-the-test-that-depends-on-the-time-helper.patch: Add patch.
- Fix test case with rails 6.1 and timezone-aware helper (closes: #996301).
* d/patches/series: Enable new patch.
Checksums-Sha1:
e2f33f60c31b37b8959e9cb99a83a9135219dfc5 2088 ruby-jbuilder_2.10.0-2.dsc
2501b0e09fafdedaaa96cc30a88137294a86db30 3692
ruby-jbuilder_2.10.0-2.debian.tar.xz
94535b43c99598720b86dfe9b3b3ab11db961e08 20125
ruby-jbuilder_2.10.0-2_amd64.buildinfo
Checksums-Sha256:
f203b1cc508b5f1757f8d1e5d2a3dbf6bd6580ee6635da9c2472c733b7c7e129 2088
ruby-jbuilder_2.10.0-2.dsc
c2da2de78de9bfbb375fd3ad239faa68d6c2a331db9d18e9541e9c9ff8e9e73b 3692
ruby-jbuilder_2.10.0-2.debian.tar.xz
3d1e3cf7aeb3d09b546993267232c52001a57945d8d4a4837a400127ea5a2b25 20125
ruby-jbuilder_2.10.0-2_amd64.buildinfo
Files:
584d611d76bb5897636f491c68be7118 2088 ruby optional ruby-jbuilder_2.10.0-2.dsc
9c751ad664f247fa0a3c2a734c361241 3692 ruby optional
ruby-jbuilder_2.10.0-2.debian.tar.xz
8b723d5f84db68cbaf0ae9c3abe8a65b 20125 ruby optional
ruby-jbuilder_2.10.0-2_amd64.buildinfo
-----BEGIN PGP SIGNATURE-----
iQIyBAEBCgAdFiEEvu1N7VVEpMA+KD3HS80FZ8KW0F0FAmGa/EIACgkQS80FZ8KW
0F2ONQ/2NxSifl54msa1UJ+d+Sr8+7fWFQvO9hhCfmnceMeQsML9WQHRJZ0h3LlL
54KOcLZ8suBePmY76u2zhYcFXPNx0UpGhA7d0G8PLyZYHj9yZv/5eDqAFFcFf3pC
a+PfYPrsW99Wi/4n3jmJd0OMiACoS4cJkCYDYmeSTP65mRGTVmRzdOONa3JXXZih
4eX8sc/ZbObu7TLpqLQvMQmdswsqezo9THjz8Mlz5dJA/oWHotKn82Me+Zi3WMT/
hdFcTik/f0hGQ5cSvnwWcMzbUnxy5OocOCHPlNGq/j2lAk2BuUjMbTksZTxdWy/e
jSCke0nxeeW8FSdEmEa4SyseUe/Y2K7/eyb+3WD4Xzeo7VVKq/zQPm+6eVkxp76g
kgDi7d7LUcNeJwmHGgH92As5QzmgCZBpWyPbKYmJfkbn0YFgB9aIXnhEQoVeLe/r
0GG2fh53PSrzFKLAvqrJSm0WfUbDtDFvumIVynXISMJKyYwrRHSVO7P2jd3am8O4
cx1qiBbH75J6jVOOpya+zRFXTxen5T3wvbKZ0VJcRFzM5LtIEVBBJVIDuAue8BWf
g1Jqy5JXFKK+IXJZFvXoi+VZiaNmOs/lGSuenvauLDLBclEiFsnbNB8mKcJyydIo
vXvCwzTBoQQLsAoVMSV8Cswhd7ugRBCC9tifTP1/A4ELX+mtjA==
=s+nh
-----END PGP SIGNATURE-----
--- End Message ---