Skip to content

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

@mgorny

@mgornymgorny commented Oct 25, 2022

Copy link
Copy Markdown
Contributor

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.

@mgorny

Copy link
Copy Markdown
ContributorAuthor

Ping.

@mgorny

Copy link
Copy Markdown
ContributorAuthor

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

Comment threadconfigure.ac Outdated
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.
@mgorny

Copy link
Copy Markdown
ContributorAuthor

@erlend-aasland, updated as requested.

@erlend-aasland

Copy link
Copy Markdown
Contributor

Does this need a backport?

@mgorny

Copy link
Copy Markdown
ContributorAuthor

Does this need a backport?

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

@erlend-aasland

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.

@mgorny

Copy link
Copy Markdown
ContributorAuthor

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

@mgorny
mgorny deleted the gdbm_compat-98636 branch January 12, 2023 06:00
Sign up for freeto 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

@mgorny@erlend-aasland@bedevere-bot