Skip to content

Remove locale.alias from install-dependencies.sh - #17715

Merged
akoeplinger merged 1 commit into
mainfrom
akoeplinger-patch-1
Oct 23, 2026
Merged

akoeplinger merged 1 commit into
mainfrom
akoeplinger-patch-1

Conversation

@akoeplinger

Copy link
Copy Markdown
Member

It no longer exists in recent Ubuntu versions and we actually didn't need it. We made the same change in https://github.com/dotnet/dotnet-buildtools-prereqs-docker/pull/1492/changes

Found in dotnet/runtime#136336

To double check:

Copilot AI left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

🟢 Approval recommended

The single-line change preserves the requested locale and encoding while removing an unnecessary file dependency.

No open issues 🎉

What changed in this PR

This PR updates Arcade’s native dependency installer to avoid relying on locale.alias, which is absent on recent Ubuntu versions.

Changes:

  • Removes the alias-file argument from localedef while preserving the en_US input, UTF-8 encoding, and en_US.UTF-8 output.
File Description
eng/​common/​native/​install-dependencies.sh Removes the unnecessary locale alias-file dependency.

Review effort: Balanced

@akoeplinger
akoeplinger enabled auto-merge (squash) October 23, 2026 16:54

@missymessa missymessa left a comment

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

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

LGTM shipit

@akoeplinger
akoeplinger merged commit b2ec684 into main Oct 23, 2026
13 checks passed
@akoeplinger
akoeplinger deleted the akoeplinger-patch-1 branch October 23, 2026 21:13
@dotnet-milestone-bot dotnet-milestone-bot Bot added this to the 12.0-preview1 milestone Oct 24, 2026
akoeplinger pushed a commit to dotnet/runtime that referenced this pull request Oct 27, 2026
<!-- -->

## Summary

Move the standard and libraries devcontainers to Ubuntu 26.04
(`11.0-resolute`), retaining ARM64/AMD64 image selection. Repository SDK
pins and target frameworks are unchanged.

- Reuse the checked-out dependency installer instead of duplicating its
package list or downloading scripts from `main`. Both configurations use
the repository root as their build context.
- Mirror the merged
[dotnet/arcade#17715](dotnet/arcade#17715) fix:
generate `en_US.UTF-8` without the removed `locale.alias` file.
- Preserve existing features, the `vscode` user, and repository-local
`.dotnet` precedence. Skip the libraries prebuild reset locally while
retaining Codespaces behavior.
- Keep local ARM64 documentation concise, without repeating image
versions or standard repository behavior.

## Local verification

- **Review follow-up:** rebuilt both complete devcontainer images on
native Linux ARM64. Verified all native prerequisites, UTF-8 locale
generation without `locale.alias`, helper cleanup, and six mocked
lifecycle-dispatch cases. Shell syntax and whitespace checks passed.
- **Initial validation:** both configurations started with their
lifecycle hooks; native runtime/libraries builds and libraries test
restore passed. A representative library smoke run passed **15 tests,
with no failures or skips**, on the repository-built ARM64 runtime.

Full runtime builds and smoke tests were not repeated for this
installer/documentation follow-up. AMD64 execution, hosted Codespaces,
and Helix remain unvalidated.

This covers only the standard/libraries portion of D1; Android and both
Wasm configurations remain deferred. It does not complete D1 or close
the tracking issue.

Related to #136313.

> [!NOTE]
> Prepared with GitHub Copilot assistance.

---------

Co-authored-by: Copilot App <[email protected]>
Copilot-Session: 32fb1e95-a9a4-4d35-b4ef-9c6ff2a84b95
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