nginx: do not error out on warning #305

wants to merge 1 commit into


None yet

6 participants

jhellan commented Feb 25, 2014

This pull request disables "-Werror" when building nginx. Our custom CPI needs Precise, so that's what our Bosh stemcells use. On Precise, the compiler warns about two unused variables, and "-Werror" makes the build error out.

Up to cf 155, we haven't been building nginx at all, and been setting the ccng.use_nginx flag to false. When that flag disappeared with 3343556, we disabled "-Werror" instead. This shouldn't hurt when building on Lucid, so we're hoping you will approve this pull request.

Jon Kåre Hellan, UNINETT AS, Trondheim, Norway

Hey jhellan!

Thanks for submitting this pull request!

All pull request authors must have a Contributor License Agreement (CLA) on-file with us. Please sign the appropriate CLA (individual or corporate).

When sending signed CLA please provide your github username in case of individual CLA or the list of github usernames that can make pull requests on behalf of your organization.


We have created an issue in Pivotal Tracker to manage this. You can view the current status of your issue at:

dsabeti commented Feb 27, 2014

Hi @jhellan, this change has passed the acceptance tests and has been moved to the Runtime team's backlog for prioritization.

CF Community Pair (@dsabeti & @thecadams )

yudai commented Mar 3, 2014

I think that this issue has been resolved by updating nginx to 1.4.5

jhellan commented Mar 3, 2014

yudai is right. We're now running unpatched cf v160 on a precise stemcell.
I can refresh the patch if people are interested, -Werror may bite again. But I'm fine with dropping it.

@d d closed this Mar 13, 2014
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment