[DRE-maint] Bug#906407: ruby-simple-form: FTBFS in buster/sid (failing tests)

Santiago Vila sanvila at debian.org
Fri Aug 17 12:21:29 BST 2018


Package: src:ruby-simple-form
Version: 3.2.0-1
Severity: serious
Tags: ftbfs

Dear maintainer:

I tried to build this package in buster but it failed:

--------------------------------------------------------------------------------
[...]
 debian/rules build-indep
dh build-indep --buildsystem=ruby --with ruby
   dh_update_autotools_config -i -O--buildsystem=ruby
   dh_auto_configure -i -O--buildsystem=ruby
	dh_ruby --configure
   dh_auto_build -i -O--buildsystem=ruby
	dh_ruby --build
   dh_ruby --build
   dh_auto_test -i -O--buildsystem=ruby
	dh_ruby --test
 fakeroot debian/rules binary-indep
dh binary-indep --buildsystem=ruby --with ruby
   dh_testroot -i -O--buildsystem=ruby
   dh_prep -i -O--buildsystem=ruby

[... snipped ...]

PriorityInputTest#test_input_generates_a_country_select_with_SimpleForm_default [/<<PKGBUILDDIR>>/test/inputs/priority_input_test.rb:14]:
country_select not in Debian yet

  5) Failure:
InputFieldTest#test_build_input_field_without_pattern_component_use_the_pattern_string [/<<PKGBUILDDIR>>/test/form_builder/input_field_test.rb:128]:
Expected at least 1 element matching "input[pattern="\w+"]", found 0..
Expected 0 to be >= 1.

  6) Failure:
InputFieldTest#test_builder_input_field_accepts_custom_patter [/<<PKGBUILDDIR>>/test/form_builder/input_field_test.rb:93]:
Expected at least 1 element matching "input[pattern="\d+"]", found 0..
Expected 0 to be >= 1.

  7) Failure:
InputFieldTest#test_builder_input_field_infers_pattern_from_attributes [/<<PKGBUILDDIR>>/test/form_builder/input_field_test.rb:87]:
Expected at least 1 element matching "input[pattern="\w+"]", found 0..
Expected 0 to be >= 1.

  8) Skipped:
FormBuilderTest#test_builder_generates_country_fields_for_columns_that_matches_country [/<<PKGBUILDDIR>>/test/form_builder/general_test.rb:151]:
country_select not in Debian yet

  9) Failure:
StringInputTest#test_input_uses_given_pattern_from_attributes [/<<PKGBUILDDIR>>/test/inputs/string_input_test.rb:90]:
Expected at least 1 element matching "input[pattern="\d+"]", found 0..
Expected 0 to be >= 1.

 10) Failure:
StringInputTest#test_input_infers_pattern_from_attributes_using_proc [/<<PKGBUILDDIR>>/test/inputs/string_input_test.rb:78]:
Expected at least 1 element matching "input[pattern="\w+"]", found 0..
Expected 0 to be >= 1.

 11) Failure:
StringInputTest#test_input_infers_pattern_from_attributes [/<<PKGBUILDDIR>>/test/inputs/string_input_test.rb:73]:
Expected at least 1 element matching "input[pattern="\w+"]", found 0..
Expected 0 to be >= 1.

730 runs, 1281 assertions, 6 failures, 0 errors, 5 skips
rake aborted!
Command failed with status (1): [ruby -w -I"test"  "/usr/lib/ruby/vendor_ruby/rake/rake_test_loader.rb" "test/action_view_extensions/builder_test.rb" "test/action_view_extensions/form_helper_test.rb" "test/components/label_test.rb" "test/form_builder/association_test.rb" "test/form_builder/button_test.rb" "test/form_builder/error_notification_test.rb" "test/form_builder/error_test.rb" "test/form_builder/general_test.rb" "test/form_builder/hint_test.rb" "test/form_builder/input_field_test.rb" "test/form_builder/label_test.rb" "test/form_builder/wrapper_test.rb" "test/generators/simple_form_generator_test.rb" "test/inputs/boolean_input_test.rb" "test/inputs/collection_check_boxes_input_test.rb" "test/inputs/collection_radio_buttons_input_test.rb" "test/inputs/collection_select_input_test.rb" "test/inputs/datetime_input_test.rb" "test/inputs/disabled_test.rb" "test/inputs/discovery_test.rb" "test/inputs/file_input_test.rb" "test/inputs/general_test.rb" "test/inputs/grouped_collection_select_input_test.rb" "test/inputs/hidden_input_test.rb" "test/inputs/numeric_input_test.rb" "test/inputs/priority_input_test.rb" "test/inputs/readonly_test.rb" "test/inputs/required_test.rb" "test/inputs/string_input_test.rb" "test/inputs/text_input_test.rb" "test/simple_form_test.rb" -v]

Tasks: TOP => default
(See full trace by running task with --trace)
ERROR: Test "ruby2.5" failed. Exiting.
dh_auto_install: dh_ruby --install /<<PKGBUILDDIR>>/debian/ruby-simple-form returned exit code 1
make: *** [debian/rules:6: binary-indep] Error 1
dpkg-buildpackage: error: fakeroot debian/rules binary-indep subprocess returned exit status 2
--------------------------------------------------------------------------------

The build was made with "dpkg-buildpackage -A" in my autobuilder.
Most probably, it also fails here in reproducible builds:

https://tests.reproducible-builds.org/debian/rb-pkg/unstable/amd64/ruby-simple-form.html

where you can get a full build log if you need it.

If this is really a bug in one of the build-depends, please use reassign and affects,
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