[lnkForumImage]
TotalShareware - Download Free Software

Confronta i prezzi di migliaia di prodotti.
Asp Forum
 Home | Login | Register | Search 


 

Forums >

comp.lang.ruby

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

Matthias Tarasiewicz

2/1/2009 11:14:00 PM

hi there,
we are currently compiling the packages for the Ruby One-Click Installer
for OSX ( http://r... )
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/0...

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.e...\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.e.../"=>#<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-....

7 Answers

Sandor Szücs

2/2/2009 1:25:00 PM

0

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://r... )
> 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/0...
>
> 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
--


Matthias Tarasiewicz

2/2/2009 1:42:00 PM

0

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-....

Sandor Szücs

2/2/2009 2:11:00 PM

0


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.exam...
\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
--=

Matthias Tarasiewicz

2/2/2009 11:08:00 PM

0

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 rubyosx-list@rubyforge.org ?
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-....

Mental Handle

6/29/2013 6:40:00 PM

0

On Sat, 29 Jun 2013 08:28:06 -1000, dsi1 wrote:

> ... it's free.
>
> Beam me up, Jesus.

;)

dsi1

6/29/2013 7:18:00 PM

0

On 6/29/2013 8:34 AM, Curmudgeon wrote:
>
> I just contacted my news server and left a message - maybe they'll get back to me. There's always Google Groups, but the reason I abandoned Google for the newsreader was that Google wasn't updating. Anyway, there's no reason to fear being rmcg-less - there's always a way to find these urgent missives.
>

People afraid of being without rmcg - do they really exist? I've thought
that Google Groups would always be around as backup but these days I'm
not so sure. They have a history of dropping their "toys" and moving on.
The long transition period to the new interface might be an indication
of the priority GG holds in the Google universe. OTOH, the total switch
to the new interface is a good sign, I think.

In the end, it seems a no-brainer that GG will end up the winner over
Usenet. The transition to tablets and the lack of NNTP apps will
facilitate this. On the bright side, GG has some neat features. Che was
able to move an ancient block of posts into contemporary times. The
posts did not appear on my Thunderbird reader - I doubt that G will feel
inclined to relay stuff like this to any of the NNTP servers. As it
goes, they hold all the cards. That's the breaks.

dsi1

6/29/2013 7:20:00 PM

0

On 6/29/2013 8:40 AM, Mental Handle wrote:
> On Sat, 29 Jun 2013 08:28:06 -1000, dsi1 wrote:
>
>> ... it's free.
>>
>> Beam me up, Jesus.
>
> ;)
>

Yes, we would like to be moving off this planet soon, thank you.