Summary: | libsigrok Ruby bindings fail to build with Ruby 2.7 | ||
---|---|---|---|
Product: | libsigrok | Reporter: | Uwe Hermann <uwe> |
Component: | Bindings: Ruby | Assignee: | Nobody <nobody> |
Status: | RESOLVED FIXED | ||
Severity: | normal | CC: | anatol.pomozov, Gerhard.Sittig |
Priority: | Normal | ||
Version: | unreleased development snapshot | ||
Target Milestone: | --- | ||
Hardware: | All | ||
OS: | All | ||
Attachments: | Fix ruby bindings |
Description
Uwe Hermann
2020-03-20 17:02:57 CET
Created attachment 640 [details]
Fix ruby bindings
SWIG 4.0.2 adds ruby 2.7 fixes. On top of it libsigrok requires and extra patch, see it attached. Fixed in 2e199405e53fee2fb3cad72858ebe7af6990bce0, thanks! I've tested this on Ruby 2.5 + SWIG 4.0.1 and Ruby 2.7 + SWIG 4.0.1 as well. Jenkins builds were affected by the most recent change, AppImages haven't been buliding since 2020-06-20. Re-opening the reported issue. Does this depend on the ruby and swig versions (swig 3.0.8 and ruby 2.3.1 on Jenkins)? Fixed in 339d12df978b32c5f9a10dc14d4ab3a03a0ed5c0 by bumping the minimum required Ruby version to 2.5.0, thanks! This will automatically disable the Ruby bindings build when older versions are found. |