ruby 1.9.1-p0 runner.rb errors on Mac OSX Leopard compile

Discussion in 'Ruby' started by Matthias Tarasiewicz, Feb 1, 2009.

  1. 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 - #<Errno::ECONNREFUSED:
    Connection refused - connect(2)>
    /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/"=>#<Gem::SourceInfoCacheEntry:0x565a374
    @source_index=#<Gem::SourceIndex:0x565a338 @gems={}, @spec_dirs=nil>,
    @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 "<p> <a
    href=\"../files/Users/ppl/Desktop/test/ruby-1_9_1-p0/test/rdoc/rdoc_markup_to_html_crossref_reference_rb.html\">/Users/ppl/Desktop/test/ruby-1.9.1-p0/test/rdoc/rdoc_markup_to_html_crossref_reference.rb</a>
    </p> ", not "<p>
    /Users/ppl/Desktop/test/ruby-1.9.1-p0/test/rdoc/rdoc_markup_to_html_crossref_reference.rb
    </p> ".

    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/.
    Matthias Tarasiewicz, Feb 1, 2009
    #1
    1. Advertising

  2. On 02.02.2009, at 00:14, Matthias Tarasiewicz wrote:

    > hi there,
    > we are currently compiling the packages for the Ruby One-Click =20
    > 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=3D/usr/local --enable-shared --enable-install-doc
    > --enable-pthread && make && make install && make install-doc


    ----------------8<-------------

    > 5780 tests, 2514732 assertions, 29 failures, 2 errors, 0 skips



    Yesterday I compiled it and `make test' runs without errors.

    $ ruby191 test/runner.rb
    ...
    5779 tests, 2514940 assertions, 8 failures, 0 errors, 0 skips


    I used different configure flags:
    autoconf && ./configure --prefix=3D/usr/local --program-suffix=3D191

    $ ruby191 --version
    ruby 1.9.1p0 (2009-01-30 revision 21907) [i386-darwin9.6.0]

    $ uname -mprsv
    Darwin 9.6.0 Darwin Kernel Version 9.6.0: Mon Nov 24 17:37:00 PST =20
    2008; root:xnu-1228.9.59~1/RELEASE_I386 i386 i386
    #(10.5.6) on a new macbook


    regards, Sandor Sz=FCcs
    --
    Sandor Szücs, Feb 2, 2009
    #2
    1. Advertising

  3. Re: ruby 1.9.1-p0 runner.rb errors on Mac OSX Leopard compil

    Sandor Szücs wrote:
    > $ ruby191 test/runner.rb
    > ...
    > 5779 tests, 2514940 assertions, 8 failures, 0 errors, 0 skips


    sandor, can you tell us which system you are on and which tests exactly
    failed?

    thanks,
    matthias
    --
    Posted via http://www.ruby-forum.com/.
    Matthias Tarasiewicz, Feb 2, 2009
    #3
  4. Re: ruby 1.9.1-p0 runner.rb errors on Mac OSX Leopard compil

    On 02.02.2009, at 14:42, Matthias Tarasiewicz wrote:

    > Sandor Sz=FCcs wrote:
    >> $ ruby191 test/runner.rb
    >> ...
    >> 5779 tests, 2514940 assertions, 8 failures, 0 errors, 0 skips

    >
    > sandor, can you tell us which system you are on and which tests =20
    > exactly
    > failed?


    The system as already mentioned (# Mac OSX 10.5.6 (build 9G55) on a =20
    new macbook):
    $ uname -mprsv
    Darwin 9.6.0 Darwin Kernel Version 9.6.0: Mon Nov 24 17:37:00 PST =20
    2008; root:xnu-1228.9.59~1/RELEASE_I386 i386 i386


    $ ruby191 test/runner.rb
    ....
    1) Failure:
    test_self_prefix(TestGem) [/Users/sszuecs/src/ruby/ruby-1.9.1-p0/test/=20=

    rubygems/test_gem.rb:374]:
    Expected "/Users/sszuecs/src/ruby/ruby-1.9.1-p0", not nil.

    2) Failure:
    test_execute(TestGemCommandsEnvironmentCommand) [/Users/sszuecs/src/=20
    ruby/ruby-1.9.1-p0/test/rubygems/=20
    test_gem_commands_environment_command.rb:26]:
    Expected /RUBYGEMS PREFIX: / to match "RubyGems Environment:\n - =20
    RUBYGEMS VERSION: 1.3.1\n - RUBY VERSION: 1.9.1 (2009-01-30 =20
    patchlevel 0) [i386-darwin9.6.0]\n - INSTALLATION DIRECTORY: /private/=20=

    var/folders/hB/hBWewULTHUKJimmse-1pdE+++TM/-Tmp-/test_rubygems_38546/=20
    gemhome\n - RUBY EXECUTABLE: /usr/local/bin/ruby191\n - EXECUTABLE =20
    DIRECTORY: /private/var/folders/hB/hBWewULTHUKJimmse-1pdE+++TM/-Tmp-/=20
    test_rubygems_38546/gemhome/bin\n - RUBYGEMS PLATFORMS:\n - ruby=20
    \n - x86-darwin-8\n - GEM PATHS:\n - /private/var/folders/hB/=20
    hBWewULTHUKJimmse-1pdE+++TM/-Tmp-/test_rubygems_38546/gemhome\n - GEM =20=

    CONFIGURATION:\n - :update_sources =3D> true\n - :verbose =3D> =
    true=20
    \n - :benchmark =3D> false\n - :backtrace =3D> false\n =20
    - :bulk_threshold =3D> 1000\n - REMOTE SOURCES:\n - =
    http://gems.example.com=20
    \n".

    3) Failure:
    test_generate_bin_script_install_dir(TestGemInstaller) [/Users/sszuecs/=20=

    src/ruby/ruby-1.9.1-p0/test/rubygems/test_gem_installer.rb:274]:
    Expected 33261, not 33216.

    4) Failure:
    test_generate_bin_bindir(TestGemInstaller) [/Users/sszuecs/src/ruby/=20
    ruby-1.9.1-p0/test/rubygems/test_gem_installer.rb:206]:
    Expected 33261, not 33216.

    5) Failure:
    test_generate_bin_script_no_shebang(TestGemInstaller) [/Users/sszuecs/=20=

    src/ruby/ruby-1.9.1-p0/test/rubygems/test_gem_installer.rb:316]:
    Expected 33261, not 33216.

    6) Failure:
    test_generate_bin_script_wrappers(TestGemInstaller) [/Users/sszuecs/=20
    src/ruby/ruby-1.9.1-p0/test/rubygems/test_gem_installer.rb:341]:
    Expected 33261, not 33216.

    7) Failure:
    test_generate_bin_script(TestGemInstaller) [/Users/sszuecs/src/ruby/=20
    ruby-1.9.1-p0/test/rubygems/test_gem_installer.rb:221]:
    Expected 33261, not 33216.

    8) Failure:
    test_handle_special_CROSSREF_no_underscore=20
    (TestRDocMarkupToHtmlCrossref) [/Users/sszuecs/src/ruby/ruby-1.9.1-p0/=20=

    test/rdoc/test_rdoc_markup_to_html_crossref.rb:87]:
    Expected "<p> <a href=3D\"../files/Users/sszuecs/src/ruby/ruby-1_9_1-p0/=20=

    test/rdoc/rdoc_markup_to_html_crossref_reference_rb.html\">/Users/=20
    sszuecs/src/ruby/ruby-1.9.1-p0/test/rdoc/=20
    rdoc_markup_to_html_crossref_reference.rb</a> </p> ", not "<p> /Users/=20=

    sszuecs/src/ruby/ruby-1.9.1-p0/test/rdoc/=20
    rdoc_markup_to_html_crossref_reference.rb </p> ".

    5779 tests, 2514940 assertions, 8 failures, 0 errors, 0 skips


    If you need more information I will provide them.

    Regards, Sandor Sz=FCcs
    --=
    Sandor Szücs, Feb 2, 2009
    #4
  5. Re: ruby 1.9.1-p0 runner.rb errors on Mac OSX Leopard compil

    Sandor Szücs wrote:
    >>> 5779 tests, 2514940 assertions, 8 failures, 0 errors, 0 skips


    i am wondering why you have different errors on your tests that we had
    on osx leopard compiles of 1.9.1-p0

    can you also post your results to ?
    and can you tell us if you did any readline patching or if you compiled
    ruby straight with no other precompiles?

    thanks, parasew

    --
    Posted via http://www.ruby-forum.com/.
    Matthias Tarasiewicz, Feb 2, 2009
    #5
    1. Advertising

Want to reply to this thread or ask your own question?

It takes just 2 minutes to sign up (and it's free!). Just click the sign up button to choose a username and then you can ask your own questions on the forum.
Similar Threads
  1. Imok20

    GCC Broken on Leopard (OSX)

    Imok20, Jan 19, 2008, in forum: C Programming
    Replies:
    11
    Views:
    472
    CBFalconer
    Jan 21, 2008
  2. Replies:
    2
    Views:
    315
  3. Replies:
    3
    Views:
    2,152
  4. Tim Becker

    Ruby DTrace (on OSX Leopard)

    Tim Becker, Oct 30, 2007, in forum: Ruby
    Replies:
    1
    Views:
    92
    Tim Becker
    Oct 30, 2007
  5. Jason Fr
    Replies:
    1
    Views:
    130
    Joshua Ballanco
    Oct 19, 2009
Loading...

Share This Page