Title: Error when building _freeze_module in current main commit. · Issue #121629 · python/cpython · GitHub
Open Graph Title: Error when building _freeze_module in current main commit. · Issue #121629 · python/cpython
X Title: Error when building _freeze_module in current main commit. · Issue #121629 · python/cpython
Description: Bug report Bug description: I have a local clone from which I run git pull on every so often and then build. However somehow this broke when I pulled today the latest commits: posixmodule.obj : error LNK2019: unresolved external symbol _...
Open Graph Description: Bug report Bug description: I have a local clone from which I run git pull on every so often and then build. However somehow this broke when I pulled today the latest commits: posixmodule.obj : err...
X Description: Bug report Bug description: I have a local clone from which I run git pull on every so often and then build. However somehow this broke when I pulled today the latest commits: posixmodule.obj : err...
Opengraph URL: https://github.com/python/cpython/issues/121629
X: @github
Domain: github.com
{"@context":"https://schema.org","@type":"DiscussionForumPosting","headline":"Error when building _freeze_module in current main commit.","articleBody":"# Bug report\n\n### Bug description:\n\nI have a local clone from which I run ``git pull`` on every so often and then build. However somehow this broke when I pulled today the latest commits:\n\n```\nposixmodule.obj : error LNK2019: unresolved external symbol _PssCaptureSnapshot referenced in function _win32_getppid [C:\\python\\cpython\\PCbuild\\_freeze_module.vcxproj]\nposixmodule.obj : error LNK2019: unresolved external symbol _PssQuerySnapshot referenced in function _win32_getppid [C:\\python\\cpython\\PCbuild\\_freeze_module.vcxproj]\nposixmodule.obj : error LNK2019: unresolved external symbol _PssFreeSnapshot referenced in function _win32_getppid [C:\\python\\cpython\\PCbuild\\_freeze_module.vcxproj]\nC:\\python\\cpython\\PCbuild\\win32\\_freeze_module.exe : fatal error LNK1120: 3 unresolved externals [C:\\python\\cpython\\PCbuild\\_freeze_module.vcxproj]\n```\n\nWhat is not helpful is when I look up those functions it does not list the ``*.lib`` file that they are defined in, but it lists that they are in ``kernel32.dll`` which means they have to be in ``kernel32.lib`` then. Issue is I thought ``_freeze_module`` already included ``kernel32.lib`` in it's project file.\n\n### CPython versions tested on:\n\nCPython main branch\n\n### Operating systems tested on:\n\nWindows","author":{"url":"https://github.com/AraHaan","@type":"Person","name":"AraHaan"},"datePublished":"2024-07-11T19:55:36Z","url":"https://github.com/python/cpython/issues/121629"}
| 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:4629b64a-1feb-895a-04cb-9ef050dc4321 |
| current-catalog-service-hash | 81bb79d38c15960b92d99bca9288a9108c7a47b18f2423d0f6438c5b7bcd2114 |
| request-id | 8D50:22DB35:4A3FB9A:5E6FAF8:6B024464 |
| html-safe-nonce | dc4643ea2da768f703de8d8738eca463bcfeeb4c7eb036b2516e85a000ad0775 |
| visitor-payload | eyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiI4RDUwOjIyREIzNTo0QTNGQjlBOjVFNkZBRjg6NkIwMjQ0NjQiLCJ2aXNpdG9yX2lkIjoiNDkwMDk5MDI3OTkzMjMzMTEwOCIsInJlZ2lvbl9lZGdlIjoiaWFkIiwicmVnaW9uX3JlbmRlciI6ImlhZCJ9 |
| visitor-hmac | 9075e0c30fccc2f9bc19edeabd54e38c2a7f641d97f33f87b92a68f07ff7dd68 |
| hovercard-subject-tag | issue:2403988393 |
| 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/121629/issue_layout |
| twitter:image | https://opengraph.githubassets.com/d736cad20d9d7f5560302687df6c6f83e0b91bdf2b00a015c591d41bd7522d0a/python/cpython/issues/121629 |
| twitter:card | summary_large_image |
| og:image | https://opengraph.githubassets.com/d736cad20d9d7f5560302687df6c6f83e0b91bdf2b00a015c591d41bd7522d0a/python/cpython/issues/121629 |
| og:image:alt | Bug report Bug description: I have a local clone from which I run git pull on every so often and then build. However somehow this broke when I pulled today the latest commits: posixmodule.obj : err... |
| og:image:width | 1200 |
| og:image:height | 600 |
| og:site_name | GitHub |
| og:type | object |
| og:author:username | AraHaan |
| hostname | github.com |
| expected-hostname | github.com |
| None | 87e774ee7c6b3bee0490394e4d3e57ec9dbc956f74b87ea685dc8996c1676456 |
| 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 | 423dbb54c5e7bfecc838eb387c1435eb3d0e760d |
| ui-target | full |
| theme-color | #1e2327 |
| color-scheme | light dark |
| react-app-name | issues |
Links:
Viewport: width=device-width