← 返回首页
gh-98636: Fix detecting gdbm_compat for _dbm module by mgorny · Pull Request #98643 · python/cpython · GitHub
Skip to content

Navigation Menu

Toggle navigation
Sign in
Appearance settings
Search or jump to...

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Include my email address so I can be contacted

Saved searches

Use saved searches to filter your results more quickly

Appearance settings
Resetting focus

gh-98636: Fix detecting gdbm_compat for _dbm module#98643

Merged
erlend-aasland merged 1 commit into
python:mainfrom
mgorny:gdbm_compat-98636
Jan 11, 2023
Merged

gh-98636: Fix detecting gdbm_compat for _dbm module#98643
erlend-aasland merged 1 commit into
python:mainfrom
mgorny:gdbm_compat-98636

Conversation

Copy link
Copy Markdown
Contributor

mgorny commented Oct 25, 2022
edited
Loading

Fix the gdbm_compat library detection logic to actually check for
-lgdbm_compat independently of the ndbm detection. This fixes the build
failure with --with-dbmliborder=gdbm, and implicit fallback to ndbm
with the default value.

Copy link
Copy Markdown
Contributor Author

mgorny commented Nov 4, 2022

Ping.

Copy link
Copy Markdown
Contributor Author

mgorny commented Dec 7, 2022

Another ping. It would be really nice to have this fixed.

Comment thread configure.ac Outdated Show resolved Hide resolved
Fix the gdbm_compat library detection logic to actually check for -lgdbm_compat independently of the ndbm detection. This fixes the build failure with `--with-dbmliborder=gdbm`, and implicit fallback to ndbm with the default value.
Copy link
Copy Markdown
Contributor Author

mgorny commented Dec 31, 2022

@erlend-aasland, updated as requested.

Copy link
Copy Markdown
Contributor

Does this need a backport?

Copy link
Copy Markdown
Contributor Author

mgorny commented Jan 11, 2023

Does this need a backport?

Unless I'm mistaken, no. The issue was introduced in ec5e253, and FWICS this in 3.12 only.

Copy link
Copy Markdown
Contributor

Thanks, and sorry for the delay!

If you want to pursue the AC refactorings discussed, please open an issue/PR.

Copy link
Copy Markdown
Contributor Author

mgorny commented Jan 12, 2023

Thank you! I'm happy enough having the immediate problem fixed.

mgorny deleted the gdbm_compat-98636 branch January 12, 2023 06:00
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters. Learn more about bidirectional Unicode characters
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants

Footer

© 2026 GitHub, Inc.