Title: Build failure of v3.12.0rc1 due to missing _gdbm on macOS · Issue #108856 · python/cpython · GitHub
Open Graph Title: Build failure of v3.12.0rc1 due to missing _gdbm on macOS · Issue #108856 · python/cpython
X Title: Build failure of v3.12.0rc1 due to missing _gdbm on macOS · Issue #108856 · python/cpython
Description: Bug report Checklist I am confident this is a bug in CPython, not a bug in a third-party project I have searched the CPython issue tracker, and am confident this bug has not been reported before CPython versions tested on: 3.12 Operating...
Open Graph Description: Bug report Checklist I am confident this is a bug in CPython, not a bug in a third-party project I have searched the CPython issue tracker, and am confident this bug has not been reported before CP...
X Description: Bug report Checklist I am confident this is a bug in CPython, not a bug in a third-party project I have searched the CPython issue tracker, and am confident this bug has not been reported before CP...
Opengraph URL: https://github.com/python/cpython/issues/108856
X: @github
Domain: github.com
{"@context":"https://schema.org","@type":"DiscussionForumPosting","headline":"Build failure of v3.12.0rc1 due to missing _gdbm on macOS","articleBody":"# Bug report\n\n### Checklist\n\n- [ ] I am confident this is a bug in CPython, not a bug in a third-party project\n- [X] I have searched the [CPython issue tracker](https://github.com/python/cpython/issues?q=is%3Aissue+sort%3Acreated-desc),\nand am confident this bug has not been reported before\n\n\n### CPython versions tested on:\n\n3.12\n\n### Operating systems tested on:\n\nmacOS\n\n### Output from running 'python -VV' on the command line:\n\n_No response_\n\n### A clear and concise description of the bug:\n\nI think the source of error will be with incorrect paths to gdbm lib. \nI installed gdbm with https://formulae.brew.sh/formula/gdbm.\nIn order to use it with python3.11 installed via homebrew I had to install [python-gdbm@3.11](https://formulae.brew.sh/formula/python-gdbm@3.11).\nLooking into its install script https://github.com/Homebrew/homebrew-core/blob/9ac362e437a4cb09808f3a7e01066f5619a71fa3/Formula/p/python-gdbm@3.11.rb it is installing gdbm module after the python installation.\n\nSteps I did\n```nushell\ngit clone https://github.com/python/cpython\ngit checkout v3.12.0rc1\n./configure\nmake\n``` \nand I am getting an error\n```\nThe necessary bits to build these optional modules were not found:\n_gdbm\n```\nWhen using flags in make\n```nushell\nCPPFLAGS=\"-I/opt/homebrew/Cellar/gdbm/1.23/include\" LDFLAGS=\"-L/opt/homebrew/Cellar/gdbm/1.23/lib\" make \n```\nI am still getting the same error.\n\nI have no idea how to fix this issue any suggestion will be appreciated.","author":{"url":"https://github.com/detrin","@type":"Person","name":"detrin"},"datePublished":"2023-09-03T23:19:32Z","url":"https://github.com/python/cpython/issues/108856"}
| 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:a7aa06f6-b63f-8475-e414-51d06b27dcf5 |
| current-catalog-service-hash | 81bb79d38c15960b92d99bca9288a9108c7a47b18f2423d0f6438c5b7bcd2114 |
| request-id | 962A:1FAE:BC68EA:FE39DB:6B01F92D |
| html-safe-nonce | 0d7845584cfbde84fde1b6fd3f6db4b2a98d0ffe6ab26fdbe830178767459e05 |
| visitor-payload | eyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiI5NjJBOjFGQUU6QkM2OEVBOkZFMzlEQjo2QjAxRjkyRCIsInZpc2l0b3JfaWQiOiI4NzAyNjI5MzY4Nzk2Njc0MzQ5IiwicmVnaW9uX2VkZ2UiOiJpYWQiLCJyZWdpb25fcmVuZGVyIjoiaWFkIn0= |
| visitor-hmac | b7b65537d9f90997c941cecfcf1650c78cb35677465b5d4279c1564ca77052c8 |
| hovercard-subject-tag | issue:1879267796 |
| 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/108856/issue_layout |
| twitter:image | https://opengraph.githubassets.com/568d983cb1385b0c31e417e11c42779a701bc2d25a6e5a35f6bdfe700ee380af/python/cpython/issues/108856 |
| twitter:card | summary_large_image |
| og:image | https://opengraph.githubassets.com/568d983cb1385b0c31e417e11c42779a701bc2d25a6e5a35f6bdfe700ee380af/python/cpython/issues/108856 |
| og:image:alt | Bug report Checklist I am confident this is a bug in CPython, not a bug in a third-party project I have searched the CPython issue tracker, and am confident this bug has not been reported before CP... |
| og:image:width | 1200 |
| og:image:height | 600 |
| og:site_name | GitHub |
| og:type | object |
| og:author:username | detrin |
| 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