Ruby Issue Tracking System: Issues
https://redmine.ruby-lang.org/
https://redmine.ruby-lang.org/favicon.ico?1711330511
2014-05-10T11:39:33Z
Ruby Issue Tracking System
Redmine
Ruby master - Bug #9825 (Closed): Ruby option -Ke and -KE doesn't work well on Mac OSX 10.9.2
https://redmine.ruby-lang.org/issues/9825
2014-05-10T11:39:33Z
ayumin (Ayumu AIZAWA)
ayumu.aizawa@gmail.com
<p>手元の環境でビルドした環境でテストしたころ、TestRubyOptions#test_kanji で EUC-JP が invalid byte sequence in EUC-JP と判定されて失敗します。<br>
その他のエンコード(Windows-31J、UTF-8、ASCII-8BIT)は問題なく通るようです。</p>
<p>$ make test-all TESTS='-vn /test_kanji/ test/ruby/test_rubyoptions.rb'<br>
CC = clang<br>
LD = ld<br>
LDSHARED = clang -dynamic -bundle<br>
CFLAGS = -O3 -fno-fast-math -ggdb3 -Wall -Wextra -Wno-unused-parameter -Wno-parentheses -Wno-long-long -Wno-missing-field-initializers -Wunused-variable -Werror=pointer-arith -Werror=write-strings -Werror=declaration-after-statement -Werror=shorten-64-to-32 -Werror=implicit-function-declaration -Werror=division-by-zero -Werror=deprecated-declarations -Werror=extra-tokens -pipe -arch x86_64<br>
XCFLAGS = -D_FORTIFY_SOURCE=2 -fstack-protector -fno-strict-overflow -fvisibility=hidden -DRUBY_EXPORT -fPIE<br>
CPPFLAGS = -D_XOPEN_SOURCE -D_DARWIN_C_SOURCE -D_DARWIN_UNLIMITED_SELECT -D_REENTRANT -I. -I.ext/include/x86_64-darwin13 -I./include -I.<br>
DLDFLAGS = -Wl,-undefined,dynamic_lookup -Wl,-multiply_defined,suppress -fstack-protector -Wl,-u,_objc_msgSend -Wl,-pie -framework CoreFoundation -arch x86_64<br>
SOLIBS =<br>
Apple LLVM version 5.1 (clang-503.0.40) (based on LLVM 3.4svn)<br>
Target: x86_64-apple-darwin13.1.0<br>
Thread model: posix<br>
./miniruby -I./lib -I. -I.ext/common ./tool/runruby.rb --extout=.ext -- --disable-gems "./test/runner.rb" --ruby="./miniruby -I./lib -I. -I.ext/common ./tool/runruby.rb --extout=.ext -- --disable-gems" -vn /test_kanji/ test/ruby/test_rubyoptions.rb<br>
Run options: "--ruby=./miniruby -I./lib -I. -I.ext/common ./tool/runruby.rb --extout=.ext -- --disable-gems" -vn /test_kanji/</p>
<a name="Running-tests"></a>
<h1 >Running tests:<a href="#Running-tests" class="wiki-anchor">¶</a></h1>
<p>TestRubyOptions#test_kanji = 0.07 s = F</p>
<p>Finished tests in 0.080113s, 12.4824 tests/s, 62.4118 assertions/s.</p>
<ol>
<li>Failure:<br>
TestRubyOptions#test_kanji [/Users/ayumin/github/ruby/test/ruby/test_rubyoptions.rb:131]:<br>
<["EUC-JP"]> expected but was<br>
<[]>.</li>
</ol>
<hr>
<p><[]> expected but was<br>
<["/Users/ayumin/github/ruby/lib/rubygems/specification.rb:710:in <code>[]': invalid byte sequence in EUC-JP (ArgumentError)", "\tfrom /Users/ayumin/github/ruby/lib/rubygems/specification.rb:710:in </code>block in each_gemspec'",<br>
"\tfrom /Users/ayumin/github/ruby/lib/rubygems/specification.rb:709:in <code>each'", "\tfrom /Users/ayumin/github/ruby/lib/rubygems/specification.rb:709:in </code>each_gemspec'",<br>
"\tfrom /Users/ayumin/github/ruby/lib/rubygems/specification.rb:724:in <code>each_spec'", "\tfrom /Users/ayumin/github/ruby/lib/rubygems/specification.rb:758:in </code>load_defaults'",<br>
"\tfrom /Users/ayumin/github/ruby/lib/rubygems.rb:1211:in <code><top (required)>'", "\tfrom <internal:gem_prelude>:1:in </code>require'",<br>
"\tfrom <a href="internal:gem_prelude" class="external">internal:gem_prelude</a>:1:in `'"]>.</p>
<p>1 tests, 5 assertions, 1 failures, 0 errors, 0 skips</p>
<p>ruby -v: ruby 2.2.0dev (2014-05-10 trunk 45900) [x86_64-darwin13]<br>
make: *** [yes-test-all] Error 1</p>
Backport200 - Backport #8192 (Closed): [OSX] Build failure by trunk
https://redmine.ruby-lang.org/issues/8192
2013-03-31T23:10:49Z
ayumin (Ayumu AIZAWA)
ayumu.aizawa@gmail.com
<p>以下のとおり、clangでtrunkをビルドしようとすると失敗します。<br>
CrashReportは添付します。</p>
<p>$ uname -a<br>
Darwin Ayumu-no-MacBook-Air.local 12.3.0 Darwin Kernel Version 12.3.0: Sun Jan 6 22:37:10 PST 2013; root:xnu-2050.22.13~1/RELEASE_X86_64 x86_64<br>
$ /usr/local/bin/autoconf --version<br>
autoconf (GNU Autoconf) 2.69<br>
Copyright (C) 2012 Free Software Foundation, Inc.<br>
License GPLv3+/Autoconf: GNU GPL version 3 or later<br>
<a href="http://gnu.org/licenses/gpl.html" class="external">http://gnu.org/licenses/gpl.html</a>, <a href="http://gnu.org/licenses/exceptions.html" class="external">http://gnu.org/licenses/exceptions.html</a><br>
This is free software: you are free to change and redistribute it.<br>
There is NO WARRANTY, to the extent permitted by law.</p>
<p>Written by David J. MacKenzie and Akim Demaille.<br>
$ /usr/local/bin/autoconf<br>
$ which clang<br>
/usr/bin/clang<br>
$ /usr/bin/clang --version<br>
Apple clang version 2.1 (tags/Apple/clang-163.7.1) (based on LLVM 3.0svn)<br>
Target: x86_64-apple-darwin12.3.0<br>
Thread model: posix<br>
$ CC=/usr/bin/clang --with-readline-dir=usr/local/Cellar/readline/6.2.4 --with-gdbm-dir=/usr/local/Cellar/gdbm/1.10 --with-openssl-dir=/usr/local/Cellar/openssl/1.0.1c --with-libyaml-dir=/usr/local/Cellar/libyaml/0.1.4<br>
-bash: --with-readline-dir=usr/local/Cellar/readline/6.2.4: No such file or directory<br>
$ CC=/usr/bin/clang ./configure --prefix=/Users/ayumin/temp/ruby --with-readline-dir=usr/local/Cellar/readline/6.2.4 --with-gdbm-dir=/usr/local/Cellar/gdbm/1.10 --with-openssl-dir=/usr/local/Cellar/openssl/1.0.1c --with-libyaml-dir=/usr/local/Cellar/libyaml/0.1.4<br>
checking build system type... x86_64-apple-darwin12.3.0<br>
checking host system type... x86_64-apple-darwin12.3.0<br>
checking target system type... x86_64-apple-darwin12.3.0<br>
checking whether the C compiler works... yes<br>
checking for C compiler default output file name... a.out<br>
checking for suffix of executables...<br>
checking whether we are cross compiling... no<br>
checking for suffix of object files... o<br>
checking whether we are using the GNU C compiler... yes<br>
checking whether /usr/bin/clang accepts -g... yes<br>
checking for /usr/bin/clang option to accept ISO C89... none needed<br>
checking whether we are using the GNU C++ compiler... yes<br>
checking whether clang++ accepts -g... yes<br>
checking how to run the C preprocessor... /usr/bin/clang -E<br>
checking for grep that handles long lines and -e... /usr/bin/grep<br>
checking for egrep... /usr/bin/grep -E<br>
checking whether /usr/bin/clang needs -traditional... no<br>
checking for ld... ld<br>
checking whether the linker is GNU ld... no<br>
checking whether /usr/bin/clang -E accepts -o... yes<br>
checking for real target cpu... x86_64<br>
checking for ranlib... ranlib<br>
checking for ar... ar<br>
checking for as... as<br>
checking for objdump... no<br>
checking for gobjdump... no<br>
checking for objcopy... no<br>
checking for gobjcopy... no<br>
checking for nm... nm<br>
checking whether ln -s works... yes<br>
checking whether make sets $(MAKE)... yes<br>
checking for a BSD-compatible install... /usr/bin/install -c<br>
checking for a thread-safe mkdir -p... -d<br>
use 'mkdir -p' as MKDIR_P<br>
checking for dtrace... dtrace<br>
checking for dot... no<br>
checking for doxygen... no<br>
checking for pkg-config... pkg-config<br>
checking for ANSI C header files... yes<br>
checking for sys/types.h... yes<br>
checking for sys/stat.h... yes<br>
checking for stdlib.h... yes<br>
checking for string.h... yes<br>
checking for memory.h... yes<br>
checking for strings.h... yes<br>
checking for inttypes.h... yes<br>
checking for stdint.h... yes<br>
checking for unistd.h... yes<br>
checking minix/config.h usability... no<br>
checking minix/config.h presence... no<br>
checking for minix/config.h... no<br>
checking whether it is safe to define <strong>EXTENSIONS</strong>... yes<br>
checking for cd using physical directory... cd -P<br>
checking whether -Wno-unused-parameter is accepted as CFLAGS... yes<br>
checking whether -Wno-parentheses is accepted as CFLAGS... yes<br>
checking whether -Wno-long-long is accepted as CFLAGS... yes<br>
checking whether -Wno-missing-field-initializers is accepted as CFLAGS... yes<br>
checking whether -Wunused-variable is accepted as CFLAGS... yes<br>
checking whether -Werror=pointer-arith is accepted as CFLAGS... yes<br>
checking whether -Werror=write-strings is accepted as CFLAGS... yes<br>
checking whether -Werror=declaration-after-statement is accepted as CFLAGS... yes<br>
checking whether -Werror=shorten-64-to-32 is accepted as CFLAGS... yes<br>
checking whether -Werror=implicit-function-declaration is accepted as CFLAGS... yes<br>
checking whether -Wall -Wextra is accepted as CFLAGS... yes<br>
checking whether -ggdb3 is accepted as CFLAGS... yes<br>
checking whether -D_FORTIFY_SOURCE=2 is accepted as CFLAGS... yes<br>
checking whether -fstack-protector is accepted as CFLAGS... yes<br>
checking whether -fstack-protector is accepted as LDFLAGS... yes<br>
checking whether -fno-strict-overflow is accepted as CFLAGS... yes<br>
checking whether -fvisibility=hidden is accepted as CFLAGS... yes<br>
checking whether -fno-fast-math is accepted as CFLAGS... no<br>
checking whether Mac OS X 10.5 or later... yes<br>
checking for broken crypt with 8bit chars... no<br>
checking for codesign... codesign<br>
checking for crt_externs.h... yes<br>
checking for dirent.h that defines DIR... yes<br>
checking for library containing opendir... none required<br>
checking for stdbool.h that conforms to C99... yes<br>
checking for _Bool... yes<br>
checking for sys/wait.h that is POSIX.1 compatible... yes<br>
checking limits.h usability... yes<br>
checking limits.h presence... yes<br>
checking for limits.h... yes<br>
checking sys/file.h usability... yes<br>
checking sys/file.h presence... yes<br>
checking for sys/file.h... yes<br>
checking sys/ioctl.h usability... yes<br>
checking sys/ioctl.h presence... yes<br>
checking for sys/ioctl.h... yes<br>
checking sys/syscall.h usability... yes<br>
checking sys/syscall.h presence... yes<br>
checking for sys/syscall.h... yes<br>
checking fcntl.h usability... yes<br>
checking fcntl.h presence... yes<br>
checking for fcntl.h... yes<br>
checking sys/fcntl.h usability... yes<br>
checking sys/fcntl.h presence... yes<br>
checking for sys/fcntl.h... yes<br>
checking sys/select.h usability... yes<br>
checking sys/select.h presence... yes<br>
checking for sys/select.h... yes<br>
checking sys/time.h usability... yes<br>
checking sys/time.h presence... yes<br>
checking for sys/time.h... yes<br>
checking sys/times.h usability... yes<br>
checking sys/times.h presence... yes<br>
checking for sys/times.h... yes<br>
checking sys/param.h usability... yes<br>
checking sys/param.h presence... yes<br>
checking for sys/param.h... yes<br>
checking syscall.h usability... no<br>
checking syscall.h presence... no<br>
checking for syscall.h... no<br>
checking pwd.h usability... yes<br>
checking pwd.h presence... yes<br>
checking for pwd.h... yes<br>
checking grp.h usability... yes<br>
checking grp.h presence... yes<br>
checking for grp.h... yes<br>
checking a.out.h usability... no<br>
checking a.out.h presence... no<br>
checking for a.out.h... no<br>
checking utime.h usability... yes<br>
checking utime.h presence... yes<br>
checking for utime.h... yes<br>
checking direct.h usability... no<br>
checking direct.h presence... no<br>
checking for direct.h... no<br>
checking sys/resource.h usability... yes<br>
checking sys/resource.h presence... yes<br>
checking for sys/resource.h... yes<br>
checking sys/mkdev.h usability... no<br>
checking sys/mkdev.h presence... no<br>
checking for sys/mkdev.h... no<br>
checking sys/utime.h usability... no<br>
checking sys/utime.h presence... no<br>
checking for sys/utime.h... no<br>
checking float.h usability... yes<br>
checking float.h presence... yes<br>
checking for float.h... yes<br>
checking ieeefp.h usability... no<br>
checking ieeefp.h presence... no<br>
checking for ieeefp.h... no<br>
checking for ucontext.h... (cached) no<br>
checking intrinsics.h usability... no<br>
checking intrinsics.h presence... no<br>
checking for intrinsics.h... no<br>
checking langinfo.h usability... yes<br>
checking langinfo.h presence... yes<br>
checking for langinfo.h... yes<br>
checking locale.h usability... yes<br>
checking locale.h presence... yes<br>
checking for locale.h... yes<br>
checking sys/sendfile.h usability... no<br>
checking sys/sendfile.h presence... no<br>
checking for sys/sendfile.h... no<br>
checking time.h usability... yes<br>
checking time.h presence... yes<br>
checking for time.h... yes<br>
checking net/socket.h usability... no<br>
checking net/socket.h presence... no<br>
checking for net/socket.h... no<br>
checking sys/socket.h usability... yes<br>
checking sys/socket.h presence... yes<br>
checking for sys/socket.h... yes<br>
checking process.h usability... no<br>
checking process.h presence... no<br>
checking for process.h... no<br>
checking sys/prctl.h usability... no<br>
checking sys/prctl.h presence... no<br>
checking for sys/prctl.h... no<br>
checking for special C compiler options needed for large files... no<br>
checking for _FILE_OFFSET_BITS value needed for large files... no<br>
checking whether byte ordering is bigendian... no<br>
checking for an ANSI C-conforming const... yes<br>
checking whether char is unsigned... no<br>
checking for inline... inline<br>
checking for working volatile... yes<br>
checking for long long... yes<br>
checking for off_t... yes<br>
checking char bit... 8<br>
checking size of int... 4<br>
checking size of short... 2<br>
checking size of long... 8<br>
checking size of long long... 8<br>
checking size of __int64... 0<br>
checking size of off_t... 8<br>
checking size of void*... 8<br>
checking size of float... 4<br>
checking size of double... 8<br>
checking size of time_t... 8<br>
checking for printf prefix for long long... ll<br>
checking for pid_t... yes<br>
checking for convertible type of pid_t... INT<br>
checking for uid_t... yes<br>
checking for convertible type of uid_t... UINT<br>
checking for gid_t... yes<br>
checking for convertible type of gid_t... UINT<br>
checking for time_t... yes<br>
checking for convertible type of time_t... LONG<br>
checking for dev_t... yes<br>
checking for convertible type of dev_t... INT<br>
checking for mode_t... yes<br>
checking for convertible type of mode_t... UINT<br>
checking for rlim_t... yes<br>
checking for convertible type of rlim_t... ULL<br>
checking for prototypes... yes<br>
checking token paste string... ansi<br>
checking stringization... #expr<br>
checking string literal concatenation... yes<br>
checking for variable length prototypes and stdarg.h... yes<br>
checking for variable length macro... yes<br>
checking for noreturn function attribute... <strong>attribute</strong> ((noreturn)) x<br>
checking for deprecated function attribute... <strong>attribute</strong> ((deprecated)) x<br>
checking for noinline function attribute... <strong>attribute</strong> ((noinline)) x<br>
checking for stdcall function attribute... <strong>attribute</strong> ((stdcall)) x<br>
checking for cdecl function attribute... <strong>attribute</strong> ((cdecl)) x<br>
checking for fastcall function attribute... <strong>attribute</strong> ((fastcall)) x<br>
checking for function alias... no<br>
checking for atomic builtins... yes<br>
checking for __builtin_unreachable... yes<br>
checking for exported function attribute... <strong>attribute</strong> ((visibility("default")))<br>
checking for function name string predefined identifier... <strong>func</strong><br>
checking whether sys_nerr is declared... yes<br>
checking for crypt in -lcrypt... (cached) no<br>
checking for dlopen in -ldl... yes<br>
checking for shl_load in -ldld... no<br>
checking for socketpair in -lsocket... no<br>
checking for clock_gettime in -lrt... no<br>
checking for size_t... yes<br>
checking size of size_t... 8<br>
checking size of ptrdiff_t... 8<br>
checking for printf prefix for size_t... z<br>
checking for printf prefix for ptrdiff_t... t<br>
checking for struct stat.st_blksize... yes<br>
checking for struct stat.st_blocks... yes<br>
checking for struct stat.st_rdev... yes<br>
checking size of struct stat.st_size... SIZEOF_LONG<br>
checking size of struct stat.st_blocks... SIZEOF_LONG<br>
checking for struct stat.st_atim... no<br>
checking for struct stat.st_atimespec... yes<br>
checking for struct stat.st_atimensec... no<br>
checking for struct stat.st_mtim... no<br>
checking for struct stat.st_mtimespec... yes<br>
checking for struct stat.st_mtimensec... no<br>
checking for struct stat.st_ctim... no<br>
checking for struct stat.st_ctimespec... yes<br>
checking for struct stat.st_ctimensec... no<br>
checking for struct timeval... yes<br>
checking size of struct timeval.tv_sec... SIZEOF_TIME_T<br>
checking for struct timespec... yes<br>
checking for struct timezone... yes<br>
checking for clockid_t... no<br>
checking for fd_mask... yes<br>
checking for int8_t... yes<br>
checking size of int8_t... 1<br>
checking for uint8_t... yes<br>
checking size of uint8_t... 1<br>
checking for int16_t... yes<br>
checking size of int16_t... 2<br>
checking for uint16_t... yes<br>
checking size of uint16_t... 2<br>
checking for int32_t... yes<br>
checking size of int32_t... 4<br>
checking for uint32_t... yes<br>
checking size of uint32_t... 4<br>
checking for int64_t... yes<br>
checking size of int64_t... 8<br>
checking for uint64_t... yes<br>
checking size of uint64_t... 8<br>
checking for int128_t... no<br>
checking for uint128_t... no<br>
checking for intptr_t... yes<br>
checking size of intptr_t... 8<br>
checking for uintptr_t... yes<br>
checking size of uintptr_t... 8<br>
checking for ssize_t... yes<br>
checking size of ssize_t... 8<br>
checking for stack end address... no<br>
checking for uid_t in sys/types.h... (cached) yes<br>
checking type of array argument to getgroups... (cached) gid_t<br>
checking return type of signal handlers... void<br>
checking for working alloca.h... yes<br>
checking for alloca... yes<br>
checking for dynamic size alloca... ok<br>
checking for working memcmp... yes<br>
checking for broken erfc of glibc-2.3.6 on IA64... no<br>
checking for dup2... yes<br>
checking for memmove... yes<br>
checking for strerror... yes<br>
checking for strchr... yes<br>
checking for strstr... yes<br>
checking for crypt... yes<br>
checking for flock... yes<br>
checking for isnan... yes<br>
checking for finite... yes<br>
checking for isinf... yes<br>
checking for hypot... yes<br>
checking for acosh... yes<br>
checking for erf... yes<br>
checking for tgamma... yes<br>
checking for lgamma_r... yes<br>
checking for cbrt... yes<br>
checking for strlcpy... yes<br>
checking for strlcat... yes<br>
checking for ffs... yes<br>
checking for setproctitle... no<br>
checking for signbit... yes<br>
checking for fmod... yes<br>
checking for killpg... yes<br>
checking for wait4... yes<br>
checking for waitpid... yes<br>
checking for fork... yes<br>
checking for spawnv... no<br>
checking for syscall... yes<br>
checking for __syscall... yes<br>
checking for chroot... yes<br>
checking for getcwd... yes<br>
checking for eaccess... no<br>
checking for truncate... yes<br>
checking for ftruncate... yes<br>
checking for ftello... yes<br>
checking for chsize... no<br>
checking for times... yes<br>
checking for utimes... yes<br>
checking for utimensat... no<br>
checking for fcntl... yes<br>
checking for lockf... yes<br>
checking for lstat... yes<br>
checking for truncate64... no<br>
checking for ftruncate64... no<br>
checking for ftello64... no<br>
checking for fseeko... yes<br>
checking for fseeko64... no<br>
checking for link... yes<br>
checking for symlink... yes<br>
checking for readlink... yes<br>
checking for readdir_r... yes<br>
checking for fsync... yes<br>
checking for fdatasync... (cached) no<br>
checking for fchown... yes<br>
checking for posix_fadvise... no<br>
checking for setitimer... yes<br>
checking for setruid... yes<br>
checking for seteuid... yes<br>
checking for setreuid... yes<br>
checking for setresuid... no<br>
checking for socketpair... yes<br>
checking for setrgid... yes<br>
checking for setegid... yes<br>
checking for setregid... yes<br>
checking for setresgid... no<br>
checking for issetugid... yes<br>
checking for pause... yes<br>
checking for lchown... yes<br>
checking for lchmod... yes<br>
checking for getpgrp... yes<br>
checking for setpgrp... yes<br>
checking for getpgid... yes<br>
checking for setpgid... yes<br>
checking for initgroups... yes<br>
checking for getgroups... yes<br>
checking for setgroups... yes<br>
checking for getpriority... yes<br>
checking for getrlimit... yes<br>
checking for setrlimit... yes<br>
checking for sysconf... yes<br>
checking for close... yes<br>
checking for getpwnam_r... yes<br>
checking for getgrnam_r... yes<br>
checking for dlopen... yes<br>
checking for sigprocmask... yes<br>
checking for sigaction... yes<br>
checking for sigsetjmp... yes<br>
checking for _setjmp... yes<br>
checking for _longjmp... yes<br>
checking for getsid... yes<br>
checking for setsid... yes<br>
checking for telldir... yes<br>
checking for seekdir... yes<br>
checking for fchmod... yes<br>
checking for cosh... yes<br>
checking for sinh... yes<br>
checking for tanh... yes<br>
checking for log2... yes<br>
checking for round... yes<br>
checking for llabs... yes<br>
checking for setuid... yes<br>
checking for setgid... yes<br>
checking for daemon... (cached) no<br>
checking for select_large_fdset... no<br>
checking for setenv... yes<br>
checking for unsetenv... yes<br>
checking for mktime... yes<br>
checking for timegm... yes<br>
checking for gmtime_r... yes<br>
checking for clock_gettime... no<br>
checking for gettimeofday... yes<br>
checking for poll... yes<br>
checking for ppoll... no<br>
checking for pread... yes<br>
checking for sendfile... yes<br>
checking for shutdown... yes<br>
checking for sigaltstack... yes<br>
checking for dl_iterate_phdr... no<br>
checking for dup... yes<br>
checking for dup3... no<br>
checking for pipe2... no<br>
checking for posix_memalign... yes<br>
checking for memalign... no<br>
checking for ioctl... yes<br>
checking for unsetenv returns a value... yes<br>
checking for __builtin_setjmp... no<br>
checking for setjmp type... _setjmp<br>
checking whether struct tm is in sys/time.h or time.h... time.h<br>
checking for struct tm.tm_zone... yes<br>
checking for struct tm.tm_gmtoff... yes<br>
checking for external int daylight... yes<br>
checking for external timezone... long<br>
checking for external altzone... no<br>
checking for timezone... yes<br>
checking whether timezone requires zero arguments... yes<br>
checking for negative time_t for gmtime(3)... yes<br>
checking for localtime(3) overflow correctly... yes<br>
checking whether right shift preserve sign bit... yes<br>
checking read count field in FILE structures... _r<br>
checking read buffer ptr field in FILE structures... _p<br>
checking size of struct stat.st_ino... SIZEOF_LONG<br>
checking whether struct dirent.d_name is too small... no<br>
checking whether _SC_CLK_TCK is supported... yes<br>
checking stack growing direction on x86_64... -1<br>
checking for pthread_kill in -lthr... no<br>
checking for pthread_kill in -lpthread... yes<br>
checking for pthread_np.h... no<br>
checking for sched_yield... yes<br>
checking for pthread_attr_setinheritsched... yes<br>
checking for pthread_getattr_np... no<br>
checking for pthread_attr_get_np... no<br>
checking for pthread_attr_getstack... yes<br>
checking for pthread_get_stackaddr_np... yes<br>
checking for pthread_get_stacksize_np... yes<br>
checking for thr_stksegment... no<br>
checking for pthread_stackseg_np... no<br>
checking for pthread_getthrds_np... no<br>
checking for pthread_cond_init... yes<br>
checking for pthread_condattr_setclock... no<br>
checking for pthread_condattr_init... yes<br>
checking for pthread_sigmask... yes<br>
checking for pthread_attr_init... yes<br>
checking if fork works with pthread... yes<br>
checking whether ELF binaries are produced... no<br>
checking whether OS depend dynamic link works... yes<br>
checking execinfo.h usability... yes<br>
checking execinfo.h presence... yes<br>
checking for execinfo.h... yes<br>
checking for backtrace in -lexecinfo... no<br>
checking for backtrace... yes<br>
checking for broken backtrace... yes<br>
checking valgrind/memcheck.h usability... no<br>
checking valgrind/memcheck.h presence... no<br>
checking for valgrind/memcheck.h... no<br>
checking for strip... strip<br>
checking whether -fPIE is accepted as CFLAGS... yes<br>
checking whether -pie is accepted as LDFLAGS... no<br>
checking whether -Wl,-pie is accepted as LDFLAGS... yes<br>
checking whether dtrace USDT is available... yes<br>
checking whether dtrace USDT is available... (cached) yes<br>
checking whether dtrace needs post processing... no<br>
checking for prefix of external symbols... _<br>
checking pthread.h usability... yes<br>
checking pthread.h presence... yes<br>
checking for pthread.h... yes<br>
checking if make is GNU make... yes<br>
checking for memmem... yes<br>
checking for broken memmem... yes<br>
checking for nroff... /usr/bin/nroff<br>
.ext/include/x86_64-darwin12.3.0/ruby/config.h updated<br>
verconf.h updated<br>
ruby library version = 2.1.0<br>
configure: creating ./config.status<br>
config.status: creating GNUmakefile<br>
config.status: creating Makefile<br>
config.status: creating ruby-2.1.pc<br>
$ make<br>
CC = /usr/bin/clang<br>
LD = ld<br>
LDSHARED = /usr/bin/clang -dynamic -bundle<br>
CFLAGS = -O3 -ggdb3 -Wall -Wextra -Wno-unused-parameter -Wno-parentheses -Wno-long-long -Wno-missing-field-initializers -Wunused-variable -Werror=pointer-arith -Werror=write-strings -Werror=declaration-after-statement -Werror=shorten-64-to-32 -Werror=implicit-function-declaration -pipe<br>
XCFLAGS = -include ruby/config.h -include ruby/missing.h -D_FORTIFY_SOURCE=2 -fstack-protector -fno-strict-overflow -fvisibility=hidden -DRUBY_EXPORT -fPIE<br>
CPPFLAGS = -D_XOPEN_SOURCE -D_DARWIN_C_SOURCE -D_DARWIN_UNLIMITED_SELECT -D_REENTRANT -I. -I.ext/include/x86_64-darwin12.3.0 -I./include -I.<br>
DLDFLAGS = -Wl,-undefined,dynamic_lookup -Wl,-multiply_defined,suppress -fstack-protector -Wl,-u,_objc_msgSend -Wl,-pie<br>
SOLIBS =<br>
Apple clang version 2.1 (tags/Apple/clang-163.7.1) (based on LLVM 3.0svn)<br>
Target: x86_64-apple-darwin12.3.0<br>
Thread model: posix<br>
compiling main.c<br>
compiling dmydln.c<br>
compiling dmyencoding.c<br>
compiling version.c<br>
compiling dmyversion.c<br>
generating miniprelude.c<br>
compiling miniprelude.c<br>
translating probes probes.d<br>
. ./vm_opts.h<br>
compiling array.c<br>
compiling bignum.c<br>
compiling class.c<br>
compiling compar.c<br>
compiling complex.c<br>
compiling dir.c<br>
compiling dln_find.c<br>
compiling enum.c<br>
compiling enumerator.c<br>
generating known_errors.inc<br>
known_errors.inc updated<br>
compiling error.c<br>
compiling eval.c<br>
compiling load.c<br>
compiling proc.c<br>
compiling file.c<br>
compiling gc.c<br>
compiling hash.c<br>
compiling inits.c<br>
compiling io.c<br>
compiling marshal.c<br>
compiling math.c<br>
compiling node.c<br>
compiling numeric.c<br>
compiling object.c<br>
compiling pack.c<br>
generating parse.c<br>
copying lex.c<br>
compiling parse.c<br>
compiling process.c<br>
compiling random.c<br>
compiling range.c<br>
compiling rational.c<br>
compiling re.c<br>
compiling regcomp.c<br>
compiling regenc.c<br>
compiling regerror.c<br>
compiling regexec.c<br>
compiling regparse.c<br>
compiling regsyntax.c<br>
compiling ruby.c<br>
compiling safe.c<br>
compiling signal.c<br>
compiling sprintf.c<br>
compiling st.c<br>
compiling strftime.c<br>
compiling string.c<br>
compiling struct.c<br>
compiling time.c<br>
compiling transcode.c<br>
compiling util.c<br>
compiling variable.c<br>
generating insns.inc<br>
generating insns_info.inc<br>
generating optinsn.inc<br>
generating optunifs.inc<br>
generating opt_sc.inc<br>
compiling compile.c<br>
compiling debug.c<br>
generating node_name.inc<br>
compiling iseq.c<br>
generating vmtc.inc<br>
generating vm.inc<br>
compiling vm.c<br>
compiling vm_dump.c<br>
compiling vm_backtrace.c<br>
compiling vm_trace.c<br>
compiling thread.c<br>
compiling cont.c<br>
compiling ./enc/ascii.c<br>
compiling ./enc/us_ascii.c<br>
compiling ./enc/unicode.c<br>
compiling ./enc/utf_8.c<br>
generating newline.c ...<br>
converter for universal_newline<br>
converter for crlf_newline<br>
converter for cr_newline<br>
done. (0.07user 0.01system 0.01elapsed)<br>
compiling newline.c<br>
compiling ./missing/setproctitle.c<br>
compiling dmyext.c<br>
linking miniruby<br>
<a href="internal:prelude" class="external">internal:prelude</a>:1: [BUG] Segmentation fault<br>
ruby 2.1.0dev (2013-03-31) [x86_64-darwin12.3.0]</p>
<p>-- Crash Report log information --------------------------------------------<br>
See Crash Report log file under the one of following:<br>
* ~/Library/Logs/CrashReporter<br>
* /Library/Logs/CrashReporter<br>
* ~/Library/Logs/DiagnosticReports<br>
* /Library/Logs/DiagnosticReports<br>
the more detail of.</p>
<p>-- Control frame information -----------------------------------------------<br>
c:0002 p:0002 s:0004 e:000003 TOP <a href="internal:prelude" class="external">internal:prelude</a>:1 [FINISH]<br>
c:0001 p:0000 s:0002 E:000ca8 TOP [FINISH]</p>
<p><a href="internal:prelude" class="external">internal:prelude</a>:1:in `'</p>
<p>-- C level backtrace information -------------------------------------------<br>
0 miniruby 0x000000010089e2c4 rb_vm_bugreport + 148<br>
1 miniruby 0x000000010076c930 report_bug + 288<br>
2 miniruby 0x000000010076c804 rb_bug + 180<br>
3 miniruby 0x0000000100826b0f sigsegv + 79<br>
4 libsystem_c.dylib 0x00007fff8f32c94a _sigtramp + 26<br>
5 miniruby 0x000000010088303c vm_exec_core + 2460<br>
6 ??? 0x0000000100000000 0x0 + 4294967296</p>
<p>-- Other runtime information -----------------------------------------------</p>
<ul>
<li>
<p>Loaded script: ./miniruby</p>
</li>
<li>
<p>Loaded features:</p>
<p>0 enumerator.so</p>
</li>
</ul>
<p>[NOTE]<br>
You may have encountered a bug in the Ruby interpreter or extension libraries.<br>
Bug reports are welcome.<br>
For details: <a href="http://www.ruby-lang.org/bugreport.html" class="external">http://www.ruby-lang.org/bugreport.html</a></p>
<p>make: *** [.rbconfig.time] Abort trap: 6<br>
$</p>
Backport200 - Backport #7866 (Closed): Backport r39277 to ruby_2_0_0
https://redmine.ruby-lang.org/issues/7866
2013-02-17T00:49:20Z
ayumin (Ayumu AIZAWA)
ayumu.aizawa@gmail.com
<p><a href="http://svn.ruby-lang.org/cgi-bin/viewvc.cgi/trunk/test/ruby/test_thread.rb?r1=39277&r2=39276&pathrev=39277" class="external">http://svn.ruby-lang.org/cgi-bin/viewvc.cgi/trunk/test/ruby/test_thread.rb?r1=39277&r2=39276&pathrev=39277</a></p>
Ruby master - Bug #7386 (Closed): test_signal_propagation_in_tests is failed before make install
https://redmine.ruby-lang.org/issues/7386
2012-11-19T02:06:08Z
ayumin (Ayumu AIZAWA)
ayumu.aizawa@gmail.com
<p>TestRakeFunctional#test_signal_propagation_in_tests is failed, when it has been run before +make install+.</p>
<p>$ rm -rf /Users/ayumin/temp/ruby<br>
$ VERBOSE=1 make test-all TESTS='-v -n "test_signal_propagation_in_tests" test/rake/test_rake_functional.rb'<br>
CC = clang<br>
LD = ld<br>
LDSHARED = clang -dynamic -bundle<br>
CFLAGS = -O3 -ggdb -Wall -Wextra -Wno-unused-parameter -Wno-parentheses -Wno-long-long -Wno-missing-field-initializers -Wunused-variable -Werror=pointer-arith -Werror=write-strings -Werror=declaration-after-statement -Werror=shorten-64-to-32 -Werror=implicit-function-declaration -pipe -arch x86_64<br>
XCFLAGS = -include ruby/config.h -include ruby/missing.h -D_FORTIFY_SOURCE=2 -fstack-protector -fno-strict-overflow -fvisibility=hidden -DRUBY_EXPORT -fPIE<br>
CPPFLAGS = -D_XOPEN_SOURCE -D_DARWIN_C_SOURCE -D_DARWIN_UNLIMITED_SELECT -D_REENTRANT -I. -I.ext/include/x86_64-darwin12.2.0 -I./include -I.<br>
DLDFLAGS = -Wl,-undefined,dynamic_lookup -Wl,-multiply_defined,suppress -fstack-protector -Wl,-u,_objc_msgSend -Wl,-pie -arch x86_64<br>
SOLIBS =<br>
./miniruby -I./lib -I. -I.ext/common ./tool/runruby.rb --extout=.ext -- --disable-gems "./test/runner.rb" --ruby="./miniruby -I./lib -I. -I.ext/common ./tool/runruby.rb --extout=.ext -- --disable-gems" -v -n "test_signal_propagation_in_tests" test/rake/test_rake_functional.rb<br>
Run options: "--ruby=./miniruby -I./lib -I. -I.ext/common ./tool/runruby.rb --extout=.ext -- --disable-gems" -v -n test_signal_propagation_in_tests</p>
<a name="Running-tests"></a>
<h1 >Running tests:<a href="#Running-tests" class="wiki-anchor">¶</a></h1>
<p>TestRakeFunctional#test_signal_propagation_in_tests =</p>
<hr>
<a name="test_signal_propagation_in_tests"></a>
<h2 >test_signal_propagation_in_tests<a href="#test_signal_propagation_in_tests" class="wiki-anchor">¶</a></h2>
<pre><code>SIG status = #<Process::Status: pid 32239 SIGTERM (signal 15)>
SIG status.respond_to?(:signaled?) = true
SIG status.signaled? = true
</code></pre>
<p>COMMAND: [/Users/ayumin/github/ruby/ruby -I/Users/ayumin/github/ruby/lib -I. /Users/ayumin/github/ruby/bin/rake]<br>
OUTPUT: []<br>
ERROR: [sh: /Users/ayumin/temp/ruby/bin/ruby: No such file or directory<br>
sh: /Users/ayumin/temp/ruby/bin/ruby: No such file or directory<br>
]<br>
EXIT: [#<Process::Status: pid 32240 exit 0>]<br>
PWD: [/private/var/folders/pg/1syrm60952z8wtkqz116_llr0000gn/T/test_rake_32238]<br>
0.10 s = F</p>
<p>Finished tests in 0.105923s, 9.4408 tests/s, 18.8816 assertions/s.</p>
<ol>
<li>Failure:<br>
test_signal_propagation_in_tests(TestRakeFunctional) [/Users/ayumin/github/ruby/test/rake/test_rake_functional.rb:435]:<br>
Expected /ATEST/ to match "".</li>
</ol>
<p>1 tests, 2 assertions, 1 failures, 0 errors, 0 skips</p>
<p>ruby -v: ruby 2.0.0dev (2012-11-18 trunk 37710) [x86_64-darwin12.2.0]<br>
make: *** [yes-test-all] Error 1<br>
$ make install<br>
CC = clang<br>
LD = ld<br>
LDSHARED = clang -dynamic -bundle<br>
CFLAGS = -O3 -ggdb -Wall -Wextra -Wno-unused-parameter -Wno-parentheses -Wno-long-long -Wno-missing-field-initializers -Wunused-variable -Werror=pointer-arith -Werror=write-strings -Werror=declaration-after-statement -Werror=shorten-64-to-32 -Werror=implicit-function-declaration -pipe -arch x86_64<br>
XCFLAGS = -include ruby/config.h -include ruby/missing.h -D_FORTIFY_SOURCE=2 -fstack-protector -fno-strict-overflow -fvisibility=hidden -DRUBY_EXPORT -fPIE<br>
CPPFLAGS = -D_XOPEN_SOURCE -D_DARWIN_C_SOURCE -D_DARWIN_UNLIMITED_SELECT -D_REENTRANT -I. -I.ext/include/x86_64-darwin12.2.0 -I./include -I.<br>
DLDFLAGS = -Wl,-undefined,dynamic_lookup -Wl,-multiply_defined,suppress -fstack-protector -Wl,-u,_objc_msgSend -Wl,-pie -arch x86_64<br>
SOLIBS =<br>
generating encdb.h<br>
encdb.h unchanged<br>
making enc<br>
make[1]: Nothing to be done for <code>enc'. making srcs under enc make[1]: Nothing to be done for </code>srcs'.<br>
generating transdb.h<br>
transdb.h unchanged<br>
making trans<br>
make[1]: Nothing to be done for <code>./enc/trans'. making encs generating makefile exts.mk Failed to configure -test-/win32/dln. It will not be installed. Failed to configure -test-/win32/fd_setsize. It will not be installed. Failed to configure dl/win32. It will not be installed. Failed to configure win32ole. It will not be installed. installing default resize libraries installing default bug libraries installing default bug libraries installing default bug libraries installing default exception libraries installing default funcall libraries installing default break libraries installing default dot.dot libraries installing default compat libraries installing default usr libraries installing default num2int libraries installing default old_thread_select libraries installing default path_to_class libraries installing default printf libraries installing default numhash libraries installing default update libraries installing default string libraries installing default symbol libraries installing default typeddata libraries installing default wait_for_single_fd libraries make[2]: Nothing to be done for </code>all'.<br>
make[2]: Nothing to be done for <code>all'. installing default bigdecimal libraries installing default continuation libraries installing default coverage libraries installing default curses libraries installing default date_core libraries installing default dbm libraries installing digest libraries installing default digest libraries installing default bubblebabble libraries installing default md5 libraries installing default rmd160 libraries installing default sha1 libraries installing default sha2 libraries installing dl libraries installing default dl libraries installing default callback libraries make[2]: Nothing to be done for </code>all'.<br>
installing default etc libraries<br>
installing default fcntl libraries<br>
installing default fiber libraries<br>
installing default fiddle libraries<br>
installing default gdbm libraries<br>
installing default console libraries<br>
installing default nonblock libraries<br>
installing default wait libraries<br>
installing default libraries<br>
installing default generator libraries<br>
installing default parser libraries<br>
installing default complex libraries<br>
installing default rational libraries<br>
installing default nkf libraries<br>
installing default objspace libraries<br>
installing default openssl libraries<br>
installing default pathname libraries<br>
installing default psych libraries<br>
installing default pty libraries<br>
installing default cparse libraries<br>
installing default readline libraries<br>
installing default ripper libraries<br>
checking ../.././parse.y and ../.././ext/ripper/eventids2.c<br>
installing default sdbm libraries<br>
installing default socket libraries<br>
installing default stringio libraries<br>
installing default strscan libraries<br>
installing default syslog libraries<br>
installing tcltklib libraries<br>
installing default tcltklib libraries<br>
installing default tkutil libraries<br>
make[2]: Nothing to be done for <code>all'. installing default zlib libraries make[2]: </code>ruby' is up to date.<br>
Generating RDoc documentation</p>
<p>No newer files.</p>
<p>Files: 0</p>
<p>Classes: 0 (0 undocumented)<br>
Modules: 0 (0 undocumented)<br>
Constants: 0 (0 undocumented)<br>
Attributes: 0 (0 undocumented)<br>
Methods: 0 (0 undocumented)</p>
<p>Total: 0 (0 undocumented)<br>
0.00% documented</p>
<p>Elapsed: 0.0s<br>
./miniruby -I./lib -I. -I.ext/common ./tool/rbinstall.rb --make="make" --dest-dir="" --extout=".ext" --mflags="" --make-flags="" --data-mode=0644 --prog-mode=0755 --installed-list .installed.list --mantype="doc" --install=all --rdoc-output=".ext/rdoc"<br>
installing binary commands: /Users/ayumin/temp/ruby/bin<br>
installing base libraries: /Users/ayumin/temp/ruby/lib<br>
installing arch files: /Users/ayumin/temp/ruby/lib/ruby/2.0.0/x86_64-darwin12.2.0<br>
installing pkgconfig data: /Users/ayumin/temp/ruby/lib/pkgconfig<br>
installing extension objects: /Users/ayumin/temp/ruby/lib/ruby/2.0.0/x86_64-darwin12.2.0<br>
installing extension objects: /Users/ayumin/temp/ruby/lib/ruby/site_ruby/2.0.0/x86_64-darwin12.2.0<br>
installing extension objects: /Users/ayumin/temp/ruby/lib/ruby/vendor_ruby/2.0.0/x86_64-darwin12.2.0<br>
installing extension headers: /Users/ayumin/temp/ruby/include/ruby-2.0.0/x86_64-darwin12.2.0<br>
installing extension scripts: /Users/ayumin/temp/ruby/lib/ruby/2.0.0<br>
installing extension scripts: /Users/ayumin/temp/ruby/lib/ruby/site_ruby/2.0.0<br>
installing extension scripts: /Users/ayumin/temp/ruby/lib/ruby/vendor_ruby/2.0.0<br>
installing extension headers: /Users/ayumin/temp/ruby/include/ruby-2.0.0/ruby<br>
installing rdoc: /Users/ayumin/temp/ruby/share/ri/2.0.0/system<br>
installing capi-docs: /Users/ayumin/temp/ruby/share/doc/ruby<br>
installing command scripts: /Users/ayumin/temp/ruby/bin<br>
installing library scripts: /Users/ayumin/temp/ruby/lib/ruby/2.0.0<br>
installing common headers: /Users/ayumin/temp/ruby/include/ruby-2.0.0<br>
installing manpages: /Users/ayumin/temp/ruby/share/man/man1<br>
installing default gems: /Users/ayumin/temp/ruby/lib/ruby/gems/2.0.0 (cache, doc, gems, specifications)<br>
bigdecimal 1.1.0<br>
io-console 0.3<br>
json 1.7.1<br>
minitest 3.4.0<br>
psych 1.3.4<br>
rake 0.9.4<br>
rdoc 3.9.4<br>
test-unit 2.0.0.0<br>
$ VERBOSE=1 make test-all TESTS='-v -n "test_signal_propagation_in_tests" test/rake/test_rake_functional.rb'<br>
CC = clang<br>
LD = ld<br>
LDSHARED = clang -dynamic -bundle<br>
CFLAGS = -O3 -ggdb -Wall -Wextra -Wno-unused-parameter -Wno-parentheses -Wno-long-long -Wno-missing-field-initializers -Wunused-variable -Werror=pointer-arith -Werror=write-strings -Werror=declaration-after-statement -Werror=shorten-64-to-32 -Werror=implicit-function-declaration -pipe -arch x86_64<br>
XCFLAGS = -include ruby/config.h -include ruby/missing.h -D_FORTIFY_SOURCE=2 -fstack-protector -fno-strict-overflow -fvisibility=hidden -DRUBY_EXPORT -fPIE<br>
CPPFLAGS = -D_XOPEN_SOURCE -D_DARWIN_C_SOURCE -D_DARWIN_UNLIMITED_SELECT -D_REENTRANT -I. -I.ext/include/x86_64-darwin12.2.0 -I./include -I.<br>
DLDFLAGS = -Wl,-undefined,dynamic_lookup -Wl,-multiply_defined,suppress -fstack-protector -Wl,-u,_objc_msgSend -Wl,-pie -arch x86_64<br>
SOLIBS =<br>
./miniruby -I./lib -I. -I.ext/common ./tool/runruby.rb --extout=.ext -- --disable-gems "./test/runner.rb" --ruby="./miniruby -I./lib -I. -I.ext/common ./tool/runruby.rb --extout=.ext -- --disable-gems" -v -n "test_signal_propagation_in_tests" test/rake/test_rake_functional.rb<br>
Run options: "--ruby=./miniruby -I./lib -I. -I.ext/common ./tool/runruby.rb --extout=.ext -- --disable-gems" -v -n test_signal_propagation_in_tests</p>
<a name="Running-tests-2"></a>
<h1 >Running tests:<a href="#Running-tests-2" class="wiki-anchor">¶</a></h1>
<p>TestRakeFunctional#test_signal_propagation_in_tests =</p>
<hr>
<a name="test_signal_propagation_in_tests-2"></a>
<h2 >test_signal_propagation_in_tests<a href="#test_signal_propagation_in_tests-2" class="wiki-anchor">¶</a></h2>
<pre><code>SIG status = #<Process::Status: pid 32560 SIGTERM (signal 15)>
SIG status.respond_to?(:signaled?) = true
SIG status.signaled? = true
</code></pre>
<p>COMMAND: [/Users/ayumin/github/ruby/ruby -I/Users/ayumin/github/ruby/lib -I. /Users/ayumin/github/ruby/bin/rake]<br>
OUTPUT: [ATEST<br>
]<br>
ERROR: [rake aborted!<br>
SIGTERM<br>
/private/var/folders/pg/1syrm60952z8wtkqz116_llr0000gn/T/test_rake_32559/Rakefile:12:in `block in <top (required)>'<br>
Tasks: TOP => a<br>
(See full trace by running task with --trace)<br>
]<br>
EXIT: [#<Process::Status: pid 32561 exit 1>]<br>
PWD: [/private/var/folders/pg/1syrm60952z8wtkqz116_llr0000gn/T/test_rake_32559]<br>
0.18 s = .</p>
<p>Finished tests in 0.189414s, 5.2794 tests/s, 21.1178 assertions/s.</p>
<p>1 tests, 4 assertions, 0 failures, 0 errors, 0 skips</p>
<p>ruby -v: ruby 2.0.0dev (2012-11-18 trunk 37710) [x86_64-darwin12.2.0]</p>
Ruby master - Bug #7298 (Closed): Behavior of Enumerator.new different between 1.9.3 and 2.0.0
https://redmine.ruby-lang.org/issues/7298
2012-11-07T07:27:23Z
ayumin (Ayumu AIZAWA)
ayumu.aizawa@gmail.com
<p>Under 1.9.3, when Enumerator.new was called with arguments and block, it return Enumerator object.<br>
But under trunk, it makes TypeError.</p>
<p>$ ruby -v -e "p Enumerator.new([1,2,3]){|y|y.yield 4}"<br>
ruby 1.9.3p194 (2012-04-20 revision 35410) [x86_64-darwin11.4.2]<br>
#<Enumerator: [1, 2, 3]:each></p>
<p>$ ./ruby -v -e "p Enumerator.new([1,2,3]){|y|y.yield 4}"<br>
ruby 2.0.0dev (2012-11-07 trunk 37528) [x86_64-darwin12.2.0]<br>
-e:1:in <code>initialize': can't convert Array into Integer (TypeError) from -e:1:in </code>new'<br>
from -e:1:in `'</p>
Ruby master - Bug #7260 (Closed): make realclean でError
https://redmine.ruby-lang.org/issues/7260
2012-11-02T02:52:56Z
ayumin (Ayumu AIZAWA)
ayumu.aizawa@gmail.com
<p>tkを削除しようとするときにエラーが出ているようです。</p>
<p>$ make realclean<br>
sed 's/{$([^(){}]<em>)[^{}]</em>}//g' common.mk > uncommon.mk<br>
cd -P . && exec autoconf<br>
running CONFIG_SHELL=/bin/sh /bin/sh ./configure --prefix=/Users/ayumin/temp/ruby --with-arch=x86_64 --with-readline-dir=/usr/local/Cellar/readline/6.2.4 --with-gdbm-dir=/usr/local/Cellar/gdbm/1.10 --with-openssl-dir=/usr/local/Cellar/openssl/1.0.1c --with-libyaml-dir=/usr/local/Cellar/libyaml/0.1.4 CC=clang --no-create --no-recursion<br>
configure: WARNING: unrecognized options: --with-readline-dir, --with-gdbm-dir, --with-openssl-dir, --with-libyaml-dir<br>
checking build system type... x86_64-apple-darwin12.2.0<br>
checking host system type... x86_64-apple-darwin12.2.0<br>
checking target system type... x86_64-apple-darwin12.2.0<br>
checking whether the C compiler works... yes<br>
checking for C compiler default output file name... a.out<br>
checking for suffix of executables...<br>
checking whether we are cross compiling... no<br>
checking for suffix of object files... o<br>
checking whether we are using the GNU C compiler... yes<br>
checking whether clang accepts -g... yes<br>
checking for clang option to accept ISO C89... none needed<br>
checking for g++... g++<br>
checking whether we are using the GNU C++ compiler... yes<br>
checking whether g++ accepts -g... yes<br>
checking how to run the C preprocessor... clang -E<br>
checking for grep that handles long lines and -e... /usr/bin/grep<br>
checking for egrep... /usr/bin/grep -E<br>
checking whether clang needs -traditional... no<br>
checking for ld... ld<br>
checking whether the linker is GNU ld... no<br>
checking whether clang -E accepts -o... yes<br>
checking target architectures... x86_64<br>
checking for ranlib... ranlib<br>
checking for ar... ar<br>
checking for as... as<br>
checking for objdump... no<br>
checking for gobjdump... no<br>
checking for objcopy... no<br>
checking for gobjcopy... no<br>
checking for nm... nm<br>
checking whether ln -s works... yes<br>
checking whether make sets $(MAKE)... yes<br>
checking for a BSD-compatible install... /usr/bin/install -c<br>
checking for a thread-safe mkdir -p... -d<br>
use 'mkdir -p' as MKDIR_P<br>
checking for dot... no<br>
checking for doxygen... no<br>
checking for pkg-config... pkg-config<br>
checking for ANSI C header files... yes<br>
checking for sys/types.h... yes<br>
checking for sys/stat.h... yes<br>
checking for stdlib.h... yes<br>
checking for string.h... yes<br>
checking for memory.h... yes<br>
checking for strings.h... yes<br>
checking for inttypes.h... yes<br>
checking for stdint.h... yes<br>
checking for unistd.h... yes<br>
checking minix/config.h usability... no<br>
checking minix/config.h presence... no<br>
checking for minix/config.h... no<br>
checking whether it is safe to define <strong>EXTENSIONS</strong>... yes<br>
checking for cd using physical directory... cd -P<br>
checking whether -Wno-unused-parameter is accepted as CFLAGS... yes<br>
checking whether -Wno-parentheses is accepted as CFLAGS... yes<br>
checking whether -Wno-long-long is accepted as CFLAGS... yes<br>
checking whether -Wno-missing-field-initializers is accepted as CFLAGS... yes<br>
checking whether -Wunused-variable is accepted as CFLAGS... yes<br>
checking whether -Werror=pointer-arith is accepted as CFLAGS... yes<br>
checking whether -Werror=write-strings is accepted as CFLAGS... yes<br>
checking whether -Werror=declaration-after-statement is accepted as CFLAGS... yes<br>
checking whether -Werror=shorten-64-to-32 is accepted as CFLAGS... yes<br>
checking whether -Werror=implicit-function-declaration is accepted as CFLAGS... yes<br>
checking whether -Wall -Wextra is accepted as CFLAGS... yes<br>
checking whether -ggdb3 is accepted as CFLAGS... no<br>
checking whether -ggdb is accepted as CFLAGS... yes<br>
checking whether -D_FORTIFY_SOURCE=2 is accepted as CFLAGS... yes<br>
checking whether -fstack-protector is accepted as CFLAGS... yes<br>
checking whether -fstack-protector is accepted as LDFLAGS... yes<br>
checking whether -fno-strict-overflow is accepted as CFLAGS... yes<br>
checking whether -fvisibility=hidden is accepted as CFLAGS... yes<br>
checking whether -Wl,-unexported_symbol,<em>Init</em>* is accepted as LDFLAGS... yes<br>
checking whether -fno-fast-math is accepted as CFLAGS... no<br>
checking for special C compiler options needed for large files... no<br>
checking for _FILE_OFFSET_BITS value needed for large files... no<br>
checking whether byte ordering is bigendian... no<br>
checking for an ANSI C-conforming const... yes<br>
checking whether char is unsigned... no<br>
checking for inline... inline<br>
checking for working volatile... yes<br>
checking for long long... yes<br>
checking for off_t... yes<br>
checking char bit... 8<br>
checking size of int... 4<br>
checking size of short... 2<br>
checking size of long... 8<br>
checking size of long long... 8<br>
checking size of __int64... 0<br>
checking size of off_t... 8<br>
checking size of void*... 8<br>
checking size of float... 4<br>
checking size of double... 8<br>
checking size of time_t... 8<br>
checking for printf prefix for long long... ll<br>
checking for pid_t... yes<br>
checking for convertible type of pid_t... INT<br>
checking for uid_t... yes<br>
checking for convertible type of uid_t... UINT<br>
checking for gid_t... yes<br>
checking for convertible type of gid_t... UINT<br>
checking for time_t... yes<br>
checking for convertible type of time_t... LONG<br>
checking for dev_t... yes<br>
checking for convertible type of dev_t... INT<br>
checking for mode_t... yes<br>
checking for convertible type of mode_t... UINT<br>
checking for rlim_t... yes<br>
checking for convertible type of rlim_t... ULL<br>
checking for prototypes... yes<br>
checking token paste string... ansi<br>
checking stringization... #expr<br>
checking string literal concatenation... yes<br>
checking for variable length prototypes and stdarg.h... yes<br>
checking for variable length macro... yes<br>
checking for noreturn function attribute... <strong>attribute</strong> ((noreturn)) x<br>
checking for deprecated function attribute... <strong>attribute</strong> ((deprecated)) x<br>
checking for noinline function attribute... <strong>attribute</strong> ((noinline)) x<br>
checking for stdcall function attribute... <strong>attribute</strong> ((stdcall)) x<br>
checking for cdecl function attribute... <strong>attribute</strong> ((cdecl)) x<br>
checking for fastcall function attribute... <strong>attribute</strong> ((fastcall)) x<br>
checking for function alias... no<br>
checking for atomic builtins... yes<br>
checking for __builtin_unreachable... yes<br>
checking for exported function attribute... <strong>attribute</strong> ((visibility("default")))<br>
checking whether sys_nerr is declared... yes<br>
checking whether Mac OS X 10.5 or later... yes<br>
checking for broken crypt with 8bit chars... no<br>
checking for dlopen in -ldl... yes<br>
checking for shl_load in -ldld... no<br>
checking for socketpair in -lsocket... no<br>
checking for clock_gettime in -lrt... no<br>
checking for dirent.h that defines DIR... yes<br>
checking for library containing opendir... none required<br>
checking for stdbool.h that conforms to C99... yes<br>
checking for _Bool... yes<br>
checking for sys/wait.h that is POSIX.1 compatible... yes<br>
checking limits.h usability... yes<br>
checking limits.h presence... yes<br>
checking for limits.h... yes<br>
checking sys/file.h usability... yes<br>
checking sys/file.h presence... yes<br>
checking for sys/file.h... yes<br>
checking sys/ioctl.h usability... yes<br>
checking sys/ioctl.h presence... yes<br>
checking for sys/ioctl.h... yes<br>
checking sys/syscall.h usability... yes<br>
checking sys/syscall.h presence... yes<br>
checking for sys/syscall.h... yes<br>
checking fcntl.h usability... yes<br>
checking fcntl.h presence... yes<br>
checking for fcntl.h... yes<br>
checking sys/fcntl.h usability... yes<br>
checking sys/fcntl.h presence... yes<br>
checking for sys/fcntl.h... yes<br>
checking sys/select.h usability... yes<br>
checking sys/select.h presence... yes<br>
checking for sys/select.h... yes<br>
checking sys/time.h usability... yes<br>
checking sys/time.h presence... yes<br>
checking for sys/time.h... yes<br>
checking sys/times.h usability... yes<br>
checking sys/times.h presence... yes<br>
checking for sys/times.h... yes<br>
checking sys/param.h usability... yes<br>
checking sys/param.h presence... yes<br>
checking for sys/param.h... yes<br>
checking syscall.h usability... no<br>
checking syscall.h presence... no<br>
checking for syscall.h... no<br>
checking pwd.h usability... yes<br>
checking pwd.h presence... yes<br>
checking for pwd.h... yes<br>
checking grp.h usability... yes<br>
checking grp.h presence... yes<br>
checking for grp.h... yes<br>
checking a.out.h usability... no<br>
checking a.out.h presence... no<br>
checking for a.out.h... no<br>
checking utime.h usability... yes<br>
checking utime.h presence... yes<br>
checking for utime.h... yes<br>
checking direct.h usability... no<br>
checking direct.h presence... no<br>
checking for direct.h... no<br>
checking sys/resource.h usability... yes<br>
checking sys/resource.h presence... yes<br>
checking for sys/resource.h... yes<br>
checking sys/mkdev.h usability... no<br>
checking sys/mkdev.h presence... no<br>
checking for sys/mkdev.h... no<br>
checking sys/utime.h usability... no<br>
checking sys/utime.h presence... no<br>
checking for sys/utime.h... no<br>
checking xti.h usability... no<br>
checking xti.h presence... no<br>
checking for xti.h... no<br>
checking netinet/in_systm.h usability... yes<br>
checking netinet/in_systm.h presence... yes<br>
checking for netinet/in_systm.h... yes<br>
checking float.h usability... yes<br>
checking float.h presence... yes<br>
checking for float.h... yes<br>
checking ieeefp.h usability... no<br>
checking ieeefp.h presence... no<br>
checking for ieeefp.h... no<br>
checking intrinsics.h usability... no<br>
checking intrinsics.h presence... no<br>
checking for intrinsics.h... no<br>
checking langinfo.h usability... yes<br>
checking langinfo.h presence... yes<br>
checking for langinfo.h... yes<br>
checking locale.h usability... yes<br>
checking locale.h presence... yes<br>
checking for locale.h... yes<br>
checking sys/sendfile.h usability... no<br>
checking sys/sendfile.h presence... no<br>
checking for sys/sendfile.h... no<br>
checking time.h usability... yes<br>
checking time.h presence... yes<br>
checking for time.h... yes<br>
checking process.h usability... no<br>
checking process.h presence... no<br>
checking for process.h... no<br>
checking sys/prctl.h usability... no<br>
checking sys/prctl.h presence... no<br>
checking for sys/prctl.h... no<br>
checking for size_t... yes<br>
checking size of size_t... 8<br>
checking size of ptrdiff_t... 8<br>
checking for printf prefix for size_t... z<br>
checking for printf prefix for ptrdiff_t... t<br>
checking for struct stat.st_blksize... yes<br>
checking for struct stat.st_blocks... yes<br>
checking for struct stat.st_rdev... yes<br>
checking size of struct stat.st_size... SIZEOF_LONG<br>
checking size of struct stat.st_blocks... SIZEOF_LONG<br>
checking for struct stat.st_atim... no<br>
checking for struct stat.st_atimespec... yes<br>
checking for struct stat.st_atimensec... no<br>
checking for struct stat.st_mtim... no<br>
checking for struct stat.st_mtimespec... yes<br>
checking for struct stat.st_mtimensec... no<br>
checking for struct stat.st_ctim... no<br>
checking for struct stat.st_ctimespec... yes<br>
checking for struct stat.st_ctimensec... no<br>
checking for struct timespec... yes<br>
checking for struct timezone... yes<br>
checking for clockid_t... no<br>
checking for fd_mask... yes<br>
checking for int8_t... yes<br>
checking size of int8_t... 1<br>
checking for uint8_t... yes<br>
checking size of uint8_t... 1<br>
checking for int16_t... yes<br>
checking size of int16_t... 2<br>
checking for uint16_t... yes<br>
checking size of uint16_t... 2<br>
checking for int32_t... yes<br>
checking size of int32_t... 4<br>
checking for uint32_t... yes<br>
checking size of uint32_t... 4<br>
checking for int64_t... yes<br>
checking size of int64_t... 8<br>
checking for uint64_t... yes<br>
checking size of uint64_t... 8<br>
checking for int128_t... no<br>
checking for uint128_t... no<br>
checking for intptr_t... yes<br>
checking size of intptr_t... 8<br>
checking for uintptr_t... yes<br>
checking size of uintptr_t... 8<br>
checking for ssize_t... yes<br>
checking size of ssize_t... 8<br>
checking for stack end address... no<br>
checking return type of signal handlers... void<br>
checking for working alloca.h... yes<br>
checking for alloca... yes<br>
checking for dynamic size alloca... ok<br>
checking for working memcmp... yes<br>
checking for broken erfc of glibc-2.3.6 on IA64... no<br>
checking for dup2... yes<br>
checking for memmove... yes<br>
checking for strerror... yes<br>
checking for strchr... yes<br>
checking for strstr... yes<br>
checking for crypt... yes<br>
checking for flock... yes<br>
checking for isnan... yes<br>
checking for finite... yes<br>
checking for isinf... yes<br>
checking for hypot... yes<br>
checking for acosh... yes<br>
checking for erf... yes<br>
checking for tgamma... yes<br>
checking for lgamma_r... yes<br>
checking for cbrt... yes<br>
checking for strlcpy... yes<br>
checking for strlcat... yes<br>
checking for ffs... yes<br>
checking for setproctitle... no<br>
checking for signbit... yes<br>
checking for fmod... yes<br>
checking for killpg... yes<br>
checking for wait4... yes<br>
checking for waitpid... yes<br>
checking for fork... yes<br>
checking for spawnv... no<br>
checking for syscall... yes<br>
checking for __syscall... yes<br>
checking for chroot... yes<br>
checking for getcwd... yes<br>
checking for eaccess... no<br>
checking for truncate... yes<br>
checking for ftruncate... yes<br>
checking for ftello... yes<br>
checking for chsize... no<br>
checking for times... yes<br>
checking for utimes... yes<br>
checking for utimensat... no<br>
checking for fcntl... yes<br>
checking for lockf... yes<br>
checking for lstat... yes<br>
checking for truncate64... no<br>
checking for ftruncate64... no<br>
checking for ftello64... no<br>
checking for fseeko... yes<br>
checking for fseeko64... no<br>
checking for link... yes<br>
checking for symlink... yes<br>
checking for readlink... yes<br>
checking for readdir_r... yes<br>
checking for fsync... yes<br>
checking for fchown... yes<br>
checking for posix_fadvise... no<br>
checking for setitimer... yes<br>
checking for setruid... yes<br>
checking for seteuid... yes<br>
checking for setreuid... yes<br>
checking for setresuid... no<br>
checking for socketpair... yes<br>
checking for setrgid... yes<br>
checking for setegid... yes<br>
checking for setregid... yes<br>
checking for setresgid... no<br>
checking for issetugid... yes<br>
checking for pause... yes<br>
checking for lchown... yes<br>
checking for lchmod... yes<br>
checking for getpgrp... yes<br>
checking for setpgrp... yes<br>
checking for getpgid... yes<br>
checking for setpgid... yes<br>
checking for initgroups... yes<br>
checking for getgroups... yes<br>
checking for setgroups... yes<br>
checking for getpriority... yes<br>
checking for getrlimit... yes<br>
checking for setrlimit... yes<br>
checking for sysconf... yes<br>
checking for close... yes<br>
checking for getpwnam_r... yes<br>
checking for getgrnam_r... yes<br>
checking for dlopen... yes<br>
checking for sigprocmask... yes<br>
checking for sigaction... yes<br>
checking for sigsetjmp... yes<br>
checking for _setjmp... yes<br>
checking for _longjmp... yes<br>
checking for setsid... yes<br>
checking for telldir... yes<br>
checking for seekdir... yes<br>
checking for fchmod... yes<br>
checking for cosh... yes<br>
checking for sinh... yes<br>
checking for tanh... yes<br>
checking for log2... yes<br>
checking for round... yes<br>
checking for llabs... yes<br>
checking for setuid... yes<br>
checking for setgid... yes<br>
checking for select_large_fdset... no<br>
checking for setenv... yes<br>
checking for unsetenv... yes<br>
checking for mktime... yes<br>
checking for timegm... yes<br>
checking for gmtime_r... yes<br>
checking for clock_gettime... no<br>
checking for gettimeofday... yes<br>
checking for poll... yes<br>
checking for ppoll... no<br>
checking for pread... yes<br>
checking for sendfile... yes<br>
checking for shutdown... yes<br>
checking for sigaltstack... yes<br>
checking for dl_iterate_phdr... no<br>
checking for dup3... no<br>
checking for pipe2... no<br>
checking for posix_memalign... yes<br>
checking for memalign... no<br>
checking for ioctl... yes<br>
checking for unsetenv returns a value... yes<br>
checking for __builtin_setjmp... no<br>
checking for setjmp type... _setjmp<br>
checking whether struct tm is in sys/time.h or time.h... time.h<br>
checking for struct tm.tm_zone... yes<br>
checking for struct tm.tm_gmtoff... yes<br>
checking for external int daylight... yes<br>
checking for external timezone... long<br>
checking for external altzone... no<br>
checking for timezone... yes<br>
checking whether timezone requires zero arguments... yes<br>
checking for negative time_t for gmtime(3)... yes<br>
checking for localtime(3) overflow correctly... yes<br>
checking whether right shift preserve sign bit... yes<br>
checking read count field in FILE structures... _r<br>
checking read buffer ptr field in FILE structures... _p<br>
checking size of struct stat.st_ino... SIZEOF_LONG<br>
checking whether struct dirent.d_name is too small... no<br>
checking whether _SC_CLK_TCK is supported... yes<br>
checking stack growing direction on x86_64... -1<br>
checking for pthread_kill in -lthr... no<br>
checking for pthread_kill in -lpthread... yes<br>
checking for pthread_np.h... no<br>
checking for sched_yield... yes<br>
checking for pthread_attr_setinheritsched... yes<br>
checking for pthread_getattr_np... no<br>
checking for pthread_attr_get_np... no<br>
checking for pthread_attr_getstack... yes<br>
checking for pthread_get_stackaddr_np... yes<br>
checking for pthread_get_stacksize_np... yes<br>
checking for thr_stksegment... no<br>
checking for pthread_stackseg_np... no<br>
checking for pthread_getthrds_np... no<br>
checking for pthread_cond_init... yes<br>
checking for pthread_condattr_setclock... no<br>
checking for pthread_condattr_init... yes<br>
checking for pthread_sigmask... yes<br>
checking for pthread_attr_init... yes<br>
checking if fork works with pthread... yes<br>
checking whether ELF binaries are produced... no<br>
checking whether OS depend dynamic link works... yes<br>
checking for backtrace... yes<br>
checking valgrind/memcheck.h usability... no<br>
checking valgrind/memcheck.h presence... no<br>
checking for valgrind/memcheck.h... no<br>
checking for strip... strip<br>
checking whether -fPIE is accepted as CFLAGS... yes<br>
checking whether -pie is accepted as LDFLAGS... no<br>
checking whether -Wl,-pie is accepted as LDFLAGS... yes<br>
checking for prefix of external symbols... _<br>
checking pthread.h usability... yes<br>
checking pthread.h presence... yes<br>
checking for pthread.h... yes<br>
checking if make is GNU make... yes<br>
checking for nroff... /usr/bin/nroff<br>
.ext/include/x86_64-darwin12.2.0/ruby/config.h unchanged<br>
verconf.h unchanged<br>
ruby library version = 2.0.0<br>
configure: creating ./config.status<br>
configure: WARNING: unrecognized options: --with-readline-dir, --with-gdbm-dir, --with-openssl-dir, --with-libyaml-dir<br>
MAKE=make /bin/sh ./config.status<br>
config.status: creating Makefile<br>
config.status: creating ruby-2.0.pc<br>
realcleaning -test-/array/resize<br>
realcleaning -test-/bug-3571<br>
realcleaning -test-/bug-3662<br>
realcleaning -test-/bug-5832<br>
realcleaning -test-/exception<br>
realcleaning -test-/funcall<br>
realcleaning -test-/iter<br>
realcleaning -test-/load/dot.dot<br>
realcleaning -test-/marshal/compat<br>
realcleaning -test-/marshal/usr<br>
realcleaning -test-/num2int<br>
realcleaning -test-/old_thread_select<br>
realcleaning -test-/path_to_class<br>
realcleaning -test-/printf<br>
realcleaning -test-/st/numhash<br>
realcleaning -test-/st/update<br>
realcleaning -test-/string<br>
realcleaning -test-/symbol<br>
realcleaning -test-/typeddata<br>
realcleaning -test-/wait_for_single_fd<br>
realcleaning -test-/win32/dln<br>
realcleaning -test-/win32/fd_setsize<br>
realcleaning bigdecimal<br>
realcleaning continuation<br>
realcleaning coverage<br>
realcleaning curses<br>
realcleaning date<br>
realcleaning dbm<br>
realcleaning digest/bubblebabble<br>
realcleaning digest/md5<br>
realcleaning digest/rmd160<br>
realcleaning digest/sha1<br>
realcleaning digest/sha2<br>
realcleaning digest<br>
realcleaning dl/callback<br>
realcleaning dl/win32<br>
realcleaning dl<br>
realcleaning etc<br>
realcleaning fcntl<br>
realcleaning fiber<br>
realcleaning fiddle<br>
realcleaning gdbm<br>
realcleaning io/console<br>
realcleaning io/nonblock<br>
realcleaning io/wait<br>
realcleaning json/generator<br>
realcleaning json/parser<br>
realcleaning json<br>
realcleaning mathn/complex<br>
realcleaning mathn/rational<br>
realcleaning nkf<br>
realcleaning objspace<br>
realcleaning openssl<br>
realcleaning pathname<br>
realcleaning psych<br>
realcleaning pty<br>
realcleaning racc/cparse<br>
realcleaning readline<br>
realcleaning ripper<br>
realcleaning sdbm<br>
realcleaning socket<br>
realcleaning stringio<br>
realcleaning strscan<br>
realcleaning syslog<br>
realcleaning tk/tkutil<br>
realcleaning tk<br>
rm: ../../.ext/common/tkextlib/itk/incr_tk.rb: Not a directory<br>
make[1]: [clean-rb-default] Error 1 (ignored)<br>
rm: ../../.ext/common/tkextlib/itk/setup.rb: Not a directory<br>
make[1]: [clean-rb-default] Error 1 (ignored)<br>
realcleaning win32ole<br>
realcleaning zlib<br>
realcleaning encodings</p>
Ruby master - Bug #5858 (Closed): Failure test/-ext-/old_thread_select/test_old_thread_select.rb
https://redmine.ruby-lang.org/issues/5858
2012-01-08T00:40:09Z
ayumin (Ayumu AIZAWA)
ayumu.aizawa@gmail.com
<p>r34227 のtest-all で test_old_select_signal_safe が失敗します</p>
<ol start="47">
<li>Failure:<br>
test_old_select_signal_safe(TestOldThreadSelect) [/Users/ayumin/github/ruby/test/-ext-/old_thread_select/test_old_thread_select.rb:91]:<br>
interrupted or short wait: diff=0.999695.<br>
Expected 0.999695 to be >= 1.</li>
</ol>
<p>小崎さんによるとOSのバグだそうです。(Lionでは再現しない)<br>
バージョン指定した上でSkipするパッチを書きます。</p>
Ruby master - Bug #5852 (Closed): Failure test/test_mathn.rb
https://redmine.ruby-lang.org/issues/5852
2012-01-06T23:31:24Z
ayumin (Ayumu AIZAWA)
ayumu.aizawa@gmail.com
<p>r34220 にて RUBY_API_VERSION を 2.0.0 にしたところ、Mathnのテストが失敗するようになりました。</p>
<p>ruby ➔ make test-all TESTS=test/test_mathn.rb<br>
./miniruby -I./lib -I. -I.ext/common ./tool/runruby.rb --extout=.ext -- --disable-gems "./test/runner.rb" --ruby="./miniruby -I./lib -I. -I.ext/common ./tool/runruby.rb --extout=.ext -- --disable-gems" test/test_mathn.rb<br>
Run options: "--ruby=./miniruby -I./lib -I. -I.ext/common ./tool/runruby.rb --extout=.ext -- --disable-gems"</p>
<a name="Running-tests"></a>
<h1 >Running tests:<a href="#Running-tests" class="wiki-anchor">¶</a></h1>
<p>F</p>
<p>Finished tests in 0.168567s, 5.9324 tests/s, 11.8647 assertions/s.</p>
<ol>
<li>Failure:<br>
test_power(TestMathn) [/Users/ayumin/github/ruby/test/test_mathn.rb:7]:<br>
<a href="/issues/2140">[ruby-core:25740]</a>.<br>
<[]> expected but was<br>
<["dyld: lazy symbol binding failed: Symbol not found: _nurat_canonicalization",<br>
" Referenced from: /Users/ayumin/github/ruby/.ext/x86_64-darwin10.8.0/mathn/rational.bundle",<br>
" Expected in: flat namespace",<br>
"",<br>
"dyld: Symbol not found: _nurat_canonicalization",<br>
" Referenced from: /Users/ayumin/github/ruby/.ext/x86_64-darwin10.8.0/mathn/rational.bundle",<br>
" Expected in: flat namespace",<br>
""]>.</li>
</ol>
<p>1 tests, 2 assertions, 1 failures, 0 errors, 0 skips</p>
<p>ruby -v: ruby 2.0.0dev (2012-01-06 trunk 34220) [x86_64-darwin10.8.0]<br>
make: *** [yes-test-all] Error 1</p>
Backport193 - Backport #5850 (Closed): Backport r34129, r34250, r34252 and r34253 ( Failure test/...
https://redmine.ruby-lang.org/issues/5850
2012-01-06T20:05:50Z
ayumin (Ayumu AIZAWA)
ayumu.aizawa@gmail.com
<p>=begin<br>
r34219で test/ruby/test_io.rb が1件失敗、1件エラーになります。<br>
エラーの方は-j で実行すると最初は失敗してそのあと成功します。</p>
<p>0:ruby ➔ make test-all TESTS=test/ruby/test_io.rb<br>
./miniruby -I./lib -I. -I.ext/common ./tool/runruby.rb --extout=.ext -- --disable-gems "./test/runner.rb" --ruby="./miniruby -I./lib -I. -I.ext/common ./tool/runruby.rb --extout=.ext -- --disable-gems" test/ruby/test_io.rb<br>
Run options: "--ruby=./miniruby -I./lib -I. -I.ext/common ./tool/runruby.rb --extout=.ext -- --disable-gems"</p>
<a name="Running-tests"></a>
<h1 >Running tests:<a href="#Running-tests" class="wiki-anchor">¶</a></h1>
<p>.F.............E..................................................................................................</p>
<p>Finished tests in 4.242426s, 26.8714 tests/s, 134.3571 assertions/s.</p>
<ol>
<li>
<p>Failure:<br>
test_autoclose(TestIO) [/Users/ayumin/github/ruby/test/ruby/test_io.rb:1444]:<br>
Errno::EBADF expected but nothing was raised.</p>
</li>
<li>
<p>Error:<br>
test_copy_stream(TestIO):<br>
Errno::EBADF: Bad file descriptor<br>
/Users/ayumin/github/ruby/test/ruby/test_io.rb:32:in <code>close' /Users/ayumin/github/ruby/test/ruby/test_io.rb:32:in </code>rescue in block in pipe'<br>
/Users/ayumin/github/ruby/test/ruby/test_io.rb:29:in `block in pipe'</p>
</li>
</ol>
<p>114 tests, 570 assertions, 1 failures, 1 errors, 0 skips</p>
<p>ruby -v: ruby 2.0.0dev (2012-01-06 trunk 34219) [x86_64-darwin10.8.0]<br>
make: *** [yes-test-all] Error 2<br>
0:ruby ➔ make test-all TESTS='-j 2 test/ruby/test_io.rb'<br>
./miniruby -I./lib -I. -I.ext/common ./tool/runruby.rb --extout=.ext -- --disable-gems "./test/runner.rb" --ruby="./miniruby -I./lib -I. -I.ext/common ./tool/runruby.rb --extout=.ext -- --disable-gems" -j 2 test/ruby/test_io.rb<br>
Run options: "--ruby=./miniruby -I./lib -I. -I.ext/common ./tool/runruby.rb --extout=.ext -- --disable-gems" -j 2</p>
<a name="Running-tests-2"></a>
<h1 >Running tests:<a href="#Running-tests-2" class="wiki-anchor">¶</a></h1>
<p>.F.............E..................................................................................................<br>
Retrying...</p>
<p>.F................................................................................................................</p>
<p>Finished tests in 10.072929s, 11.3175 tests/s, 56.5873 assertions/s.</p>
<ol>
<li>Failure:<br>
test_autoclose(TestIO) [/Users/ayumin/github/ruby/test/ruby/test_io.rb:1444]:<br>
Errno::EBADF expected but nothing was raised.</li>
</ol>
<p>114 tests, 570 assertions, 1 failures, 0 errors, 0 skips</p>
<p>ruby -v: ruby 2.0.0dev (2012-01-06 trunk 34219) [x86_64-darwin10.8.0]<br>
make: *** [yes-test-all] Error 1</p>
<p>=end</p>
Backport193 - Backport #5834 (Closed): Backport r33343 (test/rexml/test_sax.rb: add require 'rexm...
https://redmine.ruby-lang.org/issues/5834
2012-01-03T14:44:40Z
ayumin (Ayumu AIZAWA)
ayumu.aizawa@gmail.com
<p>=begin<br>
だいぶ前にtrunkでは直したのですが1.9.3 には入ってませんでした。</p>
<p>$ git show 379d519f0b5d<br>
commit 379d519f0b5d06e54d262f56131b64d3ef25ef68<br>
Author: ayumin <a href="mailto:ayumin@b2dd03c8-39d4-4d8f-98ff-823fe69b080e" class="email">ayumin@b2dd03c8-39d4-4d8f-98ff-823fe69b080e</a><br>
Date: Mon Sep 26 18:52:10 2011 +0000</p>
<ul>
<li>test/rexml/test_sax.rb: add require 'rexml/document.</li>
</ul>
<p>git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@33343 b2dd03c8-39d4-4d8f-98ff-823fe69b080e</p>
<p>diff --git a/ChangeLog b/ChangeLog<br>
index 758687e..2df65c8 100644<br>
--- a/ChangeLog<br>
+++ b/ChangeLog<br>
@@ -1,3 +1,7 @@<br>
+Tue Sep 27 03:50:19 2011 Ayumu AIZAWA <a href="mailto:ayumu.aizawa@gmail.com" class="email">ayumu.aizawa@gmail.com</a><br>
+</p>
<ul>
<li>
<pre><code> * test/rexml/test_sax.rb: add require 'rexml/document'.
</code></pre>
</li>
<li>
</ul>
<p>Tue Sep 27 03:32:27 2011 Ayumu AIZAWA <a href="mailto:ayumu.aizawa@gmail.com" class="email">ayumu.aizawa@gmail.com</a></p>
<ul>
<li>test/psych/test_yamldbm.rb: fix #setup and #terdown.<br>
diff --git a/test/rexml/test_sax.rb b/test/rexml/test_sax.rb<br>
index f5d7fb4..8873e17 100644<br>
--- a/test/rexml/test_sax.rb<br>
+++ b/test/rexml/test_sax.rb<br>
@@ -1,6 +1,7 @@<br>
require "rexml_test_utils"<br>
require 'rexml/sax2listener'<br>
require 'rexml/parsers/sax2parser'<br>
+require 'rexml/document'</li>
</ul>
<p>class SAX2Tester < Test::Unit::TestCase<br>
include REXMLTestUtils<br>
=end</p>
Ruby master - Feature #5826 (Closed): When the RUBY API_VERSION will be increased?
https://redmine.ruby-lang.org/issues/5826
2011-12-31T00:23:57Z
ayumin (Ayumu AIZAWA)
ayumu.aizawa@gmail.com
<p>I think RUBY_API_VERSION should be 2.0.0 for Ruby2.0.0.<br>
In other hand, some people might think it should stay 1.9.1 becouse Ruby2.0.0 will have backward compatibility with 1.9.</p>
Ruby master - Bug #5327 (Rejected): goruby build failed @ trunk
https://redmine.ruby-lang.org/issues/5327
2011-09-15T00:00:43Z
ayumin (Ayumu AIZAWA)
ayumu.aizawa@gmail.com
<p>$ make goruby<br>
cc goruby.c -o goruby<br>
In file included from goruby.c:3:<br>
main.c:13:18: error: ruby.h: No such file or directory<br>
In file included from debug.h:16,<br>
from main.c:14,<br>
from goruby.c:3:<br>
node.h:461: error: conflicting types for ‘rb_parser_append_print’<br>
/System/Library/Frameworks/ruby.framework/Headers/intern.h:351: error: previous declaration of ‘rb_parser_append_print’ was here<br>
node.h:462: error: conflicting types for ‘rb_parser_while_loop’<br>
/System/Library/Frameworks/ruby.framework/Headers/intern.h:352: error: previous declaration of ‘rb_parser_while_loop’ was here<br>
In file included from goruby.c:3:<br>
main.c:24: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘<strong>attribute</strong>’ before ‘int’<br>
make: *** [goruby] Error 1</p>
Ruby master - Bug #5326 (Rejected): goruby build failed @ ruby_1_9_3
https://redmine.ruby-lang.org/issues/5326
2011-09-14T23:56:28Z
ayumin (Ayumu AIZAWA)
ayumu.aizawa@gmail.com
<p>$ make goruby<br>
compiling goruby.c<br>
gcc -O3 -ggdb -Wextra -Wno-unused-parameter -Wno-parentheses -Wno-long-long -Wno-missing-field-initializers -Werror=pointer-arith -Werror=write-strings -Werror=declaration-after-statement -Werror=shorten-64-to-32 -Werror=implicit-function-declaration -fno-common -pipe -L. -L/usr/local/lib goruby.o -o goruby<br>
Undefined symbols:<br>
"_ruby_options", referenced from:<br>
_main in goruby.o<br>
"_ruby_sysinit", referenced from:<br>
_main in goruby.o<br>
"_Init_golf", referenced from:<br>
_init_golf in goruby.o<br>
"_ruby_init_ext", referenced from:<br>
_init_golf in goruby.o<br>
"_ruby_init_stack", referenced from:<br>
_main in goruby.o<br>
"_ruby_run_node", referenced from:<br>
_goruby_run_node in goruby.o<br>
_main in goruby.o<br>
"_ruby_init", referenced from:<br>
_main in goruby.o<br>
"_rb_protect", referenced from:<br>
_goruby_run_node in goruby.o<br>
_main in goruby.o<br>
ld: symbol(s) not found<br>
collect2: ld returned 1 exit status<br>
make: *** [goruby] Error 1</p>
Ruby master - Bug #5275 (Closed): Typo in ext/json/generator/generator.c
https://redmine.ruby-lang.org/issues/5275
2011-09-05T18:00:33Z
ayumin (Ayumu AIZAWA)
ayumu.aizawa@gmail.com
<p>ext/json/generator/generator.c に一ヶ所いわゆる全角文字が使われているので修正パッチを書きました。</p>
Ruby master - Bug #5151 (Closed): test/socket/test_socket.rb fail when udp connection failed
https://redmine.ruby-lang.org/issues/5151
2011-08-03T06:23:36Z
ayumin (Ayumu AIZAWA)
ayumu.aizawa@gmail.com
<p>=begin<br>
test/socket/test_socket.rb の test_udp_server 内で Socket.ip_address_list で得られる<br>
アドレスに対して接続できないときに RuntimeError でテストが失敗します。</p>
<p>同じテストファイルの中の test_ip_address_list は成功しているので、取得しているリスト<br>
の中身自体は問題なさそうなので、接続できないときはスキップしてしまってよいのでは<br>
ないかとおもいました。</p>
<p>以下実行結果です。</p>
<p>$ make test-all TESTS='test/socket/test_socket.rb'<br>
./miniruby -I./lib -I. -I.ext/common ./tool/runruby.rb --extout=.ext -- --disable-gems "./test/runner.rb" --ruby="./miniruby -I./lib -I. -I.ext/common ./tool/runruby.rb --extout=.ext -- --disable-gems" test/socket/test_socket.rb<br>
Run options: "--ruby=./miniruby -I./lib -I. -I.ext/common ./tool/runruby.rb --extout=.ext -- --disable-gems"</p>
<a name="Running-tests"></a>
<h1 >Running tests:<a href="#Running-tests" class="wiki-anchor">¶</a></h1>
<p>..................E...</p>
<p>Finished tests in 10.225113s, 2.1516 tests/s, 7.2371 assertions/s.</p>
<ol>
<li>Error:<br>
test_udp_server(TestSocket):<br>
RuntimeError: no response from #<Addrinfo: fd5e:b7ac:aaf8:9f02:223:32ff:feb4:f300><br>
/Users/ayumin/github/ruby/test/socket/test_socket.rb:297:in <code>block (3 levels) in test_udp_server' /Users/ayumin/github/ruby/.ext/common/socket.rb:45:in </code>connect_internal'<br>
/Users/ayumin/github/ruby/.ext/common/socket.rb:92:in <code>connect' /Users/ayumin/github/ruby/test/socket/test_socket.rb:293:in </code>block (2 levels) in test_udp_server'<br>
/Users/ayumin/github/ruby/test/socket/test_socket.rb:292:in <code>each' /Users/ayumin/github/ruby/test/socket/test_socket.rb:292:in </code>block in test_udp_server'<br>
/Users/ayumin/github/ruby/.ext/common/socket.rb:553:in <code>udp_server_sockets' /Users/ayumin/github/ruby/test/socket/test_socket.rb:276:in </code>test_udp_server'</li>
</ol>
<p>22 tests, 74 assertions, 0 failures, 1 errors, 0 skips<br>
make: *** [yes-test-all] Error 1</p>
<p>スキップするパッチは <a href="https://gist.github.com/1121247" class="external">https://gist.github.com/1121247</a> です。</p>
<p>パッチ適用後の実行結果は以下のとおりです。</p>
<p>$ make test-all TESTS='test/socket/test_socket.rb'<br>
./miniruby -I./lib -I. -I.ext/common ./tool/runruby.rb --extout=.ext -- --disable-gems "./test/runner.rb" --ruby="./miniruby -I./lib -I. -I.ext/common ./tool/runruby.rb --extout=.ext -- --disable-gems" test/socket/test_socket.rb<br>
Run options: "--ruby=./miniruby -I./lib -I. -I.ext/common ./tool/runruby.rb --extout=.ext -- --disable-gems"</p>
<a name="Running-tests-2"></a>
<h1 >Running tests:<a href="#Running-tests-2" class="wiki-anchor">¶</a></h1>
<p>..................S...</p>
<p>Finished tests in 20.225713s, 1.0877 tests/s, 3.6587 assertions/s.</p>
<ol>
<li>Skipped:<br>
test_udp_server(TestSocket) [/Users/ayumin/github/ruby/test/socket/test_socket.rb:307]:<br>
need sendmsg and recvmsg</li>
</ol>
<p>22 tests, 74 assertions, 0 failures, 0 errors, 1 skips</p>
<p>=end</p>
Ruby master - Bug #5150 (Closed): Ruby-trunk Crashed in running test-rubyspec
https://redmine.ruby-lang.org/issues/5150
2011-08-03T04:13:06Z
ayumin (Ayumu AIZAWA)
ayumu.aizawa@gmail.com
<p>trunk をMac OS X 10.6.8 でBuildしたのち、test-rubyspec を実行したら Crash しました。<br>
ruby のバージョンと環境は以下のとおり。<br>
実行ログと~/Library/Logs/CrashReporter にあったファイルを添付します。</p>
<p>$ bin/ruby -v<br>
ruby 1.9.4dev (2011-08-03 trunk 32821) [x86_64-darwin10.8.0]<br>
$ uname -srv<br>
Darwin 10.8.0 Darwin Kernel Version 10.8.0: Tue Jun 7 16:33:36 PDT 2011; root:xnu-1504.15.3~1/RELEASE_I386</p>
Ruby master - Bug #5136 (Closed): :"!".inspect の結果が1.9.3devと1.9.2とでは異なる
https://redmine.ruby-lang.org/issues/5136
2011-08-02T01:54:02Z
ayumin (Ayumu AIZAWA)
ayumu.aizawa@gmail.com
<p>=begin<br>
(({:"!".inspect})) とか (({:!.inspect})) の結果が1.9.3devと1.9.2 では異なるようです。</p>
<p>$ bin/ruby -v -e 'puts :!.inspect'<br>
ruby 1.9.3dev (2011-08-01 revision 32798) [x86_64-darwin10.8.0]<br>
:"!"<br>
$ ruby -v -e 'puts :"!".inspect'<br>
ruby 1.9.2p180 (2011-02-18 revision 30909) [x86_64-darwin10.6.0]<br>
:!<br>
$ bin/ruby -v -e 'puts :!.inspect'<br>
ruby 1.9.3dev (2011-08-01 revision 32798) [x86_64-darwin10.8.0]<br>
:"!"<br>
$ ruby -v -e 'puts :!.inspect'<br>
ruby 1.9.2p180 (2011-02-18 revision 30909) [x86_64-darwin10.6.0]<br>
:!</p>
<p>ちなみに 1.8.7 では以下の通り、前者は1.9.3devと同じ出力で、後者はSyntaxError となります。<br>
$ ruby -v -e 'puts :"!".inspect'<br>
ruby 1.8.7 (2011-02-18 patchlevel 334) [i686-darwin10.6.0]<br>
:"!"<br>
$ ruby -v -e 'puts :!.inspect'<br>
ruby 1.8.7 (2011-02-18 patchlevel 334) [i686-darwin10.6.0]<br>
-e:1: syntax error, unexpected '!', expecting tSTRING_CONTENT or tSTRING_DBEG or tSTRING_DVAR or tSTRING_END<br>
puts :!.inspect<br>
^</p>
<p>=end</p>
Ruby master - Bug #5132 (Closed): test_parallel.rb fail when it run before 'make install'
https://redmine.ruby-lang.org/issues/5132
2011-08-01T18:28:57Z
ayumin (Ayumu AIZAWA)
ayumu.aizawa@gmail.com
<p>make install を実行する前にmake test-all をすると、test_parallel.rb が失敗します。<br>
trunkとruby_1_9_3 で再現することまで確認しました。</p>
<p>$ uname -a<br>
Linux Ubuntu11 2.6.38-10-generic #46-Ubuntu SMP Tue Jun 28 15:07:17 UTC 2011 x86_64 x86_64 x86_64 GNU/Linux<br>
$ make test-all TESTS='-v test/testunit/test_parallel.rb'<br>
./miniruby -I./lib -I. -I.ext/common ./tool/runruby.rb --extout=.ext -- --disable-gems "./test/runner.rb" --ruby="./miniruby -I./lib -I. -I.ext/common ./tool/runruby.rb --extout=.ext -- --disable-gems" -v test/testunit/test_parallel.rb<br>
Run options: "--ruby=./miniruby -I./lib -I. -I.ext/common ./tool/runruby.rb --extout=.ext -- --disable-gems" -v</p>
<a name="Running-tests"></a>
<h1 >Running tests:<a href="#Running-tests" class="wiki-anchor">¶</a></h1>
<p>TestParallel::TestParallel#test_ignore_jzero = 0.05 s = .<br>
TestParallel::TestParallel#test_jobs_status = 0.05 s = F<br>
TestParallel::TestParallel#test_no_retry_option = 0.05 s = F<br>
TestParallel::TestParallel#test_should_retry_failed_on_workers = 0.05 s = F<br>
TestParallel::TestParallel#test_should_run_all_without_any_leaks = 0.05 s = F<br>
TestParallel::TestParallelWorker#test_accept_run_command_multiple_times = 0.05 s = .<br>
TestParallel::TestParallelWorker#test_done = 0.05 s = .<br>
TestParallel::TestParallelWorker#test_p = 0.05 s = .<br>
TestParallel::TestParallelWorker#test_quit = 0.05 s = .<br>
TestParallel::TestParallelWorker#test_run = 0.05 s = .<br>
TestParallel::TestParallelWorker#test_run_multiple_testcase_in_one_file = 0.05 s = .</p>
<p>Finished tests in 0.554289s, 19.8453 tests/s, 72.1646 assertions/s.</p>
<ol>
<li>
<p>Failure:<br>
test_jobs_status(TestParallel::TestParallel) [/home/ayumin/github/ruby/test/testunit/test_parallel.rb:174]:<br>
Expected /\d+=ptest_(first|second|third|forth) */ to match "Run options: -j t1 --jobs-status\n\n# Running tests:\n\n/home/ayumin/github/ruby/lib/test/unit.rb:496:in <code>ensure in _run_parallel': undefined method </code>each' for nil:NilClass (NoMethodError)\n\tfrom /home/ayumin/github/ruby/lib/test/unit.rb:552:in <code>_run_parallel'\n\tfrom /home/ayumin/github/ruby/lib/test/unit.rb:561:in </code>_run_suites'\n\tfrom /home/ayumin/github/ruby/lib/minitest/unit.rb:746:in <code>_run_anything'\n\tfrom /home/ayumin/github/ruby/lib/minitest/unit.rb:909:in </code>run_tests'\n\tfrom /home/ayumin/github/ruby/lib/minitest/unit.rb:896:in <code>block in _run'\n\tfrom /home/ayumin/github/ruby/lib/minitest/unit.rb:895:in </code>each'\n\tfrom /home/ayumin/github/ruby/lib/minitest/unit.rb:895:in <code>_run'\n\tfrom /home/ayumin/github/ruby/lib/minitest/unit.rb:884:in </code>run'\n\tfrom /home/ayumin/github/ruby/lib/test/unit.rb:21:in <code>run'\n\tfrom /home/ayumin/github/ruby/lib/test/unit.rb:630:in </code>run'\n\tfrom /home/ayumin/github/ruby/lib/test/unit.rb:634:in <code>run'\n\tfrom /home/ayumin/github/ruby/test/testunit/tests_for_parallel/runner.rb:10:in </code>'\n".</p>
</li>
<li>
<p>Failure:<br>
test_no_retry_option(TestParallel::TestParallel) [/home/ayumin/github/ruby/test/testunit/test_parallel.rb:168]:<br>
Expected /^ +\d+) Failure:\ntest_fail_at_worker(TestD)/ to match "Run options: -j t1 --no-retry\n\n# Running tests:\n\n/home/ayumin/github/ruby/lib/test/unit.rb:496:in <code>ensure in _run_parallel': undefined method </code>each' for nil:NilClass (NoMethodError)\n\tfrom /home/ayumin/github/ruby/lib/test/unit.rb:552:in <code>_run_parallel'\n\tfrom /home/ayumin/github/ruby/lib/test/unit.rb:561:in </code>_run_suites'\n\tfrom /home/ayumin/github/ruby/lib/minitest/unit.rb:746:in <code>_run_anything'\n\tfrom /home/ayumin/github/ruby/lib/minitest/unit.rb:909:in </code>run_tests'\n\tfrom /home/ayumin/github/ruby/lib/minitest/unit.rb:896:in <code>block in _run'\n\tfrom /home/ayumin/github/ruby/lib/minitest/unit.rb:895:in </code>each'\n\tfrom /home/ayumin/github/ruby/lib/minitest/unit.rb:895:in <code>_run'\n\tfrom /home/ayumin/github/ruby/lib/minitest/unit.rb:884:in </code>run'\n\tfrom /home/ayumin/github/ruby/lib/test/unit.rb:21:in <code>run'\n\tfrom /home/ayumin/github/ruby/lib/test/unit.rb:630:in </code>run'\n\tfrom /home/ayumin/github/ruby/lib/test/unit.rb:634:in <code>run'\n\tfrom /home/ayumin/github/ruby/test/testunit/tests_for_parallel/runner.rb:10:in </code>'\n".</p>
</li>
<li>
<p>Failure:<br>
test_should_retry_failed_on_workers(TestParallel::TestParallel) [/home/ayumin/github/ruby/test/testunit/test_parallel.rb:161]:<br>
Expected /^Retrying.+$/ to match "Run options: -j t1\n\n# Running tests:\n\n/home/ayumin/github/ruby/lib/test/unit.rb:496:in <code>ensure in _run_parallel': undefined method </code>each' for nil:NilClass (NoMethodError)\n\tfrom /home/ayumin/github/ruby/lib/test/unit.rb:552:in <code>_run_parallel'\n\tfrom /home/ayumin/github/ruby/lib/test/unit.rb:561:in </code>_run_suites'\n\tfrom /home/ayumin/github/ruby/lib/minitest/unit.rb:746:in <code>_run_anything'\n\tfrom /home/ayumin/github/ruby/lib/minitest/unit.rb:909:in </code>run_tests'\n\tfrom /home/ayumin/github/ruby/lib/minitest/unit.rb:896:in <code>block in _run'\n\tfrom /home/ayumin/github/ruby/lib/minitest/unit.rb:895:in </code>each'\n\tfrom /home/ayumin/github/ruby/lib/minitest/unit.rb:895:in <code>_run'\n\tfrom /home/ayumin/github/ruby/lib/minitest/unit.rb:884:in </code>run'\n\tfrom /home/ayumin/github/ruby/lib/test/unit.rb:21:in <code>run'\n\tfrom /home/ayumin/github/ruby/lib/test/unit.rb:630:in </code>run'\n\tfrom /home/ayumin/github/ruby/lib/test/unit.rb:634:in <code>run'\n\tfrom /home/ayumin/github/ruby/test/testunit/tests_for_parallel/runner.rb:10:in </code>'\n".</p>
</li>
<li>
<p>Failure:<br>
test_should_run_all_without_any_leaks(TestParallel::TestParallel) [/home/ayumin/github/ruby/test/testunit/test_parallel.rb:155]:<br>
Expected /^[SF.]{7}$/ to match "Run options: -j t1\n\n# Running tests:\n\n/home/ayumin/github/ruby/lib/test/unit.rb:496:in <code>ensure in _run_parallel': undefined method </code>each' for nil:NilClass (NoMethodError)\n\tfrom /home/ayumin/github/ruby/lib/test/unit.rb:552:in <code>_run_parallel'\n\tfrom /home/ayumin/github/ruby/lib/test/unit.rb:561:in </code>_run_suites'\n\tfrom /home/ayumin/github/ruby/lib/minitest/unit.rb:746:in <code>_run_anything'\n\tfrom /home/ayumin/github/ruby/lib/minitest/unit.rb:909:in </code>run_tests'\n\tfrom /home/ayumin/github/ruby/lib/minitest/unit.rb:896:in <code>block in _run'\n\tfrom /home/ayumin/github/ruby/lib/minitest/unit.rb:895:in </code>each'\n\tfrom /home/ayumin/github/ruby/lib/minitest/unit.rb:895:in <code>_run'\n\tfrom /home/ayumin/github/ruby/lib/minitest/unit.rb:884:in </code>run'\n\tfrom /home/ayumin/github/ruby/lib/test/unit.rb:21:in <code>run'\n\tfrom /home/ayumin/github/ruby/lib/test/unit.rb:630:in </code>run'\n\tfrom /home/ayumin/github/ruby/lib/test/unit.rb:634:in <code>run'\n\tfrom /home/ayumin/github/ruby/test/testunit/tests_for_parallel/runner.rb:10:in </code>'\n".</p>
</li>
</ol>
<p>11 tests, 40 assertions, 4 failures, 0 errors, 0 skips<br>
make: *** [yes-test-all] エラー 4</p>