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
audit_glibc: Permit glibc 2.27, 2.31, or 2.35 and fix the error message #13618
Conversation
"The glibc version must be 2.35" should have read "The glibc version must be 2.23".
Review period will end on 2022-08-01 at 16:31:27 UTC. |
Please provide a better issue/pull request title and/or description! |
|
@carlocab I've updated this PR to allow glibc version 2.35 since you've approved this PR, which was previously only a bug fix. Once the bottling distribution is updated, we can change |
May I skip the review period for this PR? |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Works for me, but I'm not sure we've reached a consensus on glibc 2.35 yet.
Review period skipped due to |
Marking as critical to unblock testing of Homebrew/homebrew-core#106837. |
Yes, I agree, but it'll help keep the ball rolling to test the |
I expanded the list of permitted Glibc versions to include those shipped by all three versions of Ubuntu LTS under consideration. |
return unless @core_tap | ||
return if formula.name != "glibc" | ||
return if [OS::CI_GLIBC_VERSION, "2.27", "2.31", "2.35"].include?(formula.version.to_s) |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Can this get a follow-up Ruby comment explaining why these particular versions?
return if version == OS::CI_GLIBC_VERSION | ||
|
||
problem "The glibc version must be #{version}, as this is the version used by our CI on Linux. " \ | ||
problem "The glibc version must be #{OS::CI_GLIBC_VERSION}, as this is the version used by our CI on Linux. " \ |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
This message doesn't seem to match the return if
logic above?
The glibc version must be 2.35
should have readThe glibc version must be 2.23
.brew style
with your changes locally?brew typecheck
with your changes locally?brew tests
with your changes locally?