Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 632215 - dev-ruby/net-ssh does not declare dependency on dev-ruby/bundler
Summary: dev-ruby/net-ssh does not declare dependency on 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: Gentoo Ruby Team
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2017-09-28 04:00 UTC by Stuart Longland
Modified: 2017-09-29 07:56 UTC (History)
0 users

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 Stuart Longland 2017-09-28 04:00:28 UTC
dev-ruby/net-ssh requires that dev-ruby/bundler be installed first, otherwise you get this:

ESC[32;01m * ESC[39;49;00mPackage:    dev-ruby/net-ssh-4.1.0
ESC[32;01m * ESC[39;49;00mRepository: gentoo
ESC[32;01m * ESC[39;49;00mMaintainer: ruby@gentoo.org
ESC[32;01m * ESC[39;49;00mUSE:        abi_x86_64 amd64 doc elibc_glibc kernel_linux ruby_targets_ruby22 userland_GNU
ESC[32;01m * ESC[39;49;00mFEATURES:   preserve-libs sandbox userpriv usersandbox
>>> Unpacking source...
 ESC[32;01m*ESC[0m Running unpack phase for all ...
>>> Unpacking net-ssh-git-4.1.0.tgz to /var/tmp/portage/dev-ruby/net-ssh-4.1.0/work/all
>>> Source unpacked in /var/tmp/portage/dev-ruby/net-ssh-4.1.0/work
>>> Preparing source in /var/tmp/portage/dev-ruby/net-ssh-4.1.0/work ...
 ESC[32;01m*ESC[0m Running prepare phase for all ...
 ESC[32;01m*ESC[0m Running source copy phase for ruby22 ...
>>> Source prepared.
>>> Configuring source in /var/tmp/portage/dev-ruby/net-ssh-4.1.0/work ...
>>> Source configured.
>>> Compiling source in /var/tmp/portage/dev-ruby/net-ssh-4.1.0/work ...
 ESC[32;01m*ESC[0m Running compile phase for all ...
rake aborted!
LoadError: cannot load such file -- bundler/gem_tasks
/var/tmp/portage/dev-ruby/net-ssh-4.1.0/work/all/net-ssh-4.1.0/Rakefile:11:in `<top (required)>'
(See full trace by running task with --trace)
 ESC[31;01m*ESC[0m ERROR: dev-ruby/net-ssh-4.1.0::gentoo failed (compile phase):
 ESC[31;01m*ESC[0m   failed to (re)build documentation
 ESC[31;01m*ESC[0m 
 ESC[31;01m*ESC[0m Call stack:
 ESC[31;01m*ESC[0m     ebuild.sh, line  115:  Called src_compile
 ESC[31;01m*ESC[0m   environment, line 4440:  Called ruby-ng_src_compile
 ESC[31;01m*ESC[0m   environment, line 4134:  Called _ruby_invoke_environment 'all' 'all_ruby_compile'
 ESC[31;01m*ESC[0m   environment, line  621:  Called all_ruby_compile
 ESC[31;01m*ESC[0m   environment, line  704:  Called all_fakegem_compile
 ESC[31;01m*ESC[0m   environment, line  665:  Called die
 ESC[31;01m*ESC[0m The specific snippet of code:
 ESC[31;01m*ESC[0m                   rake ${RUBY_FAKEGEM_TASK_DOC} || die "failed to (re)build documentation"
 ESC[31;01m*ESC[0m 
 ESC[31;01m*ESC[0m If you need support, post the output of `emerge --info '=dev-ruby/net-ssh-4.1.0::gentoo'`,
 ESC[31;01m*ESC[0m the complete build log and the output of `emerge -pqv '=dev-ruby/net-ssh-4.1.0::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 =net-ssh-4.1.0
 ESC[31;01m*ESC[0m The complete build log is located at '/var/tmp/portage/dev-ruby/net-ssh-4.1.0/temp/build.log'.
 ESC[31;01m*ESC[0m The ebuild environment file is located at '/var/tmp/portage/dev-ruby/net-ssh-4.1.0/temp/environment'.
 ESC[31;01m*ESC[0m Working directory: '/var/tmp/portage/dev-ruby/net-ssh-4.1.0/work/all/net-ssh-4.1.0'
 ESC[31;01m*ESC[0m S: '/var/tmp/portage/dev-ruby/net-ssh-4.1.0/work/all/net-ssh-4.1.0'
Comment 1 Hans de Graaff gentoo-dev Security 2017-09-29 07:56:34 UTC
Thanks for the report, this is now fixed.