Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!

Bug 378679

Summary: dev-ruby/pkg-config missing dependency on dev-ruby/test-unit
Product: Gentoo Linux Reporter: Kacper Kowalik (Xarthisius) (RETIRED) <xarthisius>
Component: Current packagesAssignee: Naohiro Aota <naota>
Status: RESOLVED FIXED    
Severity: normal CC: ruby
Priority: Normal    
Version: unspecified   
Hardware: All   
OS: Linux   
Whiteboard:
Package list:
Runtime testing required: ---
Bug Depends on:    
Bug Blocks: 371353    

Description Kacper Kowalik (Xarthisius) (RETIRED) gentoo-dev 2011-08-10 17:20:39 UTC
>>> Emerging (2 of 2) dev-ruby/pkg-config-1.1.2
 * pkg-config-1.1.2.gem RMD160 SHA1 SHA256 size ;-) ...                                                                           [ ok ]
 * Package:    dev-ruby/pkg-config-1.1.2
 * Repository: gentoo
 * Maintainer: naota@gentoo.org ruby@gentoo.org
 * USE:        elibc_glibc kernel_linux ppc ruby_targets_ruby18 test userland_GNU
 * FEATURES:   sandbox test userpriv usersandbox
>>> Unpacking source...
>>> Source unpacked in /var/tmp/portage/dev-ruby/pkg-config-1.1.2/work
>>> Preparing source in /var/tmp/portage/dev-ruby/pkg-config-1.1.2/work ...
 * Running prepare phase for all ...
 * Running source copy phase for ruby18 ...
>>> Source prepared.
>>> Configuring source in /var/tmp/portage/dev-ruby/pkg-config-1.1.2/work ...
>>> Source configured.
>>> Compiling source in /var/tmp/portage/dev-ruby/pkg-config-1.1.2/work ...
 * Running compile phase for all ...
>>> Source compiled.
 * Running test phase for ruby18 ...
/usr/lib/ruby/site_ruby/1.8/rubygems.rb:779:in `report_activate_error': Could not find RubyGem test-unit (>= 0) (Gem::LoadError)
        from /usr/lib/ruby/site_ruby/1.8/rubygems.rb:214:in `activate'
        from /usr/lib/ruby/site_ruby/1.8/rubygems.rb:1082:in `gem'
        from test/run-test.rb:9
 * ERROR: dev-ruby/pkg-config-1.1.2 failed (test phase):
Comment 1 Hans de Graaff gentoo-dev Security 2011-08-10 18:10:46 UTC
Oops. I never intended the tests to be available (and in any case additional dependencies are missing). I've now properly restricted the tests as intended.

Thanks for the report!