Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 752048 - games-emulation/mgba-0.8.4 : /.../kramdown:9:in load: cannot load such file -- /usr/lib64/ruby/gems/2.7.0/gems/kramdown-2.3.0/bin/
Summary: games-emulation/mgba-0.8.4 : /.../kramdown:9:in load: cannot load such file -...
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal normal (vote)
Assignee: Gentoo Games
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2020-10-31 19:16 UTC by Toralf Förster
Modified: 2022-06-29 17:22 UTC (History)
2 users (show)

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


Attachments
emerge-info.txt (emerge-info.txt,16.96 KB, text/plain)
2020-10-31 19:16 UTC, Toralf Förster
Details
emerge-history.txt (emerge-history.txt,194.89 KB, text/plain)
2020-10-31 19:16 UTC, Toralf Förster
Details
environment (environment,102.79 KB, text/plain)
2020-10-31 19:16 UTC, Toralf Förster
Details
etc.portage.tbz2 (etc.portage.tbz2,24.13 KB, application/x-bzip)
2020-10-31 19:16 UTC, Toralf Förster
Details
games-emulation:mgba-0.8.4:20201031-161323.log (games-emulation:mgba-0.8.4:20201031-161323.log,7.64 KB, text/plain)
2020-10-31 19:16 UTC, Toralf Förster
Details
logs.tbz2 (logs.tbz2,5.99 KB, application/x-bzip)
2020-10-31 19:16 UTC, Toralf Förster
Details
temp.tbz2 (temp.tbz2,26.25 KB, application/x-bzip)
2020-10-31 19:16 UTC, Toralf Förster
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Toralf Förster gentoo-dev 2020-10-31 19:16:31 UTC
FAILED: README_DE.html 
cd /var/tmp/portage/games-emulation/mgba-0.8.4/work/mgba-0.8.4_build && /usr/bin/kramdown /var/tmp/portage/games-emulation/mgba-0.8.4/work/mgba-0.8.4/README_DE.md > README_DE.html
/usr/bin/kramdown:9:in `load': cannot load such file -- /usr/lib64/ruby/gems/2.7.0/gems/kramdown-2.3.0/bin/kramdown (LoadError)
	from /usr/bin/kramdown:9:in `<main>'
ninja: build stopped: subcommand failed.
 * ERROR: games-emulation/mgba-0.8.4::gentoo failed (compile phase):

  -------------------------------------------------------------------

  This is an unstable amd64 chroot image at a tinderbox (==build bot)
  name: 17.1_desktop_plasma-abi32+64-20201024-180552

  -------------------------------------------------------------------

gcc-config -l:
 [1] x86_64-pc-linux-gnu-7.3.1
 [2] x86_64-pc-linux-gnu-10.2.0 *
clang version 11.0.0
Target: x86_64-pc-linux-gnu
Thread model: posix
InstalledDir: /usr/lib/llvm/11/bin
/usr/lib/llvm/11
11.0.0
Available Python interpreters, in order of preference:
  [1]   python3.7
  [2]   python3.9 (fallback)
  [3]   python3.8 (fallback)
  [4]   python2.7 (fallback)
Available Ruby profiles:
  [1]   ruby25 (with Rubygems)
  [2]   ruby26 (with Rubygems)
  [3]   ruby27 (with Rubygems) *
Available Rust versions:
  [1]   rust-bin-1.47.0 *
The following VMs are available for generation-2:
*)	AdoptOpenJDK 8.272_p10 [openjdk-bin-8]
Available Java Virtual Machines:
  [1]   openjdk-bin-8  system-vm

The Glorious Glasgow Haskell Compilation System, version 8.8.4

  timestamp(s) of HEAD at this tinderbox image:
/var/db/repos/gentoo	Sat Oct 31 04:05:32 PM UTC 2020

emerge -qpvO games-emulation/mgba
[ebuild  N    ] games-emulation/mgba-0.8.4  USE="opengl qt5 sdl -debug -discord -elf -ffmpeg -gles2 -gles3 -sqlite"
Comment 1 Toralf Förster gentoo-dev 2020-10-31 19:16:32 UTC
Created attachment 669452 [details]
emerge-info.txt
Comment 2 Toralf Förster gentoo-dev 2020-10-31 19:16:34 UTC
Created attachment 669455 [details]
emerge-history.txt
Comment 3 Toralf Förster gentoo-dev 2020-10-31 19:16:36 UTC
Created attachment 669458 [details]
environment
Comment 4 Toralf Förster gentoo-dev 2020-10-31 19:16:37 UTC
Created attachment 669461 [details]
etc.portage.tbz2
Comment 5 Toralf Förster gentoo-dev 2020-10-31 19:16:39 UTC
Created attachment 669464 [details]
games-emulation:mgba-0.8.4:20201031-161323.log
Comment 6 Toralf Förster gentoo-dev 2020-10-31 19:16:40 UTC
Created attachment 669467 [details]
logs.tbz2
Comment 7 Toralf Förster gentoo-dev 2020-10-31 19:16:41 UTC
Created attachment 669470 [details]
temp.tbz2
Comment 8 Ionen Wolkens gentoo-dev 2020-11-01 00:01:33 UTC
Looks same as bug #744385 just with kramdown instead of asciidoctor. Doesn't seem specific to the packages calling those, and command seems to try to use ruby27 despite kramdown/asciidoctor ebuilds don't support it yet.

That aside, mgba ebuild doesn't depend on this but may use if found:
>find_program(MARKDOWN NAMES markdown kramdown pandoc)
Maybe should be force-disabled or put behind a USE=doc if judged relevant.
Comment 9 Larry the Git Cow gentoo-dev 2022-06-29 17:22:48 UTC
The bug has been closed via the following commit(s):

https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=fa7347842737646e51f9453c00b78f6d260e4f49

commit fa7347842737646e51f9453c00b78f6d260e4f49
Author:     Ionen Wolkens <ionen@gentoo.org>
AuthorDate: 2022-06-29 12:34:36 +0000
Commit:     Ionen Wolkens <ionen@gentoo.org>
CommitDate: 2022-06-29 17:22:36 +0000

    games-emulation/mgba: re-arrange ebuild
    
    non-style changes:
    - enable tests
    - IUSE=qt5 -> gui
    - add IUSE=libretro
    - update LICENSE to be hopefully complete
    - disable markdown wrt bug #752048, all this does is automagic
      convert the installed *.md to html
    - require IUSE=opengl with gles2/gles3 for now wrt bug #835039,
      won't be needed next bump
    - enable lzma, bundled but no real reason to disable (+public-domain)
    - drop unused qtopengl (uses libglvnd directly) and add qtnetwork
    - use cmake_src_install, removes need for custom icons loop and
      installs intended files (including shaders, and headers)
    - add subslot for libmgba given next version has a soname change,
      better handle this now than when something will need it
     (dolphin could potentially use to unbundle, albeit may be unsuitable
      for current dolphin snapshots)
    
    Could likely still use more work for some features and maybe some force
    unbundling, but leaving alone for now unless there's a need to / user
    requests.
    
    Closes: https://bugs.gentoo.org/752048
    Closes: https://bugs.gentoo.org/835039
    Signed-off-by: Ionen Wolkens <ionen@gentoo.org>

 games-emulation/mgba/metadata.xml         |   1 +
 games-emulation/mgba/mgba-0.9.3-r2.ebuild |  92 +++++++++++++++++++
 games-emulation/mgba/mgba-9999.ebuild     | 142 +++++++++++-------------------
 3 files changed, 146 insertions(+), 89 deletions(-)