Skip to content
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

Handle when multiple packages embed the same package #1102

Merged
merged 1 commit into from
Aug 20, 2024
Merged

Conversation

jrray
Copy link
Collaborator

@jrray jrray commented Aug 13, 2024

The solver was panicking with "state not found" in the case where it encounters a package that embeds some other package, but that other package has already been embedded by some third package. It wanted to "eject" the real package (again) but no "real" package was in the solution at that point.

Now it checks that the package it wants to "eject" is a not an embedded package. This situation was given its own IncompatibleReason so the solver output will detail the packages involved.

The solver was panicking with "state not found" in the case where it
encounters a package that embeds some other package, but that other
package has already been embedded by some third package. It wanted to
"eject" the real package (again) but no "real" package was in the
solution at that point.

Now it checks that the package it wants to "eject" is a not an embedded
package. This situation was given its own `IncompatibleReason` so the
solver output will detail the packages involved.

Signed-off-by: J Robert Ray <jrray@jrray.org>
@jrray jrray added bug Something isn't working SPI AOI Area of interest for SPI labels Aug 13, 2024
@jrray jrray self-assigned this Aug 13, 2024
@jrray jrray requested a review from rydrman August 13, 2024 19:43
@jrray jrray merged commit 8151a88 into main Aug 20, 2024
6 checks passed
@jrray jrray deleted the double-embed branch August 20, 2024 01:18
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working SPI AOI Area of interest for SPI
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants