Title: iOS can't be built on macOS 26 / Xcode 26 build host · Issue #150443 · python/cpython · GitHub
Open Graph Title: iOS can't be built on macOS 26 / Xcode 26 build host · Issue #150443 · python/cpython
X Title: iOS can't be built on macOS 26 / Xcode 26 build host · Issue #150443 · python/cpython
Description: Bug report Bug description: If you attempt to build the iOS distribution on macOS 26, building posixmodule.c on the ARM64 simulator fails with the following: ../Modules/posixmodule.c:11833:15: error: call to undeclared function 'dup3'; I...
Open Graph Description: Bug report Bug description: If you attempt to build the iOS distribution on macOS 26, building posixmodule.c on the ARM64 simulator fails with the following: ../Modules/posixmodule.c:11833:15: erro...
X Description: Bug report Bug description: If you attempt to build the iOS distribution on macOS 26, building posixmodule.c on the ARM64 simulator fails with the following: ../Modules/posixmodule.c:11833:15: erro...
Opengraph URL: https://github.com/python/cpython/issues/150443
X: @github
Domain: github.com
{"@context":"https://schema.org","@type":"DiscussionForumPosting","headline":"iOS can't be built on macOS 26 / Xcode 26 build host","articleBody":"# Bug report\n\n### Bug description:\n\nIf you attempt to build the iOS distribution on macOS 26, building `posixmodule.c` on the ARM64 simulator fails with the following:\n\n```\n../Modules/posixmodule.c:11833:15: error: call to undeclared function 'dup3'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration]\n 11833 | res = dup3(fd, fd2, O_CLOEXEC);\n | ^\n../Modules/posixmodule.c:12701:11: error: call to undeclared function 'pipe2'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration]\n 12701 | res = pipe2(fds, O_CLOEXEC);\n | ^\n../Modules/posixmodule.c:12701:11: note: did you mean 'pipe'?\n/Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator26.4.sdk/usr/include/unistd.h:482:6: note: 'pipe' declared here\n 482 | int pipe(int [2]);\n | ^\n../Modules/posixmodule.c:12758:11: error: call to undeclared function 'pipe2'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration]\n 12758 | res = pipe2(fds, flags);\n | ^\n```\n\nIt appears that something has changed introducing linkable `pipe2` and `dup3` methods, but without a public header. This is enough to confuse configure into thinking the methods exist.\n\n### CPython versions tested on:\n\nCPython main branch\n\n### Operating systems tested on:\n\nOther\n\n\u003c!-- gh-linked-prs -->\n### Linked PRs\n* gh-150444\n* gh-150446\n* gh-150447\n* gh-150448\n\u003c!-- /gh-linked-prs -->\n","author":{"url":"https://github.com/freakboy3742","@type":"Person","name":"freakboy3742"},"datePublished":"2026-05-26T02:47:56Z","url":"https://github.com/python/cpython/issues/150443"}
| react-profiling | 0 |
| react-import-map | react,react-dom,react-dom/client,react-dom/profiling,react-is,react/compiler-runtime,react/jsx-dev-runtime,react/jsx-runtime,scheduler@b8488ee2c322 |
| route-pattern | /_view_fragments/issues/show/:user_id/:repository/:id/issue_layout(.:format) |
| route-controller | voltron_issues_fragments |
| route-action | issue_layout |
| fetch-nonce | v2:bfe4d8f2-a878-1845-0a3b-7066fa2b9749 |
| current-catalog-service-hash | 81bb79d38c15960b92d99bca9288a9108c7a47b18f2423d0f6438c5b7bcd2114 |
| request-id | B8A4:1F8078:134C69:1AE8EB:6AFDAC84 |
| html-safe-nonce | 9445a1927ebb4196e2701d3cddd5518b6e227161cf26e83b9fd8110f89c9bc0e |
| visitor-payload | eyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiJCOEE0OjFGODA3ODoxMzRDNjk6MUFFOEVCOjZBRkRBQzg0IiwidmlzaXRvcl9pZCI6IjY2NzQ2OTI3NjM5MzEyMjUyMjAiLCJyZWdpb25fZWRnZSI6ImlhZCIsInJlZ2lvbl9yZW5kZXIiOiJpYWQifQ== |
| visitor-hmac | 2c4398aba75f9ee34693bf9b706984dbca7de181b0387b1db6d10fd21267614f |
| hovercard-subject-tag | issue:4520926047 |
| github-keyboard-shortcuts | repository,issues,copilot |
| google-site-verification | Apib7-x98H0j5cPqHWwSMm6dNU4GmODRoqxLiDzdx9I |
| octolytics-url | https://collector.github.com/github/collect |
| analytics-location | / |
| fb:app_id | 1401488693436528 |
| apple-itunes-app | app-id=1477376905, app-argument=https://github.com/_view_fragments/issues/show/python/cpython/150443/issue_layout |
| twitter:image | https://opengraph.githubassets.com/11912e764e4c39e3866f8f65c139c8424e9dfcb6b1b7a4f65700d01662069955/python/cpython/issues/150443 |
| twitter:card | summary_large_image |
| og:image | https://opengraph.githubassets.com/11912e764e4c39e3866f8f65c139c8424e9dfcb6b1b7a4f65700d01662069955/python/cpython/issues/150443 |
| og:image:alt | Bug report Bug description: If you attempt to build the iOS distribution on macOS 26, building posixmodule.c on the ARM64 simulator fails with the following: ../Modules/posixmodule.c:11833:15: erro... |
| og:image:width | 1200 |
| og:image:height | 600 |
| og:site_name | GitHub |
| og:type | object |
| og:author:username | freakboy3742 |
| hostname | github.com |
| expected-hostname | github.com |
| None | bc86424ef34a73b386237872800e922d149d65ba907f63d6f150a2dcb8433bea |
| turbo-cache-control | no-preview |
| go-import | github.com/python/cpython git https://github.com/python/cpython.git |
| octolytics-dimension-user_id | 1525981 |
| octolytics-dimension-user_login | python |
| octolytics-dimension-repository_id | 81598961 |
| octolytics-dimension-repository_nwo | python/cpython |
| octolytics-dimension-repository_public | true |
| octolytics-dimension-repository_is_fork | false |
| octolytics-dimension-repository_network_root_id | 81598961 |
| octolytics-dimension-repository_network_root_nwo | python/cpython |
| turbo-body-classes | logged-out env-production page-responsive |
| disable-turbo | false |
| browser-stats-url | https://api.github.com/_private/browser/stats |
| browser-errors-url | https://api.github.com/_private/browser/errors |
| release | 0ddf53eb35c87f1f8df13dbf75c3bdadbfc6e969 |
| ui-target | full |
| theme-color | #1e2327 |
| color-scheme | light dark |
| react-app-name | issues |
Links:
Viewport: width=device-width