[Rubygems-developers] [rubygems] Build still broken and getting worse (#1203)

Cerberus anatol.pomozov at gmail.com
Sun Jan 21 00:01:55 EST 2007


------------------------------------------------------------------------
r1203 | drbrain | 2007-01-20 11:18:35 +0300 | 1 line
Changed paths:
   M /trunk/ChangeLog
   M /trunk/lib/rubygems/source_info_cache.rb

Read the source_cache in binary mode for mswin
------------------------------------------------------------------------

(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
.........................................................................F....F.................................FF...FF..F..................EE..............................EFE......................................F.................................................................................
Finished in 55.766 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_368/prefix RUBYLIBDIR=C:/DOCUME~1/anatol/LOCALS~1/Temp/test_rubygems_368/prefix extension",
 "(in C:/DOCUME~1/anatol/LOCALS~1/Temp/test_rubygems_368/ext)\n"]> expected but was
<["rake RUBYARCHDIR=C:/DOCUME~1/anatol/LOCALS~1/Temp/test_rubygems_368/prefix RUBYLIBDIR=C:/DOCUME~1/anatol/LOCALS~1/Temp/test_rubygems_368/prefix extension",
 "(in C:/DOCUME~1/anatol/LOCALS~1/Temp/test_rubygems_368/ext)\nrequire_gem is obsolete.  Use gem instead.\n"]>.

  2) Failure:
test_execute(TestGemOutdatedCommand) [./test/test_gem_outdated_command.rb:32]:
<"foo (0.2 < 2.0)\n"> expected but was
<"">.

  3) Failure:
test_write_cache_user_from_scratch(TestGemSourceInfoCache) [./test/test_gem_source_info_cache.rb:181]:
<[["key", "new"]]> expected but was
<[]>.

  4) Failure:
test_write_cache_user_no_directory(TestGemSourceInfoCache) [./test/test_gem_source_info_cache.rb:192]:
<[["key", "new"]]> expected but was
<[]>.

  5) Failure:
test_execute(TestGemSourcesCommand) [./test/test_gem_sources_command.rb:23]:
<"*** CURRENT SOURCES ***\n\nhttp://gems.example.com\n"> expected but was
<"*** CURRENT SOURCES ***\n\n">.

  6) Failure:
test_execute_add(TestGemSourcesCommand) [./test/test_gem_sources_command.rb:53]:
<["http://beta-gems.example.com", "http://gems.example.com"]> expected but was
<[]>.

  7) Failure:
test_execute_remove(TestGemSourcesCommand) [./test/test_gem_sources_command.rb:122]:
<"http://gems.example.com removed from sources\n"> expected but was
<"source http://gems.example.com not present in cache\n">.

  8) Error:
test_install_bad_gem(TestInstaller):
Errno::EACCES: Permission denied - C:/DOCUME~1/anatol/LOCALS~1/Temp/test_rubygems_368/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'

  9) Error:
test_install_with_message(TestInstaller):
Errno::EACCES: Permission denied - C:/DOCUME~1/anatol/LOCALS~1/Temp/test_rubygems_368/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'

 10) Error:
test_find_gem_to_install(TestRemoteInstaller):
Gem::GemNotFoundException: Could not find gem_one (> 0.0.0) in any repository
    ./lib/rubygems/remote_installer.rb:104:in `specs_n_sources_matching'
    ./lib/rubygems/remote_installer.rb:114:in `find_gem_to_install'
    ./test/test_remote_installer.rb:77:in `test_find_gem_to_install'

 11) Failure:
test_source_index_hash(TestRemoteInstaller) [./test/test_remote_installer.rb:85]:
<1> expected but was
<0>.

 12) Error:
test_specs_n_sources_matching(TestRemoteInstaller):
Gem::GemNotFoundException: Could not find gem_one (> 0.0.0) in any repository
    ./lib/rubygems/remote_installer.rb:104:in `specs_n_sources_matching'
    ./test/test_remote_installer.rb:93:in `test_specs_n_sources_matching'

 13) Failure:
test_outdated(TestSourceIndex) [./test/test_source_index.rb:127]:
<["gem_one"]> expected but was
<[]>.

295 tests, 1019 assertions, 9 failures, 4 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