Summary: | dev-ruby/net-scp-1.1.2 - rake aborted! no such file to load -- net/ssh/version | ||
---|---|---|---|
Product: | Gentoo Linux | Reporter: | Juergen Rose <rose> |
Component: | [OLD] Development | Assignee: | Gentoo Ruby Team <ruby> |
Status: | RESOLVED OBSOLETE | ||
Severity: | normal | ||
Priority: | Normal | ||
Version: | unspecified | ||
Hardware: | All | ||
OS: | Linux | ||
Whiteboard: | |||
Package list: | Runtime testing required: | --- | |
Attachments: | /var/tmp/portage/dev-ruby/net-scp-1.1.2/temp/build.log |
Description
Juergen Rose
2013-07-21 09:41:24 UTC
Created attachment 353758 [details]
/var/tmp/portage/dev-ruby/net-scp-1.1.2/temp/build.log
I guess in this situation you don't have net-ssh installed yet? I've added this as an explicit dependency for USE=doc now. (In reply to Hans de Graaff from comment #2) > I guess in this situation you don't have net-ssh installed yet? I've added > this as an explicit dependency for USE=doc now. No, net-ssh is installed: root@caiman:/usr/src/linux(105)# qlist -Iv net-ssh dev-ruby/net-ssh-2.6.8 root@caiman:/usr/src/linux(106)# genlop -t net-ssh | tail Sat May 26 09:57:34 2012 >>> dev-ruby/net-ssh-2.4.0 merge time: 25 seconds. Fri Apr 19 04:22:17 2013 >>> dev-ruby/net-ssh-2.6.7 merge time: 17 seconds. Sat Jul 20 05:08:35 2013 >>> dev-ruby/net-ssh-2.6.8 merge time: 51 seconds. But 'emerge net-scp' still fails. Which version of ruby do you have eselected? e.g. what does 'ruby -v' say? root@caiman:/root(371)# ruby -v ruby 1.8.7 (2013-06-27 patchlevel 374) [x86_64-linux] root@caiman:/root(372)# eselect ruby list Available Ruby profiles: [1] ruby18 (with Rubygems) * [2] ruby19 (with Rubygems) [3] ruby20 (with Rubygems) If I eselect ruby20 I get the same error:
caiman ~ # emerge -vuND world
...
* Running compile phase for all ...
rake aborted!
cannot load such file -- net/ssh/version
/var/tmp/portage/dev-ruby/net-scp-1.1.2/work/all/net-scp-1.1.2/lib/net/scp/version.rb:1:in `<top (required)>'
...
>>> Failed to emerge dev-ruby/net-scp-1.1.2, Log file:
...
Available Ruby profiles:
[1] ruby18 (with Rubygems)
[2] ruby19 (with Rubygems)
[3] ruby20 (with Rubygems) *
caiman ~ # ruby -v
ruby 2.0.0p247 (2013-06-27 revision 41674) [x86_64-linux]
It should work with ruby19 eselected, which is currently the only sane choice anyway (ruby18 will be removed soonish, and ruby20 does not have enough support in terms of packages yet). The problem here is that we can't really express dependencies that are related to eselect. With ruby18 eselected the package manager will happily emerge a ruby19-only package, but it won't be able to build the package with ruby (ruby18) when building documentation. I'm closing this bug since ruby18 is no longer available. |