You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Solver: Enforce dependencies on libraries (fixes#779).
This commit generalizes the fix for issue #4781
(e86f838) by tracking dependencies on
components instead of dependencies on executables. That means that the solver
always checks whether a package contains a library before using it to satisfy a
build-depends dependency. If a version of a package doesn't contain a library,
the solver can try other versions. Associating each dependency with a component
also moves towards the design for component-based dependency solving described
in issue #4087.
(cherry picked from commit 6efb5e2)
showFR _ (NewPackageIsMissingRequiredExe exe dr) =" (does not contain executable "++unUnqualComponentName exe++", which is required by "++ showDependencyReason dr ++")"
119
-
showFR _ (PackageRequiresMissingExe qpn exe) =" (requires executable "++unUnqualComponentName exe++" from "++ showQPN qpn ++", but the executable does not exist)"
118
+
showFR _ (NewPackageIsMissingRequiredComponent comp dr) =" (does not contain "++showExposedComponent comp++", which is required by "++ showDependencyReason dr ++")"
119
+
showFR _ (PackageRequiresMissingComponent qpn comp) =" (requires "++showExposedComponent comp++" from "++ showQPN qpn ++", but the component does not exist)"
120
120
showFR _ CannotInstall=" (only already installed instances can be used)"
121
121
showFR _ CannotReinstall=" (avoiding to reinstall a package with same version but new dependencies)"
122
122
showFR _ Shadowed=" (shadowed by another installed package with same version)"
0 commit comments