[Rubygems-developers] [rubygems] Build still broken (#1182)

Cerberus anatol.pomozov at gmail.com
Wed Dec 27 00:03:03 EST 2006


------------------------------------------------------------------------
r1182 | drbrain | 2006-12-27 07:57:29 +0300 | 1 line
Changed paths:
   M /trunk/ChangeLog
   M /trunk/lib/rubygems/installer.rb
   A /trunk/test/data/broken-1.0.0.gem
   M /trunk/test/test_format.rb
   M /trunk/test/test_installer.rb
   M /trunk/test/test_validator.rb

Raise InstallError when unpacking a bad gem.
------------------------------------------------------------------------

(in C:/Documents and Settings/anatol/.cerberus/work/rubygems/sources)
require_gem is obsolete.  Use gem instead.
Loaded suite c:/PROGRA~1/ruby/lib/ruby/gems/1.8/gems/rake-0.7.1/lib/rake/rake_test_loader
Started
.........................................................................FF..........................................................EE..................................................................................................................................................
Finished in 51.14 seconds.

  1) Failure:
test_class_build(TestGemExtRakeBuilder) [./test/test_gem_ext_rake_builder.rb:35]:
<["rake RUBYARCHDIR=C:/DOCUME~1/anatol/LOCALS~1/Temp/test_rubygems_3496/prefix RUBYLIBDIR=C:/DOCUME~1/anatol/LOCALS~1/Temp/test_rubygems_3496/prefix extension",
 "(in C:/DOCUME~1/anatol/LOCALS~1/Temp/test_rubygems_3496/ext)\n"]> expected but was
<["rake RUBYARCHDIR=C:/DOCUME~1/anatol/LOCALS~1/Temp/test_rubygems_3496/prefix RUBYLIBDIR=C:/DOCUME~1/anatol/LOCALS~1/Temp/test_rubygems_3496/prefix extension",
 "(in C:/DOCUME~1/anatol/LOCALS~1/Temp/test_rubygems_3496/ext)\nrequire_gem is obsolete.  Use gem instead.\n"]>.

  2) Failure:
test_class_build_fail(TestGemExtRakeBuilder) [./test/test_gem_ext_rake_builder.rb:45]:
<Gem::InstallError> exception expected but none was thrown.

  3) Error:
test_install_bad_gem(TestInstaller):
Errno::EACCES: Permission denied - C:/DOCUME~1/anatol/LOCALS~1/Temp/test_rubygems_3496/gemhome/cache/broken-1.0.0.gem
    c:/PROGRA~1/ruby/lib/ruby/1.8/fileutils.rb:1281:in `unlink'
    c:/PROGRA~1/ruby/lib/ruby/1.8/fileutils.rb:1281:in `remove_file'
    c:/PROGRA~1/ruby/lib/ruby/1.8/fileutils.rb:1289:in `platform_support'
    c:/PROGRA~1/ruby/lib/ruby/1.8/fileutils.rb:1280:in `remove_file'
    c:/PROGRA~1/ruby/lib/ruby/1.8/fileutils.rb:1269:in `remove'
    c:/PROGRA~1/ruby/lib/ruby/1.8/fileutils.rb:748:in `remove_entry'
    c:/PROGRA~1/ruby/lib/ruby/1.8/fileutils.rb:1319:in `postorder_traverse'
    c:/PROGRA~1/ruby/lib/ruby/1.8/fileutils.rb:1323:in `postorder_traverse'
    c:/PROGRA~1/ruby/lib/ruby/1.8/fileutils.rb:1318:in `postorder_traverse'
    c:/PROGRA~1/ruby/lib/ruby/1.8/fileutils.rb:1317:in `postorder_traverse'
    c:/PROGRA~1/ruby/lib/ruby/1.8/fileutils.rb:1318:in `postorder_traverse'
    c:/PROGRA~1/ruby/lib/ruby/1.8/fileutils.rb:1317:in `postorder_traverse'
    c:/PROGRA~1/ruby/lib/ruby/1.8/fileutils.rb:1318:in `postorder_traverse'
    c:/PROGRA~1/ruby/lib/ruby/1.8/fileutils.rb:1317:in `postorder_traverse'
    c:/PROGRA~1/ruby/lib/ruby/1.8/fileutils.rb:746:in `remove_entry'
    c:/PROGRA~1/ruby/lib/ruby/1.8/fileutils.rb:604:in `rm_r'
    c:/PROGRA~1/ruby/lib/ruby/1.8/fileutils.rb:600:in `rm_r'
    ./test/gemutilities.rb:78:in `teardown'

  4) Error:
test_install_with_message(TestInstaller):
Errno::EACCES: Permission denied - C:/DOCUME~1/anatol/LOCALS~1/Temp/test_rubygems_3496/gemhome/cache/broken-1.0.0.gem
    c:/PROGRA~1/ruby/lib/ruby/1.8/fileutils.rb:1281:in `unlink'
    c:/PROGRA~1/ruby/lib/ruby/1.8/fileutils.rb:1281:in `remove_file'
    c:/PROGRA~1/ruby/lib/ruby/1.8/fileutils.rb:1289:in `platform_support'
    c:/PROGRA~1/ruby/lib/ruby/1.8/fileutils.rb:1280:in `remove_file'
    c:/PROGRA~1/ruby/lib/ruby/1.8/fileutils.rb:1269:in `remove'
    c:/PROGRA~1/ruby/lib/ruby/1.8/fileutils.rb:748:in `remove_entry'
    c:/PROGRA~1/ruby/lib/ruby/1.8/fileutils.rb:1319:in `postorder_traverse'
    c:/PROGRA~1/ruby/lib/ruby/1.8/fileutils.rb:1323:in `postorder_traverse'
    c:/PROGRA~1/ruby/lib/ruby/1.8/fileutils.rb:1318:in `postorder_traverse'
    c:/PROGRA~1/ruby/lib/ruby/1.8/fileutils.rb:1317:in `postorder_traverse'
    c:/PROGRA~1/ruby/lib/ruby/1.8/fileutils.rb:1318:in `postorder_traverse'
    c:/PROGRA~1/ruby/lib/ruby/1.8/fileutils.rb:1317:in `postorder_traverse'
    c:/PROGRA~1/ruby/lib/ruby/1.8/fileutils.rb:1318:in `postorder_traverse'
    c:/PROGRA~1/ruby/lib/ruby/1.8/fileutils.rb:1317:in `postorder_traverse'
    c:/PROGRA~1/ruby/lib/ruby/1.8/fileutils.rb:746:in `remove_entry'
    c:/PROGRA~1/ruby/lib/ruby/1.8/fileutils.rb:604:in `rm_r'
    c:/PROGRA~1/ruby/lib/ruby/1.8/fileutils.rb:600:in `rm_r'
    ./test/gemutilities.rb:78:in `teardown'

281 tests, 995 assertions, 2 failures, 2 errors
rake aborted!
Command failed with status (1): [c:/PROGRA~1/ruby/bin/ruby -w -Ilib "c:/PRO...]

(See full trace by running task with --trace)

--
Cerberus 0.3.3, http://cerberus.rubyforge.org/


More information about the Rubygems-developers mailing list