Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Building glib package #4348

Open
sajjaphani opened this issue Jan 6, 2022 · 2 comments
Open

Building glib package #4348

sajjaphani opened this issue Jan 6, 2022 · 2 comments

Comments

@sajjaphani
Copy link
Contributor

sajjaphani commented Jan 6, 2022

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.

@raviduddela
Copy link
Contributor

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

@sajjaphani
Copy link
Contributor Author

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/

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants