Skip to content

Add missing zlib-ng dependencies for Fedora native AOT compilation #47516

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Open
wants to merge 2 commits into
base: main
Choose a base branch
from

Conversation

Copilot
Copy link
Contributor

@Copilot 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 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 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 adegeo and a team as code owners July 23, 2025 01:46
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
2 participants