Actions
Bug #21283
closedSome tests of TestMkmfConvertible is failing with VS2022 17.14.0 preview 4.0
Description
The following tests are broken with VS2022 17.14.0 preview 4.0.
1) Error:
TestMkmfConvertible#test_typeof_typedef:
Test::Unit::ProxyError: invalid byte sequence in UTF-8
V:/github.com/ruby/ruby/test/mkmf/test_convertible.rb:21:in 'block (2 levels) in TestMkmfConvertible#test_typeof_typedef'
V:/github.com/ruby/ruby/test/mkmf/test_convertible.rb:16:in 'Array#each'
V:/github.com/ruby/ruby/test/mkmf/test_convertible.rb:16:in 'block in TestMkmfConvertible#test_typeof_typedef'
V:/github.com/ruby/ruby/test/mkmf/test_convertible.rb:15:in 'Array#each'
V:/github.com/ruby/ruby/test/mkmf/test_convertible.rb:15:in 'TestMkmfConvertible#test_typeof_typedef'
2) Error:
TestMkmfConvertible#test_typeof_builtin:
Test::Unit::ProxyError: invalid byte sequence in UTF-8
V:/github.com/ruby/ruby/test/mkmf/test_convertible.rb:8:in 'block (2 levels) in TestMkmfConvertible#test_typeof_builtin'
V:/github.com/ruby/ruby/test/mkmf/test_convertible.rb:7:in 'Array#each'
V:/github.com/ruby/ruby/test/mkmf/test_convertible.rb:7:in 'block in TestMkmfConvertible#test_typeof_builtin'
V:/github.com/ruby/ruby/test/mkmf/test_convertible.rb:6:in 'Array#each'
V:/github.com/ruby/ruby/test/mkmf/test_convertible.rb:6:in 'TestMkmfConvertible#test_typeof_builtin'
They are working fine with VS2019.
Updated by nobu (Nobuyoshi Nakada) 3 months ago
Probably due to warnings in CP932 encoding.
The warning issue is already reported at: https://developercommunity.visualstudio.com/t/warning-C5287:-operands-are-different-e/10877942
Updated by hsbt (Hiroshi SHIBATA) about 2 months ago
- Status changed from Open to Closed
This issue has not happened with VS2022 17.14.2. I'm closing this.
Updated by nobu (Nobuyoshi Nakada) about 2 months ago
It is fixed at e1adb6cb15129a54df0c55a337e98b92b2a55e3f
Updated by nobu (Nobuyoshi Nakada) about 2 months ago
Maybe this needs to backport?
Updated by hsbt (Hiroshi SHIBATA) about 2 months ago
- Backport changed from 3.2: UNKNOWN, 3.3: UNKNOWN, 3.4: UNKNOWN to 3.2: REQUIRED, 3.3: REQUIRED, 3.4: REQUIRED
Thanks @nobu (Nobuyoshi Nakada)
I will backport this fix to ruby_3_2
because this warning may cause gem installation issue.
Updated by nagachika (Tomoyuki Chikanaga) about 1 month ago
- Backport changed from 3.2: REQUIRED, 3.3: REQUIRED, 3.4: REQUIRED to 3.2: REQUIRED, 3.3: DONE, 3.4: REQUIRED
ruby_3_3 dc88822c3eabbd3f5ac080b1ff1059b1f0066bd2 merged revision(s) e1adb6cb15129a54df0c55a337e98b92b2a55e3f.
Actions
Like0
Like0Like0Like0Like0Like0Like0