PerlFFI / FFI-Platypus

Write Perl bindings to non-Perl libraries with FFI. No XS required.
91 stars 24 forks source link

default ABI detection fail on FreeBSD 13.0 #285

Closed plicease closed 3 years ago

plicease commented 4 years ago

t/ffi_build.t ............................ ok
t/ffi_build_file_base.t .................. ok
t/ffi_build_file_c.t ..................... ok
t/ffi_build_file_cxx.t ................... ok
t/ffi_build_file_library.t ............... ok
t/ffi_build_file_object.t ................ ok
t/ffi_build_mm.t ......................... ok
t/ffi_build_platform.t ................... ok

    #   Failed test 'has a default ABI'
    #   at t/ffi_platypus.t line 52.
    # Looks like you failed 1 test of 2.

#   Failed test 'abi'
#   at t/ffi_platypus.t line 71.
# Looks like you failed 1 test of 24.
t/ffi_platypus.t ......................... 
Dubious, test returned 1 (wstat 256, 0x100)
Failed 1/24 subtests 
t/ffi_platypus_api.t ..................... ok
t/ffi_platypus_buffer.t .................. ok
t/ffi_platypus_bundle.t .................. ok
t/ffi_platypus_closure.t ................. ok
t/ffi_platypus_constant.t ................ ok

    #   Failed test 'has a default ABI'
    #   at t/ffi_platypus_declare.t line 88.
    # Looks like you failed 1 test of 2.

#   Failed test 'abis'
#   at t/ffi_platypus_declare.t line 106.
# Looks like you failed 1 test of 9.
t/ffi_platypus_declare.t ................. 
Dubious, test returned 1 (wstat 256, 0x100)
Failed 1/9 subtests 
t/ffi_platypus_dl.t ...................... ok
t/ffi_platypus_function.t ................ ok
t/ffi_platypus_function_wrapper.t ........ ok
t/ffi_platypus_internal.t ................ ok
t/ffi_platypus_lang.t .................... ok
t/ffi_platypus_lang_asm.t ................ ok
t/ffi_platypus_lang_c.t .................. ok

full log: http://www.cpantesters.org/cpan/report/ae44bf50-fc23-11ea-acc1-f1371f24ea8f http://www.cpantesters.org/cpan/report/a8b87b62-fc23-11ea-acc1-f1371f24ea8f

The thing that is different from the other FreeBSD runs which are successful is that they are version 13.0 ?

@eserte Platypus normally generates a config.log file which might enlighten on why the detection logic is failing. Could you please provide this?