[DRE-maint] Bug#676210: ruby-libxml: FTBFS: tests failed

Lucas Nussbaum lucas at lucas-nussbaum.net
Tue Jun 5 11:57:22 UTC 2012


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

Hi,

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

Relevant part:
> make[1]: Entering directory `/«PKGBUILDDIR»/ext/libxml'
> /usr/bin/install -c -m 0755 libxml_ruby.so /«PKGBUILDDIR»/debian/ruby-libxml/usr/lib/ruby/vendor_ruby/1.9.1/x86_64-linux
> installing default libxml_ruby libraries
> make[1]: Leaving directory `/«PKGBUILDDIR»/ext/libxml'
> /usr/bin/ruby1.8 -I/usr/lib/ruby/vendor_ruby /usr/lib/ruby/vendor_ruby/gem2deb/test_runner.rb
> Loaded suite debian/ruby-tests
> Started
> Node#properties is deprecated.  Use Node#[] instead.
> Warning: failed to load external entity "i_dont_exist.xml".
> ...............................................................................DOCUMENT
> version=1.0
> encoding=utf-8
> URL=./model/bands.utf-8.xml
> standalone=true
>   ELEMENT bands
>     ATTRIBUTE genre
>       TEXT
>         content=metal
>     ELEMENT m#C3#B6tley_cr#C3#BCe
>       ATTRIBUTE country
>         TEXT interned
>           content=us
>       TEXT
>         content=M#C3#B6tley Cr#C3#BCe is an American heavy metal...
>     ELEMENT iron_maiden
>       ATTRIBUTE country
>         TEXT interned
>           content=uk
>       TEXT
>         content=Iron Maiden is a British heavy metal ban...
> Parser.register_error_handler is deprecated.  Use Error.set_handler instead
> ./tc_error.rb:138: warning: Passing no parameters to XML::Parser.new is deprecated.  Pass an instance of XML::Parser::Context instead.
> XML::Parser#string is deprecated.  Use XML::Parser.string instead
> XML::Parser#string is deprecated.  Use XML::Parser.string instead
> ./tc_error.rb:83: warning: already initialized constant STDERR
> ./tc_error.rb:89: warning: already initialized constant STDERR
> ./tc_error.rb:67: warning: already initialized constant STDERR
> ./tc_error.rb:73: warning: already initialized constant STDERR
> Error: Invalid predicate.
> xmlXPathEval: evaluation failed
> ....................................................................................333333
> .    ELEMENT bands
>       ATTRIBUTE genre
>         TEXT
>           content=metal
>       ELEMENT m#C3#B6tley_cr#C3#BCe
>         ATTRIBUTE country
>           TEXT
>             content=us
>         TEXT
>           content=M#C3#B6tley Cr#C3#BCe is an American heavy metal...
>       ELEMENT iron_maiden
>         ATTRIBUTE country
>           TEXT
>             content=uk
>         TEXT
>           content=Iron Maiden is a British heavy metal ban...
> ./tc_parser.rb:315: warning: Passing no parameters to XML::Parser.new is deprecated.  Pass an instance of XML::Parser::Context instead.
> XML::Parser#document= is deprecated.  Use XML::Parser.document= instead
> ./tc_parser.rb:326: warning: Passing no parameters to XML::Parser.new is deprecated.  Pass an instance of XML::Parser::Context instead.
> XML::Parser#file is deprecated.  Use XML::Parser.file instead
> ./tc_parser.rb:335: warning: Passing no parameters to XML::Parser.new is deprecated.  Pass an instance of XML::Parser::Context instead.
> XML::Parser#io is deprecated.  Use XML::Parser.io instead
> ./tc_parser.rb:348: warning: Passing no parameters to XML::Parser.new is deprecated.  Pass an instance of XML::Parser::Context instead.
> XML::Parser#string is deprecated.  Use XML::Parser.string instead
> set_error_handler is deprecated.  Use Error.set_handler instead
> set_error_handler is deprecated.  Use Error.set_handler instead
> reset_error_handler is deprecated.  Use Error.reset_handler instead
> Error: Invalid expression.
> xmlXPathEval: evaluation failed
> Error: Invalid expression.
> xmlXPathEval: evaluation failed
> Error: Undefined namespace prefix.
> xmlXPathEval: evaluation failed
> Error: Undefined namespace prefix.
> xmlXPathEval: evaluation failed
> ................................................................F........................................................................................
> Finished in 4.290334 seconds.
> 
>   1) Failure:
> test_invalid_encoding(TestReader) [./tc_reader.rb:331]:
> <LibXML::XML::Error> exception expected but none was thrown.
> 
> 317 tests, 1302 assertions, 1 failures, 0 errors
> ERROR: Test "ruby1.8" failed. Exiting.
> dh_auto_install: dh_ruby --install /«PKGBUILDDIR»/debian/tmp returned exit code 1
> make: *** [binary] Error 1

The full build log is available from:
   http://people.debian.org/~lucas/logs/2012/06/05/ruby-libxml_2.3.2-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 EC2 VM instances from
Amazon Web Services, using a clean, minimal and up-to-date chroot. Every
failed build was retried once to eliminate random failures.





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