[DRE-maint] Bug#795714: ruby-xpath: FTBFS: `example` is not available from within an example
Chris Lamb
lamby at debian.org
Sun Aug 16 12:11:19 UTC 2015
Source: ruby-xpath
Version: 2.0.0-1
Severity: serious
Justification: fails to build from source
Dear Maintainer,
ruby-xpath fails to build from source on unstable/amd64:
[..]
168) XPath::HTML#definition_description casts to string
Failure/Error: type = example.metadata[:type]
`example` is not available from within an example (e.g. an
`it` block) or from constructs that run in the scope of an
example (e.g. `before`, `let`, etc). It is only available on
an example group (e.g. a `describe` or `context` block).
# ./spec/html_spec.rb:14:in `all'
# ./spec/html_spec.rb:10:in `get'
# ./spec/html_spec.rb:306:in `block (3 levels) in <top
(required)>'
Deprecation Warnings:
Using `should` from rspec-expectations' old `:should` syntax without
explicitly enabling the syntax is deprecated. Use the new `:expect`
syntax or explicitly enable `:should` with `config.expect_with(:rspec)
{ |c| c.syntax = :should }` instead. Called from
/tmp/buildd/ruby-xpath-2.0.0/spec/union_spec.rb:12:in `block (3
levels) in <top (required)>'.
If you need more of the backtrace for any of these deprecations to
identify where to make the necessary changes, you can configure
`config.raise_errors_for_deprecations!`, and it will turn the
deprecation warnings into errors, giving you the full backtrace.
1 deprecation warning total
Finished in 0.10556 seconds (files took 0.45045 seconds to load)
215 examples, 168 failures
Failed examples:
rspec ./spec/html_spec.rb:21 # XPath::HTML#link finds links by id
rspec ./spec/html_spec.rb:22 # XPath::HTML#link finds links by content
rspec ./spec/html_spec.rb:23 # XPath::HTML#link finds links by content
regardless of whitespace
rspec ./spec/html_spec.rb:24 # XPath::HTML#link finds links with child
tags by content
rspec ./spec/html_spec.rb:25 # XPath::HTML#link finds links by the
content of their child tags
rspec ./spec/html_spec.rb:26 # XPath::HTML#link finds links by
approximate content
rspec ./spec/html_spec.rb:27 # XPath::HTML#link finds links by title
rspec ./spec/html_spec.rb:28 # XPath::HTML#link finds links by
approximate title
rspec ./spec/html_spec.rb:29 # XPath::HTML#link finds links by image's
alt attribute
rspec ./spec/html_spec.rb:30 # XPath::HTML#link finds links by image's
approximate alt attribute
rspec ./spec/html_spec.rb:31 # XPath::HTML#link does not find links
without href attriutes
rspec ./spec/html_spec.rb:32 # XPath::HTML#link casts to string
rspec ./spec/html_spec.rb:35 # XPath::HTML#link with exact match finds
links by content
rspec ./spec/html_spec.rb:36 # XPath::HTML#link with exact match does
not find links by approximate content
rspec ./spec/html_spec.rb:37 # XPath::HTML#link with exact match finds
links by title
rspec ./spec/html_spec.rb:38 # XPath::HTML#link with exact match does
not find links by approximate title
rspec ./spec/html_spec.rb:39 # XPath::HTML#link with exact match finds
links by image's alt attribute
rspec ./spec/html_spec.rb:40 # XPath::HTML#link with exact match does
not find links by image's approximate alt attribute
rspec ./spec/html_spec.rb:137 # XPath::HTML#button casts to string
rspec ./spec/html_spec.rb:48 # XPath::HTML#button with submit type
finds buttons by id
rspec ./spec/html_spec.rb:49 # XPath::HTML#button with submit type
finds buttons by value
rspec ./spec/html_spec.rb:50 # XPath::HTML#button with submit type
finds buttons by approximate value
rspec ./spec/html_spec.rb:51 # XPath::HTML#button with submit type
finds buttons by title
rspec ./spec/html_spec.rb:52 # XPath::HTML#button with submit type
finds buttons by approximate title
rspec ./spec/html_spec.rb:55 # XPath::HTML#button with submit type
with exact match finds buttons by value
rspec ./spec/html_spec.rb:56 # XPath::HTML#button with submit type
with exact match does not find buttons by approximate value
rspec ./spec/html_spec.rb:57 # XPath::HTML#button with submit type
with exact match finds buttons by title
rspec ./spec/html_spec.rb:58 # XPath::HTML#button with submit type
with exact match does not find buttons by approximate title
rspec ./spec/html_spec.rb:63 # XPath::HTML#button with reset type
finds buttons by id
rspec ./spec/html_spec.rb:64 # XPath::HTML#button with reset type
finds buttons by value
rspec ./spec/html_spec.rb:65 # XPath::HTML#button with reset type
finds buttons by approximate value
rspec ./spec/html_spec.rb:66 # XPath::HTML#button with reset type
finds buttons by title
rspec ./spec/html_spec.rb:67 # XPath::HTML#button with reset type
finds buttons by approximate title
rspec ./spec/html_spec.rb:70 # XPath::HTML#button with reset type with
exact match finds buttons by value
rspec ./spec/html_spec.rb:71 # XPath::HTML#button with reset type with
exact match does not find buttons by approximate value
rspec ./spec/html_spec.rb:72 # XPath::HTML#button with reset type with
exact match finds buttons by title
rspec ./spec/html_spec.rb:73 # XPath::HTML#button with reset type with
exact match does not find buttons by approximate title
rspec ./spec/html_spec.rb:78 # XPath::HTML#button with button type
finds buttons by id
rspec ./spec/html_spec.rb:79 # XPath::HTML#button with button type
finds buttons by value
rspec ./spec/html_spec.rb:80 # XPath::HTML#button with button type
finds buttons by approximate value
rspec ./spec/html_spec.rb:81 # XPath::HTML#button with button type
finds buttons by title
rspec ./spec/html_spec.rb:82 # XPath::HTML#button with button type
finds buttons by approximate title
rspec ./spec/html_spec.rb:85 # XPath::HTML#button with button type
with exact match finds buttons by value
rspec ./spec/html_spec.rb:86 # XPath::HTML#button with button type
with exact match does not find buttons by approximate value
rspec ./spec/html_spec.rb:87 # XPath::HTML#button with button type
with exact match finds buttons by title
rspec ./spec/html_spec.rb:88 # XPath::HTML#button with button type
with exact match does not find buttons by approximate title
rspec ./spec/html_spec.rb:93 # XPath::HTML#button with image type
finds buttons by id
rspec ./spec/html_spec.rb:94 # XPath::HTML#button with image type
finds buttons by value
rspec ./spec/html_spec.rb:95 # XPath::HTML#button with image type
finds buttons by approximate value
rspec ./spec/html_spec.rb:96 # XPath::HTML#button with image type
finds buttons by alt attribute
rspec ./spec/html_spec.rb:97 # XPath::HTML#button with image type
finds buttons by approximate alt attribute
rspec ./spec/html_spec.rb:98 # XPath::HTML#button with image type
finds buttons by title
rspec ./spec/html_spec.rb:99 # XPath::HTML#button with image type
finds buttons by approximate title
rspec ./spec/html_spec.rb:102 # XPath::HTML#button with image type
with exact match finds buttons by value
rspec ./spec/html_spec.rb:103 # XPath::HTML#button with image type
with exact match does not find buttons by approximate value
rspec ./spec/html_spec.rb:104 # XPath::HTML#button with image type
with exact match finds buttons by alt attribute
rspec ./spec/html_spec.rb:105 # XPath::HTML#button with image type
with exact match does not find buttons by approximate alt attribute
rspec ./spec/html_spec.rb:106 # XPath::HTML#button with image type
with exact match finds buttons by title
rspec ./spec/html_spec.rb:107 # XPath::HTML#button with image type
with exact match does not find buttons by approximate title
rspec ./spec/html_spec.rb:112 # XPath::HTML#button with button tag
finds buttons by id
rspec ./spec/html_spec.rb:113 # XPath::HTML#button with button tag
finds buttons by value
rspec ./spec/html_spec.rb:114 # XPath::HTML#button with button tag
finds buttons by approximate value
rspec ./spec/html_spec.rb:115 # XPath::HTML#button with button tag
finds buttons by text
rspec ./spec/html_spec.rb:116 # XPath::HTML#button with button tag
finds buttons by text ignoring whitespace
rspec ./spec/html_spec.rb:117 # XPath::HTML#button with button tag
finds buttons by approximate text
rspec ./spec/html_spec.rb:118 # XPath::HTML#button with button tag
finds buttons with child tags by text
rspec ./spec/html_spec.rb:119 # XPath::HTML#button with button tag
finds buttons by text of their children
rspec ./spec/html_spec.rb:120 # XPath::HTML#button with button tag
finds buttons by title
rspec ./spec/html_spec.rb:121 # XPath::HTML#button with button tag
finds buttons by approximate title
rspec ./spec/html_spec.rb:124 # XPath::HTML#button with button tag
with exact match finds buttons by value
rspec ./spec/html_spec.rb:125 # XPath::HTML#button with button tag
with exact match does not find buttons by approximate value
rspec ./spec/html_spec.rb:126 # XPath::HTML#button with button tag
with exact match finds buttons by text
rspec ./spec/html_spec.rb:127 # XPath::HTML#button with button tag
with exact match does not find buttons by approximate text
rspec ./spec/html_spec.rb:128 # XPath::HTML#button with button tag
with exact match finds buttons by title
rspec ./spec/html_spec.rb:129 # XPath::HTML#button with button tag
with exact match does not find buttons by approximate title
rspec ./spec/html_spec.rb:134 # XPath::HTML#button with unkown type
does not find the button
rspec ./spec/html_spec.rb:143 # XPath::HTML#fieldset finds fieldsets
by id
rspec ./spec/html_spec.rb:144 # XPath::HTML#fieldset finds fieldsets
by legend
rspec ./spec/html_spec.rb:145 # XPath::HTML#fieldset finds fieldsets
by legend child tags
rspec ./spec/html_spec.rb:146 # XPath::HTML#fieldset accepts
approximate legends
rspec ./spec/html_spec.rb:147 # XPath::HTML#fieldset finds nested
fieldsets by legend
rspec ./spec/html_spec.rb:148 # XPath::HTML#fieldset casts to string
rspec ./spec/html_spec.rb:151 # XPath::HTML#fieldset with exact match
finds fieldsets by legend
rspec ./spec/html_spec.rb:152 # XPath::HTML#fieldset with exact match
does not find by approximate legends
rspec ./spec/html_spec.rb:216 # XPath::HTML#field casts to string
rspec ./spec/html_spec.rb:160 # XPath::HTML#field by id finds inputs
with no type
rspec ./spec/html_spec.rb:161 # XPath::HTML#field by id finds inputs
with text type
rspec ./spec/html_spec.rb:162 # XPath::HTML#field by id finds inputs
with password type
rspec ./spec/html_spec.rb:163 # XPath::HTML#field by id finds inputs
with custom type
rspec ./spec/html_spec.rb:164 # XPath::HTML#field by id finds
textareas
rspec ./spec/html_spec.rb:165 # XPath::HTML#field by id finds select
boxes
rspec ./spec/html_spec.rb:166 # XPath::HTML#field by id does not find
submit buttons
rspec ./spec/html_spec.rb:167 # XPath::HTML#field by id does not find
image buttons
rspec ./spec/html_spec.rb:168 # XPath::HTML#field by id does not find
hidden fields
rspec ./spec/html_spec.rb:172 # XPath::HTML#field by name finds inputs
with no type
rspec ./spec/html_spec.rb:173 # XPath::HTML#field by name finds inputs
with text type
rspec ./spec/html_spec.rb:174 # XPath::HTML#field by name finds inputs
with password type
rspec ./spec/html_spec.rb:175 # XPath::HTML#field by name finds inputs
with custom type
rspec ./spec/html_spec.rb:176 # XPath::HTML#field by name finds
textareas
rspec ./spec/html_spec.rb:177 # XPath::HTML#field by name finds select
boxes
rspec ./spec/html_spec.rb:178 # XPath::HTML#field by name does not
find submit buttons
rspec ./spec/html_spec.rb:179 # XPath::HTML#field by name does not
find image buttons
rspec ./spec/html_spec.rb:180 # XPath::HTML#field by name does not
find hidden fields
rspec ./spec/html_spec.rb:184 # XPath::HTML#field by placeholder finds
inputs with no type
rspec ./spec/html_spec.rb:185 # XPath::HTML#field by placeholder finds
inputs with text type
rspec ./spec/html_spec.rb:186 # XPath::HTML#field by placeholder finds
inputs with password type
rspec ./spec/html_spec.rb:187 # XPath::HTML#field by placeholder finds
inputs with custom type
rspec ./spec/html_spec.rb:188 # XPath::HTML#field by placeholder finds
textareas
rspec ./spec/html_spec.rb:189 # XPath::HTML#field by placeholder does
not find hidden fields
rspec ./spec/html_spec.rb:193 # XPath::HTML#field by referenced label
finds inputs with no type
rspec ./spec/html_spec.rb:194 # XPath::HTML#field by referenced label
finds inputs with text type
rspec ./spec/html_spec.rb:195 # XPath::HTML#field by referenced label
finds inputs with password type
rspec ./spec/html_spec.rb:196 # XPath::HTML#field by referenced label
finds inputs with custom type
rspec ./spec/html_spec.rb:197 # XPath::HTML#field by referenced label
finds textareas
rspec ./spec/html_spec.rb:198 # XPath::HTML#field by referenced label
finds select boxes
rspec ./spec/html_spec.rb:199 # XPath::HTML#field by referenced label
does not find submit buttons
rspec ./spec/html_spec.rb:200 # XPath::HTML#field by referenced label
does not find image buttons
rspec ./spec/html_spec.rb:201 # XPath::HTML#field by referenced label
does not find hidden fields
rspec ./spec/html_spec.rb:205 # XPath::HTML#field by parent label
finds inputs with no type
rspec ./spec/html_spec.rb:206 # XPath::HTML#field by parent label
finds inputs with text type
rspec ./spec/html_spec.rb:207 # XPath::HTML#field by parent label
finds inputs with password type
rspec ./spec/html_spec.rb:208 # XPath::HTML#field by parent label
finds inputs with custom type
rspec ./spec/html_spec.rb:209 # XPath::HTML#field by parent label
finds textareas
rspec ./spec/html_spec.rb:210 # XPath::HTML#field by parent label
finds select boxes
rspec ./spec/html_spec.rb:211 # XPath::HTML#field by parent label does
not find submit buttons
rspec ./spec/html_spec.rb:212 # XPath::HTML#field by parent label does
not find image buttons
rspec ./spec/html_spec.rb:213 # XPath::HTML#field by parent label does
not find hidden fields
rspec ./spec/html_spec.rb:222 # XPath::HTML#fillable_field by parent
label finds inputs with text type
rspec ./spec/html_spec.rb:223 # XPath::HTML#fillable_field by parent
label finds inputs where label has problem chars
rspec ./spec/html_spec.rb:230 # XPath::HTML#select finds selects by id
rspec ./spec/html_spec.rb:231 # XPath::HTML#select finds selects by
name
rspec ./spec/html_spec.rb:232 # XPath::HTML#select finds selects by
label
rspec ./spec/html_spec.rb:233 # XPath::HTML#select finds selects by
parent label
rspec ./spec/html_spec.rb:234 # XPath::HTML#select casts to string
rspec ./spec/html_spec.rb:239 # XPath::HTML#checkbox finds checkboxes
by id
rspec ./spec/html_spec.rb:240 # XPath::HTML#checkbox finds checkboxes
by name
rspec ./spec/html_spec.rb:241 # XPath::HTML#checkbox finds checkboxes
by label
rspec ./spec/html_spec.rb:242 # XPath::HTML#checkbox finds checkboxes
by parent label
rspec ./spec/html_spec.rb:243 # XPath::HTML#checkbox casts to string
rspec ./spec/html_spec.rb:248 # XPath::HTML#radio_button finds radio
buttons by id
rspec ./spec/html_spec.rb:249 # XPath::HTML#radio_button finds radio
buttons by name
rspec ./spec/html_spec.rb:250 # XPath::HTML#radio_button finds radio
buttons by label
rspec ./spec/html_spec.rb:251 # XPath::HTML#radio_button finds radio
buttons by parent label
rspec ./spec/html_spec.rb:252 # XPath::HTML#radio_button casts to
string
rspec ./spec/html_spec.rb:257 # XPath::HTML#file_field finds file
fields by id
rspec ./spec/html_spec.rb:258 # XPath::HTML#file_field finds file
fields by name
rspec ./spec/html_spec.rb:259 # XPath::HTML#file_field finds file
fields by label
rspec ./spec/html_spec.rb:260 # XPath::HTML#file_field finds file
fields by parent label
rspec ./spec/html_spec.rb:261 # XPath::HTML#file_field casts to string
rspec ./spec/html_spec.rb:266 # XPath::HTML#optgroup finds optgroups
by label
rspec ./spec/html_spec.rb:267 # XPath::HTML#optgroup finds optgroups
by approximate label
rspec ./spec/html_spec.rb:268 # XPath::HTML#optgroup casts to string
rspec ./spec/html_spec.rb:271 # XPath::HTML#optgroup with exact match
finds by label
rspec ./spec/html_spec.rb:272 # XPath::HTML#optgroup with exact match
does not find by approximate label
rspec ./spec/html_spec.rb:278 # XPath::HTML#option finds by text
rspec ./spec/html_spec.rb:279 # XPath::HTML#option finds by
approximate text
rspec ./spec/html_spec.rb:280 # XPath::HTML#option casts to string
rspec ./spec/html_spec.rb:283 # XPath::HTML#option with exact match
finds by text
rspec ./spec/html_spec.rb:284 # XPath::HTML#option with exact match
does not find by approximate text
rspec ./spec/html_spec.rb:290 # XPath::HTML#table finds by id
rspec ./spec/html_spec.rb:291 # XPath::HTML#table finds by caption
rspec ./spec/html_spec.rb:292 # XPath::HTML#table finds by approximate
caption
rspec ./spec/html_spec.rb:293 # XPath::HTML#table casts to string
rspec ./spec/html_spec.rb:296 # XPath::HTML#table with exact match
finds by caption
rspec ./spec/html_spec.rb:297 # XPath::HTML#table with exact match
does not find by approximate caption
rspec ./spec/html_spec.rb:304 # XPath::HTML#definition_description
find definition description by id
rspec ./spec/html_spec.rb:305 # XPath::HTML#definition_description
find definition description by term
rspec ./spec/html_spec.rb:306 # XPath::HTML#definition_description
casts to string
/usr/bin/ruby2.1 /usr/bin/rspec --pattern ./spec/\*\*/\*_spec.rb
failed
ERROR: Test "ruby2.1" failed. Exiting.
dh_auto_install: dh_ruby --install
/tmp/buildd/ruby-xpath-2.0.0/debian/ruby-xpath returned exit code 1
debian/rules:15: recipe for target 'binary' failed
make: *** [binary] Error 1
dpkg-buildpackage: error: fakeroot debian/rules binary gave error exit
status 2
[..]
The full build log is attached or can be viewed here:
https://reproducible.debian.net/logs/unstable/amd64/ruby-xpath_2.0.0-1.build1.log.gz
Regards,
--
,''`.
: :' : Chris Lamb
`. `'` lamby at debian.org / chris-lamb.co.uk
`-
-------------- next part --------------
An embedded and charset-unspecified text was scrubbed...
Name: ruby-xpath.2.0.0-1.unstable.amd64.log.txt
URL: <http://lists.alioth.debian.org/pipermail/pkg-ruby-extras-maintainers/attachments/20150816/dcca84ee/attachment-0001.txt>
More information about the Pkg-ruby-extras-maintainers
mailing list