Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 443708 - dev-ruby/gherkin-2.11.5 USE=-doc should depend on dev-ruby/yard
Summary: dev-ruby/gherkin-2.11.5 USE=-doc should depend on dev-ruby/yard
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: [OLD] Development (show other bugs)
Hardware: All Linux
: Normal normal (vote)
Assignee: Gentoo Ruby Team
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2012-11-17 23:41 UTC by Harris Landgarten
Modified: 2012-11-24 13:22 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 Harris Landgarten 2012-11-17 23:41:22 UTC
installation fails unless yard is installed but it is not listed as a depend
Comment 1 Jeroen Roovers (RETIRED) gentoo-dev 2012-11-19 09:27:39 UTC
$ USE=-doc ebuild gherkin-2.11.5.ebuild manifest clean install
Appending /newaches/gentoo/cvs/gentoo-x86 to PORTDIR_OVERLAY...
>>> Creating Manifest for /newaches/gentoo/cvs/gentoo-x86/dev-ruby/gherkin
 * gherkin-2.11.5.tgz SHA256 SHA512 WHIRLPOOL size ;-) ...                                                                   [ ok ]
 * checking ebuild checksums ;-) ...                                                                                         [ ok ]
 * checking auxfile checksums ;-) ...                                                                                        [ ok ]
 * checking miscfile checksums ;-) ...                                                                                       [ ok ]
>>> Unpacking source...
 * Running unpack phase for all ...
>>> Unpacking gherkin-2.11.5.tgz to /home/jer/portage/dev-ruby/gherkin-2.11.5/work/all
>>> Source unpacked in /home/jer/portage/dev-ruby/gherkin-2.11.5/work
>>> Preparing source in /home/jer/portage/dev-ruby/gherkin-2.11.5/work ...
 * Running prepare phase for all ...
 * Running source copy phase for ruby18 ...
 * Running source copy phase for ruby19 ...
>>> Source prepared.
>>> Configuring source in /home/jer/portage/dev-ruby/gherkin-2.11.5/work ...
>>> Source configured.
>>> Compiling source in /home/jer/portage/dev-ruby/gherkin-2.11.5/work ...
 * Running compile phase for ruby18 ...
(in /home/jer/portage/dev-ruby/gherkin-2.11.5/work/ruby18/cucumber-gherkin-9ca66ee)
WARNING: Rake::ExtensionTask not installed. Skipping C compilation.
 * Running compile phase for ruby19 ...
/usr/lib64/ruby/gems/1.9.1/gems/rake-0.8.7/lib/rake/alt_system.rb:32: Use RbConfig instead of obsolete and deprecated Config.
(in /home/jer/portage/dev-ruby/gherkin-2.11.5/work/ruby19/cucumber-gherkin-9ca66ee)
WARNING: Rake::ExtensionTask not installed. Skipping C compilation.
 * Running compile phase for all ...
/home/jer/portage/dev-ruby/gherkin-2.11.5/temp/environment: line 598: yard: command not found
 * ERROR: dev-ruby/gherkin-2.11.5 failed (compile phase):
 *   (no error message)
 *
 * Call stack:
 *     ebuild.sh, line   93:  Called src_compile
 *   environment, line 4429:  Called ruby-ng_src_compile
 *   environment, line 4095:  Called _ruby_invoke_environment 'all' 'all_ruby_compile'
 *   environment, line  516:  Called all_ruby_compile
 *   environment, line  598:  Called die
 * The specific snippet of code:
 *       yard || die
[...]
Comment 2 Ivan Iraci 2012-11-19 11:34:40 UTC
I was going to write the same thing.
Please, add yard to the dependencies or disable doc generation in the ebuild if USE="-doc".
Comment 3 Ivan Iraci 2012-11-19 11:37:26 UTC
And please, update the link to the homepage:
http://wiki.github.com/aslakhellesoy/cucumber/gherkin => http://github.com/cucumber/gherkin
Comment 4 Hans de Graaff gentoo-dev Security 2012-11-24 13:22:41 UTC
yard is no longer a dependency with USE=-doc and the HOMEPAGE is updated.