gcc: split packages like Arch did while preserving upgrades#30473
Open
dragon-archer wants to merge 1 commit into
Open
gcc: split packages like Arch did while preserving upgrades#30473dragon-archer wants to merge 1 commit into
dragon-archer wants to merge 1 commit into
Conversation
Keep gcc-libs as a compatibility package that depends on the new cc-libs metapackage and libgomp. The previous split (msys2#28751) moved the omp provision from gcc-libs to libgomp without retaining a dependency edge between them. During a system upgrade, the old gcc-libs package had to be removed because the split runtime packages took ownership of its files. This also removed the only installed omp provider. Although libgomp provides omp, pacman only searches for providers while resolving forward dependencies of packages already selected for the transaction. The missing omp dependency was detected later, during the final reverse-dependency validation. That validation reports broken dependencies but does not add new provider packages to the transaction, so libgomp was never selected automatically. Add a concrete cc-libs package for the common GCC runtime libraries and turn gcc-libs into a compatibility package depending on matching versions of cc-libs and libgomp. Upgrading the installed gcc-libs package now pulls libgomp into the transaction before reverse-dependency validation, preserving all existing omp dependencies. Keeping libgomp outside cc-libs also allows new common-runtime consumers to avoid installing the OpenMP runtime when it is not required. Move the tzdata dependency to libstdc++, which is the component using the C++ time-zone database.
Collaborator
Author
|
@lazka @MehdiChinoune How about merging this? |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Keep gcc-libs as a compatibility package that depends on the new cc-libs metapackage and libgomp.
The previous split (#28751) moved the omp provision from gcc-libs to libgomp without retaining a dependency edge between them. During a system upgrade, the old gcc-libs package had to be removed because the split runtime packages took ownership of its files. This also removed the only installed omp provider.
Although libgomp provides omp, pacman only searches for providers while resolving forward dependencies of packages already selected for the transaction. The missing omp dependency was detected later, during the final reverse-dependency validation. That validation reports broken dependencies but does not add new provider packages to the transaction, so libgomp was never selected automatically.
Add a concrete cc-libs package for the common GCC runtime libraries and turn gcc-libs into a compatibility package depending on matching versions of cc-libs and libgomp. Upgrading the installed gcc-libs package now pulls libgomp into the transaction before reverse-dependency validation, preserving all existing omp dependencies.
Keeping libgomp outside cc-libs also allows new common-runtime consumers to avoid installing the OpenMP runtime when it is not required.
Move the tzdata dependency to libstdc++, which is the component using the C++ time-zone database.