[DRE-maint] Bug#1100308: ruby-haml: FTBFS: failing tests

Santiago Vila sanvila at debian.org
Wed Mar 12 16:34:03 GMT 2025


Package: src:ruby-haml
Version: 6.1.2-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
   debian/rules override_dh_auto_clean
make[1]: Entering directory '/<<PKGBUILDDIR>>'
dh_auto_clean
	dh_ruby --clean
rm -rf .yardoc yardoc
rm -f test/rails
rm -rf log/
make[1]: Leaving directory '/<<PKGBUILDDIR>>'
   dh_autoreconf_clean -O--buildsystem=ruby
   dh_clean -O--buildsystem=ruby
 debian/rules binary
dh binary --buildsystem=ruby --with ruby

[... snipped ...]


105) Error:
HelperTest#test_form_tag:
NoMethodError: undefined method `<<' for an instance of ActionView::PathSet
    test/haml/helper_test.rb:38:in `setup'

106) Error:
HelperTest#test_capture_deals_properly_with_collections:
NoMethodError: undefined method `<<' for an instance of ActionView::PathSet
    test/haml/helper_test.rb:38:in `setup'

107) Error:
HelperTest#test_haml_tag_flags:
NoMethodError: undefined method `<<' for an instance of ActionView::PathSet
    test/haml/helper_test.rb:38:in `setup'

108) Error:
HelperTest#test_haml_tag_without_name_but_with_id:
NoMethodError: undefined method `<<' for an instance of ActionView::PathSet
    test/haml/helper_test.rb:38:in `setup'

109) Error:
HelperTest#test_haml_tag_without_name_but_with_class:
NoMethodError: undefined method `<<' for an instance of ActionView::PathSet
    test/haml/helper_test.rb:38:in `setup'

110) Error:
HelperTest#test_escape_once_leaves_numeric_references:
NoMethodError: undefined method `<<' for an instance of ActionView::PathSet
    test/haml/helper_test.rb:38:in `setup'

111) Error:
HelperTest#test_haml_tag_autoclosed_tags_are_closed_xhtml:
NoMethodError: undefined method `<<' for an instance of ActionView::PathSet
    test/haml/helper_test.rb:38:in `setup'

112) Error:
HelperTest#test_form_for_with_homemade_view_context:
NoMethodError: undefined method `<<' for an instance of ActionView::PathSet
    test/haml/helper_test.rb:38:in `setup'

113) Error:
HelperTest#test_find_and_preserve_with_block:
NoMethodError: undefined method `<<' for an instance of ActionView::PathSet
    test/haml/helper_test.rb:38:in `setup'

114) Error:
HelperTest#test_action_view_included:
NoMethodError: undefined method `<<' for an instance of ActionView::PathSet
    test/haml/helper_test.rb:38:in `setup'

115) Error:
HelperTest#test_find_and_preserve_with_block_and_tags:
NoMethodError: undefined method `<<' for an instance of ActionView::PathSet
    test/haml/helper_test.rb:38:in `setup'

116) Error:
HelperTest#test_is_haml:
NoMethodError: undefined method `<<' for an instance of ActionView::PathSet
    test/haml/helper_test.rb:38:in `setup'

117) Error:
HelperTest#test_haml_tag_with_multiline_string:
NoMethodError: undefined method `<<' for an instance of ActionView::PathSet
    test/haml/helper_test.rb:38:in `setup'

118) Error:
HelperTest#test_capture_with_non_string_value_reurns_nil:
NoMethodError: undefined method `<<' for an instance of ActionView::PathSet
    test/haml/helper_test.rb:38:in `setup'

119) Error:
HelperTest#test_haml_tag_name_with_id_and_class:
NoMethodError: undefined method `<<' for an instance of ActionView::PathSet
    test/haml/helper_test.rb:38:in `setup'

120) Error:
HelperTest#test_tabs:
NoMethodError: undefined method `<<' for an instance of ActionView::PathSet
    test/haml/helper_test.rb:38:in `setup'

121) Error:
HelperTest#test_haml_tag_name_merges_id_and_attribute_id:
NoMethodError: undefined method `<<' for an instance of ActionView::PathSet
    test/haml/helper_test.rb:38:in `setup'

122) Error:
HelperTest#test_preserve_with_block:
NoMethodError: undefined method `<<' for an instance of ActionView::PathSet
    test/haml/helper_test.rb:38:in `setup'

123) Error:
HelperTest#test_error_return_line_in_helper:
NoMethodError: undefined method `<<' for an instance of ActionView::PathSet
    test/haml/helper_test.rb:38:in `setup'

124) Error:
HelperTest#test_content_tag_error_wrapping:
NoMethodError: undefined method `<<' for an instance of ActionView::PathSet
    test/haml/helper_test.rb:38:in `setup'

125) Error:
HelperTest#test_html_attrs_xhtml:
NoMethodError: undefined method `<<' for an instance of ActionView::PathSet
    test/haml/helper_test.rb:38:in `setup'

126) Error:
HelperTest#test_content_tag_nested:
NoMethodError: undefined method `<<' for an instance of ActionView::PathSet
    test/haml/helper_test.rb:38:in `setup'

127) Error:
HelperTest#test_error_return_line:
NoMethodError: undefined method `<<' for an instance of ActionView::PathSet
    test/haml/helper_test.rb:38:in `setup'

128) Error:
HelperTest#test_haml_tag_if_negative:
NoMethodError: undefined method `<<' for an instance of ActionView::PathSet
    test/haml/helper_test.rb:38:in `setup'

129) Error:
HelperTest#test_text_area:
NoMethodError: undefined method `<<' for an instance of ActionView::PathSet
    test/haml/helper_test.rb:38:in `setup'

130) Error:
HelperTest#test_with_tabs:
NoMethodError: undefined method `<<' for an instance of ActionView::PathSet
    test/haml/helper_test.rb:38:in `setup'

131) Error:
HelperTest#test_non_haml:
NoMethodError: undefined method `<<' for an instance of ActionView::PathSet
    test/haml/helper_test.rb:38:in `setup'

132) Error:
HelperTest#test_haml_tag_attribute_html_escaping:
NoMethodError: undefined method `<<' for an instance of ActionView::PathSet
    test/haml/helper_test.rb:38:in `setup'

133) Error:
HelperTest#test_capture_with_nuke_outer:
NoMethodError: undefined method `<<' for an instance of ActionView::PathSet
    test/haml/helper_test.rb:38:in `setup'

134) Error:
HelperTest#test_haml_tag_name_with_class_and_id:
NoMethodError: undefined method `<<' for an instance of ActionView::PathSet
    test/haml/helper_test.rb:38:in `setup'

135) Error:
HelperTest#test_capture_with_string_block:
NoMethodError: undefined method `<<' for an instance of ActionView::PathSet
    test/haml/helper_test.rb:38:in `setup'

136) Error:
HelperTest#test_html_attrs_html4_other_lang:
NoMethodError: undefined method `<<' for an instance of ActionView::PathSet
    test/haml/helper_test.rb:38:in `setup'

137) Error:
HelperTest#test_haml_tag_name_attribute_with_colon_id:
NoMethodError: undefined method `<<' for an instance of ActionView::PathSet
    test/haml/helper_test.rb:38:in `setup'

138) Error:
HelperTest#test_form_tag_in_helper_with_string_block:
NoMethodError: undefined method `<<' for an instance of ActionView::PathSet
    test/haml/helper_test.rb:38:in `setup'

139) Error:
HelperTest#test_text_area_tag:
NoMethodError: undefined method `<<' for an instance of ActionView::PathSet
    test/haml/helper_test.rb:38:in `setup'

140) Error:
HelperTest#test_haml_tag_error_return:
NoMethodError: undefined method `<<' for an instance of ActionView::PathSet
    test/haml/helper_test.rb:38:in `setup'

141) Error:
HelperTest#test_buffer_access:
NoMethodError: undefined method `<<' for an instance of ActionView::PathSet
    test/haml/helper_test.rb:38:in `setup'

142) Error:
HelperTest#test_html_escape_non_string:
NoMethodError: undefined method `<<' for an instance of ActionView::PathSet
    test/haml/helper_test.rb:38:in `setup'

143) Error:
HelperTest#test_haml_tag_without_name_but_with_colon_class:
NoMethodError: undefined method `<<' for an instance of ActionView::PathSet
    test/haml/helper_test.rb:38:in `setup'

144) Error:
HelperTest#test_haml_tag_with_ugly:
NoMethodError: undefined method `<<' for an instance of ActionView::PathSet
    test/haml/helper_test.rb:38:in `setup'

145) Error:
HelperTest#test_random_class_includes_tag_helper:
NoMethodError: undefined method `<<' for an instance of ActionView::PathSet
    test/haml/helper_test.rb:38:in `setup'

146) Error:
HelperTest#test_html_attrs_xhtml_other_lang:
NoMethodError: undefined method `<<' for an instance of ActionView::PathSet
    test/haml/helper_test.rb:38:in `setup'

147) Error:
HelperTest#test_haml_tag_with_id_array:
NoMethodError: undefined method `<<' for an instance of ActionView::PathSet
    test/haml/helper_test.rb:38:in `setup'

148) Error:
HelperTest#test_haml_tag_name_with_class:
NoMethodError: undefined method `<<' for an instance of ActionView::PathSet
    test/haml/helper_test.rb:38:in `setup'

149) Error:
HelperTest#test_with_raw_haml_concat:
NoMethodError: undefined method `<<' for an instance of ActionView::PathSet
    test/haml/helper_test.rb:38:in `setup'

150) Error:
HelperTest#test_html_attrs_html4:
NoMethodError: undefined method `<<' for an instance of ActionView::PathSet
    test/haml/helper_test.rb:38:in `setup'

151) Error:
HelperTest#test_haml_tag_renders_text_on_a_single_line:
NoMethodError: undefined method `<<' for an instance of ActionView::PathSet
    test/haml/helper_test.rb:38:in `setup'

152) Error:
HelperTest#test_haml_tag_with_class_array:
NoMethodError: undefined method `<<' for an instance of ActionView::PathSet
    test/haml/helper_test.rb:38:in `setup'

153) Error:
HelperTest#test_list_of_should_render_correctly:
NoMethodError: undefined method `<<' for an instance of ActionView::PathSet
    test/haml/helper_test.rb:38:in `setup'

154) Error:
HelperTest#test_haml_tag_non_autoclosed_tags_arent_closed:
NoMethodError: undefined method `<<' for an instance of ActionView::PathSet
    test/haml/helper_test.rb:38:in `setup'

155) Error:
HelperTest#test_haml_tag_with_data_hash:
NoMethodError: undefined method `<<' for an instance of ActionView::PathSet
    test/haml/helper_test.rb:38:in `setup'

156) Error:
HelperTest#test_haml_tag_raises_error_for_multiple_content:
NoMethodError: undefined method `<<' for an instance of ActionView::PathSet
    test/haml/helper_test.rb:38:in `setup'

157) Error:
HelperTest#test_haml_tag_if_positive_with_attributes:
NoMethodError: undefined method `<<' for an instance of ActionView::PathSet
    test/haml/helper_test.rb:38:in `setup'

158) Error:
HelperTest#test_rendering_with_escapes:
NoMethodError: undefined method `<<' for an instance of ActionView::PathSet
    test/haml/helper_test.rb:38:in `setup'

159) Error:
HelperTest#test_textareas_should_preserve_leading_whitespace:
NoMethodError: undefined method `<<' for an instance of ActionView::PathSet
    test/haml/helper_test.rb:38:in `setup'

160) Error:
HelperTest#test_page_class:
NoMethodError: undefined method `<<' for an instance of ActionView::PathSet
    test/haml/helper_test.rb:38:in `setup'

161) Error:
HelperTest#test_partials_should_not_cause_textareas_to_be_indented:
NoMethodError: undefined method `<<' for an instance of ActionView::PathSet
    test/haml/helper_test.rb:38:in `setup'

162) Error:
HelperTest#test_form_for:
NoMethodError: undefined method `<<' for an instance of ActionView::PathSet
    test/haml/helper_test.rb:38:in `setup'

163) Error:
HelperTest#test_textareas_should_preserve_leading_whitespace_in_partials:
NoMethodError: undefined method `<<' for an instance of ActionView::PathSet
    test/haml/helper_test.rb:38:in `setup'

164) Error:
HelperTest#test_haml_concat_with_multiline_string:
NoMethodError: undefined method `<<' for an instance of ActionView::PathSet
    test/haml/helper_test.rb:38:in `setup'

165) Error:
HelperTest#test_pre:
NoMethodError: undefined method `<<' for an instance of ActionView::PathSet
    test/haml/helper_test.rb:38:in `setup'

166) Error:
HelperTest#test_html_attrs_html5:
NoMethodError: undefined method `<<' for an instance of ActionView::PathSet
    test/haml/helper_test.rb:38:in `setup'

167) Error:
HelperTest#test_haml_tag_if_positive:
NoMethodError: undefined method `<<' for an instance of ActionView::PathSet
    test/haml/helper_test.rb:38:in `setup'

168) Error:
HelperTest#test_indented_capture:
NoMethodError: undefined method `<<' for an instance of ActionView::PathSet
    test/haml/helper_test.rb:38:in `setup'

169) Error:
HelperTest#test_error_return:
NoMethodError: undefined method `<<' for an instance of ActionView::PathSet
    test/haml/helper_test.rb:38:in `setup'

170) Error:
HelperTest#test_haml_tag_autoclosed_tags_are_closed_html:
NoMethodError: undefined method `<<' for an instance of ActionView::PathSet
    test/haml/helper_test.rb:38:in `setup'

171) Error:
HelperTest#test_html_attrs_html5_other_lang:
NoMethodError: undefined method `<<' for an instance of ActionView::PathSet
    test/haml/helper_test.rb:38:in `setup'

172) Error:
HelperTest#test_haml_tag_if_error_return:
NoMethodError: undefined method `<<' for an instance of ActionView::PathSet
    test/haml/helper_test.rb:38:in `setup'

173) Skipped:
UglyTest::Tagswithrubystyleattributes#test_Ruby_style_tag_multiple_CSS_classes_sorted_correctly_ [test/haml/haml-spec/ugly_test.rb:657]:
This test is probably not compatible with Haml 5. So the test is outdated.

174) Skipped:
UglyTest::Tagswithhtmlstyleattributes#test_html_style_tag_multiple_CSS_classes_sorted_correctly_ [test/haml/haml-spec/ugly_test.rb:526]:
This test is probably not compatible with Haml 5. So the test is outdated.

175) Skipped:
UglyTest::Tagswithhtmlstyleattributes#test_html_style_tag_with_an_atomic_attribute [test/haml/haml-spec/ugly_test.rb:536]:
[INCOMPATIBILITY] Haml limits boolean attributes

176) Skipped:
TemplateTest#test_xss_protection_with_concat [test/haml/template_test.rb:330]:
Skipped, no message given

177) Skipped:
TemplateTest#test_instance_variables_should_work_inside_attributes [test/haml/template_test.rb:175]:
Skipped, no message given

178) Skipped:
TemplateTest#test_exceptions_should_work_correctly [test/haml/template_test.rb:215]:
Skipped, no message given

179) Skipped:
TemplateTest#test_xss_protection_with_nested_haml_tag [test/haml/template_test.rb:344]:
Skipped, no message given

180) Skipped:
TemplateTest#test_xss_protection_with_safe_strings_in_interpolation [test/haml/template_test.rb:314]:
Skipped, no message given

181) Skipped:
TemplateTest#test_with_output_buffer_with_ugly [test/haml/template_test.rb:195]:
Skipped, no message given

182) Skipped:
TemplateTest#test_haml_options [test/haml/template_test.rb:190]:
Skipped, no message given

183) Skipped:
TemplateTest#test_xss_protection_with_bang_in_interpolation [test/haml/template_test.rb:310]:
Skipped, no message given

184) Skipped:
TemplateTest#test_xss_protection_with_bang [test/haml/template_test.rb:294]:
Skipped, no message given

185) Skipped:
TemplateTest#test_simple_rendering_with_ugly [test/haml/template_test.rb:141]:
Skipped, no message given

186) Skipped:
TemplateTest#test_templates_should_render_correctly_with_def_method [test/haml/template_test.rb:152]:
Skipped, no message given

187) Skipped:
TemplateTest#test_render_method_returning_null_with_ugly [test/haml/template_test.rb:124]:
Skipped, no message given

188) Skipped:
TemplateTest#test_templates_should_render_correctly_with_render_proc [test/haml/template_test.rb:145]:
Skipped, no message given

189) Skipped:
TemplateTest#test_xss_protection_in_attributes [test/haml/template_test.rb:302]:
Skipped, no message given

190) Skipped:
TemplateTest#test_xss_protection_with_safe_concat [test/haml/template_test.rb:338]:
Skipped, no message given

191) Skipped:
TemplateTest#test_cache [test/haml/template_test.rb:369]:
Skipped, no message given

192) Skipped:
TemplateTest#test_xss_protection_with_safe_strings [test/haml/template_test.rb:290]:
Skipped, no message given

193) Skipped:
TemplateTest#test_xss_protection_with_mixed_strings_in_interpolation [test/haml/template_test.rb:318]:
Skipped, no message given

194) Skipped:
TemplateTest#test_form_builder_label_with_block [test/haml/template_test.rb:270]:
Skipped, no message given

195) Skipped:
TemplateTest#test_xss_protection_in_interpolation [test/haml/template_test.rb:298]:
Skipped, no message given

196) Skipped:
TemplateTest#test_escape_html_option_set [test/haml/template_test.rb:282]:
Skipped, no message given

197) Skipped:
TemplateTest#test_xss_protection_in_attributes_with_safe_strings [test/haml/template_test.rb:306]:
Skipped, no message given

198) Skipped:
TemplateTest#test_xss_protection_with_concat_with_safe_string [test/haml/template_test.rb:334]:
Skipped, no message given

199) Skipped:
TemplateTest#test_rendered_string_is_html_safe [test/haml/template_test.rb:322]:
Skipped, no message given

200) Skipped:
TemplateTest#test_templates [test/haml/template_test.rb:120]:
Skipped, no message given

201) Skipped:
TemplateTest#test_xss_protection [test/haml/template_test.rb:286]:
Skipped, no message given

202) Skipped:
JavascriptFilterTest#test_ should include CDATA when cdata option is true [test/haml/filters_test.rb:174]:
Skipped, no message given

203) Skipped:
JavascriptFilterTest#test_ should never HTML-escape non-interpolated ampersands [test/haml/filters_test.rb:150]:
Skipped, no message given

204) Skipped:
JavascriptFilterTest#test_ should interpolate [test/haml/filters_test.rb:143]:
Skipped, no message given

1072 runs, 1082 assertions, 0 failures, 77 errors, 127 skips
rake aborted!
Command failed with status (1): [ruby -w -I"test" -rtest_helper /usr/share/rubygems-integration/all/gems/rake-13.2.1/lib/rake/rake_test_loader.rb "test/haml/attribute_parser_test.rb" "test/haml/cli_test.rb" "test/haml/dynamic_merger_test.rb" "test/haml/engine/attributes_test.rb" "test/haml/engine/comment_test.rb" "test/haml/engine/doctype_test.rb" "test/haml/engine/indent_test.rb" "test/haml/engine/multiline_test.rb" "test/haml/engine/new_attribute_test.rb" "test/haml/engine/old_attribute_test.rb" "test/haml/engine/script_test.rb" "test/haml/engine/silent_script_test.rb" "test/haml/engine/tag_test.rb" "test/haml/engine/text_test.rb" "test/haml/engine/whitespace_test.rb" "test/haml/engine_test.rb" "test/haml/error_test.rb" "test/haml/filters/cdata_test.rb" "test/haml/filters/css_test.rb" "test/haml/filters/erb_test.rb" "test/haml/filters/javascript_test.rb" "test/haml/filters/plain_test.rb" "test/haml/filters/ruby_test.rb" "test/haml/filters/sass_test.rb" "test/haml/filters/scss_test.rb" "test/haml/filters_test.rb" "test/haml/haml-spec/ugly_test.rb" "test/haml/helper_test.rb" "test/haml/helpers_test.rb" "test/haml/line_number_test.rb" "test/haml/optimization_test.rb" "test/haml/rails_template_test.rb" "test/haml/ruby_expression_test.rb" "test/haml/string_splitter_test.rb" "test/haml/template_test.rb" "test/haml/tilt_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)
ERROR: Test "ruby3.3" failed. Exiting.
dh_auto_install: error: dh_ruby --install /<<PKGBUILDDIR>>/debian/ruby-haml returned exit code 1
make[1]: *** [debian/rules:15: override_dh_auto_install] Error 25
make[1]: Leaving directory '/<<PKGBUILDDIR>>'
make: *** [debian/rules:7: binary] Error 2
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/202503/

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