On 21 =DC=D0=E0, 10:24, stanv <andru... / gmail.com> wrote:
> Hello!
>
> I want to package ruby.
>
> Version: ruby_1_9_2 r30907
>
> But, after compilation I got:
>
> 1) Error:
> test_01(TestDRbSSLAry):
> RuntimeError: execution expired
> =A0 =A0 /usr/src/RPM/BUILD/ruby-1.9.2-alt1.r30896.1/test/drb/drbtest.rb:
> 30:in `block in ext_service'
> =A0 =A0 /usr/src/RPM/BUILD/ruby-1.9.2-alt1.r30896.1/test/drb/drbtest.rb:
> 29:in `ext_service'
> =A0 =A0 /usr/src/RPM/BUILD/ruby-1.9.2-alt1.r30896.1/test/drb/
> test_drbssl.rb:56:in `setup'
>
> =A0 2) Error:
> test_02_collect(TestDRbSSLAry):
> RuntimeError: execution expired
> =A0 =A0 /usr/src/RPM/BUILD/ruby-1.9.2-alt1.r30896.1/test/drb/drbtest.rb:
> 30:in `block in ext_service'
> =A0 =A0 /usr/src/RPM/BUILD/ruby-1.9.2-alt1.r30896.1/test/drb/drbtest.rb:
> 29:in `ext_service'
> =A0 =A0 /usr/src/RPM/BUILD/ruby-1.9.2-alt1.r30896.1/test/drb/
> test_drbssl.rb:56:in `setup'
>
> =A0 3) Error:
> test_03_redo(TestDRbSSLAry):
> RuntimeError: execution expired
> =A0 =A0 /usr/src/RPM/BUILD/ruby-1.9.2-alt1.r30896.1/test/drb/drbtest.rb:
> 30:in `block in ext_service'
> =A0 =A0 /usr/src/RPM/BUILD/ruby-1.9.2-alt1.r30896.1/test/drb/drbtest.rb:
> 29:in `ext_service'
> =A0 =A0 /usr/src/RPM/BUILD/ruby-1.9.2-alt1.r30896.1/test/drb/
> test_drbssl.rb:56:in `setup'
>
> =A0 4) Error:
> test_05_break(TestDRbSSLAry):
> RuntimeError: execution expired
> =A0 =A0 /usr/src/RPM/BUILD/ruby-1.9.2-alt1.r30896.1/test/drb/drbtest.rb:
> 30:in `block in ext_service'
> =A0 =A0 /usr/src/RPM/BUILD/ruby-1.9.2-alt1.r30896.1/test/drb/drbtest.rb:
> 29:in `ext_service'
> =A0 =A0 /usr/src/RPM/BUILD/ruby-1.9.2-alt1.r30896.1/test/drb/
> test_drbssl.rb:56:in `setup'
>
> =A0 5) Error:
> test_06_next(TestDRbSSLAry):
> RuntimeError: execution expired
> =A0 =A0 /usr/src/RPM/BUILD/ruby-1.9.2-alt1.r30896.1/test/drb/drbtest.rb:
> 30:in `block in ext_service'
> =A0 =A0 /usr/src/RPM/BUILD/ruby-1.9.2-alt1.r30896.1/test/drb/drbtest.rb:
> 29:in `ext_service'
> =A0 =A0 /usr/src/RPM/BUILD/ruby-1.9.2-alt1.r30896.1/test/drb/
> test_drbssl.rb:56:in `setup'
>
> =A0 6) Error:
> test_07_break_18(TestDRbSSLAry):
> RuntimeError: execution expired
> =A0 =A0 /usr/src/RPM/BUILD/ruby-1.9.2-alt1.r30896.1/test/drb/drbtest.rb:
> 30:in `block in ext_service'
> =A0 =A0 /usr/src/RPM/BUILD/ruby-1.9.2-alt1.r30896.1/test/drb/drbtest.rb:
> 29:in `ext_service'
> =A0 =A0 /usr/src/RPM/BUILD/ruby-1.9.2-alt1.r30896.1/test/drb/
> test_drbssl.rb:56:in `setup'
>
> =A0 7) Failure:
> test_timeout(TestTimeout) [/usr/src/RPM/BUILD/ruby-1.9.2-alt1.r30896.1/
> test/test_timeout.rb:19]:
> [ruby-dev:38319].
> Exception raised:
> <#<Timeout::Error: execution expired>>.
>
> 7658 tests, 2195117 assertions, 1 failures, 6 errors, 0 skips
>
> Test run options: --seed 32189
> make: *** [yes-test-all] Error 1
> make: Target `check' not remade because of errors.
> make: Leaving directory `/usr/src/RPM/BUILD/ruby-1.9.2-alt1.r30896.1'
> error: Bad exit status from /usr/src/tmp/rpm-tmp.39559 (%check)
>
> Please help!

Also, I catch:


14838 pts/3    SN+    0:00  |                                   \_
rpmbuild --rebuild --target=3Dx86_64 ruby-1.9.2-alt1.r30896.1.src.rpm
 2229 pts/3    SN+    0:00  |
\_ /bin/sh -e /usr/src/tmp/rpm-tmp.24263
 2231 pts/3    SN+    0:00
|                                           \_ make -k check
 5149 pts/3    RNl+  14:45
|                                               \_ ./ruby -
rpurelib.rb ./test/runner.rb
 7008 pts/3    ZN+    0:00
|                                                   \_ [ruby]
<defunct>
 7014 pts/3    ZN+    0:00
|                                                   \_ [ruby]
<defunct>
 7031 pts/3    ZN+    0:00
|                                                   \_ [ruby]
<defunct>


Test take 99% CPU:

  PID USER      PR  NI  VIRT  RES  SHR S %CPU %MEM    TIME+
COMMAND
 5149 stanv_b   36  16  609M 172M 6996 R 99.8  2.2  14:52.45 ruby

I don't how to get around this.
Please help!