FooBarWidget/mizuho

Test failure with mizuho 0.9.19

graaff opened this issue · 4 comments

I'm trying to package this for Gentoo Linux since this is a new dependency for passenger 4.x, and I'm seeing the following test failure. Indeed, no parser.rb file is to be found. Are the test outdated, or am I missing something in the build process?

/usr/bin/ruby19 -S spec -f s -c test/*_spec.rb
/usr/lib64/ruby/gems/1.9.1/gems/rspec-1.3.2/lib/spec/runner/options.rb:188: Use RbConfig instead of obsolete and deprecated Config.
/usr/lib64/ruby/site_ruby/1.9.1/rubygems/core_ext/kernel_require.rb:45:in `require': cannot load such file -- mizuho/parser (LoadError)
    from /usr/lib64/ruby/site_ruby/1.9.1/rubygems/core_ext/kernel_require.rb:45:in `require'
    from test/generator_spec.rb:2:in `<top (required)>'
    from /usr/lib64/ruby/gems/1.9.1/gems/rspec-1.3.2/lib/spec/runner/example_group_runner.rb:15:in `load'
    from /usr/lib64/ruby/gems/1.9.1/gems/rspec-1.3.2/lib/spec/runner/example_group_runner.rb:15:in `block in load_files'
    from /usr/lib64/ruby/gems/1.9.1/gems/rspec-1.3.2/lib/spec/runner/example_group_runner.rb:14:in `each'
    from /usr/lib64/ruby/gems/1.9.1/gems/rspec-1.3.2/lib/spec/runner/example_group_runner.rb:14:in `load_files'
    from /usr/lib64/ruby/gems/1.9.1/gems/rspec-1.3.2/lib/spec/runner/options.rb:134:in `run_examples'
    from /usr/lib64/ruby/gems/1.9.1/gems/rspec-1.3.2/lib/spec/runner/command_line.rb:9:in `run'
    from /usr/lib64/ruby/gems/1.9.1/gems/rspec-1.3.2/bin/spec:5:in `<top (required)>'
    from /usr/bin/spec:8:in `load'
    from /usr/bin/spec:8:in `<main>'

The tests aren't complete, so it's normal that they fail. Don't worry about that.

As for Gentoo packaging: we also publish tarballs that already have the documentation HTML precompiled, and so don't need mizuho. The Debian packages are built from the tarballs. Would that help you?

Thanks for the feedback. We were using the tagged tarball from github up to now, but it's easy to switch to the released tarball instead. Note that the fakeroot task still tries to rebuild documentation, so I had to remove that dependency for now.

That's a problem with timestamps. In the Debian build scripts we touch
doc/*.html to prevent the build system from trying to rebuild the
documentation.

On Sun, Jul 21, 2013 at 9:59 AM, Hans de Graaff notifications@github.comwrote:

Thanks for the feedback. We were using the tagged tarball from github up
to now, but it's easy to switch to the released tarball instead. Note that
the fakeroot task still tries to rebuild documentation, so I had to remove
that dependency for now.


Reply to this email directly or view it on GitHubhttps://github.com//issues/5#issuecomment-21306587
.