Remove rule already accounted for by the gcc package

This commit is contained in:
Massimiliano Culpo 2024-12-11 15:26:53 +01:00
parent 35dea05048
commit de24715e05
No known key found for this signature in database
GPG Key ID: 3E52BB992233066C

View File

@ -1268,12 +1268,6 @@ has_built_packages() :- build(X), not external(X).
% "gcc-runtime" is always built
:- concrete(node(X, "gcc-runtime")), has_built_packages().
% FIXME (compiler as nodes): is this version constraint always required and better than the callback?
% "gcc-runtime" and the "gcc" it depends on must be at the same version
% attr("version", node(Y, "gcc"), Version) :-
% attr("version", node(X, "gcc-runtime"), Version),
% attr("depends_on", node(X, "gcc-runtime"), node(Y, "gcc"), "build").
% The "gcc" linked to "gcc-runtime" must be used by at least another package
:- attr("depends_on", node(X, "gcc-runtime"), node(Y, "gcc"), "build"),
not 2 { attr("depends_on", PackageNode, node(Y, "gcc"), "build") : attr("node", PackageNode) }.