From: merch-redmine@... Date: 2018-12-19T16:05:48+00:00 Subject: [ruby-core:90620] [Ruby trunk Bug#15436] Tests failing in `make check` Issue #15436 has been updated by jeremyevans0 (Jeremy Evans). ana06 (Ana Maria Martinez Gomez) wrote: > The following tests fail when running `check make` (after `make`) in my openSUSE Tumbleweed using current Ruby trunk version: > > > ``` > [ 1080/19451] OpenSSL::TestEC#test_ec_point_mul = 0.00 s > 1) Error: > OpenSSL::TestEC#test_ec_point_mul: > OpenSSL::PKey::EC::Point::Error: called a function you should not call > /home/ana/github/ruby/test/openssl/test_pkey_ec.rb:312:in `mul' > /home/ana/github/ruby/test/openssl/test_pkey_ec.rb:312:in `test_ec_point_mul' > ``` This failure also occurs in OpenBSD. It appears to be related to changes in LibreSSL to prevent a timing attack (https://github.com/openbsd/src/commit/149fe5183f483d61a4d9c7559eda5256da9eaf72#diff-0f7cc301aabeefcddcdcdccfb491d801). These changes do not appear to be in OpenSSL (https://github.com/openssl/openssl/blob/master/crypto/ec/ec_lib.c#L913). ---------------------------------------- Bug #15436: Tests failing in `make check` https://bugs.ruby-lang.org/issues/15436#change-75781 * Author: ana06 (Ana Maria Martinez Gomez) * Status: Open * Priority: Normal * Assignee: * Target version: * ruby -v: trunk branch in Github * Backport: 2.4: UNKNOWN, 2.5: UNKNOWN ---------------------------------------- The following tests fail when running `check make` (after `make`) in my openSUSE Tumbleweed using current Ruby trunk version: ``` [ 1080/19451] OpenSSL::TestEC#test_ec_point_mul = 0.00 s 1) Error: OpenSSL::TestEC#test_ec_point_mul: OpenSSL::PKey::EC::Point::Error: called a function you should not call /home/ana/github/ruby/test/openssl/test_pkey_ec.rb:312:in `mul' /home/ana/github/ruby/test/openssl/test_pkey_ec.rb:312:in `test_ec_point_mul' [ 6846/19451] TestExtLibs#test_existence_of_fiddle = 0.07 s 2) Failure: TestExtLibs#test_existence_of_fiddle [/home/ana/github/ruby/test/test_extlibs.rb:20]: extension library `fiddle' is not found "pkg-config --exists libffi" package configuration for libffi is not found have_header: checking for ffi.h... -------------------- no ``` The second seems to be a problem package and not code related - a problem which I don't manage to solve.... :( But I am not that sure with the first one. -- https://bugs.ruby-lang.org/ Unsubscribe: