[DRE-maint] Bug#1052749: ruby-ruby-magic-static: FTBFS: ERROR: Test "ruby3.1" failed.
Lucas Nussbaum
lucas at debian.org
Tue Sep 26 13:40:56 BST 2023
Source: ruby-ruby-magic-static
Version: 0.6.0-2
Severity: serious
Justification: FTBFS
Tags: trixie sid ftbfs
User: lucas at debian.org
Usertags: ftbfs-20230925 ftbfs-trixie
Hi,
During a rebuild of all packages in sid, your package failed to build
on amd64.
Relevant part (hopefully):
> /usr/bin/ruby3.1 /usr/bin/gem2deb-test-runner
>
> ┌──────────────────────────────────────────────────────────────────────────────┐
> │ Checking Rubygems dependency resolution on ruby3.1 │
> └──────────────────────────────────────────────────────────────────────────────┘
>
> GEM_PATH=/<<PKGBUILDDIR>>/debian/ruby-ruby-magic-static/usr/lib/x86_64-linux-gnu/rubygems-integration/3.1.0:/<<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\ \"ruby-magic\"
>
> ┌──────────────────────────────────────────────────────────────────────────────┐
> │ Run tests for ruby3.1 from debian/ruby-tests.rake │
> └──────────────────────────────────────────────────────────────────────────────┘
>
> RUBYLIB=. GEM_PATH=/<<PKGBUILDDIR>>/debian/ruby-ruby-magic-static/usr/lib/x86_64-linux-gnu/rubygems-integration/3.1.0:/<<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 -f debian/ruby-tests.rake
> /usr/bin/ruby3.1 -w -I"test" /usr/lib/ruby/gems/3.1.0/gems/rake-13.0.6/lib/rake/rake_test_loader.rb "test/test_constants.rb" "test/test_magic.rb" -v
> Loaded suite /usr/lib/ruby/gems/3.1.0/gems/rake-13.0.6/lib/rake/rake_test_loader
> Started
> MagicConstantsTest:
> test_MIME_flag_constant: .: (0.000259)
> test_NO_CHECK_ASCII_flag_constant: .: (0.000076)
> test_NO_CHECK_BUILTIN_flag_constat: F
> ===============================================================================
> Failure: test_NO_CHECK_BUILTIN_flag_constat(MagicConstantsTest)
> /<<PKGBUILDDIR>>/test/test_constants.rb:80:in `test_NO_CHECK_BUILTIN_flag_constat'
> 77: Magic::NO_CHECK_ENCODING |
> 78: Magic::NO_CHECK_JSON
> 79:
> => 80: assert_equal(Magic::NO_CHECK_BUILTIN, expected)
> 81: end
> 82:
> 83: def test_PARAM_INDIR_MAX_parameter_constant
> <16756736> expected but was
> <8368128>
>
> diff:
> ? 16756736
> ? 8 8128
> ? ?????? ++++
> ===============================================================================
> : (0.011401)
> test_PARAM_BYTES_MAX_parameter_constant: .: (0.000099)
> test_PARAM_ELF_NOTES_MAX_parameter_constant: .: (0.000063)
> test_PARAM_ELF_PHNUM_MAX_parameter_constant: .: (0.000058)
> test_PARAM_ELF_SHNUM_MAX_parameter_constant: .: (0.000059)
> test_PARAM_INDIR_MAX_parameter_constant: .: (0.000058)
> test_PARAM_NAME_MAX_parameter_constant: .: (0.000058)
> test_PARAM_REGEX_MAX_parameter_constant: .: (0.000056)
> test_flags_constants_defiend: .: (0.000249)
> test_parameters_constants_defiend: .: (0.000085)
> MagicTest:
> test_file_integration_magic: .: (0.000546)
> test_file_integration_magic_with_custom_flag: .: (0.000638)
> test_file_integration_mime: .: (0.000296)
> test_file_integration_singleton_magic: .: (0.000296)
> test_file_integration_singleton_magic_with_custom_flag: .: (0.000284)
> test_file_integration_singleton_mime: .: (0.000292)
> test_file_integration_singleton_type: .: (0.000283)
> test_file_integration_type: .: (0.000290)
> test_gc_compaction: .: (0.041686)
> test_magic_alias: .: (0.000477)
> test_magic_buffer: .: (0.000289)
> test_magic_buffer_argument_with_NULL: .: (0.001511)
> test_magic_buffer_with_EXTENSION_flag: .: (0.000374)
> test_magic_buffer_with_MAGIC_CONTINUE_flag: .: (0.000263)
> test_magic_buffer_with_magic_library_not_loaded: .: (0.000256)
> test_magic_buffer_with_nil_argument: .: (0.000363)
> test_magic_check: .: (0.000270)
> test_magic_check_alias: .: (0.000288)
> test_magic_check_with_DEBUG_flag: .: (0.009095)
> test_magic_close: .: (0.000370)
> test_magic_close_error: .: (0.000303)
> test_magic_close_twice: .: (0.000230)
> test_magic_closed?: .: (0.000275)
> test_magic_compile: .: (0.000166)
> test_magic_compile_with_DEBUG_flag: .: (0.000245)
> test_magic_descriptor: .: (0.000720)
> test_magic_descriptor_alias: .: (0.000241)
> test_magic_descriptor_with_EXTENSION_flag: .: (0.000251)
> test_magic_descriptor_with_MAGIC_CONTINUE_flag: .: (0.000251)
> test_magic_descriptor_with_descriptor_closed: .: (0.000345)
> test_magic_descriptor_with_invalid_descriptor: .: (0.000299)
> test_magic_descriptor_with_magic_library_not_loaded: .: (0.000248)
> test_magic_descriptor_with_nil_argument: .: (0.000292)
> test_magic_descriptor_with_old_descriptor_open: .: (0.000238)
> test_magic_do_not_stop_on_error: .: (0.000254)
> test_magic_do_not_stop_on_error_set_globally: .: (0.000243)
> test_magic_do_not_stop_on_error_with_truthy_values: .: (0.000228)
> test_magic_error_attribute_errno: .: (0.000303)
> test_magic_fd_with_integer: .: (0.000241)
> test_magic_fd_with_object: .: (0.000240)
> test_magic_file: .: (0.000245)
> test_magic_file_argument_with_NULL: .: (0.000281)
> test_magic_file_integration_instance_methods: .: (0.000297)
> test_magic_file_integration_singleton_methods: .: (0.000266)
> test_magic_file_with_ERROR_flag: .: (0.000245)
> test_magic_file_with_EXTENSION_flag: .: (0.000235)
> test_magic_file_with_IO_like_argument: .: (0.000763)
> test_magic_file_with_IO_like_argument_stream_closed: .: (0.000282)
> test_magic_file_with_MAGIC_CONTINUE_flag: .: (0.000230)
> test_magic_file_with_String_like_argument: .: (0.003570)
> test_magic_file_with_do_not_stop_on_error_set: .: (0.000571)
> test_magic_file_with_do_not_stop_on_error_set_globally: .: (0.000253)
> test_magic_file_with_magic_library_not_loaded: .: (0.001512)
> test_magic_file_with_nil_argument: .: (0.000423)
> test_magic_file_with_path_like_argument: .: (0.000330)
> test_magic_flags: .: (0.000307)
> test_magic_flags_error_lower_boundary: .: (0.000442)
> test_magic_flags_error_upper_boundary: .: (0.000589)
> test_magic_flags_list: .: (0.000326)
> test_magic_flags_list_alias: .: (0.000359)
> test_magic_flags_list_with_MIME_ENCODING_flag: .: (0.000382)
> test_magic_flags_list_with_MIME_ENCODING_flag_and_argument_true: .: (0.000599)
> test_magic_flags_list_with_MIME_TYPE_flag: .: (0.000435)
> test_magic_flags_list_with_MIME_TYPE_flag_and_argument_true: .: (0.000364)
> test_magic_flags_list_with_MIME_flag: .: (0.000396)
> test_magic_flags_list_with_MIME_flag_and_argument_true: .: (0.000371)
> test_magic_flags_list_with_NONE_flag: .: (0.000344)
> test_magic_flags_list_with_NONE_flag_and_argument_true: .: (0.000348)
> test_magic_flags_names: .: (0.000317)
> test_magic_flags_names_with_MIME_ENCODING_flag: .: (0.000311)
> test_magic_flags_names_with_MIME_TYPE_flag: .: (0.000311)
> test_magic_flags_names_with_MIME_flag: .: (0.000403)
> test_magic_flags_names_with_NONE_flag: .: (0.000388)
> test_magic_flags_with_CHECK_flag: .: (0.002037)
> test_magic_flags_with_DEBUG_flag: .: (0.000536)
> test_magic_flags_with_MIME_ENCODING_flag: .: (0.000474)
> test_magic_flags_with_MIME_TYPE_flag: .: (0.000510)
> test_magic_flags_with_MIME_flag: .: (0.000564)
> test_magic_flags_with_NONE_flag: .: (0.000555)
> test_magic_get_parameter_lower_boundary: .: (0.000428)
> test_magic_get_parameter_upper_boundary: .: (0.000438)
> test_magic_get_parameter_with_PARAM_BYTES_MAX: .: (0.000334)
> test_magic_get_parameter_with_PARAM_INDIR_MAX: .: (0.000332)
> test_magic_global_singleton_methods: .: (0.000605)
> test_magic_inspect_when_magic_closed: .: (0.000685)
> test_magic_inspect_when_magic_open: .: (0.000475)
> test_magic_instance_methods: .: (0.000572)
> test_magic_load: .: (0.000328)
> test_magic_load_alias: .: (0.000329)
> test_magic_load_buffers: .: (0.000336)
> test_magic_load_buffers_with_DEBUG_flag: .: (0.000312)
> test_magic_load_buffers_with_array_argument: .: (0.000324)
> test_magic_load_with_DEBUG_flag: .: (0.001303)
> test_magic_load_with_MAGIC_environment_variable: .: (0.001819)
> test_magic_load_with_array_argument: .: (0.000226)
> test_magic_load_with_custom_Magic_file_path: .: (0.000328)
> test_magic_load_with_do_not_auto_load_set: .: (0.000320)
> test_magic_loaded?: .: (0.000317)
> test_magic_loaded_with_do_not_auto_load_set: .: (0.000311)
> test_magic_magic_error: .: (0.000470)
> test_magic_new_instance: .: (0.000351)
> test_magic_new_instance_default_flags: .: (0.000430)
> test_magic_new_instance_with_arguments: .: (0.000408)
> test_magic_new_with_MAGIC_DO_NOT_AUTOLOAD_environment_variable: .: (0.000531)
> test_magic_new_with_MAGIC_DO_NOT_STOP_ON_ERROR_environment_variable: .: (0.000402)
> test_magic_new_with_block: .: (0.000862)
> test_magic_new_with_do_not_auto_load_set: .: (0.000354)
> test_magic_open?: .: (0.000397)
> test_magic_paths: .: (0.000284)
> test_magic_paths_with_MAGIC_environment_variable: .: (0.001466)
> test_magic_set_parameter_lower_boundary: .: (0.000313)
> test_magic_set_parameter_overflow_with_PARAM_INDIR_MAX: .: (0.000379)
> test_magic_set_parameter_upper_boundary: .: (0.000373)
> test_magic_set_parameter_value_lower_boundary: .: (0.000330)
> test_magic_set_parameter_value_upper_boundary: .: (0.000380)
> test_magic_set_parameter_with_PARAM_BYTES_MAX: .: (0.000338)
> test_magic_set_parameter_with_PARAM_INDIR_MAX: .: (0.000327)
> test_magic_singleton_buffer: .: (0.000313)
> test_magic_singleton_check: .: (0.000308)
> test_magic_singleton_compile: .: (0.000298)
> test_magic_singleton_descriptor: .: (0.000393)
> test_magic_singleton_do_not_auto_load_global: .: (0.027039)
> test_magic_singleton_do_not_auto_load_global_no_fork: O
> ===============================================================================
> Omission: Platform supports fork [test_magic_singleton_do_not_auto_load_global_no_fork(MagicTest)]
> /<<PKGBUILDDIR>>/test/test_magic.rb:788:in `test_magic_singleton_do_not_auto_load_global_no_fork'
> ===============================================================================
> : (0.002421)
> test_magic_singleton_do_not_auto_load_global_with_truthy_values: .: (0.000528)
> test_magic_singleton_do_not_stop_on_error: .: (0.000378)
> test_magic_singleton_do_not_stop_on_error_global: .: (0.000338)
> test_magic_singleton_do_not_stop_on_error_with_truthy_values: .: (0.000340)
> test_magic_singleton_encoding: .: (0.000395)
> test_magic_singleton_encoding_block: .: (0.000316)
> test_magic_singleton_file: .: (0.000319)
> test_magic_singleton_methods: .: (0.000558)
> test_magic_singleton_mime: .: (0.000336)
> test_magic_singleton_mime_block: .: (0.000477)
> test_magic_singleton_open: .: (0.000371)
> test_magic_singleton_open_block: .: (0.000299)
> test_magic_singleton_open_block_custom_flag: .: (0.000295)
> test_magic_singleton_open_custom_flag: .: (0.000387)
> test_magic_singleton_type: .: (0.000692)
> test_magic_singleton_type_block: .: (0.000342)
> test_magic_string_integration_methods: .: (0.000430)
> test_magic_version: .: (0.000518)
> test_magic_version_array: .: (0.000455)
> test_magic_version_array_alias: .: (0.000521)
> test_magic_version_string: .: (0.000467)
> test_magic_version_string_alias: .: (0.000449)
> test_magic_with_new_instance_custom_Magic_file_path: .: (0.000399)
> test_string_integration_magic: .: (0.000449)
> test_string_integration_magic_with_custom_flag: .: (0.000394)
> test_string_integration_mime: .: (0.000811)
> test_string_integration_type: .: (0.000417)
>
> Finished in 0.166871264 seconds.
> -------------------------------------------------------------------------------
> 162 tests, 237 assertions, 1 failures, 0 errors, 0 pendings, 1 omissions, 0 notifications
> 99.3789% passed
> -------------------------------------------------------------------------------
> 970.81 tests/s, 1420.26 assertions/s
> rake aborted!
> Command failed with status (1): [ruby -w -I"test" /usr/lib/ruby/gems/3.1.0/gems/rake-13.0.6/lib/rake/rake_test_loader.rb "test/test_constants.rb" "test/test_magic.rb" -v]
>
> Tasks: TOP => default
> (See full trace by running task with --trace)
> ERROR: Test "ruby3.1" failed.
The full build log is available from:
http://qa-logs.debian.net/2023/09/25/ruby-ruby-magic-static_0.6.0-2_unstable.log
All bugs filed during this archive rebuild are listed at:
https://bugs.debian.org/cgi-bin/pkgreport.cgi?tag=ftbfs-20230925;users=lucas@debian.org
or:
https://udd.debian.org/bugs/?release=na&merged=ign&fnewerval=7&flastmodval=7&fusertag=only&fusertagtag=ftbfs-20230925&fusertaguser=lucas@debian.org&allbugs=1&cseverity=1&ctags=1&caffected=1#results
A list of current common problems and possible solutions is available at
http://wiki.debian.org/qa.debian.org/FTBFS . You're welcome to contribute!
If you reassign this bug to another package, please mark it as 'affects'-ing
this package. See https://www.debian.org/Bugs/server-control#affects
If you fail to reproduce this, please provide a build log and diff it with mine
so that we can identify if something relevant changed in the meantime.
More information about the Pkg-ruby-extras-maintainers
mailing list