Summary: | www-apps/jekyll-4.1.1: missing dependency dev-ruby/bundler ??? | ||
---|---|---|---|
Product: | Gentoo Linux | Reporter: | Antoine Lemoine <mail> |
Component: | Current packages | Assignee: | Aaron Bauman (RETIRED) <bman> |
Status: | RESOLVED FIXED | ||
Severity: | normal | CC: | bman, jstein, mail, mark+gentoobugs, mgorny |
Priority: | Normal | ||
Version: | unspecified | ||
Hardware: | All | ||
OS: | Linux | ||
Whiteboard: | |||
Package list: | Runtime testing required: | --- |
Description
Antoine Lemoine
2017-07-23 14:32:31 UTC
I have problems with a fresh gentoo system and www-apps/jekyll-3.6.0. It installs fine but after #jekyll new 1 I get Could not load Bundler. Bundle install skipped. New jekyll site installed in /home/satan/1. and cd 1 && jekyll serve I get /usr/lib64/ruby/site_ruby/2.2.0/rubygems/core_ext/kernel_require.rb:55:in `require': cannot load such file -- bundler (LoadError) from /usr/lib64/ruby/site_ruby/2.2.0/rubygems/core_ext/kernel_require.rb:55:in `require' from /usr/lib64/ruby/gems/2.2.0/gems/jekyll-3.6.0/lib/jekyll/plugin_manager.rb:48:in `require_from_bundler' from /usr/lib64/ruby/gems/2.2.0/gems/jekyll-3.6.0/exe/jekyll:11:in `<top (required)>' from /usr/bin/jekyll:9:in `load' from /usr/bin/jekyll:9:in `<main>' I ran into this exact issue with jekyll 3.8.5: $ jekyll new test Could not load Bundler. Bundle install skipped. New jekyll site installed in /home/tobias/tmp/test. So far so good, but in test/: $ jekyll serve Traceback (most recent call last): 5: from /usr/bin/jekyll:9:in `<main>' 4: from /usr/bin/jekyll:9:in `load' 3: from /usr/lib64/ruby/gems/2.5.0/gems/jekyll-3.8.5/exe/jekyll:11:in `<top (required)>' 2: from /usr/lib64/ruby/gems/2.5.0/gems/jekyll-3.8.5/lib/jekyll/plugin_manager.rb:48:in `require_from_bundler' 1: from /usr/lib64/ruby/site_ruby/2.5.0/rubygems/core_ext/kernel_require.rb:54:in `require' /usr/lib64/ruby/site_ruby/2.5.0/rubygems/core_ext/kernel_require.rb:54:in `require': cannot load such file -- bundler (LoadError) Even afterhaving dev-ruby/bundler-1.16.1 installed manually, there are still missing dependencies: $ jekyll serve Traceback (most recent call last): 15: from /usr/bin/jekyll:9:in `<main>' 14: from /usr/bin/jekyll:9:in `load' 13: from /usr/lib64/ruby/gems/2.5.0/gems/jekyll-3.8.5/exe/jekyll:11:in `<top (required)>' 12: from /usr/lib64/ruby/gems/2.5.0/gems/jekyll-3.8.5/lib/jekyll/plugin_manager.rb:50:in `require_from_bundler' 11: from /usr/lib64/ruby/gems/2.5.0/gems/bundler-1.16.1/lib/bundler.rb:107:in `setup' 10: from /usr/lib64/ruby/gems/2.5.0/gems/bundler-1.16.1/lib/bundler/runtime.rb:20:in `setup' 9: from /usr/lib64/ruby/gems/2.5.0/gems/bundler-1.16.1/lib/bundler/runtime.rb:108:in `block in definition_method' 8: from /usr/lib64/ruby/gems/2.5.0/gems/bundler-1.16.1/lib/bundler/definition.rb:226:in `requested_specs' 7: from /usr/lib64/ruby/gems/2.5.0/gems/bundler-1.16.1/lib/bundler/definition.rb:237:in `specs_for' 6: from /usr/lib64/ruby/gems/2.5.0/gems/bundler-1.16.1/lib/bundler/definition.rb:170:in `specs' 5: from /usr/lib64/ruby/gems/2.5.0/gems/bundler-1.16.1/lib/bundler/definition.rb:257:in `resolve' 4: from /usr/lib64/ruby/gems/2.5.0/gems/bundler-1.16.1/lib/bundler/resolver.rb:22:in `resolve' 3: from /usr/lib64/ruby/gems/2.5.0/gems/bundler-1.16.1/lib/bundler/resolver.rb:48:in `start' 2: from /usr/lib64/ruby/gems/2.5.0/gems/bundler-1.16.1/lib/bundler/resolver.rb:257:in `verify_gemfile_dependencies_are_found!' 1: from /usr/lib64/ruby/gems/2.5.0/gems/bundler-1.16.1/lib/bundler/resolver.rb:257:in `each' /usr/lib64/ruby/gems/2.5.0/gems/bundler-1.16.1/lib/bundler/resolver.rb:289:in `block in verify_gemfile_dependencies_are_found!': Could not find gem 'minima (~> 2.0)' in any of the gem sources listed in your Gemfile. (Bundler::GemNotFound) And here, I'm stuck, as there's no "dev-ruby/minima" ebuild. What's missing here?! PS: I think jekyll wants this here: https://rubygems.org/gems/minima/versions/0.1.0 – but we don't have an ebuild for it! ... and even after having that minima gem installed manually, the missing dependencies problem carries on: $ jekyll serve Configuration file: /home/tobias/tmp/test/_config.yml Source: /home/tobias/tmp/test Destination: /home/tobias/tmp/test/_site Incremental build: disabled. Enable with --incremental Generating... Jekyll Feed: Generating feed for posts done in 0.271 seconds. Dependency Error: Yikes! It looks like you don't have jekyll-watch or one of its dependencies installed. In order to use Jekyll as currently configured, you'll need to install this gem. The full error message from Ruby is: 'cannot load such file -- listen' If you run into trouble, you can find helpful resources at https://jekyllrb.com/help/! jekyll 3.8.5 | Error: jekyll-watch Is Jekyll just broken on Gentoo or is there anything that can be done to make it work? I'm also having that issue with minima, but in IRC they told me I shouldn't install gems, I should use rvm instead (which I tried and didn't work). Are there other things I could try? I cannot reproduce this 4.1.0. @Antoine, are you still having these issues with 4.1.0? I can confirm this problem with 4.1.1 However, installing bundler does *not* help, something else is wrong... huettel@farino ~/Gentoo/www $ jekyll serve Traceback (most recent call last): 5: from /usr/bin/jekyll:9:in `<main>' 4: from /usr/bin/jekyll:9:in `load' 3: from /usr/lib64/ruby/gems/2.5.0/gems/jekyll-4.1.1/exe/jekyll:11:in `<top (required)>' 2: from /usr/lib64/ruby/gems/2.5.0/gems/jekyll-4.1.1/lib/jekyll/plugin_manager.rb:50:in `require_from_bundler' 1: from /usr/lib64/ruby/site_ruby/2.5.0/rubygems/core_ext/kernel_require.rb:54:in `require' /usr/lib64/ruby/site_ruby/2.5.0/rubygems/core_ext/kernel_require.rb:54:in `require': cannot load such file -- bundler (LoadError) /usr/lib64/ruby/gems/2.5.0/gems/jekyll-4.1.1/exe/jekyll:11: require "mercenary" So... dev-ruby/mercenary? (In reply to Michał Górny from comment #9) > /usr/lib64/ruby/gems/2.5.0/gems/jekyll-4.1.1/exe/jekyll:11: > require "mercenary" > > So... dev-ruby/mercenary? Nope, that's not it either. Doesnt help. I just did a fresh install of Jekyll 4.1.1 (after unmasking all latest ~amd64 dependencies) and got (as expected) the following problem running "jekyll build": jekyll build Traceback (most recent call last): 5: from /usr/bin/jekyll:9:in `<main>' 4: from /usr/bin/jekyll:9:in `load' 3: from /usr/lib64/ruby/gems/2.5.0/gems/jekyll-4.1.1/exe/jekyll:11:in `<top (required)>' 2: from /usr/lib64/ruby/gems/2.5.0/gems/jekyll-4.1.1/lib/jekyll/plugin_manager.rb:50:in `require_from_bundler' 1: from /usr/lib64/ruby/site_ruby/2.5.0/rubygems/core_ext/kernel_require.rb:54:in `require' /usr/lib64/ruby/site_ruby/2.5.0/rubygems/core_ext/kernel_require.rb:54:in `require': cannot load such file -- bundler (LoadError) BUT After manually installing ~dev-ruby/bundler-2.1.4, "jekyll build" worked. So maybe, it's really just a missing dependency, but the version is crucial?! The bug has been closed via the following commit(s): https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=c9aadb736ba122fb8a237459dca32a9d0d42ced0 commit c9aadb736ba122fb8a237459dca32a9d0d42ced0 Author: Aaron Bauman <bman@gentoo.org> AuthorDate: 2021-01-26 02:23:01 +0000 Commit: Aaron Bauman <bman@gentoo.org> CommitDate: 2021-01-26 02:23:35 +0000 www-apps/jekyll: bump to 4.2.0 and fix tests * Add missing test deps: ** dev-ruby/kramdown-syntax-coderay ** dev-ruby/nokogiri * There is no missing dependency on bundler and this bug should be fixed in 4.1.1 and in 4.2.0. If not, please re-open. * Add patch for missing dep in gemspec Closes: https://bugs.gentoo.org/625994 Closes: https://bugs.gentoo.org/726072 Signed-off-by: Aaron Bauman <bman@gentoo.org> www-apps/jekyll/Manifest | 1 + www-apps/jekyll/files/jekyll-missingdep.patch | 14 ++++ www-apps/jekyll/jekyll-4.2.0.ebuild | 95 +++++++++++++++++++++++++++ 3 files changed, 110 insertions(+) |