From: Matthias Tarasiewicz Date: 2009-02-02T08:14:03+09:00 Subject: ruby 1.9.1-p0 runner.rb errors on Mac OSX Leopard compile hi there, we are currently compiling the packages for the Ruby One-Click Installer for OSX ( http://rubyosx.com ) just wondering if anyone on OSX Leopard experienced the same error output from running "ruby runner.rb" in the /test directory of the sources. we thought there might be readline issues involved, since some people suggested patching and compiling readline before compiling ruby, but that actually didn't change anything. here's the link to our current discussion: http://rubyforge.org/pipermail/rubyosx-list/2009-February/000014.html here is the output from a ruby 1.9.1-p0 compilation on mac osx leopard 10.5.6 and the following compile settings: ./configure --prefix=/usr/local --enable-shared --enable-install-doc --enable-pthread && make && make install && make install-doc 1) Failure: test_delete(TestDBM) [/Users/ppl/Desktop/test/ruby-1.9.1-p0/test/dbm/test_dbm.rb:327]: DBMError expected but nothing was raised. 2) Error: test_05_too_large_ary(TestDRbLarge): DRb::DRbConnError: druby://localhost:55819 - # /Users/ppl/Desktop/test/ruby-1.9.1-p0/test/drb/test_drb.rb:266:in `teardown' 3) Failure: test_readable_p(TestFileExhaustive) [/Users/ppl/Desktop/test/ruby-1.9.1-p0/test/ruby/test_file_exhaustive.rb:146]: Failed assertion, no message given. 4) Failure: test_readable_real_p(TestFileExhaustive) [/Users/ppl/Desktop/test/ruby-1.9.1-p0/test/ruby/test_file_exhaustive.rb:155]: Failed assertion, no message given. 5) Failure: test_stat_readable_p(TestFileExhaustive) [/Users/ppl/Desktop/test/ruby-1.9.1-p0/test/ruby/test_file_exhaustive.rb:615]: Failed assertion, no message given. 6) Failure: test_stat_readable_real_p(TestFileExhaustive) [/Users/ppl/Desktop/test/ruby-1.9.1-p0/test/ruby/test_file_exhaustive.rb:623]: Failed assertion, no message given. 7) Failure: test_stat_writable_p(TestFileExhaustive) [/Users/ppl/Desktop/test/ruby-1.9.1-p0/test/ruby/test_file_exhaustive.rb:641]: Failed assertion, no message given. 8) Failure: test_stat_writable_real_p(TestFileExhaustive) [/Users/ppl/Desktop/test/ruby-1.9.1-p0/test/ruby/test_file_exhaustive.rb:649]: Failed assertion, no message given. 9) Failure: test_writable_p(TestFileExhaustive) [/Users/ppl/Desktop/test/ruby-1.9.1-p0/test/ruby/test_file_exhaustive.rb:175]: Failed assertion, no message given. 10) Failure: test_writable_real_p(TestFileExhaustive) [/Users/ppl/Desktop/test/ruby-1.9.1-p0/test/ruby/test_file_exhaustive.rb:184]: Failed assertion, no message given. 11) Failure: test_self_ensure_gem_directories_write_protected_parents(TestGem) [/Users/ppl/Desktop/test/ruby-1.9.1-p0/test/rubygems/test_gem.rb:211]: Failed assertion, no message given. 12) Failure: test_self_ensure_gem_directories_write_protected(TestGem) [/Users/ppl/Desktop/test/ruby-1.9.1-p0/test/rubygems/test_gem.rb:194]: Failed assertion, no message given. 13) Failure: test_self_prefix(TestGem) [/Users/ppl/Desktop/test/ruby-1.9.1-p0/test/rubygems/test_gem.rb:374]: Expected "/Users/ppl/Desktop/test/ruby-1.9.1-p0", not nil. 14) Failure: test_execute(TestGemCommandsEnvironmentCommand) [/Users/ppl/Desktop/test/ruby-1.9.1-p0/test/rubygems/test_gem_commands_environment_command.rb:26]: Expected /RUBYGEMS PREFIX: / to match "RubyGems Environment:\n - RUBYGEMS VERSION: 1.3.1\n - RUBY VERSION: 1.9.1 (2009-01-30 patchlevel 0) [i386-darwin9.6.0]\n - INSTALLATION DIRECTORY: /private/tmp/test_rubygems_63552/gemhome\n - RUBY EXECUTABLE: /usr/local/bin/ruby\n - EXECUTABLE DIRECTORY: /private/tmp/test_rubygems_63552/gemhome/bin\n - RUBYGEMS PLATFORMS:\n - ruby\n - x86-darwin-8\n - GEM PATHS:\n - /private/tmp/test_rubygems_63552/gemhome\n - GEM CONFIGURATION:\n - :update_sources => true\n - :verbose => true\n - :benchmark => false\n - :backtrace => false\n - :bulk_threshold => 1000\n - REMOTE SOURCES:\n - http://gems.example.com\n". 15) Failure: test_uninstall_doc_unwritable(TestGemDocManager) [/Users/ppl/Desktop/test/ruby-1.9.1-p0/test/rubygems/test_gem_doc_manager.rb:23]: Gem::FilePermissionError expected but nothing was raised. 16) Failure: test_user_install_disabled_read_only(TestGemInstallUpdateOptions) [/Users/ppl/Desktop/test/ruby-1.9.1-p0/test/rubygems/test_gem_install_update_options.rb:54]: Gem::FilePermissionError expected but nothing was raised. 17) Failure: test_generate_bin_script_no_perms(TestGemInstaller) [/Users/ppl/Desktop/test/ruby-1.9.1-p0/test/rubygems/test_gem_installer.rb:293]: Gem::FilePermissionError expected but nothing was raised. 18) Failure: test_generate_bin_symlink_no_perms(TestGemInstaller) [/Users/ppl/Desktop/test/ruby-1.9.1-p0/test/rubygems/test_gem_installer.rb:378]: Gem::FilePermissionError expected but nothing was raised. 19) Failure: test_install_bindir_read_only(TestGemInstaller) [/Users/ppl/Desktop/test/ruby-1.9.1-p0/test/rubygems/test_gem_installer.rb:721]: Failed assertion, no message given. 20) Failure: test_install_user_local_fallback(TestGemInstaller) [/Users/ppl/Desktop/test/ruby-1.9.1-p0/test/rubygems/test_gem_installer.rb:702]: Failed assertion, no message given. 21) Failure: test_download_read_only(TestGemRemoteFetcher) [/Users/ppl/Desktop/test/ruby-1.9.1-p0/test/rubygems/test_gem_remote_fetcher.rb:285]: Failed assertion, no message given. 22) Failure: test_download_local_read_only(TestGemRemoteFetcher) [/Users/ppl/Desktop/test/ruby-1.9.1-p0/test/rubygems/test_gem_remote_fetcher.rb:272]: Expected "/private/tmp/test_rubygems_63552/a-1.gem", not "/private/tmp/test_rubygems_63552/gemhome/cache/a-1.gem". 23) Failure: test_cache_data_none_readable(TestGemSourceInfoCache) [/Users/ppl/Desktop/test/ruby-1.9.1-p0/test/rubygems/test_gem_source_info_cache.rb:142]: Expected {}, not {"http://gems.example.com/"=>#, @size=0, @all=false>}. 24) Failure: test_cache_data_none_writable(TestGemSourceInfoCache) [/Users/ppl/Desktop/test/ruby-1.9.1-p0/test/rubygems/test_gem_source_info_cache.rb:148]: RuntimeError expected but nothing was raised. 25) Failure: test_write_cache_user_from_scratch(TestGemSourceInfoCache) [/Users/ppl/Desktop/test/ruby-1.9.1-p0/test/rubygems/test_gem_source_info_cache.rb:392]: system_cache_file 26) Failure: test_cache_file_user_fallback(TestGemSourceInfoCache) [/Users/ppl/Desktop/test/ruby-1.9.1-p0/test/rubygems/test_gem_source_info_cache.rb:197]: Expected "/private/tmp/test_rubygems_63552/gemhome/.gem/user_cache", not "/private/tmp/test_rubygems_63552/gemhome/source_cache". 27) Failure: test_cache_file_none_writable(TestGemSourceInfoCache) [/Users/ppl/Desktop/test/ruby-1.9.1-p0/test/rubygems/test_gem_source_info_cache.rb:203]: RuntimeError expected but nothing was raised. 28) Error: test_write_cache_user_no_directory(TestGemSourceInfoCache): Errno::ENOENT: No such file or directory - /private/tmp/test_rubygems_63552/gemhome/.gem/user_cache /Users/ppl/Desktop/test/ruby-1.9.1-p0/test/rubygems/gemutilities.rb:190:in `read_cache' /Users/ppl/Desktop/test/ruby-1.9.1-p0/test/rubygems/test_gem_source_info_cache.rb:425:in `test_write_cache_user_no_directory' 29) Failure: test_handle_special_CROSSREF_no_underscore(TestRDocMarkupToHtmlCrossref) [/Users/ppl/Desktop/test/ruby-1.9.1-p0/test/rdoc/test_rdoc_markup_to_html_crossref.rb:87]: Expected "

/Users/ppl/Desktop/test/ruby-1.9.1-p0/test/rdoc/rdoc_markup_to_html_crossref_reference.rb

", not "

/Users/ppl/Desktop/test/ruby-1.9.1-p0/test/rdoc/rdoc_markup_to_html_crossref_reference.rb

". 30) Failure: test_readonly(TestSDBM) [/Users/ppl/Desktop/test/ruby-1.9.1-p0/test/sdbm/test_sdbm.rb:539]: SDBMError expected but nothing was raised. 31) Failure: test_s_open_error(TestSDBM) [/Users/ppl/Desktop/test/ruby-1.9.1-p0/test/sdbm/test_sdbm.rb:124]: Errno::EACCES expected but nothing was raised. 5780 tests, 2514732 assertions, 29 failures, 2 errors, 0 skips -- Posted via http://www.ruby-forum.com/.