core-plans
core-plans copied to clipboard
Building glib package
I have observed a dependency error reporting cmake not found while building the package locally. Which requires this to add core/cmake as a dev dependency.
Then, I've observed the include files are part of two sub-directories (gio-unix-2.0, glib-2.0). Which should have been exposed with the pkg_include_dirs=(include/gio-unix-2.0 include/glib-2.0) rather than pkg_include_dirs=(include)
I guess this may be the reason for some packages (pango?) not being able to be built.
After building glib without pkg_include_dirs=(include/gio-unix-2.0 include/glib-2.0) iam able to find both directories gio-unix-2.0 and glib-2.0 in the include directory of final built directory
pkg_include_dirs=(...) Will populate the entries, otherwise they are there but other packages can't find them. https://docs.chef.io/habitat/plan_settings/