[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Bug#963885: Acknowledgement (RFP: gollum -- simple, Git-powered wiki with a sweet API and local frontend)



On 2020-06-28 11:35:01, Antoine Beaupré wrote:
> It seems this would require 4 more gems to be packaged:
>
> ruby-kramdown-parser-gfm

This depends on ruby-kramdown 2.0 which is not available in Debian:

https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=960622

.. but otherwise makes gem2deb generally happy.

> ruby-octicons

This has no dependencies and seems to package fine with gem2deb.

> ruby-sprockets-helpers

This depends on ruby-sprockets, which is correctly packaged in Debian.

> ruby-therubyrhino

This one is weird. gem2deb finds it correctly, but then creates a
package that Depends on "ruby-therubyrhino-jar" which I can't quite
figure out:

dpkg-checkbuilddeps: erreur: Unmet build dependencies: ruby-therubyrhino-jar (<< 1.7.9) ruby-therubyrhino-jar (>= 1.7.4)

That seems to be actually the therubyrhino_jar gem *but* not the latest
(1.7.9). gem2deb doesn't support asking for specific versions, so I had
to download it by hand:

    gem fetch --version "< 1.7.9" "therubyrhino_jar"

and build *that*:

    gem2deb therubyrhino_jar-1.7.8.gem

... but then i fail to build therubyrhino:

    ┌──────────────────────────────────────────────────────────────────────────────┐
    │ Run tests for ruby2.5 from debian/ruby-tests.rake                            │
    └──────────────────────────────────────────────────────────────────────────────┘
    
    RUBYLIB=/home/anarcat/dist/ruby-therubyrhino-2.1.2/debian/ruby-therubyrhino/usr/lib/ruby/vendor_ruby:. GEM_PATH=debian/ruby-therubyrhino/usr/share/rubygems-integration/all:/home/anarcat/.gem/ruby/2.5.0:/var/lib/gems/2.5.0:/usr/lib/x86_64-linux-gnu/rubygems-integration/2.5.0:/usr/share/rubygems-integration/2.5.0:/usr/share/rubygems-integration/all ruby2.5 -S rake -f debian/ruby-tests.rake
    /usr/bin/ruby2.5 /usr/bin/rspec --pattern ./spec/\*\*/\*_spec.rb --format documentation
    
    An error occurred while loading ./spec/rhino/access_spec.rb.
    Failure/Error: require 'java'
    
    LoadError:
      cannot load such file -- java
    # ./lib/rhino.rb:1:in `<top (required)>'
    # ./spec/spec_helper.rb:1:in `<top (required)>'
    # ./spec/rhino/access_spec.rb:1:in `<top (required)>'
    
    An error occurred while loading ./spec/rhino/context_spec.rb.
    Failure/Error: require 'java'
    
    LoadError:
      cannot load such file -- java
    # ./lib/rhino.rb:1:in `<top (required)>'
    # ./spec/spec_helper.rb:1:in `<top (required)>'
    # ./spec/rhino/context_spec.rb:1:in `<top (required)>'
    
    An error occurred while loading ./spec/rhino/deprecations_spec.rb.
    Failure/Error: require 'java'
    
    LoadError:
      cannot load such file -- java
    # ./lib/rhino.rb:1:in `<top (required)>'
    # ./spec/spec_helper.rb:1:in `<top (required)>'
    # ./spec/rhino/deprecations_spec.rb:1:in `<top (required)>'
    
    An error occurred while loading ./spec/rhino/error_spec.rb.
    Failure/Error: require 'java'
    
    LoadError:
      cannot load such file -- java
    # ./lib/rhino.rb:1:in `<top (required)>'
    # ./spec/spec_helper.rb:1:in `<top (required)>'
    # ./spec/rhino/error_spec.rb:1:in `<top (required)>'
    
    An error occurred while loading ./spec/rhino/integration_spec.rb.
    Failure/Error: require 'bundler/setup'
    
    LoadError:
      cannot load such file -- bundler/setup
    # ./spec/rhino/integration_spec.rb:1:in `<top (required)>'
    
    An error occurred while loading ./spec/rhino/redjs_spec.rb.
    Failure/Error: require 'java'
    
    LoadError:
      cannot load such file -- java
    # ./lib/rhino.rb:1:in `<top (required)>'
    # ./spec/spec_helper.rb:1:in `<top (required)>'
    # ./spec/rhino/redjs_spec.rb:1:in `<top (required)>'
    
    An error occurred while loading ./spec/rhino/rhino_ext_spec.rb.
    Failure/Error: require 'java'
    
    LoadError:
      cannot load such file -- java
    # ./lib/rhino.rb:1:in `<top (required)>'
    # ./spec/spec_helper.rb:1:in `<top (required)>'
    # ./spec/rhino/rhino_ext_spec.rb:1:in `<top (required)>'
    
    An error occurred while loading ./spec/rhino/ruby_spec.rb.
    Failure/Error: require 'java'
    
    LoadError:
      cannot load such file -- java
    # ./lib/rhino.rb:1:in `<top (required)>'
    # ./spec/spec_helper.rb:1:in `<top (required)>'
    # ./spec/rhino/ruby_spec.rb:1:in `<top (required)>'
    
    An error occurred while loading ./spec/rhino/wormhole_spec.rb.
    Failure/Error: require 'java'
    
    LoadError:
      cannot load such file -- java
    # ./lib/rhino.rb:1:in `<top (required)>'
    # ./spec/spec_helper.rb:1:in `<top (required)>'
    # ./spec/rhino/wormhole_spec.rb:1:in `<top (required)>'
    No examples found.
    
    Finished in 0.00021 seconds (files took 0.17818 seconds to load)
    0 examples, 0 failures, 9 errors occurred outside of examples
    
    /usr/bin/ruby2.5 /usr/bin/rspec --pattern ./spec/\*\*/\*_spec.rb --format documentation failed
    ERROR: Test "ruby2.5" failed. Exiting.
    dh_auto_install: dh_ruby --install /home/anarcat/dist/ruby-therubyrhino-2.1.2/debian/ruby-therubyrhino returned exit code 1
    make: *** [debian/rules:6: binary] Error 1
    dpkg-buildpackage: erreur: debian/rules binary subprocess returned exit status 2

It seems this is going to be a tough nut to crack!

I give up - maybe someone from the ruby team can battle that one
instead? :)

a.

-- 
We must shift America from a needs- to a desires-culture. People must
be trained to desire, to want new things, even before the old have
been entirely consumed. Man's desires must overshadow his needs.
                         - Paul Mazur, Lehman Brothers

Reply to: