[DRE-maint] Bug#733441: ruby-gon: FTBFS: ERROR: Test "ruby1.9.1" failed.

David Suárez david.sephirot at gmail.com
Sat Dec 28 20:46:09 UTC 2013


Source: ruby-gon
Version: 4.1.0-1
Severity: serious
Tags: jessie sid
User: debian-qa at lists.debian.org
Usertags: qa-ftbfs-20131226 qa-ftbfs
Justification: FTBFS on amd64

Hi,

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

Relevant part (hopefully):
> /usr/bin/ruby1.9.1 -I/usr/lib/ruby/vendor_ruby /usr/lib/ruby/vendor_ruby/gem2deb/test_runner.rb
> /usr/bin/ruby1.9.1 -S rspec ./spec/gon/basic_spec.rb ./spec/gon/global_spec.rb ./spec/gon/jbuilder_spec.rb ./spec/gon/rabl_with_rabl_rails_spec.rb ./spec/gon/rabl_with_rabl_spec.rb ./spec/gon/templates_spec.rb ./spec/gon/watch_spec.rb
>       ** Notice: The native BSON extension was not loaded. **
> 
>       For optimal performance, use of the BSON extension is recommended.
> 
>       To enable the extension make sure ENV['BSON_EXT_DISABLED'] is not set
>       and run the following command:
> 
>         gem install bson_ext
> 
>       If you continue to receive this message after installing, make sure that
>       the bson_ext gem is in your load path.
> 
> [DEPRECATION] view_path argument is now optional. If you need to specify it, please use gon.rabl(:template => 'path')
> [DEPRECATION] view_path argument is now optional. If you need to specify it, please use gon.rabl(:template => 'path')
> [DEPRECATION] view_path argument is now optional. If you need to specify it, please use gon.rabl(:template => 'path')
> [DEPRECATION] view_path argument is now optional. If you need to specify it, please use gon.rabl(:template => 'path')
> /«PKGBUILDDIR»/debian/ruby-gon/usr/lib/ruby/vendor_ruby/gon.rb:66: warning: toplevel constant Jbuilder referenced by Gon::Jbuilder
> /usr/lib/ruby/vendor_ruby/jbuilder.rb:13: warning: already initialized constant JbuilderProxy
> /usr/lib/ruby/vendor_ruby/jbuilder.rb:70: warning: already initialized constant BLANK
> [DEPRECATION] view_path argument is now optional. If you need to specify it, please use gon.rabl(:template => 'path')
> [DEPRECATION] view_path argument is now optional. If you need to specify it, please use gon.rabl(:template => 'path')
> [DEPRECATION] view_path argument is now optional. If you need to specify it, please use gon.rabl(:template => 'path')
> [DEPRECATION] view_path argument is now optional. If you need to specify it, please use gon.rabl(:template => 'path')
> [DEPRECATION] view_path argument is now optional. If you need to specify it, please use gon.rabl(:template => 'path')
> /«PKGBUILDDIR»/debian/ruby-gon/usr/lib/ruby/vendor_ruby/gon.rb:60: warning: toplevel constant Rabl referenced by Gon::Rabl
> [DEPRECATION] view_path argument is now optional. If you need to specify it, please use gon.rabl(:template => 'path')
> .........................F.......*.......................
> 
> Pending:
>   Gon.jbuilder render jbuilder templates render json from jbuilder template with controller methods
>     # No reason given
>     # 
> 
> Failures:
> 
>   1) Gon::Global#include_gon outputs correct js with a unicode line separator
>      Failure/Error: Unable to find matching line from backtrace
>        expected: "<script type=\"text/javascript\">\n//<![CDATA[\nwindow.gon = {};gon.global={\"str\":\"&#x2028;\"};\n//]]>\n</script>"
>             got: "<script type=\"text/javascript\">\n//<![CDATA[\nwindow.gon = {};gon.global={\"str\":\"\\u2028\"};\n//]]>\n</script>" (using ==)
>        Diff:
>        @@ -1,6 +1,6 @@
>         <script type="text/javascript">
>         //<![CDATA[
>        -window.gon = {};gon.global={"str":"&#x2028;"};
>        +window.gon = {};gon.global={"str":"\u2028"};
>         //]]>
>         </script>
>      # ./spec/gon/global_spec.rb:98:in `block (3 levels) in <top (required)>'
> 
> Finished in 0.17447 seconds
> 57 examples, 1 failure, 1 pending
> 
> Failed examples:
> 
> rspec /usr/lib/ruby/vendor_ruby/rspec/core/metadata.rb:187 # Gon::Global#include_gon outputs correct js with a unicode line separator
> /usr/bin/ruby1.9.1 -S rspec ./spec/gon/basic_spec.rb ./spec/gon/global_spec.rb ./spec/gon/jbuilder_spec.rb ./spec/gon/rabl_with_rabl_rails_spec.rb ./spec/gon/rabl_with_rabl_spec.rb ./spec/gon/templates_spec.rb ./spec/gon/watch_spec.rb failed
> ERROR: Test "ruby1.9.1" failed.

The full build log is available from:
   http://aws-logs.debian.net/ftbfs-logs/2013/12/26/ruby-gon_4.1.0-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