虚無庵

徒然なるままに

今日の ruby build 2023-11-23

今日のビルド

a31cdc6ee9bfe517e7eaffdca7c8bfeefd0c1df1 までを pull ってきてビルド。エラー/警告ともになし。

  Files:       1051

  Classes:     1262 ( 317 undocumented)
  Modules:      244 (  81 undocumented)
  Constants:   2458 ( 788 undocumented)
  Attributes:  1491 ( 258 undocumented)
  Methods:    12661 (2519 undocumented)

  Total:      18116 (3963 undocumented)
   78.12% documented

  Elapsed: 32.5s

今日のテスト

make test-all を実行。

Leaked file descriptor: TestIRB::ContextTest#test_build_completor: 5 #<File::Stat dev=0x10302, ino=2623712, mode=0100644, nlink=1, uid=1000, gid=1000, rdev=0x0, size=1013, blksize=4096, blocks=8, atime=2023-11-23 00:55:13.67004126 +0900, mtime=2023-07-16 02:16:13.739839427 +0900, ctime=2023-07-16 02:16:13.739839427 +0900>
Closed file descriptor: TestIRB::ContextTest#test_eval_input_with_long_exception: 5
Finished tests in 651.790618s, 40.6265 tests/s, 11102.0638 assertions/s.
26480 tests, 7236221 assertions, 0 failures, 0 errors, 87 skips

ruby -v: ruby 3.3.0dev (2023-11-23T14:11:24Z master a31cdc6ee9) [x86_64-linux]

今日のビルド(Universal Parser 有効化)

a31cdc6ee9bfe517e7eaffdca7c8bfeefd0c1df1 までを pull ってきてビルド。

ruby_parser.c: In function ‘rb_parser_config_initialize’:
ruby_parser.c:721:29: warning: assignment left-hand side might be a candidate for a format attribute [-Wsuggest-attribute=format]
  721 |     config->compile_warn    = rb_compile_warn;
      |                             ^
ruby_parser.c:722:29: warning: assignment left-hand side might be a candidate for a format attribute [-Wsuggest-attribute=format]
  722 |     config->compile_warning = rb_compile_warning;
      |                             ^
ruby_parser.c:723:29: warning: assignment left-hand side might be a candidate for a format attribute [-Wsuggest-attribute=format]
  723 |     config->bug             = rb_bug;
      |                             ^
ruby_parser.c:724:29: warning: assignment left-hand side might be a candidate for a format attribute [-Wsuggest-attribute=format]
  724 |     config->fatal           = rb_fatal;
      |                             ^
ruby_parser.c: At top level:
cc1: note: unrecognized command-line option ‘-Wno-self-assign’ may have been intended to silence earlier diagnostics
cc1: note: unrecognized command-line option ‘-Wno-parentheses-equality’ may have been intended to silence earlier diagnostics
cc1: note: unrecognized command-line option ‘-Wno-constant-logical-operand’ may have been intended to silence earlier diagnostics
  Files:       1051

  Classes:     1262 ( 317 undocumented)
  Modules:      244 (  81 undocumented)
  Constants:   2458 ( 788 undocumented)
  Attributes:  1491 ( 258 undocumented)
  Methods:    12661 (2519 undocumented)

  Total:      18116 (3963 undocumented)
   78.12% documented

  Elapsed: 36.8s

今日のテスト(Universal Parser 有効化)

make test-all を実行。

Leaked file descriptor: TestIRB::ContextTest#test_build_completor: 5 #<File::Stat dev=0x10302, ino=3297912, mode=0100644, nlink=1, uid=1000, gid=1000, rdev=0x0, size=1013, blksize=4096, blocks=8, atime=2023-11-23 00:55:26.686439388 +0900, mtime=2023-08-23 21:49:10.259310789 +0900, ctime=2023-08-23 21:49:10.259310789 +0900>
Closed file descriptor: TestIRB::ContextTest#test_eval_input_with_long_exception: 5
Finished tests in 673.479940s, 39.3182 tests/s, 10737.7022 assertions/s.
26480 tests, 7231627 assertions, 0 failures, 0 errors, 87 skips

ruby -v: ruby 3.3.0dev (2023-11-23T14:11:24Z master a31cdc6ee9) [x86_64-linux]

今日のビルド(YJIT 有効化)

a31cdc6ee9bfe517e7eaffdca7c8bfeefd0c1df1 までを pull ってきてビルド。エラー/警告ともになし。

今日のテスト(YJIT 有効化)

make test-all を実行。

Leaked file descriptor: TestIRB::ContextTest#test_build_completor: 5 #<File::Stat dev=0x10302, ino=2624449, mode=0100644, nlink=1, uid=1000, gid=1000, rdev=0x0, size=1013, blksize=4096, blocks=8, atime=2023-11-23 00:55:17.575384278 +0900, mtime=2023-09-17 15:37:01.752490258 +0900, ctime=2023-09-17 15:37:01.752490258 +0900>
Multiple autoclose IO objects for a file descriptor in: TestIRB::ContextTest#test_build_completor:  #<IO:<STDIN>>(autoclose) #<IO:fd 0>(autoclose)
Closed file descriptor: TestIRB::ContextTest#test_default_return_format: 5

  1) Failure:
TestGc#test_stat_heap_all [/home/jinroq/dev/sandbox/my-ruby-build/build-yjit-ruby-repo/test/ruby/test_gc.rb:197]:
<{:slot_size=>320,
 :heap_allocatable_pages=>0,
 :heap_eden_pages=>44,
 :heap_eden_slots=>8971,
 :heap_tomb_pages=>6,
 :heap_tomb_slots=>1224,
 :total_allocated_pages=>50,
 :total_freed_pages=>0,
 :force_major_gc_count=>0,
 :force_incremental_marking_finish_count=>1,
 :total_allocated_objects=>0,
 :total_freed_objects=>169266}> expected but was
<{:slot_size=>320,
 :heap_allocatable_pages=>0,
 :heap_eden_pages=>47,
 :heap_eden_slots=>9583,
 :heap_tomb_pages=>3,
 :heap_tomb_slots=>612,
 :total_allocated_pages=>50,
 :total_freed_pages=>0,
 :force_major_gc_count=>0,
 :force_incremental_marking_finish_count=>1,
 :total_allocated_objects=>0,
 :total_freed_objects=>169266}>.

Finished tests in 664.849913s, 39.8285 tests/s, 10881.2965 assertions/s.
26480 tests, 7234429 assertions, 1 failures, 0 errors, 86 skips

ruby -v: ruby 3.3.0dev (2023-11-23T14:11:24Z master a31cdc6ee9) [x86_64-linux]
make: *** [uncommon.mk:945: yes-test-all] エラー 1

ん?なんだ?

今日のビルド(RJIT 有効化)

a31cdc6ee9bfe517e7eaffdca7c8bfeefd0c1df1 までを pull ってきてビルド。エラー/警告ともになし。

今日のテスト(RJIT 有効化)

make test-all を実行。

Leaked file descriptor: TestIRB::ContextTest#test_build_completor: 5 #<File::Stat dev=0x10302, ino=2520440, mode=0100644, nlink=1, uid=1000, gid=1000, rdev=0x0, size=1013, blksize=4096, blocks=8, atime=2023-11-23 00:55:18.103564341 +0900, mtime=2023-09-17 15:37:40.725234164 +0900, ctime=2023-09-17 15:37:40.725234164 +0900>
Multiple autoclose IO objects for a file descriptor in: TestIRB::ContextTest#test_build_completor:  #<IO:<STDIN>>(autoclose) #<IO:fd 0>(autoclose)
Closed file descriptor: TestIRB::ContextTest#test_prompt_n_deprecation: 5
Finished tests in 685.580343s, 38.6242 tests/s, 10555.8482 assertions/s.
26480 tests, 7236882 assertions, 0 failures, 0 errors, 86 skips

ruby -v: ruby 3.3.0dev (2023-11-23T14:11:24Z master a31cdc6ee9) [x86_64-linux]