Issue #4618 has been reported by Jon Forums.

----------------------------------------
Bug #4618: Encoding::ConverterNotFoundErrors on trunk (Windows mingw)
http://redmine.ruby-lang.org/issues/4618

Author: Jon Forums
Status: Open
Priority: Normal
Assignee: 
Category: core
Target version: 1.9.3
ruby -v: ruby 1.9.3dev (2011-04-27 trunk 31364) [i386-mingw32]


It appears recent newline trunk code changes cause test failures on Windows as I can't replicate the following failures in test_literal.rb, psych, or openssl on my Arch system.

For the openssl failures, I'm checking whether my recent upgrade from 0.9.8q to 0.9.8r changes things and will report back if needed.

Tested on Windows 7 Ultimate 32-bit with a trunk@31364 built using the RubyInstaller recipes and tdm-gcc 4.5.2.


 $ make test
 ...
 #339 test_literal.rb: `echo foo`  #=> "foo\r\n" (expected "foo\n")
 #340 test_literal.rb: s = "foo"; `echo #{s}`  #=> "foo\r\n" (expected "foo\n")
 FAIL 2/934 tests failed
 make: *** [yes-btest-ruby] Error 1
  

 $ make test-all TESTS=psych
 
 1) Error:
 test_dump_file(TestPsych):
 Encoding::ConverterNotFoundError: code converter not found (universal_newline,crlf_newline)
 c:/projects/rubyinstaller-git/sandbox/ruby19_build/.ext/common/psych/visitors/emitter.rb:20:in `end_document'
 c:/projects/rubyinstaller-git/sandbox/ruby19_build/.ext/common/psych/visitors/emitter.rb:20:in `visit_Psych_Nodes_Document'
 c:/projects/rubyinstaller-git/sandbox/ruby19_build/.ext/common/psych/visitors/visitor.rb:15:in `visit'
 c:/projects/rubyinstaller-git/sandbox/ruby19_build/.ext/common/psych/visitors/visitor.rb:5:in `accept'
 c:/projects/rubyinstaller-git/sandbox/ruby19_build/.ext/common/psych/visitors/emitter.rb:13:in `block in visit_Psych_Nodes_Stream'
 c:/projects/rubyinstaller-git/sandbox/ruby19_build/.ext/common/psych/visitors/emitter.rb:13:in `each'
 c:/projects/rubyinstaller-git/sandbox/ruby19_build/.ext/common/psych/visitors/emitter.rb:13:in `visit_Psych_Nodes_Stream'
 c:/projects/rubyinstaller-git/sandbox/ruby19_build/.ext/common/psych/visitors/visitor.rb:15:in `visit'
 c:/projects/rubyinstaller-git/sandbox/ruby19_build/.ext/common/psych/visitors/visitor.rb:5:in `accept'
 c:/projects/rubyinstaller-git/sandbox/ruby19_build/.ext/common/psych/nodes/node.rb:46:in `to_yaml'
 c:/projects/rubyinstaller-git/sandbox/ruby19_build/.ext/common/psych.rb:190:in `dump'
 c:/Users/Jon/Documents/RubyDev/ruby-git/test/psych/test_psych.rb:68:in `block in test_dump_file'
 
 398 tests, 1112 assertions, 0 failures, 1 errors, 0 skips
 
 
 $ make test-all TESTS=openssl
 ...
 1) Error:
 test_add_value(OpenSSL::TestConfig):
 Encoding::ConverterNotFoundError: code converter not found (universal_newline,crlf_newline)
 c:/Users/Jon/Documents/RubyDev/ruby-git/test/openssl/test_config.rb:13:in `setup'
 
 2) Error:
 test_aref(OpenSSL::TestConfig):
 Encoding::ConverterNotFoundError: code converter not found (universal_newline,crlf_newline)
 c:/Users/Jon/Documents/RubyDev/ruby-git/test/openssl/test_config.rb:13:in `setup'
 
 3) Error:
 test_aset(OpenSSL::TestConfig):
 Encoding::ConverterNotFoundError: code converter not found (universal_newline,crlf_newline)
 c:/Users/Jon/Documents/RubyDev/ruby-git/test/openssl/test_config.rb:13:in `setup'
 
 4) Error:
 test_clone(OpenSSL::TestConfig):
 Encoding::ConverterNotFoundError: code converter not found (universal_newline,crlf_newline)
 c:/Users/Jon/Documents/RubyDev/ruby-git/test/openssl/test_config.rb:13:in `setup'
 
 5) Error:
 test_constants(OpenSSL::TestConfig):
 Encoding::ConverterNotFoundError: code converter not found (universal_newline,crlf_newline)
 c:/Users/Jon/Documents/RubyDev/ruby-git/test/openssl/test_config.rb:13:in `setup'
 
 6) Error:
 test_dup(OpenSSL::TestConfig):
 Encoding::ConverterNotFoundError: code converter not found (universal_newline,crlf_newline)
 c:/Users/Jon/Documents/RubyDev/ruby-git/test/openssl/test_config.rb:13:in `setup'
 
 7) Error:
 test_each(OpenSSL::TestConfig):
 Encoding::ConverterNotFoundError: code converter not found (universal_newline,crlf_newline)
 c:/Users/Jon/Documents/RubyDev/ruby-git/test/openssl/test_config.rb:13:in `setup'
 
 8) Error:
 test_freeze(OpenSSL::TestConfig):
 Encoding::ConverterNotFoundError: code converter not found (universal_newline,crlf_newline)
 c:/Users/Jon/Documents/RubyDev/ruby-git/test/openssl/test_config.rb:13:in `setup'
 
 9) Error:
 test_get_value(OpenSSL::TestConfig):
 Encoding::ConverterNotFoundError: code converter not found (universal_newline,crlf_newline)
 c:/Users/Jon/Documents/RubyDev/ruby-git/test/openssl/test_config.rb:13:in `setup'
 
 10) Error:
 test_get_value_ENV(OpenSSL::TestConfig):
 Encoding::ConverterNotFoundError: code converter not found (universal_newline,crlf_newline)
 c:/Users/Jon/Documents/RubyDev/ruby-git/test/openssl/test_config.rb:13:in `setup'
 
 11) Error:
 test_initialize(OpenSSL::TestConfig):
 Encoding::ConverterNotFoundError: code converter not found (universal_newline,crlf_newline)
 c:/Users/Jon/Documents/RubyDev/ruby-git/test/openssl/test_config.rb:13:in `setup'
 
 12) Error:
 test_initialize_with_empty_file(OpenSSL::TestConfig):
 Encoding::ConverterNotFoundError: code converter not found (universal_newline,crlf_newline)
 c:/Users/Jon/Documents/RubyDev/ruby-git/test/openssl/test_config.rb:13:in `setup'
 
 13) Error:
 test_initialize_with_example_file(OpenSSL::TestConfig):
 Encoding::ConverterNotFoundError: code converter not found (universal_newline,crlf_newline)
 c:/Users/Jon/Documents/RubyDev/ruby-git/test/openssl/test_config.rb:13:in `setup'
 
 14) Error:
 test_inspect(OpenSSL::TestConfig):
 Encoding::ConverterNotFoundError: code converter not found (universal_newline,crlf_newline)
 c:/Users/Jon/Documents/RubyDev/ruby-git/test/openssl/test_config.rb:13:in `setup'
 
 15) Error:
 test_s_load(OpenSSL::TestConfig):
 Encoding::ConverterNotFoundError: code converter not found (universal_newline,crlf_newline)
 c:/Users/Jon/Documents/RubyDev/ruby-git/test/openssl/test_config.rb:13:in `setup'
 
 16) Error:
 test_s_parse(OpenSSL::TestConfig):
 Encoding::ConverterNotFoundError: code converter not found (universal_newline,crlf_newline)
 c:/Users/Jon/Documents/RubyDev/ruby-git/test/openssl/test_config.rb:13:in `setup'
 
 17) Error:
 test_s_parse_format(OpenSSL::TestConfig):
 Encoding::ConverterNotFoundError: code converter not found (universal_newline,crlf_newline)
 c:/Users/Jon/Documents/RubyDev/ruby-git/test/openssl/test_config.rb:13:in `setup'
 
 18) Error:
 test_section(OpenSSL::TestConfig):
 Encoding::ConverterNotFoundError: code converter not found (universal_newline,crlf_newline)
 c:/Users/Jon/Documents/RubyDev/ruby-git/test/openssl/test_config.rb:13:in `setup'
 
 19) Error:
 test_sections(OpenSSL::TestConfig):
 Encoding::ConverterNotFoundError: code converter not found (universal_newline,crlf_newline)
 c:/Users/Jon/Documents/RubyDev/ruby-git/test/openssl/test_config.rb:13:in `setup'
 
 20) Error:
 test_to_s(OpenSSL::TestConfig):
 Encoding::ConverterNotFoundError: code converter not found (universal_newline,crlf_newline)
 c:/Users/Jon/Documents/RubyDev/ruby-git/test/openssl/test_config.rb:13:in `setup'
 
 21) Error:
 test_value(OpenSSL::TestConfig):
 Encoding::ConverterNotFoundError: code converter not found (universal_newline,crlf_newline)
 c:/Users/Jon/Documents/RubyDev/ruby-git/test/openssl/test_config.rb:13:in `setup'
 
 22) Error:
 test_value_ENV(OpenSSL::TestConfig):
 Encoding::ConverterNotFoundError: code converter not found (universal_newline,crlf_newline)
 c:/Users/Jon/Documents/RubyDev/ruby-git/test/openssl/test_config.rb:13:in `setup'


-- 
http://redmine.ruby-lang.org