Skip to content

Conversation

Copy link
Contributor

Copilot AI commented Jul 22, 2025

This PR adds the missing zlib-ng-devel and zlib-ng-compat-devel dependencies to the Fedora native AOT compilation prerequisites, making them consistent with the RHEL dependencies that were added in PR #45429.

Background

PR #45429 added additional native AOT dependencies for RHEL:

sudo dnf install clang zlib-devel zlib-ng-devel zlib-ng-compat-devel

However, Fedora was left with only the original dependencies:

sudo dnf install clang zlib-devel

Since both Fedora and RHEL are Red Hat-based distributions using the dnf package manager, they require the same native compilation dependencies for .NET Native AOT.

Changes

Updated the Fedora section in /docs/core/deploying/native-aot/index.md to include the missing dependencies:

Before:

sudo dnf install clang zlib-devel

After:

sudo dnf install clang zlib-devel zlib-ng-devel zlib-ng-compat-devel

This ensures both Fedora and RHEL have identical dependency lists for native AOT compilation.

Fixes #47515.


💡 You can make Copilot smarter by setting up custom instructions, customizing its development environment and configuring Model Context Protocol (MCP) servers. Learn more Copilot coding agent tips in the docs.


Internal previews

📄 File 🔗 Preview link
docs/core/deploying/native-aot/index.md docs/core/deploying/native-aot/index

Copilot AI changed the title [WIP] https://github.com/dotnet/docs/pull/45429 should also apply to fedora Add missing zlib-ng dependencies for Fedora native AOT compilation Jul 22, 2025
Copilot AI requested a review from agocke July 22, 2025 04:33
Copilot finished work on behalf of agocke July 22, 2025 04:33
@agocke agocke marked this pull request as ready for review July 23, 2025 01:46
@agocke agocke requested review from a team and adegeo as code owners July 23, 2025 01:46
@gewarren gewarren merged commit 6913eef into main Jul 23, 2025
13 checks passed
@gewarren gewarren deleted the copilot/fix-47515 branch July 23, 2025 19:23
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

https://github.com/dotnet/docs/pull/45429 should also apply to fedora

3 participants