-
Notifications
You must be signed in to change notification settings - Fork 297
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
include/libs don't seem to get set right #876
Comments
ping? |
Pretty please? |
I'm fairly certain that this comes back to that gem's build system not picking up the correct values from mkmf.rb and injecting them into the cmake build system for libgit2 that they've got in order to correctly build against /opt/chef{dk}/embedded/lib. I don't think its a general problem with omnibus, or solvable in omnibus -- it just doesn't matter for most people who build their ruby against /usr/lib. |
Perhaps. Since setting |
Description
[It's unclear to me if this is a bug here in
omnibus
or a bug in the waychefdk
uses omnibus.]On omnibus packages with a ruby in them, the system's openssl header files are used when installing gems. For example:
/opt/chefdk/bin/gem install rugged
will compile using the header files in /usr/include/openssl` which, on Debian-like platforms is different enough from the one in the omnibus package that symbols are no longer found and you end up with bugs like this one:
facebook/grocery-delivery#48
You can work around it with
OPENSSL_ROOT_DIR
, but you shouldn't have to.Omnibus Version
Whatever chefdk was built with. :)
Platform Version
Reprod on Debian sid and Ubuntu.
Replication Case
On debian-like distros.
Build Output
The text was updated successfully, but these errors were encountered: