[DRE-maint] Bug#674379: ruby-graffiti: FTBFS: test failed

Lucas Nussbaum lucas at lucas-nussbaum.net
Thu May 24 09:57:36 UTC 2012


Source: ruby-graffiti
Version: 2.1-1
Severity: serious
Tags: wheezy sid
User: debian-qa at lists.debian.org
Usertags: qa-ftbfs-20120524 qa-ftbfs
Justification: FTBFS on amd64

Hi,

During a rebuild of all packages in sid, your package failed to build on
amd64.

Relevant part:
>  fakeroot debian/rules binary
> dh binary --buildsystem=ruby --with ruby
>    dh_testroot -O--buildsystem=ruby
>    dh_prep -O--buildsystem=ruby
>    dh_installdirs -O--buildsystem=ruby
>    dh_auto_install -O--buildsystem=ruby
>   Entering dh_ruby --install
> install -d /«PKGBUILDDIR»/debian/ruby-graffiti/usr/lib/ruby/vendor_ruby
> install -D -m644 lib/graffiti/store.rb /«PKGBUILDDIR»/debian/ruby-graffiti/usr/lib/ruby/vendor_ruby/graffiti/store.rb
> install -D -m644 lib/graffiti/squish.rb /«PKGBUILDDIR»/debian/ruby-graffiti/usr/lib/ruby/vendor_ruby/graffiti/squish.rb
> install -D -m644 lib/graffiti/sql_mapper.rb /«PKGBUILDDIR»/debian/ruby-graffiti/usr/lib/ruby/vendor_ruby/graffiti/sql_mapper.rb
> install -D -m644 lib/graffiti/rdf_property_map.rb /«PKGBUILDDIR»/debian/ruby-graffiti/usr/lib/ruby/vendor_ruby/graffiti/rdf_property_map.rb
> install -D -m644 lib/graffiti/rdf_config.rb /«PKGBUILDDIR»/debian/ruby-graffiti/usr/lib/ruby/vendor_ruby/graffiti/rdf_config.rb
> install -D -m644 lib/graffiti/exceptions.rb /«PKGBUILDDIR»/debian/ruby-graffiti/usr/lib/ruby/vendor_ruby/graffiti/exceptions.rb
> install -D -m644 lib/graffiti/debug.rb /«PKGBUILDDIR»/debian/ruby-graffiti/usr/lib/ruby/vendor_ruby/graffiti/debug.rb
> install -D -m644 lib/graffiti.rb /«PKGBUILDDIR»/debian/ruby-graffiti/usr/lib/ruby/vendor_ruby/graffiti.rb
> /usr/bin/ruby1.8 -I/usr/lib/ruby/vendor_ruby /usr/lib/ruby/vendor_ruby/gem2deb/test_runner.rb
> Loaded suite -e
> Started
> F....FF.F.
> Finished in 0.225836 seconds.
> 
>   1) Failure:
> test_dangling_blank_node(TC_Storage)
>     [./test/ts_graffiti.rb:385:in `test_squish_select'
>      ./test/ts_graffiti.rb:153:in `test_dangling_blank_node']:
> Query doesn't match. Expected:
> SELECT DISTINCT a.id AS msg
> FROM resource AS a
> INNER JOIN resource AS b ON (a.part_of_subproperty = b.id) AND (b.uriref = 't' AND b.label = 'http://www.nongnu.org/samizdat/rdf/schema#inReplyTo')
> WHERE (a.id IS NOT NULL)
> Received:
> SELECT DISTINCT a.id AS msg
> FROM resource AS b
> INNER JOIN resource AS a ON (a.part_of_subproperty = b.id)
> WHERE (a.id IS NOT NULL)
> AND ((b.uriref = 't' AND b.label = 'http://www.nongnu.org/samizdat/rdf/schema#inReplyTo')).
> <219> expected but was
> <221>.
> 
>   2) Failure:
> test_many_to_many(TC_Storage)
>     [./test/ts_graffiti.rb:385:in `test_squish_select'
>      ./test/ts_graffiti.rb:332:in `test_many_to_many']:
> Query doesn't match. Expected:
> SELECT DISTINCT a.id AS p, c.published_date AS date
> FROM vote AS a
> INNER JOIN vote AS b ON (a.id = b.id) AND (b.rating < 0)
> INNER JOIN resource AS c ON (a.id = c.id)
> WHERE (c.published_date IS NOT NULL)
> AND (a.rating IS NOT NULL)
> AND (b.rating IS NOT NULL)
> AND ((a.rating > 0))
> ORDER BY c.published_date DESC
> Received:
> SELECT DISTINCT a.id AS p, c.published_date AS date
> FROM resource AS c
> INNER JOIN vote AS a ON (a.id = c.id) AND (a.rating > 0)
> INNER JOIN vote AS b ON (a.id = b.id) AND (b.rating < 0)
> WHERE (b.rating IS NOT NULL)
> AND (a.rating IS NOT NULL)
> AND (c.published_date IS NOT NULL)
> ORDER BY c.published_date DESC.
> <308> expected but was
> <306>.
> 
>   3) Failure:
> test_optional(TC_Storage)
>     [./test/ts_graffiti.rb:385:in `test_squish_select'
>      ./test/ts_graffiti.rb:259:in `test_optional']:
> Query doesn't match. Expected:
> SELECT DISTINCT a.published_date AS date, b.creator AS creator, b.language AS lang, select_subproperty(a.part_of, d.id) AS parent, select_subproperty(a.part_of, c.id) AS version_of, b.hidden AS hidden, b.open AS open
> FROM resource AS a
> INNER JOIN message AS b ON (a.id = b.id)
> LEFT JOIN resource AS c ON (a.part_of_subproperty = c.id) AND (c.uriref = 't' AND c.label = 'http://purl.org/dc/terms/isVersionOf')
> LEFT JOIN resource AS d ON (a.part_of_subproperty = d.id) AND (d.uriref = 't' AND d.label = 'http://www.nongnu.org/samizdat/rdf/schema#inReplyTo')
> WHERE (a.published_date IS NOT NULL)
> AND ((a.id = 1))
> Received:
> SELECT DISTINCT a.published_date AS date, b.creator AS creator, b.language AS lang, select_subproperty(a.part_of, c.id) AS parent, select_subproperty(a.part_of, d.id) AS version_of, b.hidden AS hidden, b.open AS open
> FROM message AS b
> INNER JOIN resource AS a ON (a.id = b.id) AND (a.id = 1)
> LEFT JOIN resource AS d ON (a.part_of_subproperty = d.id) AND (d.uriref = 't' AND d.label = 'http://purl.org/dc/terms/isVersionOf')
> LEFT JOIN resource AS c ON (a.part_of_subproperty = c.id) AND (c.uriref = 't' AND c.label = 'http://www.nongnu.org/samizdat/rdf/schema#inReplyTo')
> WHERE (a.published_date IS NOT NULL).
> <609> expected but was
> <607>.
> 
>   4) Failure:
> test_query_select(TC_Storage)
>     [./test/ts_graffiti.rb:385:in `test_squish_select'
>      ./test/ts_graffiti.rb:63:in `test_query_select']:
> Query doesn't match. Expected:
> SELECT DISTINCT c.id AS msg, c.title AS title, b.full_name AS name, d.published_date AS date, a.rating AS rating
> FROM statement AS a
> INNER JOIN message AS c ON (c.id = a.subject)
> INNER JOIN member AS b ON (c.creator = b.id)
> INNER JOIN resource AS d ON (c.id = d.id)
> INNER JOIN resource AS e ON (a.object = e.id) AND (e.uriref = 't' AND e.label = 'http://www.nongnu.org/samizdat/rdf/schema#Quality')
> INNER JOIN resource AS f ON (a.predicate = f.id) AND (f.uriref = 't' AND f.label = 'http://purl.org/dc/elements/1.1/relation')
> WHERE (a.id IS NOT NULL)
> AND (d.published_date IS NOT NULL)
> AND (b.full_name IS NOT NULL)
> AND (c.title IS NOT NULL)
> AND (a.rating >= -1)
> ORDER BY a.rating DESC
> Received:
> SELECT DISTINCT c.id AS msg, c.title AS title, a.full_name AS name, d.published_date AS date, b.rating AS rating
> FROM resource AS f
> INNER JOIN statement AS b ON (b.predicate = f.id)
> INNER JOIN resource AS e ON (b.object = e.id) AND (e.uriref = 't' AND e.label = 'http://www.nongnu.org/samizdat/rdf/schema#Quality')
> INNER JOIN message AS c ON (c.id = b.subject)
> INNER JOIN member AS a ON (c.creator = a.id)
> INNER JOIN resource AS d ON (c.id = d.id)
> WHERE (a.full_name IS NOT NULL)
> AND (d.published_date IS NOT NULL)
> AND (b.id IS NOT NULL)
> AND (c.title IS NOT NULL)
> AND ((f.uriref = 't' AND f.label = 'http://purl.org/dc/elements/1.1/relation'))
> AND (b.rating >= -1)
> ORDER BY b.rating DESC.
> <685> expected but was
> <687>.
> 
> 10 tests, 47 assertions, 4 failures, 0 errors
> ERROR: Test "ruby1.8" failed. Exiting.
> dh_auto_install: dh_ruby --install /«PKGBUILDDIR»/debian/ruby-graffiti returned exit code 1
> make: *** [binary] Error 1

The full build log is available from:
   http://people.debian.org/~lucas/logs/2012/05/24/ruby-graffiti_2.1-1_unstable.log

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!

About the archive rebuild: The rebuild was done on about 50 AMD64 nodes
of the Grid'5000 platform, using a clean chroot.  Internet was not
accessible from the build systems.





More information about the Pkg-ruby-extras-maintainers mailing list