Title: Race condition during installation in parallel builds · Issue #104692 · python/cpython · GitHub
Open Graph Title: Race condition during installation in parallel builds · Issue #104692 · python/cpython
X Title: Race condition during installation in parallel builds · Issue #104692 · python/cpython
Description: Bug report When running make -j install, it is possible for the python3 symlink to be installed before all standard library modules are installed. If an external program tries to run Python at this moment it can lead to an execution erro...
Open Graph Description: Bug report When running make -j install, it is possible for the python3 symlink to be installed before all standard library modules are installed. If an external program tries to run Python at this...
X Description: Bug report When running make -j install, it is possible for the python3 symlink to be installed before all standard library modules are installed. If an external program tries to run Python at this...
Opengraph URL: https://github.com/python/cpython/issues/104692
X: @github
Domain: github.com
{"@context":"https://schema.org","@type":"DiscussionForumPosting","headline":"Race condition during installation in parallel builds","articleBody":"# Bug report\r\n\r\nWhen running `make -j install`, it is possible for the `python3` symlink to be installed before all standard library modules are installed. If an external program tries to run Python at this moment it can lead to an execution error.\r\n\r\nWe are getting sporadic build errors at OpenWrt (https://github.com/openwrt/packages/issues/19241) and believe this to be the cause, that during the build for \"host\" Python (Python that runs on the buildbot), another package being built tries to run a script using this Python because the `python3` symlink is in place.\r\n\r\n# Your environment\r\n\r\n- CPython versions tested on: 3.10\r\n- Operating system and architecture: Linux, not sure exactly which distribution\n\n\u003c!-- gh-linked-prs --\u003e\n### Linked PRs\n* gh-104693\n* gh-105428\n* gh-105429\n\u003c!-- /gh-linked-prs --\u003e\n","author":{"url":"https://github.com/jefferyto","@type":"Person","name":"jefferyto"},"datePublished":"2023-05-20T15:11:00.000Z","interactionStatistic":{"@type":"InteractionCounter","interactionType":"https://schema.org/CommentAction","userInteractionCount":1},"url":"https://github.com/104692/cpython/issues/104692"}
| 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:1e121610-4957-aa38-2902-cf390082ca8e |
| current-catalog-service-hash | 81bb79d38c15960b92d99bca9288a9108c7a47b18f2423d0f6438c5b7bcd2114 |
| request-id | A47C:2A3B86:233355:317848:696A063A |
| html-safe-nonce | 0a6abcf214adc2f6d8410b4138153b086356518e4e375d584a5e4b7795376950 |
| visitor-payload | eyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiJBNDdDOjJBM0I4NjoyMzMzNTU6MzE3ODQ4OjY5NkEwNjNBIiwidmlzaXRvcl9pZCI6IjkwNTk2MTk0ODI2ODEwODM0NTAiLCJyZWdpb25fZWRnZSI6ImlhZCIsInJlZ2lvbl9yZW5kZXIiOiJpYWQifQ== |
| visitor-hmac | 0c98b2f65aa854fc339c14c675d059f95de62a0691086452facce8ca83724cd2 |
| hovercard-subject-tag | issue:1718199898 |
| 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/104692/issue_layout |
| twitter:image | https://opengraph.githubassets.com/ef9406b75355702a0421a4974ec908060ff699fd152ebfb53ae2c0a69b33c09d/python/cpython/issues/104692 |
| twitter:card | summary_large_image |
| og:image | https://opengraph.githubassets.com/ef9406b75355702a0421a4974ec908060ff699fd152ebfb53ae2c0a69b33c09d/python/cpython/issues/104692 |
| og:image:alt | Bug report When running make -j install, it is possible for the python3 symlink to be installed before all standard library modules are installed. If an external program tries to run Python at this... |
| og:image:width | 1200 |
| og:image:height | 600 |
| og:site_name | GitHub |
| og:type | object |
| og:author:username | jefferyto |
| hostname | github.com |
| expected-hostname | github.com |
| None | 578c119ff0247c8b2f2491fbf4fc0395cdf909d4df66598cebdc96ddfc4418dc |
| 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 | 671c2f67171dbced24284331f3133a613d08c366 |
| ui-target | full |
| theme-color | #1e2327 |
| color-scheme | light dark |
Links:
Viewport: width=device-width