Missing dependency for glib_compile_resources in build file
Submitted by Cor-Paul Bezemer
Link to original bug (#752227)
Description
Created attachment 307233 patch for adding missing dependencies
I am a researcher from the Software Analysis and Intelligence Lab (SAIL) from Queen's University in Kingston, Canada. Currently, we are working on an approach for finding missing dependencies in build files and we are using glib as a case study. We have found several bugs which I will submit in the following days, together with a patch for fixing them.
The targets: test_resources.c, test_resources2.h test_resources2.c, plugin_resources.c, test.gresource depend on the output of glib_compile_resources but on the source of glib_compile_resources itself. So when this source changes, the targets are not rebuilt.
The included patch adds these dependencies for the latest HEAD. We observed that these dependencies are missing since at least version 2.36.0.
Patch 307233, "patch for adding missing dependencies":
glib-compile-resources.patch
Version: 2.45.x