Skip to content

Disable mdblocales by default in configure#1651

Merged
tuhaihe merged 2 commits intoapache:mainfrom
tuhaihe:disable-mdblocales-patch
Apr 3, 2026
Merged

Disable mdblocales by default in configure#1651
tuhaihe merged 2 commits intoapache:mainfrom
tuhaihe:disable-mdblocales-patch

Conversation

@tuhaihe
Copy link
Copy Markdown
Member

@tuhaihe tuhaihe commented Mar 31, 2026

Changed the default value of --with-mdblocales from 'yes' to 'no' in configure.ac. This prevents enabling custom locales by default, which require additional packages and may cause compatibility issues across different system environments (e.g., Rocky Linux 8 vs 9 with different libc versions). Users who need mdblocales can explicitly enable it with --with-mdblocales option.

Regenerated configure file using autoconf 2.69 on Rocky Linux 8.

Fixes #ISSUE_Number

What does this PR do?

Type of Change

  • Bug fix (non-breaking change)
  • New feature (non-breaking change)
  • Breaking change (fix or feature with breaking changes)
  • Documentation update

Breaking Changes

Test Plan

  • Unit tests added/updated
  • Integration tests added/updated
  • Passed make installcheck
  • Passed make -C src/test installcheck-cbdb-parallel

Impact

Performance:

User-facing changes:

Dependencies:

Checklist

Additional Context

CI Skip Instructions


Copy link
Copy Markdown
Contributor

@leborchuk leborchuk left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Yep, configure already use --with-mdblocales https://github.com/apache/cloudberry/blob/main/devops/build/automation/cloudberry/scripts/configure-cloudberry.sh#L149

--without-mdblocales looks like a mistake and should be deleted

yjhjstz
yjhjstz previously requested changes Apr 1, 2026
@tuhaihe tuhaihe force-pushed the disable-mdblocales-patch branch from e2dbdad to 5311489 Compare April 1, 2026 07:42
@tuhaihe tuhaihe requested a review from yjhjstz April 1, 2026 07:48
Changed the default value of `--with-mdblocales` from 'yes' to 'no' in
configure.ac. This prevents enabling custom locales by default, which
require additional packages and may cause compatibility issues across
different system environments (e.g., Rocky Linux 8 vs 9 with different
libc versions). Users who need mdblocales can explicitly enable it with
`--with-mdblocales` option.

Regenerated configure file using autoconf 2.69 on Rocky Linux 8.
@tuhaihe tuhaihe force-pushed the disable-mdblocales-patch branch from 5311489 to 3b80843 Compare April 3, 2026 07:55
Regenerated configure file using autoconf 2.69 on Rocky Linux 8.
@tuhaihe
Copy link
Copy Markdown
Member Author

tuhaihe commented Apr 3, 2026

Hi @NJrslv I regenerated the configure for gp_stats_clolector in commit 29689a5.

@tuhaihe tuhaihe requested a review from my-ship-it April 3, 2026 08:54
@NJrslv
Copy link
Copy Markdown
Contributor

NJrslv commented Apr 3, 2026

@tuhaihe Thanks for the change, do we also need to fix configure.ac for the 4af1cf5?
If yes, let me see what I can do (translate configure to configure.ac, shouldn't be hard, though)

@tuhaihe
Copy link
Copy Markdown
Member Author

tuhaihe commented Apr 3, 2026

@tuhaihe Thanks for the change, do we also need to fix configure.ac for the 4af1cf5? If yes, let me see what I can do (translate configure to configure.ac, shouldn't be hard, though)

Aha, the commit 3b80843 in this PR already is for it. They're easy, so include these fixes in one PR. Thanks again! 💯

@tuhaihe tuhaihe dismissed yjhjstz’s stale review April 3, 2026 09:44

Already fixed.

@tuhaihe tuhaihe merged commit 88ea4bd into apache:main Apr 3, 2026
43 checks passed
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.

5 participants