Configure fails on getaddrinfo bug check in networkless environement
Nobody has claimed this yet.
Assessment
- Difficulty
- 4/5
- Estimated time
- 3-5 days
- Newbie friendliness
- 35/100
- Issue type
- Bug
- Clarity
- Mostly clear
- Activity status
- Stale
- Tech stack
- python
- Domain
- build-system, networking
Research direction
Start in configure.ac around line 5212, where the getaddrinfo bug check is configured, and inspect how EAI_NONAME is handled in a networkless environment. Reproduce the configure failure on FreeBSD 13.1 without network access; done means the check behaves correctly for that environment without requiring a working network connection.
Written by the indexing model from the issue text.
Description
Bug report
When python is built in networkless environment (the way system packages are (or should be) built in many distros), test for getaddrinfo bug fails:
checking getaddrinfo bug... yes
configure: error: You must get working getaddrinfo() function or pass the "--disable-ipv6" option to configure.
what happens here is getaddrinfo
https://github.com/python/cpython/blob/8790d4d31fcd3abaccf31d27f72a8684adfc9dee/configure.ac#L5212
returns EAI_NONAME
Your environment
- CPython versions tested on: 3.11.1, 3.12.0a3
- Operating system and architecture: FreeBSD 13.1
- Dominant language
- Python
- Stars
- 77.2k
- Forks
- 36k
- Avg merge
- 1d 9h
- Merged PRs (30d)
- 558
Contributor guide
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
More from python/cpython
-
docs pending
Difficulty 2/5 1-3 hours Newbie friendliness 78/100
-
stdlib type-feature
Difficulty 2/5 1-3 hours Newbie friendliness 78/100
-
stdlib type-feature
Difficulty 2/5 1-3 hours Newbie friendliness 72/100
-
build type-bug
Difficulty 2/5 1-3 hours Newbie friendliness 76/100
-
stdlib topic-email type-feature
Difficulty 2/5 1-3 hours Newbie friendliness 70/100
Similar issues
-
Difficulty 2/5 1-3 hours Newbie friendliness 65/100
qgis/QGIS-Documentation#11275 ·
-
bug priority:normal ready-for-dev
Difficulty 2/5 1-3 hours Newbie friendliness 88/100
OpenHands/extensions#626 · 1 comment ·
-
Difficulty 1/5 Under an hour Newbie friendliness 90/100
CSCfi/sd-search-api#39 ·
-
Difficulty 1/5 Under an hour Newbie friendliness 90/100
-
Difficulty 2/5 1-3 hours Newbie friendliness 68/100
StevenBlack/hosts#3255 ·