Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 625994 - www-apps/jekyll-4.1.1: missing dependency dev-ruby/bundler ???
Summary: www-apps/jekyll-4.1.1: missing dependency dev-ruby/bundler ???
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal normal (vote)
Assignee: Aaron Bauman (RETIRED)
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2017-07-23 14:32 UTC by Antoine Lemoine
Modified: 2021-01-26 02:23 UTC (History)
5 users (show)

See Also:
Package list:
Runtime testing required: ---


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Antoine Lemoine 2017-07-23 14:32:31 UTC
Running 'jekyll build' gives this error:

usr/lib64/ruby/site_ruby/2.1.0/rubygems/core_ext/kernel_require.rb:55:in `require': cannot load such file -- bundler (LoadError)
    from /usr/lib64/ruby/site_ruby/2.1.0/rubygems/core_ext/kernel_require.rb:55:in `require'
    from /usr/lib64/ruby/gems/2.1.0/gems/jekyll-3.2.1/lib/jekyll/plugin_manager.rb:34:in `require_from_bundler'
    from /usr/lib64/ruby/gems/2.1.0/gems/jekyll-3.2.1/exe/jekyll:9:in `<top (required)>'
    from /usr/bin/jekyll:9:in `load'
    from /usr/bin/jekyll:9:in `<main>'

emerge --info:
Portage 2.3.6 (python 3.5.3-final-0, default/linux/amd64/13.0/desktop/gnome/systemd, gcc-7.1.0, glibc-2.24-r3, 4.12.3-gentoo x86_64)
=================================================================
                         System Settings
=================================================================
System uname: Linux-4.12.3-gentoo-x86_64-Intel-R-_Core-TM-_i7-7700K_CPU_@_4.20GHz-with-gentoo-2.4.1
KiB Mem:    32876884 total,    227896 free
KiB Swap:          0 total,         0 free
Timestamp of repository gentoo: Sun, 23 Jul 2017 14:03:58 +0000
sh bash 4.4_p12
ld GNU ld (Gentoo 2.27 p1.0) 2.27
ccache version 3.3.4 [enabled]
app-shells/bash:          4.4_p12::gentoo
dev-java/java-config:     2.2.0-r3::gentoo
dev-lang/perl:            5.24.2::gentoo
dev-lang/python:          2.7.13::gentoo, 3.4.6::gentoo, 3.5.3::gentoo, 3.6.1::gentoo
dev-util/ccache:          3.3.4::gentoo
dev-util/cmake:           3.9.0::gentoo
dev-util/pkgconfig:       0.29.2::gentoo
sys-apps/baselayout:      2.4.1::gentoo
sys-apps/openrc:          0.28::gentoo
sys-apps/sandbox:         2.10-r4::gentoo
sys-devel/autoconf:       2.13::gentoo, 2.69-r3::gentoo
sys-devel/automake:       1.11.6-r2::gentoo, 1.13.4-r1::gentoo, 1.15.1::gentoo
sys-devel/binutils:       2.27::gentoo, 2.28-r2::gentoo
sys-devel/gcc:            6.3.0::gentoo, 7.1.0-r1::gentoo
sys-devel/gcc-config:     1.8-r1::gentoo
sys-devel/libtool:        2.4.6-r4::gentoo
sys-devel/make:           4.2.1-r1::gentoo
sys-kernel/linux-headers: 4.10::gentoo (virtual/os-headers)
sys-libs/glibc:           2.24-r3::gentoo
Repositories:

gentoo
    location: /usr/portage
    sync-type: git
    sync-uri: https://github.com/gentoo-mirror/gentoo
    priority: -1000

local
    location: /usr/local/portage
    masters: gentoo
    priority: 0

aidstu
    location: /var/lib/layman/aidstu
    sync-type: laymansync
    sync-uri: git://github.com/etu/aidstu-overlay.git
    masters: gentoo
    priority: 50

bar
    location: /var/lib/layman/bar
    sync-type: laymansync
    sync-uri: git://github.com/tokiclover/bar-overlay.git
    masters: gentoo
    priority: 50

betagarden
    location: /var/lib/layman/betagarden
    sync-type: laymansync
    sync-uri: https://github.com/gentoo-mirror/betagarden.git
    masters: gentoo
    priority: 50

gentoo-htpc
    location: /var/lib/layman/gentoo-htpc
    sync-type: laymansync
    sync-uri: https://github.com/viddi87/gentoo-htpc.git
    masters: gentoo
    priority: 50

laurentb
    location: /var/lib/layman/laurentb
    sync-type: laymansync
    sync-uri: git://github.com/laurentb/gentoo-overlay.git
    masters: gentoo
    priority: 50

qt
    location: /var/lib/layman/qt
    sync-type: laymansync
    sync-uri: https://github.com/gentoo/qt.git
    masters: gentoo
    priority: 50

sabayon
    location: /var/lib/layman/sabayon
    sync-type: laymansync
    sync-uri: git://github.com/Sabayon/for-gentoo.git
    masters: gentoo
    priority: 50

sabayon-tools
    location: /var/lib/layman/sabayon-tools
    sync-type: laymansync
    sync-uri: https://github.com/fusion809/sabayon-tools.git
    masters: gentoo
    priority: 50

science
    location: /var/lib/layman/science
    sync-type: laymansync
    sync-uri: git://github.com/gentoo-science/sci.git
    masters: gentoo
    priority: 50

steam-overlay
    location: /var/lib/layman/steam-overlay
    sync-type: laymansync
    sync-uri: git://github.com/anyc/steam-overlay.git
    masters: gentoo
    priority: 50

stefantalpalaru
    location: /var/lib/layman/stefantalpalaru
    sync-type: laymansync
    sync-uri: https://github.com/stefantalpalaru/gentoo-overlay.git
    masters: gentoo
    priority: 50

torbrowser
    location: /var/lib/layman/torbrowser
    sync-type: laymansync
    sync-uri: git://github.com/MeisterP/torbrowser-overlay.git
    masters: gentoo
    priority: 50

vortex
    location: /var/lib/layman/vortex
    sync-type: laymansync
    sync-uri: git://github.com/nE0sIghT/vortex-overlay.git
    masters: gentoo
    priority: 50

Installed sets: @qt5-essentials, @qt5-tools
ACCEPT_KEYWORDS="amd64 ~amd64"
ACCEPT_LICENSE="*"
CBUILD="x86_64-pc-linux-gnu"
CFLAGS="-march=native -O2 -pipe"
CHOST="x86_64-pc-linux-gnu"
CONFIG_PROTECT="/etc /usr/lib64/libreoffice/program/sofficerc /usr/share/gnupg/qualified.txt"
CONFIG_PROTECT_MASK="/etc/ca-certificates.conf /etc/chromium/policies/managed/chrome-gnome-shell.json /etc/dconf /etc/env.d /etc/fonts/fonts.conf /etc/gconf /etc/gentoo-release /etc/opt/chrome/policies/managed/chrome-gnome-shell.json /etc/php/apache2-php7.1/ext-active/ /etc/php/cgi-php7.1/ext-active/ /etc/php/cli-php7.1/ext-active/ /etc/revdep-rebuild /etc/sandbox.d /etc/terminfo /etc/texmf/language.dat.d /etc/texmf/language.def.d /etc/texmf/updmap.d /etc/texmf/web2c"
CXXFLAGS="-march=native -O2 -pipe"
DISTDIR="/usr/portage/distfiles"
EMERGE_DEFAULT_OPTS="--keep-going y"
FCFLAGS="-O2 -pipe"
FEATURES="assume-digests binpkg-logs candy ccache cgroup config-protect-if-modified distlocks ebuild-locks fixlafiles merge-sync network-sandbox news parallel-fetch parallel-install preserve-libs protect-owned sandbox sfperms splitdebug strict unknown-features-warn unmerge-logs unmerge-orphans userfetch userpriv usersandbox usersync xattr"
FFLAGS="-O2 -pipe"
GENTOO_MIRRORS="http://gentoo.modulix.net/gentoo/ http://de-mirror.org/gentoo/ http://gentoo.mirrors.ovh.net/gentoo-distfiles/"
LANG="fr_FR.utf8"
LDFLAGS="-Wl,-O1 -Wl,--as-needed"
MAKEOPTS="-j9"
PKGDIR="/usr/portage/packages"
PORTAGE_CONFIGROOT="/"
PORTAGE_RSYNC_OPTS="--recursive --links --safe-links --perms --times --omit-dir-times --compress --force --whole-file --delete --stats --human-readable --timeout=180 --exclude=/distfiles --exclude=/local --exclude=/packages --exclude=/.git"
PORTAGE_TMPDIR="/var/tmp"
USE="X a52 aac acl acpi alsa amd64 berkdb bluetooth branding btrfs bzip2 cairo cdda cdr cli colord cracklib crypt cups cxx dbus dri dts dvd dvdr eds emboss encode evo exif fam fat ffmpeg firefox flac fortran gdbm gif glamor gnome gnome-keyring gnome-online-accounts gphoto2 gpm gstreamer gtk gtk3 iconv icu introspection ipc ipv6 jpeg jpeg2k lcms ldap libnotify libsecret mad midi mng modules mp3 mp4 mpeg multilib nautilus ncurses networkmanager nls nptl ntfs ogg opengl openmp pam pango pcre pdf php png policykit ppds pulseaudio qt3support qt4 qt5 readline sdl seccomp session spell ssl startup-notification svg symlink systemd tcpd tiff tracker truetype udev udisks unicode upower usb vdpau vim-syntax vorbis wayland wxwidgets x264 xattr xcb xml xv xvid zlib" ABI_X86="32 64" ALSA_CARDS="ali5451 als4000 atiixp atiixp-modem bt87x ca0106 cmipci emu10k1x ens1370 ens1371 es1938 es1968 fm801 hda-intel intel8x0 intel8x0m maestro3 trident usb-audio via82xx via82xx-modem ymfpci" APACHE2_MODULES="authn_core authz_core socache_shmcb unixd actions alias auth_basic authn_alias authn_anon authn_dbm authn_default authn_file authz_dbm authz_default authz_groupfile authz_host authz_owner authz_user autoindex cache cgi cgid dav dav_fs dav_lock deflate dir disk_cache env expires ext_filter file_cache filter headers include info log_config logio mem_cache mime mime_magic negotiation rewrite setenvif speling status unique_id userdir usertrack vhost_alias" CALLIGRA_FEATURES="kexi words flow plan sheets stage tables krita karbon braindump author" COLLECTD_PLUGINS="df interface irq load memory rrdtool swap syslog" CPU_FLAGS_X86="aes avx avx2 fma3 mmx mmxext popcnt sse sse2 sse3 sse4_1 sse4_2 ssse3" ELIBC="glibc" GPSD_PROTOCOLS="ashtech aivdm earthmate evermore fv18 garmin garmintxt gpsclock isync itrax mtk3301 nmea ntrip navcom oceanserver oldstyle oncore rtcm104v2 rtcm104v3 sirf skytraq superstar2 timing tsip tripmate tnt ublox ubx" GRUB_PLATFORMS="efi-64" INPUT_DEVICES="libinput keyboard mouse" KERNEL="linux" L10N="fr" LCD_DEVICES="bayrad cfontz cfontz633 glk hd44780 lb216 lcdm001 mtxorb ncurses text" LIBREOFFICE_EXTENSIONS="presenter-console presenter-minimizer" LINGUAS="fr" OFFICE_IMPLEMENTATION="libreoffice" PHP_TARGETS="php7-0" POSTGRES_TARGETS="postgres9_5" PYTHON_SINGLE_TARGET="python3_5" PYTHON_TARGETS="python2_7 python3_4 python3_5" RUBY_TARGETS="ruby21 ruby22" USERLAND="GNU" VIDEO_CARDS="nvidia" XTABLES_ADDONS="quota2 psd pknock lscan length2 ipv4options ipset ipp2p iface geoip fuzzy condition tee tarpit sysrq steal rawnat logmark ipmark dhcpmac delude chaos account"
Unset:  CC, CPPFLAGS, CTARGET, CXX, INSTALL_MASK, LC_ALL, PORTAGE_BUNZIP2_COMMAND, PORTAGE_COMPRESS, PORTAGE_COMPRESS_FLAGS, PORTAGE_RSYNC_EXTRA_OPTS, USE_PYTHON

=================================================================
                        Package Settings
=================================================================

www-apps/jekyll-3.2.1-r2::gentoo was built with the following:
USE="-doc -test" ABI_X86="(64)" RUBY_TARGETS="ruby21 ruby22"
Comment 1 paul g. 2017-10-11 07:43:58 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>'
Comment 2 Tobias Leupold 2019-11-15 11:20:44 UTC
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?!
Comment 3 Tobias Leupold 2019-11-15 11:23:43 UTC
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!
Comment 4 Tobias Leupold 2019-11-15 11:29:07 UTC
... 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
Comment 5 Michele Santullo 2020-05-11 21:51:44 UTC
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?
Comment 6 Aaron Bauman (RETIRED) gentoo-dev 2020-08-10 20:46:46 UTC
I cannot reproduce this 4.1.0.

@Antoine, are you still having these issues with 4.1.0?
Comment 7 Andreas K. Hüttel archtester gentoo-dev 2020-09-03 09:52:58 UTC
I can confirm this problem with 4.1.1

However, installing bundler does *not* help, something else is wrong...
Comment 8 Andreas K. Hüttel archtester gentoo-dev 2020-09-03 09:57:33 UTC
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)
Comment 9 Michał Górny archtester Gentoo Infrastructure gentoo-dev Security 2020-09-03 11:00:12 UTC
/usr/lib64/ruby/gems/2.5.0/gems/jekyll-4.1.1/exe/jekyll:11:
  require "mercenary"

So... dev-ruby/mercenary?
Comment 10 Andreas K. Hüttel archtester gentoo-dev 2020-09-03 11:19:23 UTC
(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.
Comment 11 Tobias Leupold 2020-09-07 09:48:42 UTC
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?!
Comment 12 Larry the Git Cow gentoo-dev 2021-01-26 02:23:40 UTC
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(+)