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

gh-114875: Add getgrent as a prerequisite for building the grp module #114876

Merged
merged 3 commits into from
Feb 2, 2024

Conversation

mhsmith
Copy link
Member

@mhsmith mhsmith commented Feb 1, 2024

This allows the module to be correctly skipped on older versions of Android which don't have getgrent and related functions:

checking for getgrent... no
checking for getgrgid... yes
checking for getgrgid_r... no
[...]
checking for stdlib extension module grp... missing

Copy link
Contributor

@erlend-aasland erlend-aasland left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thanks!

configure.ac Outdated Show resolved Hide resolved
mhsmith and others added 2 commits February 2, 2024 19:43
Co-authored-by: Erlend E. Aasland <erlend.aasland@protonmail.com>
@mhsmith
Copy link
Member Author

mhsmith commented Feb 2, 2024

Thanks; suggestions all applied.

@erlend-aasland erlend-aasland merged commit f35c7c0 into python:main Feb 2, 2024
36 checks passed
@erlend-aasland
Copy link
Contributor

Thanks again :)

aisk pushed a commit to aisk/cpython that referenced this pull request Feb 11, 2024
…le (python#114876)

Co-authored-by: Erlend E. Aasland <erlend.aasland@protonmail.com>
fsc-eriker pushed a commit to fsc-eriker/cpython that referenced this pull request Feb 14, 2024
…le (python#114876)

Co-authored-by: Erlend E. Aasland <erlend.aasland@protonmail.com>
@mhsmith mhsmith deleted the grp-getgrent branch February 16, 2024 21:04
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

Successfully merging this pull request may close these issues.

grp module attempts to build even if getgrent family of functions are unavailable
2 participants