[...] py.test.skip("%s not found" % lib_m) ffi = FFI(backend=self.Backend()) ffi.cdef(""" double cos(double x); """) m = ffi.dlopen(path) x = m.cos(1.23) > assert x == math.cos(1.23) E assert nan == 0.3342377271245026 E + where 0.3342377271245026 = (1.23) E + where = math.cos testing/cffi0/test_function.py:68: AssertionError ______________________ TestFunction.test_dlopen_filename _______________________ self = def test_dlopen_filename(self): path = ctypes.util.find_library(lib_m) if not path: py.test.skip("%s not found" % lib_m) ffi = FFI(backend=self.Backend()) ffi.cdef(""" double cos(double x); """) m = ffi.dlopen(path) x = m.cos(1.23) > assert x == math.cos(1.23) E assert nan == 0.3342377271245026 E + where 0.3342377271245026 = (1.23) E + where = math.cos testing/cffi0/test_function.py:68: AssertionError ======== 2 failed, 1870 passed, 93 skipped, 4 xfailed in 174.51 seconds ======== error: Bad exit status from /tmp/B.bYOKk6/BUILD/tmp/rpm-tmp.99791 (%build) RPM build errors: Bad exit status from /tmp/B.bYOKk6/BUILD/tmp/rpm-tmp.99791 (%build) ended at: Fri Aug 24 17:31:35 2018, done in 0:02:57.912052 error: No files produced. mesg: ttyname failed: Inappropriate ioctl for device + chmod -R u+rwX /tmp/B.bYOKk6/BUILD + rm -rf /tmp/B.bYOKk6/tmp /tmp/B.bYOKk6/BUILD mesg: ttyname failed: Inappropriate ioctl for device + rm -rf /tmp/B.bYOKk6 Begin-TLD-Builder-Info Build-Time: user:144.28s sys:48.04s real:179.53s (faults io:7 non-io:8416577) End-TLD-Builder-Info