"Since" check breaks compilation when using subprojects
The since check for symbols that was added in the latest version of Vala is implemented by querying the pkgconfig file of a dependency if it exists. This works for most use cases, but breaks when a dependency is added as a submodule.
This broke compilation for GNOME Contacts on my environment, where we use libhandy as submodule:
- F32 has libhandy-0 version 0.0.4
- We require libhandy-0 0.0.12
- As such, meson downloads/compiles libhandy as a submodule
- Building Contacts itself fails, because valac sees the libhandy-0.pc file from my distroy and sees symbols that are used in version > 0.0.4
Temporary workaround is to add the --disable-since-check
when libhandy is built as a subproject: gnome-contacts!112 (merged)