zenchild / gssapi

A Ruby FFI wrapper around GSSAPI
Other
40 stars 50 forks source link

Redefinition as in ... gssapi-1.3.1/lib/gssapi/lib_gssapi_loader.rb:10:in `<class:GssOID>' will be disallowed in ffi-2.0 #34

Open kBite opened 3 years ago

kBite commented 3 years ago

After updating to Puppetlabs Bolt 3.0.0 I saw a lot of these lines on console.

[DEPRECATION] Struct layout is already defined for class GSSAPI::LibGSSAPI::GssOID. Redefinition as in /opt/puppetlabs/bolt/lib/ruby/gems/2.7.0/gems/gssapi-1.3.1/lib/gssapi/lib_gssapi_loader.rb:10:in `<class:GssOID>' will be disallowed in ffi-2.0.

Looks like gssapi-1.3.1 does things that won't be allowed by ffi with their next major release. (Unfortunately I don't know enough Ruby to provide a pull-request to fix it myself.)

If this is not the right project, please redirect me to the correct upstream issue tracker.