Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 551428 - app-text/glark-1.10.5 USE=-zip - src_test(): RuntimeError: error loading zip gem: cannot load such file -- zip
Summary: app-text/glark-1.10.5 USE=-zip - src_test(): RuntimeError: error loading zip ...
Status: RESOLVED TEST-REQUEST
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal normal (vote)
Assignee: Gentoo Shell Tools Herd Bugs
URL:
Whiteboard:
Keywords: TESTFAILURE
Depends on:
Blocks:
 
Reported: 2015-06-07 07:34 UTC by Jeroen Roovers (RETIRED)
Modified: 2015-10-15 07:52 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 Jeroen Roovers (RETIRED) gentoo-dev 2015-06-07 07:34:42 UTC
1) Error:
test_list_jar_single(Glark::BinaryFileTestCase):
RuntimeError: error loading zip gem: cannot load such file -- zip
to install this dependency, run 'gem install rubyzip'
    /var/tmp/portage/app-text/glark-1.10.5/work/ruby19/glark-1.10.5/lib/glark/io/file/zip_file.rb:44:in `rescue in check_rubyzip_exi
sts'
    /var/tmp/portage/app-text/glark-1.10.5/work/ruby19/glark-1.10.5/lib/glark/io/file/zip_file.rb:38:in `check_rubyzip_exists'
    /var/tmp/portage/app-text/glark-1.10.5/work/ruby19/glark-1.10.5/lib/glark/io/file/zip_file.rb:31:in `check_rubyzip'
    /var/tmp/portage/app-text/glark-1.10.5/work/ruby19/glark-1.10.5/lib/glark/io/file/zip_file.rb:15:in `initialize'
    /var/tmp/portage/app-text/glark-1.10.5/work/ruby19/glark-1.10.5/lib/glark/app/runner.rb:110:in `new'
    /var/tmp/portage/app-text/glark-1.10.5/work/ruby19/glark-1.10.5/lib/glark/app/runner.rb:110:in `search_list'
    /var/tmp/portage/app-text/glark-1.10.5/work/ruby19/glark-1.10.5/lib/glark/app/runner.rb:133:in `search'
    /var/tmp/portage/app-text/glark-1.10.5/work/ruby19/glark-1.10.5/lib/glark/app/runner.rb:46:in `block in initialize'
    /var/tmp/portage/app-text/glark-1.10.5/work/ruby19/glark-1.10.5/lib/glark/util/io/fileset.rb:158:in `call'
    /var/tmp/portage/app-text/glark-1.10.5/work/ruby19/glark-1.10.5/lib/glark/util/io/fileset.rb:158:in `handle_binary'
    /var/tmp/portage/app-text/glark-1.10.5/work/ruby19/glark-1.10.5/lib/glark/util/io/fileset.rb:133:in `handle_file'
    /var/tmp/portage/app-text/glark-1.10.5/work/ruby19/glark-1.10.5/lib/glark/util/io/fileset.rb:103:in `handle_pathname'
    /var/tmp/portage/app-text/glark-1.10.5/work/ruby19/glark-1.10.5/lib/glark/util/io/fileset.rb:95:in `block in each'
    /var/tmp/portage/app-text/glark-1.10.5/work/ruby19/glark-1.10.5/lib/glark/util/io/fileset.rb:82:in `each'
    /var/tmp/portage/app-text/glark-1.10.5/work/ruby19/glark-1.10.5/lib/glark/util/io/fileset.rb:82:in `each'
    /var/tmp/portage/app-text/glark-1.10.5/work/ruby19/glark-1.10.5/lib/glark/app/runner.rb:45:in `initialize'
    /var/tmp/portage/app-text/glark-1.10.5/work/ruby19/glark-1.10.5/test/glark/app/tc.rb:31:in `new'
    /var/tmp/portage/app-text/glark-1.10.5/work/ruby19/glark-1.10.5/test/glark/app/tc.rb:31:in `run_glark'
    /var/tmp/portage/app-text/glark-1.10.5/work/ruby19/glark-1.10.5/test/glark/app/tc.rb:45:in `run_app_test'
    /var/tmp/portage/app-text/glark-1.10.5/work/ruby19/glark-1.10.5/test/glark/input/binary_file_test.rb:149:in `test_list_jar_singl
e'

Etcetera.
Comment 1 Patrice Clement gentoo-dev 2015-10-15 07:52:39 UTC
https://github.com/gentoo/gentoo/blob/master/app-text/glark/glark-1.10.5-r1.ebuild#L32

Looking at the ebuild, it should emerge rubyzip if you turn on the "test" USE flag. Did you have dev-ruby/rubyzip:1 installed before emerging glark and enabling the tests? I did encounter the same error but after emerging the former (rubyzip), it went away. 

Can you give it another try?