Unable to build with libspa < 0.3.65
The libspa-sys
crate expects some changes that were made in libspa 0.3.65
. It and any dependent crates cannot be built when the system provides libspa < 0.3.65
, even with all the features off.
Error from CI that uses libpipewire and libspa 0.3.48
:
warning: src/type-info.c:61:58: error: ‘spa_type_video_flags’ undeclared here (not in a function); did you mean ‘spa_type_audio_flags’?
warning: 61 | const struct spa_type_info* libspa_rs_type_video_flags = spa_type_video_flags;
warning: | ^~~~~~~~~~~~~~~~~~~~
warning: | spa_type_audio_flags
warning: src/type-info.c:62:67: error: ‘spa_type_video_interlace_mode’ undeclared here (not in a function); did you mean ‘spa_video_interlace_mode’?
warning: 62 | const struct spa_type_info* libspa_rs_type_video_interlace_mode = spa_type_video_interlace_mode;
warning: | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~
warning: | spa_video_interlace_mode
error: failed to run custom build command for `libspa-sys v0.6.0 (https://gitlab.freedesktop.org/dimtpap/pipewire-rs.git?rev=609646074a39958501095f62af6d68c54c5d3ae1#60964607)`
Relevant commit: 7b757732
Relevant commit in PipeWire: pipewire@00ae289a, got incorporated into PipeWire 0.3.65