Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 674430 - dev-ruby/rdoc-6.1.1 /usr/bin/rake:9:in `load': [1mcannot load such file -- /usr/lib64/ruby/gems/2.6.0/gems/rake-12.3.2/exe/rake
Summary: dev-ruby/rdoc-6.1.1 /usr/bin/rake:9:in `load': [1mcannot 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 Ruby Team
URL:
Whiteboard:
Keywords:
: 677520 (view as bug list)
Depends on:
Blocks:
 
Reported: 2019-01-03 17:00 UTC by Anton Kochkov
Modified: 2019-04-21 16:50 UTC (History)
1 user (show)

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


Attachments
emerge --info output (emerge_info.log,5.46 KB, text/plain)
2019-01-03 17:00 UTC, Anton Kochkov
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Anton Kochkov 2019-01-03 17:00:56 UTC
Created attachment 559696 [details]
emerge --info output

[32;01m * [39;49;00mPackage:    dev-ruby/rdoc-6.1.1
[32;01m * [39;49;00mRepository: gentoo
[32;01m * [39;49;00mMaintainer: ruby@gentoo.org
[32;01m * [39;49;00mUSE:        abi_x86_64 amd64 elibc_glibc kernel_linux ruby_targets_ruby25 ruby_targets_ruby26 userland_GNU
[32;01m * [39;49;00mFEATURES:   preserve-libs sandbox userpriv usersandbox
>>> Unpacking source...
 [32;01m*[0m Running unpack phase for all ...
>>> Unpacking rdoc-6.1.1.tar.gz to /var/tmp/portage/dev-ruby/rdoc-6.1.1/work/all
>>> Source unpacked in /var/tmp/portage/dev-ruby/rdoc-6.1.1/work
>>> Preparing source in /var/tmp/portage/dev-ruby/rdoc-6.1.1/work ...
 [32;01m*[0m Running prepare phase for all ...
 [32;01m*[0m Running prepare phase for all ...
 [32;01m*[0m Running source copy phase for ruby25 ...
 [32;01m*[0m Running source copy phase for ruby26 ...
>>> Source prepared.
>>> Configuring source in /var/tmp/portage/dev-ruby/rdoc-6.1.1/work ...
>>> Source configured.
>>> Compiling source in /var/tmp/portage/dev-ruby/rdoc-6.1.1/work ...
 [32;01m*[0m Running compile phase for ruby25 ...
Generating lib/rdoc/rd/block_parser.rb...
/usr/bin/ruby25 /usr/lib64/ruby/gems/2.5.0/gems/racc-1.4.14/bin/racc -l -o lib/rdoc/rd/block_parser.rb lib/rdoc/rd/block_parser.ry
Generating lib/rdoc/rd/inline_parser.rb...
/usr/bin/ruby25 /usr/lib64/ruby/gems/2.5.0/gems/racc-1.4.14/bin/racc -l -o lib/rdoc/rd/inline_parser.rb lib/rdoc/rd/inline_parser.ry
Generating lib/rdoc/markdown.rb...
/usr/bin/ruby25 /usr/lib64/ruby/gems/2.5.0/gems/kpeg-1.1.0/bin/kpeg -fsv -o lib/rdoc/markdown.rb lib/rdoc/markdown.kpeg
Wrote RDoc::Markdown to lib/rdoc/markdown.rb
Generating lib/rdoc/markdown/literals.rb...
/usr/bin/ruby25 /usr/lib64/ruby/gems/2.5.0/gems/kpeg-1.1.0/bin/kpeg -fsv -o lib/rdoc/markdown/literals.rb lib/rdoc/markdown/literals.kpeg
Wrote RDoc::Markdown::Literals to lib/rdoc/markdown/literals.rb
 [32;01m*[0m Running compile phase for ruby26 ...
[1mTraceback[m (most recent call last):
	1: from /usr/bin/rake:9:in `<main>'
/usr/bin/rake:9:in `load': [1mcannot load such file -- /usr/lib64/ruby/gems/2.6.0/gems/rake-12.3.2/exe/rake ([1;4mLoadError[m[1m)[m
 [31;01m*[0m ERROR: dev-ruby/rdoc-6.1.1::gentoo failed (compile phase):
 [31;01m*[0m   (no error message)
 [31;01m*[0m 
 [31;01m*[0m Call stack:
 [31;01m*[0m     ebuild.sh, line  124:  Called src_compile
 [31;01m*[0m   environment, line 4478:  Called ruby-ng_src_compile
 [31;01m*[0m   environment, line 4170:  Called _ruby_each_implementation 'each_ruby_compile'
 [31;01m*[0m   environment, line  521:  Called _ruby_invoke_environment 'ruby26' 'each_ruby_compile'
 [31;01m*[0m   environment, line  650:  Called each_ruby_compile
 [31;01m*[0m   environment, line  882:  Called die
 [31;01m*[0m The specific snippet of code:
 [31;01m*[0m       ${RUBY} -S rake generate || die
 [31;01m*[0m 
 [31;01m*[0m If you need support, post the output of `emerge --info '=dev-ruby/rdoc-6.1.1::gentoo'`,
 [31;01m*[0m the complete build log and the output of `emerge -pqv '=dev-ruby/rdoc-6.1.1::gentoo'`.
!!! When you file a bug report, please include the following information:
GENTOO_VM=  CLASSPATH="" JAVA_HOME=""
JAVACFLAGS="" COMPILER=""
and of course, the output of emerge --info =rdoc-6.1.1
 [31;01m*[0m The complete build log is located at '/var/tmp/portage/dev-ruby/rdoc-6.1.1/temp/build.log'.
 [31;01m*[0m The ebuild environment file is located at '/var/tmp/portage/dev-ruby/rdoc-6.1.1/temp/environment'.
 [31;01m*[0m Working directory: '/var/tmp/portage/dev-ruby/rdoc-6.1.1/work/ruby26/rdoc-6.1.1'
 [31;01m*[0m S: '/var/tmp/portage/dev-ruby/rdoc-6.1.1/work/ruby26/rdoc-6.1.1'
Comment 1 Anton Kochkov 2019-04-17 08:06:19 UTC
I was fixed once I removed "ruby25" from RUBY_TARGETS. Works fine with "ruby26" only.
Comment 2 Larry the Git Cow gentoo-dev 2019-04-21 06:36:42 UTC
The bug has been closed via the following commit(s):

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

commit ff438d78e7504f1cfbed0648354dc70fc76e7242
Author:     Hans de Graaff <graaff@gentoo.org>
AuthorDate: 2019-04-21 06:36:22 +0000
Commit:     Hans de Graaff <graaff@gentoo.org>
CommitDate: 2019-04-21 06:36:35 +0000

    dev-ruby/rdoc: add missing dependency on rake
    
    Add a missing built-time dependency on rake. Normally we assume that
    rake is present due to it being in PDEPEND of dev-lang/ruby, but we
    cannot rely on that assumption for packages in the bootstrap set.
    
    Fixes: https://bugs.gentoo.org/674430
    Signed-off-by: Hans de Graaff <graaff@gentoo.org>
    Package-Manager: Portage-2.3.62, Repoman-2.3.11

 dev-ruby/rdoc/rdoc-6.1.1.ebuild | 3 ++-
 1 file changed, 2 insertions(+), 1 deletion(-)
Comment 3 Hans de Graaff gentoo-dev Security 2019-04-21 16:50:45 UTC
*** Bug 677520 has been marked as a duplicate of this bug. ***