postgresql: pg gem fails to compile with chef 12.0
Just ran into this issue when my omnibus plugin for vagrant upgraded the chef-client from 11.16 to 12.0.
Fixed by pinning to last known 11.x version that worked.
config.omnibus.chef_version = '11.16.4'
About this issue
- Original URL
- State: closed
- Created 10 years ago
- Reactions: 2
- Comments: 93 (8 by maintainers)
Commits related to this issue
- Merge pull request #212 from bcs-de/configure_locale_envvars Allow to set LANG and LC_ALL in envvars — committed to chris-rock/postgresql by svanzoest 10 years ago
- Also adjust LANG for rhel systems #212 — committed to chris-rock/postgresql by svanzoest 10 years ago
- Update README and CHANGELOG #212 — committed to chris-rock/postgresql by svanzoest 10 years ago
- Adjust test to check for different contents #212 — committed to chris-rock/postgresql by deleted user 10 years ago
The solution is: In the cookbook where you include the
postgresql::rubyrecipe add following at the top:I’m still seeing the issue, two. ubuntu 14.04 and 12.04 chef 12.0.3 postgresql cookbok 3.4.16
/opt/chef/embedded/lib/ruby/gems/2.1.0/extensions/x86_64-linux/2.1.0/pg-0.18.1/mkmf.log: http://pastebin.com/dQMgyHGP